RCAIDE.Library.Methods.Powertrain.Systems.compute_systems_power_draw
compute_systems_power_draw#
- compute_systems_power_draw(system, state, bus)[source]#
Computes the power draw of a generic system.
- Parameters:
system (System) –
- The system component with the following attributes:
- power_drawfloat
Power consumption of the system component [W]
system_conditions (Conditions) –
- Object to store system power conditions with the following attributes:
- powernumpy.ndarray
Array to store the computed power draw values [W]
conditions (Conditions) – Object containing mission conditions (not directly used in this function)
- Returns:
This function modifies the system_conditions.power array in-place.
- Return type:
None
Notes
This function assigns the constant power draw value from the system component to the power array in the system_conditions object. The power draw is assumed to be constant throughout the mission segment.
For more complex system models, this function could be extended to calculate power draw based on operating mode, altitude, or other mission parameters.
See also
RCAIDE.Library.Methods.Powertrain.Systems.append_system_conditions