fastga.models.aerodynamics.components.compute_cy_yaw_rate module

class fastga.models.aerodynamics.components.compute_cy_yaw_rate.ComputeCyYawRateAircraft(**kwargs)[source]

Bases: openmdao.core.explicitcomponent.ExplicitComponent

Computation of the increase in side force due to a yaw rate. Assumes that only the contribution of the VTP is relevant for this coefficient. Also, since this coefficient depends on the angle of attack, it is only computed here for information basis. The convention from [Ros85b] are used, meaning that, for the derivative with respect to yaw and roll, the rotation speed are made dimensionless by multiplying them by the wing span and dividing them by 2 times the airspeed.

Based on [Ros85b] section 10.2.8

Store some bound methods so we can detect runtime overrides.

initialize()[source]

Perform any one-time initialization run at instantiation.

setup()[source]

Declare inputs and outputs.

Available attributes:

name pathname comm options

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.

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.