space_ex v0.8.0 SpaceEx.SpaceCenter.Propellant

A propellant for an engine.

Obtains by calling SpaceEx.SpaceCenter.Engine.propellants/1.

Link to this section Summary

Functions

The current amount of propellant

The required amount of propellant

If this propellant has a stack gauge or not

If this propellant should be ignored when calculating required mass flow given specific impulse

If this propellant should be ignored for thrust curve calculations

If this propellant is deprived

The name of the propellant

The propellant ratio

The total amount of the underlying resource currently reachable given resource flow rules

The total vehicle capacity for the underlying propellant resource, restricted by resource flow rules

Link to this section Functions

Link to this function current_amount(this)

The current amount of propellant.

Returns: a high precision decimal

Link to this function current_requirement(this)

The required amount of propellant.

Returns: a high precision decimal

Link to this function draw_stack_gauge(this)

If this propellant has a stack gauge or not.

Returns: true or false

Link to this function ignore_for_isp(this)

If this propellant should be ignored when calculating required mass flow given specific impulse.

Returns: true or false

Link to this function ignore_for_thrust_curve(this)

If this propellant should be ignored for thrust curve calculations.

Returns: true or false

Link to this function is_deprived(this)

If this propellant is deprived.

Returns: true or false

The name of the propellant.

Returns: a string

The propellant ratio.

Returns: a low-precision decimal

Link to this function total_resource_available(this)

The total amount of the underlying resource currently reachable given resource flow rules.

Returns: a high precision decimal

Link to this function total_resource_capacity(this)

The total vehicle capacity for the underlying propellant resource, restricted by resource flow rules.

Returns: a high precision decimal