fastga_he.models.propulsion.components.connectors.dc_dc_converter.components.cstr_enforce module
- class fastga_he.models.propulsion.components.connectors.dc_dc_converter.components.cstr_enforce.ConstraintsCurrentCapacitorEnforce(**kwargs)[source]
Bases:
ExplicitComponentClass that enforces that the maximum current seen by the capacitor in the DC/DC converter during the mission is used for the sizing, ensuring a fitted design of each component.
Store some bound methods so we can detect runtime overrides.
- compute(inputs, outputs, discrete_inputs=None, discrete_outputs=None)[source]
Compute outputs given inputs. The model is assumed to be in an unscaled state.
An inherited component may choose to either override this function or to define a compute_primal function.
- Parameters:
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict-like or None) – If not None, dict-like object containing discrete input values.
discrete_outputs (dict-like or None) – If not None, dict-like object containing discrete output values.
- class fastga_he.models.propulsion.components.connectors.dc_dc_converter.components.cstr_enforce.ConstraintsCurrentInductorEnforce(**kwargs)[source]
Bases:
ExplicitComponentClass that enforces that the maximum current seen by the inductor in the DC/DC converter during the mission is used for the sizing, ensuring a fitted design of each component.
Store some bound methods so we can detect runtime overrides.
- compute(inputs, outputs, discrete_inputs=None, discrete_outputs=None)[source]
Compute outputs given inputs. The model is assumed to be in an unscaled state.
An inherited component may choose to either override this function or to define a compute_primal function.
- Parameters:
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict-like or None) – If not None, dict-like object containing discrete input values.
discrete_outputs (dict-like or None) – If not None, dict-like object containing discrete output values.
- class fastga_he.models.propulsion.components.connectors.dc_dc_converter.components.cstr_enforce.ConstraintsCurrentModuleEnforce(**kwargs)[source]
Bases:
ExplicitComponentClass that enforces that the maximum current seen by the IGBT module in the DC/DC converter during the mission is used for the sizing, ensuring a fitted design of each component.
Store some bound methods so we can detect runtime overrides.
- compute(inputs, outputs, discrete_inputs=None, discrete_outputs=None)[source]
Compute outputs given inputs. The model is assumed to be in an unscaled state.
An inherited component may choose to either override this function or to define a compute_primal function.
- Parameters:
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict-like or None) – If not None, dict-like object containing discrete input values.
discrete_outputs (dict-like or None) – If not None, dict-like object containing discrete output values.
- compute_partials(inputs, partials, discrete_inputs=None)[source]
Compute sub-jacobian parts. The model is assumed to be in an unscaled state.
- Parameters:
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
partials (Jacobian) – Sub-jac components written to partials[output_name, input_name]..
discrete_inputs (dict or None) – If not None, dict containing discrete input values.
- class fastga_he.models.propulsion.components.connectors.dc_dc_converter.components.cstr_enforce.ConstraintsCurrentInputEnforce(**kwargs)[source]
Bases:
ExplicitComponentClass that enforces that the maximum current seen at the input of the DC/DC converter during the mission is used for the sizing, ensuring a fitted design of each component.
Store some bound methods so we can detect runtime overrides.
- compute(inputs, outputs, discrete_inputs=None, discrete_outputs=None)[source]
Compute outputs given inputs. The model is assumed to be in an unscaled state.
An inherited component may choose to either override this function or to define a compute_primal function.
- Parameters:
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict-like or None) – If not None, dict-like object containing discrete input values.
discrete_outputs (dict-like or None) – If not None, dict-like object containing discrete output values.
- class fastga_he.models.propulsion.components.connectors.dc_dc_converter.components.cstr_enforce.ConstraintsVoltageEnforce(**kwargs)[source]
Bases:
ExplicitComponentClass that enforces that the maximum voltage seen by the DC/DC converter during the mission is used for the sizing, ensuring a fitted design of each component.
Store some bound methods so we can detect runtime overrides.
- compute(inputs, outputs, discrete_inputs=None, discrete_outputs=None)[source]
Compute outputs given inputs. The model is assumed to be in an unscaled state.
An inherited component may choose to either override this function or to define a compute_primal function.
- Parameters:
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict-like or None) – If not None, dict-like object containing discrete input values.
discrete_outputs (dict-like or None) – If not None, dict-like object containing discrete output values.
- compute_partials(inputs, partials, discrete_inputs=None)[source]
Compute sub-jacobian parts. The model is assumed to be in an unscaled state.
- Parameters:
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
partials (Jacobian) – Sub-jac components written to partials[output_name, input_name]..
discrete_inputs (dict or None) – If not None, dict containing discrete input values.
- class fastga_he.models.propulsion.components.connectors.dc_dc_converter.components.cstr_enforce.ConstraintsVoltageInputEnforce(**kwargs)[source]
Bases:
ExplicitComponentClass that enforces that the maximum voltage seen at the input of the DC/DC converter during the mission is used for the sizing, ensuring a fitted design of each component.
Store some bound methods so we can detect runtime overrides.
- compute(inputs, outputs, discrete_inputs=None, discrete_outputs=None)[source]
Compute outputs given inputs. The model is assumed to be in an unscaled state.
An inherited component may choose to either override this function or to define a compute_primal function.
- Parameters:
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict-like or None) – If not None, dict-like object containing discrete input values.
discrete_outputs (dict-like or None) – If not None, dict-like object containing discrete output values.
- class fastga_he.models.propulsion.components.connectors.dc_dc_converter.components.cstr_enforce.ConstraintsLossesEnforce(**kwargs)[source]
Bases:
ExplicitComponentClass that enforces that the maximum losses seen by the converter during the mission are used for the sizing, ensuring a fitted design of each component.
Store some bound methods so we can detect runtime overrides.
- compute(inputs, outputs, discrete_inputs=None, discrete_outputs=None)[source]
Compute outputs given inputs. The model is assumed to be in an unscaled state.
An inherited component may choose to either override this function or to define a compute_primal function.
- Parameters:
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict-like or None) – If not None, dict-like object containing discrete input values.
discrete_outputs (dict-like or None) – If not None, dict-like object containing discrete output values.
- class fastga_he.models.propulsion.components.connectors.dc_dc_converter.components.cstr_enforce.ConstraintsFrequencyEnforce(**kwargs)[source]
Bases:
ExplicitComponentClass that enforces that the maximum switching frequency seen by the DC/DC converter during the mission is used for the sizing, ensuring a fitted design of each component.
Store some bound methods so we can detect runtime overrides.
- compute(inputs, outputs, discrete_inputs=None, discrete_outputs=None)[source]
Compute outputs given inputs. The model is assumed to be in an unscaled state.
An inherited component may choose to either override this function or to define a compute_primal function.
- Parameters:
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict-like or None) – If not None, dict-like object containing discrete input values.
discrete_outputs (dict-like or None) – If not None, dict-like object containing discrete output values.
- class fastga_he.models.propulsion.components.connectors.dc_dc_converter.components.cstr_enforce.ConstraintsPowerInputEnforce(**kwargs)[source]
Bases:
ExplicitComponentClass that enforces that the maximum power input seen by the converter during the mission are used for the sizing, ensuring a fitted design of each component.
Store some bound methods so we can detect runtime overrides.
- compute(inputs, outputs, discrete_inputs=None, discrete_outputs=None)[source]
Compute outputs given inputs. The model is assumed to be in an unscaled state.
An inherited component may choose to either override this function or to define a compute_primal function.
- Parameters:
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict-like or None) – If not None, dict-like object containing discrete input values.
discrete_outputs (dict-like or None) – If not None, dict-like object containing discrete output values.