RCAIDE.Library.Methods.Powertrain.Systems.compute_ecs_power_draw
compute_ecs_power_draw#
- compute_ecs_power_draw(environmental_controls, vehicle, state, bus)[source]#
Computes the power draw of an environmental control system.
- Parameters:
environmental_controls (Environmental_Controls) –
- The ECS component object containing efficiency and thermal attributes
- power_drawfloat
Power consumption of the environmental control component [W]
vehicle (Vehicle()) – The vehicle object, used to extract the total passenger capacity
state (State) – Object containing the dynamic mission state arrays (altitude, Mach, pressure, temperature)
bus (Electrical_Bus) – The electrical bus that powers the cabin system
- Returns:
This function modifies the environmental_controls_conditions.power array in-place.
- Return type:
None
Notes
This function dynamically calculates the ECS power draw in two parts: 1. Electric Cabin Air Compressors: Evaluated dynamically across the mission profile
based on the pressure differential between the freestream ram air and the required cabin pressurization schedule.
Vapor Cycle Cooling: Evaluated as a steady-state load based on the coefficient of performance (COP) required to dissipate passenger, system, and solar heat.
For more complex environmental controls 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_environmental_control_conditions