Utilities#

class MechJeb.Utilities#

The Utilities window, which holds the autostaging and throttle settings, and deploys the solar panels and antennas.

antennas#

The deployable antennas.

Attribute:

Read-only, cannot be set

Return type:

DeployableController

Game Scenes:

Flight

solar_panels#

The solar panels.

Attribute:

Read-only, cannot be set

Return type:

DeployableController

Game Scenes:

Flight

staging#

The autostaging settings. The ascent has its own, AscentSettings.staging.

Attribute:

Read-only, cannot be set

Return type:

Autostaging

Game Scenes:

Flight

thrust#

The throttle limiters. The ascent has its own, AscentSettings.thrust.

Attribute:

Read-only, cannot be set

Return type:

ThrustLimiter

Game Scenes:

Flight

Autostaging#

class MechJeb.Autostaging#

The autostaging settings, which the Utilities and Ascent Settings windows show.

enabled#

Whether the module is enabled.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

autostaging_once#

Whether the controller disables itself after the next staging.

Attribute:

Read-only, cannot be set

Return type:

bool

Game Scenes:

Flight

autostage_once()#

Enable the controller until the next staging. Throws an exception if the controller is enabled.

Game Scenes:

Flight

autostage_limit#

The last stage the controller activates.

Attribute:

Can be read or written

Return type:

int

Game Scenes:

Flight

autostage_post_delay#

The delay after each staging, in seconds.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

autostage_pre_delay#

The delay before each staging, in seconds.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

clamp_auto_stage_thrust_pct#

The fraction of full thrust at which the controller releases the launch clamps.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

fairing_max_aerothermal_flux#

The largest aerothermal flux at which the controller jettisons a fairing, in \(\mathrm{W/m^{2}}\).

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

fairing_max_dynamic_pressure#

The largest dynamic pressure at which the controller jettisons a fairing, in pascals.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

fairing_min_altitude#

The lowest altitude at which the controller jettisons a fairing, in meters.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

hot_staging#

Whether the controller ignites the next stage before the current one burns out.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

hot_staging_lead_time#

The time before burnout at which a hot staging happens, in seconds.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

Note

Requires Autostaging.hot_staging.

fairing_max_dynamic_pressure_enabled#

Whether to wait for Autostaging.fairing_max_dynamic_pressure to jettison a fairing.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

fairing_min_altitude_enabled#

Whether to wait for Autostaging.fairing_min_altitude to jettison a fairing.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

fairing_max_aerothermal_flux_enabled#

Whether to wait for Autostaging.fairing_max_aerothermal_flux to jettison a fairing.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

drop_solids#

Whether the controller drops the solid boosters of the next stage early, once their thrust no longer pays for their mass.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

drop_solids_twr_pct#

The fraction of the vessel’s thrust-to-weight ratio at which the solid boosters drop, between 0 and 1.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

Note

Requires Autostaging.drop_solids.

ThrustLimiter#

class MechJeb.ThrustLimiter#

The throttle limiters, which the Utilities and Ascent Settings windows show.

differential_throttle#

Whether the controller throttles the engines differentially to steer.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

differential_throttle_status#

The result of the differential throttle.

Attribute:

Read-only, cannot be set

Return type:

DifferentialThrottleStatus

Game Scenes:

Flight

electric_throttle#

Whether to limit the throttle of electric engines to the available power.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

electric_throttle_hi#

The charge level at which electric engines run at full throttle, between 0 and 1.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

electric_throttle_lo#

The charge level at which electric engines stop, between 0 and 1.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

flameout_safety_pct#

The safety margin of the jet engines’ air intake, as a percentage.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

limit_acceleration#

Whether to limit the acceleration.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

limit_dynamic_pressure#

Whether to limit the dynamic pressure.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

limit_throttle#

Whether to limit the throttle.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

limit_to_prevent_flameout#

Whether to limit the throttle to keep jet engines from flaming out.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

limit_to_prevent_overheats#

Whether to limit the throttle to keep parts from overheating.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

limiter_min_throttle#

Whether to keep the throttle above ThrustLimiter.min_throttle.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

manage_intakes#

Whether the controller opens and closes the air intakes.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

max_acceleration#

The largest acceleration, in \(\mathrm{m/s^{2}}\).

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

max_dynamic_pressure#

The largest dynamic pressure, in pascals.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

max_throttle#

The largest throttle, between 0 and 1.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

min_throttle#

The smallest throttle, between 0 and 1.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

limit_to_prevent_unstable_ignition#

Whether to hold the throttle at zero while the engines’ fuel is unstable.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

Note

MechJeb shows this setting only with Real Fuels, as stock engines have stable fuel.

auto_rcs_ullaging#

Whether to fire the RCS forward to settle the fuel before the engines ignite.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

Note

MechJeb shows this setting only with Real Fuels, as stock engines have stable fuel.

limiter#

The limiter that limits the throttle now.

Attribute:

Read-only, cannot be set

Return type:

LimitMode

Game Scenes:

Flight

class MechJeb.LimitMode#

A throttle limiter. See ThrustLimiter.limiter.

none#

No limiter limits the throttle.

terminal_velocity#

The terminal velocity limit.

temperature#

ThrustLimiter.limit_to_prevent_overheats.

flameout#

ThrustLimiter.limit_to_prevent_flameout.

acceleration#

ThrustLimiter.limit_acceleration.

throttle#

ThrustLimiter.limit_throttle.

dynamic_pressure#

ThrustLimiter.limit_dynamic_pressure.

min_throttle#

ThrustLimiter.limiter_min_throttle.

electric#

ThrustLimiter.electric_throttle.

unstable_ignition#

ThrustLimiter.limit_to_prevent_unstable_ignition.

auto_rcs_ullage#

ThrustLimiter.auto_rcs_ullaging.

class MechJeb.DifferentialThrottleStatus#

The result of the differential throttle. See ThrustLimiter.differential_throttle_status.

success#

The throttles balance the thrust.

all_engines_off#

All the engines are off.

more_engines_required#

The vessel needs more engines.

solver_failed#

The solver found no solution.

DeployableController#

class MechJeb.DeployableController#

The controller of one kind of deployable part, such as antennas or solar panels.

all_retracted()#

Whether all the parts are retracted.

Return type:

bool

Game Scenes:

Flight

auto_deploy#

Whether a MechJeb autopilot deploys the parts.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

extend_all()#

Extend all the parts.

Game Scenes:

Flight

retract_all()#

Retract all the parts.

Game Scenes:

Flight

Note

Parts that are still extending are left extended.