ConsumedResource

A single resource value an engine consumes (i.e. fuel, oxidizer, etc). This is the type returned by the Engine:CONSUMEDRESOURCES suffix

structure ConsumedResource

Suffix

Type

Description

NAME

String

Resource name

AMOUNT

Scalar

Total amount remaining (only valid while engine is running)

CAPACITY

Scalar

Total amount when full (only valid while engine is running)

DENSITY

Scalar

Density of this resource

FUELFLOW

Scalar

Current volumetric flow rate of fuel

MAXFUELFLOW

Scalar

Untweaked maximum volumetric flow rate of fuel

REQUIREDFLOW

Scalar

Required volumetric flow rate of fuel for current throttle

MASSFLOW

Scalar

Current mass flow rate of fuel

MAXMASSFLOW

Scalar

Untweaked maximum mass flow rate of fuel

RATIO

Scalar

Volumetric flow ratio of this resource

ConsumedResource:NAME
Access

Get only

Type

String

The name of the resource, i.e. “LIQUIDFUEL”, “ELECTRICCHARGE”, “MONOPROP”.

ConsumedResource:AMOUNT
Access

Get only

Type

Scalar

The value of how much resource is left and accessible to this engine. Only valid while the engine is running.

ConsumedResource:CAPACITY
Access

Get only

Type

Scalar

What AMOUNT would be if the resource was filled to the top. Only valid while the engine is running.

ConsumedResource:DENSITY
Access

Get only

Type

Scalar

The density value of this resource, expressed in Megagrams f mass per Unit of resource. (i.e. a value of 0.005 would mean that each unit of this resource is 5 kilograms. Megagrams [metric tonnes] is the usual unit that most mass in the game is represented in.)

ConsumedResource:FUELFLOW
Access

Get only

Type

Scalar

How much volume of this fuel is this engine consuming at this very moment.

ConsumedResource:MAXFUELFLOW
Access

Get only

Type

Scalar

How much volume of this fuel would this engine consume at standard pressure and velocity if the throttle was max at 1.0, and the thrust limiter was max at 100%.

ConsumedResource:REQUIREDFLOW
Access

Get only

Type

Scalar

How much volume of this fuel does this require at this very moment for the current throttle setting. This will usually equal FUELFLOW but may be higher for INTAKEAIR for instance.

ConsumedResource:MASSFLOW
Access

Get only

Type

Scalar

How much mass of this fuel is this engine consuming at this very moment.

ConsumedResource:MAXMASSFLOW
Access

Get only

Type

Scalar

How much mass of this fuel would this engine consume at standard pressure and velocity if the throttle was max at 1.0, and the thrust limiter was max at 100%.

ConsumedResource:RATIO
Access

Get only

Type

Scalar

What is the volumetric ratio of this fuel as a proportion of the overall fuel mixture, e.g. if this is 0.5 then this fuel is half the required fuel for the engine.