RCAIDE.Library.Methods.Powertrain.Systems.compute_payload_power_draw
compute_payload_power_draw#
Functions
|
Computes the power draw of a payload component on an electrical bus. |
- compute_payload_power_draw(payload, bus, conditions)[source]#
Computes the power draw of a payload component on an electrical bus.
- Parameters:
payload (RCAIDE.Library.Components.Systems.Payload) –
- Payload component with the following attributes:
- tagstr
Identifier for the payload
- power_drawfloat
Power required by the payload [W]
bus (RCAIDE.Library.Components.Systems.Electrical_Bus) –
- Electrical bus component with the following attributes:
- tagstr
Identifier for the electrical bus
- power_split_ratiofloat
Ratio of power allocation to this bus
- efficiencyfloat
Efficiency of the bus [0-1]
conditions (RCAIDE.Framework.Mission.Common.Conditions) –
- Flight conditions with:
- energydict
- Energy conditions indexed by component tag
- [bus.tag]Data
- Bus-specific conditions
- [payload.tag]Data
Payload-specific conditions - power : numpy.ndarray
Power draw of the payload [W]
- power_drawnumpy.ndarray
Total power draw on the bus [W]
- Return type:
None
Notes
This function calculates the power draw of a payload component on an electrical bus and updates the total power draw on the bus. The power draw is adjusted by the bus power split ratio and efficiency.
- Major Assumptions
Constant payload power draw
Constant bus efficiency
Power draw is independent of flight conditions