RCAIDE.Library.Methods.Powertrain.Systems.append_payload_conditions
append_payload_conditions#
- append_payload_conditions(payload, segment, bus)[source]#
Initializes and appends empty payload conditions data structures to the segment state conditions.
- Parameters:
- Returns:
This function modifies the segment.state.conditions.energy dictionary in-place.
- Return type:
None
Notes
This function creates an empty Conditions object for the payload system within the segment’s energy conditions dictionary, indexed by the bus tag and payload tag.
The payload power consumption is initialized as a zero array with the same length as the segment’s state vector. This will be updated during mission analysis based on the payload power requirements.