RCAIDE.Library.Methods.Powertrain.Systems.compute_avionics_power_draw

compute_avionics_power_draw#

Functions

compute_avionics_power_draw(avionics, bus, ...)

Computes the power draw of an avionics system.

compute_avionics_power_draw(avionics, bus, conditions)[source]#

Computes the power draw of an avionics system.

Parameters:
  • avionics (Avionics) –

    The avionics component with the following attributes:
    • power_drawfloat

      Power consumption of the avionics component [W]

  • avionics_conditions (Conditions) –

    Object to store avionics 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 avionics_conditions.power array in-place.

Return type:

None

Notes

This function assigns the constant power draw value from the avionics component to the power array in the avionics_conditions object. The power draw is assumed to be constant throughout the mission segment.

For more complex avionics models, this function could be extended to calculate power draw based on operating mode, altitude, or other mission parameters.