fastoad.models.weight.weight module

Weight computation (mass and CG)

class fastoad.models.weight.weight.Weight(**kwargs)[source]

Bases: openmdao.core.group.Group

Computes masses and Centers of Gravity for each part of the empty operating aircraft, among these 5 categories: airframe, propulsion, systems, furniture, crew

This model uses MTOW as an input, as it allows to size some elements, but resulting OWE do not aim at being consistent with MTOW.

Consistency between OWE and MTOW can be achieved by cycling with a model that computes MTOW from OWE, which should come from a mission computation that will assess needed block fuel.

Set the solvers to nonlinear and linear block Gauss–Seidel by default.

Parameters

**kwargs (dict) – dict of arguments available here and in all descendants of this Group.

initialize()[source]

Perform any one-time initialization run at instantiation.

setup()[source]

Build this group.

This method should be overidden by your Group’s method. The reason for using this method to add subsystem is to save memory and setup time when using your Group while running under MPI. This avoids the creation of systems that will not be used in the current process.

You may call ‘add_subsystem’ to add systems to this group. You may also issue connections, and set the linear and nonlinear solvers for this group level. You cannot safely change anything on children systems; use the ‘configure’ method instead.

Available attributes:

name pathname comm options