fastga.models.aerodynamics.components.ht.compute_cm_pitch_rate_ht module
- class fastga.models.aerodynamics.components.ht.compute_cm_pitch_rate_ht.ComputeCMPitchVelocityHorizontalTail(**kwargs)[source]
Bases:
openmdao.core.explicitcomponent.ExplicitComponentComputation of the contribution of the horizontal tail to the increase in pitch moment due to a pitch velocity. This coefficient depends on the position of the CG, we will take it halfway between the aft and fwd CG. The convention from [Ros85b] are used, meaning that, for the derivative with respect to a pitch rate, this rate is made dimensionless by multiplying it by the MAC and dividing it by 2 times the airspeed.
Based on [Ros85b] section 10.2.7. The formula uses the lift curve slope of the htp with respect to its own area, we will make the change since we have it with respect to the wing area. The reference point for the CG was taken to be equal to the wing quarter chord to match what is taken for other coefficient. If another reference point is to be used, the corresponding force (cl_alpha_ht) should be used to transpose the moment.
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.
- 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.