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
Resource name
Total amount remaining (only valid while engine is running)
Total amount when full (only valid while engine is running)
Density of this resource
Current volumetric flow rate of fuel
Untweaked maximum volumetric flow rate of fuel
Required volumetric flow rate of fuel for current throttle
Current mass flow rate of fuel
Untweaked maximum mass flow rate of fuel
Volumetric flow ratio of this resource
- ConsumedResource:NAME¶
- Access
Get only
- Type
The name of the resource, i.e. “LIQUIDFUEL”, “ELECTRICCHARGE”, “MONOPROP”.
- ConsumedResource:AMOUNT¶
- Access
Get only
- Type
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
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
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
How much volume of this fuel is this engine consuming at this very moment.
- ConsumedResource:MAXFUELFLOW¶
- Access
Get only
- Type
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
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
How much mass of this fuel is this engine consuming at this very moment.
- ConsumedResource:MAXMASSFLOW¶
- Access
Get only
- Type
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%.