fastga_he.models.propulsion.components.connectors.dc_dc_converter.components.perf_generator_side module
- class fastga_he.models.propulsion.components.connectors.dc_dc_converter.components.perf_generator_side.PerformancesConverterGeneratorSide(**kwargs)[source]
Bases:
ImplicitComponentThe converter is divided between a load side where the battery is and a generator side where the rest of the circuit is. This component represents the generator side.
Based on the methodology from [HCAH19].
Store some bound methods so we can detect runtime overrides.
- apply_nonlinear(inputs, outputs, residuals, discrete_inputs=None, discrete_outputs=None)[source]
Compute residuals given inputs and outputs.
The model is assumed to be in an unscaled state.
- Parameters:
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
residuals (Vector) – Unscaled, dimensional residuals written to via residuals[key].
discrete_inputs (dict or None) – If not None, dict containing discrete input values.
discrete_outputs (dict or None) – If not None, dict containing discrete output values.