fastga.models.geometry.geom_components.fuselage.components.compute_fuselage_rear_length module

Python module for fuselage rear length calculation, part of the fuselage dimension with FD.

class fastga.models.geometry.geom_components.fuselage.components.compute_fuselage_rear_length.ComputeFuselageRearLength(**kwargs)[source]

Bases: openmdao.core.explicitcomponent.ExplicitComponent

Computes fuselage rear length, this calculation is only applied while calculating fuselage geometry with constant distance between wing MAC and tail MAC.

Store some bound methods so we can detect runtime overrides.

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.