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".
- 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:
- 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 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/develop/lib/python3.12/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.
- 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".
- 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:
- dtype: SobieskiBase.DataType#
The data type for the NumPy arrays.
- execution_statistics: ExecutionStatistics#
The execution statistics of the process.
- execution_status: ExecutionStatus#
The execution status of the process.
- jac: JacobianData#
The Jacobian matrices of the outputs.
The structure is
{output_name: {input_name: jacobian_matrix}}
.
- sobieski_problem: SobieskiProblem#
The Sobieski's SSBJ use case defining the MDO problem, e.g. disciplines, constraints, design space and reference optimum.
- 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".
- 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:
- dtype: SobieskiBase.DataType#
The data type for the NumPy arrays.
- execution_statistics: ExecutionStatistics#
The execution statistics of the process.
- execution_status: ExecutionStatus#
The execution status of the process.
- jac: JacobianData#
The Jacobian matrices of the outputs.
The structure is
{output_name: {input_name: jacobian_matrix}}
.
- sobieski_problem: SobieskiProblem#
The Sobieski's SSBJ use case defining the MDO problem, e.g. disciplines, constraints, design space and reference optimum.
- 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: