RCAIDE.Library.Methods.Powertrain.Propulsors.Internal_Combustion_Engine.append_internal_combustion_engine_conditions
append_internal_combustion_engine_conditions#
- append_internal_combustion_engine_conditions(propulsor, segment, energy_conditions, noise_conditions)[source]#
Initializes internal combustion engine operating conditions for a mission segment.
- Parameters:
propulsor (RCAIDE.Library.Components.Propulsors.Internal_Combustion_Engine) –
- Internal combustion engine propulsor component with the following attributes:
- tagstr
Identifier for the engine
- itemsdict
Dictionary of subcomponents
segment (RCAIDE.Framework.Mission.Segments.Segment) –
- Mission segment with the following attributes:
- stateData
- Segment state
- ones_rowfunction
Function to create array of ones with specified length
energy_conditions (RCAIDE.Framework.Mission.Common.Conditions) – Energy conditions container where engine conditions will be stored
noise_conditions (RCAIDE.Framework.Mission.Common.Conditions) – Noise conditions container where engine noise conditions will be stored
- Returns:
Results are stored in energy_conditions.propulsors[propulsor.tag] and segment.state.conditions.noise[propulsor.tag]
- Return type:
None
Notes
This function initializes the necessary data structures for storing internal combustion engine operating conditions during a mission segment. It creates zero-filled arrays for various performance parameters and recursively calls the append_operating_conditions method for each subcomponent of the engine.
- The function initializes the following parameters in energy_conditions:
throttle
commanded_thrust_vector_angle
thrust
power
moment
fuel_flow_rate
inputs and outputs containers
It also creates a noise conditions container for the engine.
- Major Assumptions
All arrays are initialized with zeros
Each component has an append_operating_conditions method