fastoad.models.options module

Module for management of options and factorizing their definition.

class fastoad.models.options.OpenMdaoOptionDispatcherGroup(**kwargs)[source]

Bases: openmdao.core.group.Group

Helper class for transmitting option values to subsystems during self.configure()

Just create a group by inheriting of this class instead of om.Group. Any option that is defined in the group will be transmitted to its immediate subsystems (no recursive behaviour), if they have the same option.

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.

configure()[source]

Update options for all subsystems