gemseo.problems.mdo.sobieski.disciplines module#
The disciplines of the Sobieski's SSBJ use case.
- class SobieskiAerodynamics(dtype=DataType.FLOAT)[source]#
Bases:
SobieskiDiscipline
Aerodynamics discipline for the Sobieski's SSBJ use case.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
dtype (SobieskiBase.DataType) --
The data type for the NumPy arrays, either "float64" or "complex128".
By default it is set to "float64".
- class SobieskiDiscipline(dtype=DataType.FLOAT)[source]#
Bases:
Discipline
Abstract base discipline for the Sobieski's SSBJ use case.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
dtype (SobieskiBase.DataType) --
The data type for the NumPy arrays, either "float64" or "complex128".
By default it is set to "float64".
- classmethod create_with_physical_naming(dtype=DataType.FLOAT)[source]#
- Parameters:
dtype (DataType) --
The data type for the NumPy arrays, either "float64" or "complex128".
By default it is set to "float64".
- Return type:
- GRAMMAR_DIRECTORY: ClassVar[str | Path] = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/gemseo/envs/stable/lib/python3.9/site-packages/gemseo/problems/mdo/sobieski/grammars')#
The directory in which to search for the grammar files if not the class one.
- dtype: SobieskiBase.DataType#
The data type for the NumPy arrays.
- sobieski_problem: SobieskiProblem#
The Sobieski's SSBJ use case defining the MDO problem, e.g. disciplines, constraints, design space and reference optimum.
- class SobieskiMission(dtype=DataType.FLOAT, enable_delay=False)[source]#
Bases:
SobieskiDiscipline
Mission discipline of the Sobieski's SSBJ use case.
Compute the range with the Breguet formula.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
dtype (SobieskiBase.DataType) --
The data type for the NumPy arrays, either "float64" or "complex128".
By default it is set to "float64".
enable_delay (bool | float) --
If
True
, wait one second before computation. If a positive number, wait the corresponding number of seconds. IfFalse
, compute directly.By default it is set to False.
- classmethod create_with_physical_naming(dtype=DataType.FLOAT, enable_delay=False)[source]#
- Parameters:
enable_delay (bool | float) --
If
True
, wait one second before computation. If a positive number, wait the corresponding number of seconds. IfFalse
, compute directly.By default it is set to False.
dtype (SobieskiBase.DataType) --
By default it is set to "float64".
- Return type:
- class SobieskiPropulsion(dtype=DataType.FLOAT)[source]#
Bases:
SobieskiDiscipline
Propulsion discipline of the Sobieski's SSBJ use case.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
dtype (SobieskiBase.DataType) --
The data type for the NumPy arrays, either "float64" or "complex128".
By default it is set to "float64".
- class SobieskiStructure(dtype=DataType.FLOAT)[source]#
Bases:
SobieskiDiscipline
Structure discipline of the Sobieski's SSBJ use case.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
dtype (SobieskiBase.DataType) --
The data type for the NumPy arrays, either "float64" or "complex128".
By default it is set to "float64".
- create_disciplines(dtype=DataType.FLOAT)[source]#
Instantiate the structure, aerodynamics, propulsion and mission disciplines.
- Parameters:
dtype (DataType) --
The NumPy type for data arrays, either "float64" or "complex128".
By default it is set to "float64".
- Returns:
The structure, aerodynamics, propulsion and mission disciplines.
- Return type:
- create_disciplines_with_physical_naming(dtype=DataType.FLOAT)[source]#
Instantiate the structure, aerodynamics, propulsion and mission disciplines.
Use a physical naming for the input and output variables.
- Parameters:
dtype (DataType) --
The NumPy type for data arrays, either "float64" or "complex128".
By default it is set to "float64".
- Returns:
The structure, aerodynamics, propulsion and mission disciplines.
- Return type: