fastga.models.performances.mission_vector.mission.no_dep_effect module
FAST - Copyright (c) 2022 ONERA ISAE.
- class fastga.models.performances.mission_vector.mission.no_dep_effect.NoDEPEffect(**kwargs)[source]
Bases:
openmdao.core.explicitcomponent.ExplicitComponentUsing Submodels on not connected inputs will cause the code to crash, this is why we created this components that returns the deltas at 0 and have the same inputs as a workaround for that problem.
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.
- Parameters
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[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.