.. Copyright 2021 IRT Saint-Exupéry, https://www.irt-saintexupery.com This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. .. _gen_discipline_algos: Disciplines =========== .. warning:: Some capabilities may require the :ref:`installation ` of |g| with :ref:`all its features ` and some others may depend on :ref:`plugins `. .. warning:: All the features of the wrapped libraries may not be exposed through |g|. .. _AdditiveNoiser_options: AdditiveNoiser -------------- .. note:: The plugin `gemseo_umdo `_ is required. Module: :class:`gemseo_umdo.disciplines.additive_noiser` .. raw:: html
Required settings
  • **noised_variable_name** : *str* The name of the variable once noised. .. raw:: html
  • **uncertain_variable_name** : *str* The name of the uncertain variable. .. raw:: html
  • **variable_name** : *str* The name of the variable to be noised. .. raw:: html
.. _Aerodynamics_options: Aerodynamics ------------ Module: :class:`gemseo.problems.mdo.aerostructure.aerostructure` .. _AnalyticDiscipline_options: AnalyticDiscipline ------------------ Module: :class:`gemseo.disciplines.analytic` .. raw:: html
Required settings
  • **expressions** : *Mapping[str, str | Expr]* The outputs expressed as functions of the inputs. .. raw:: html
.. raw:: html
Optional settings
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
.. _ArrayBasedFunctionDiscipline_options: ArrayBasedFunctionDiscipline ---------------------------- Module: :class:`gemseo.disciplines.array_based_function` .. raw:: html
Required settings
  • **function** : *Callable[[RealArray], RealArray]* The function of interest whose both the unique argument and the output are NumPy arrays. .. raw:: html
  • **input_names_to_sizes** : *dict[str, int]* The mapping from the names to the sizes for the input. .. raw:: html
  • **output_names_to_sizes** : *dict[str, int]* The mapping from the names to the sizes for the output. .. raw:: html
.. raw:: html
Optional settings
  • **jac_function** : *Callable[[RealArray], RealArray] | None, optional* The function computing the derivatives of the function of interest; both its unique argument and its output (i.e. a Jacobian matrix) are NumPy arrays. If ``None``, the derivatives will have to be approximated if required. By default it is set to None. .. raw:: html
.. _AutoJAXDiscipline_options: AutoJAXDiscipline ----------------- .. note:: The plugin `gemseo_jax `_ is required. Module: :class:`gemseo_jax.auto_jax_discipline` .. raw:: html
Required settings
  • **function** : *Callable[[NumberLike, ..., Any, ...], tuple[NumberLike]]* The JAX function. .. raw:: html
.. raw:: html
Optional settings
  • **differentiate_at_execution** : *bool, optional* Whether to compute the Jacobian when executing the discipline. By default it is set to False. .. raw:: html
  • **differentiation_method** : *JAXDiscipline.DifferentiationMethod, optional* The method to compute the Jacobian. By default it is set to auto. .. raw:: html
  • **name** : *str | None, optional* The name of the discipline. If empty, use the name of the class. By default it is set to None. .. raw:: html
  • **static_args** : *Mapping[str, Any], optional* The names and values of the static arguments of the JAX function. These arguments are constant at discipline execution. The non-numeric arguments can also be included. By default it is set to {}. .. raw:: html
.. _AutoPyDiscipline_options: AutoPyDiscipline ---------------- Module: :class:`gemseo.disciplines.auto_py` .. raw:: html
Required settings
  • **py_func** : *Callable* The Python function to compute the outputs from the inputs. .. raw:: html
.. raw:: html
Optional settings
  • **name** : *str* The name of the discipline. If empty, use the name of the Python function. By default it is set to . .. raw:: html
  • **py_jac** : *Callable | None, optional* The Python function to compute the Jacobian from the inputs; its output value must be a 2D NumPy array with rows corresponding to the outputs and columns to the inputs. By default it is set to None. .. raw:: html
  • **use_arrays** : *bool, optional* Whether the function ``py_func`` is expected to take arrays as inputs and give outputs as arrays. By default it is set to False. .. raw:: html
.. _BaseDiscipline_options: BaseDiscipline -------------- Module: :class:`gemseo.problems.mdo.scalable.parametric.disciplines.base_discipline` .. raw:: html
Required settings
  • **core_discipline_parameters** : *Any* The parameters to instantiate the core discipline as ``CoreDiscipline(*core_discipline_parameters)``. .. raw:: html
.. raw:: html
Optional settings
  • ****default_input_values** : *Any, optional* The default values of the input variables. .. raw:: html
.. _BaseFMUDiscipline_options: BaseFMUDiscipline ----------------- .. note:: The plugin `gemseo_fmu `_ is required. Module: :class:`gemseo_fmu.disciplines.base_fmu_discipline` .. raw:: html
Required settings
  • **file_path** : *str | Path* The path to the FMU model file. .. raw:: html
.. raw:: html
Optional settings
  • **add_time_to_output_grammar** : *bool, optional* Whether the time is added to the output grammar. By default it is set to True. .. raw:: html
  • **delete_model_instance_directory** : *bool, optional* Whether to delete the directory of the FMU instance when deleting the discipline. By default it is set to True. .. raw:: html
  • **do_step** : *bool, optional* Whether the model is simulated over only one `time_step` when calling [execute()][gemseo_fmu.disciplines.fmu_discipline.FMUDiscipline.execute]. Otherwise, simulate the model from current time to final time in one go. By default it is set to False. .. raw:: html
  • **final_time** : *TimeDurationType | None, optional* The final time of the simulation; either a number in seconds or a string of characters (see [TimeDuration][gemseo_fmu.utils.time_duration.TimeDuration]); if `None`, use the stop time defined in the FMU model if any; otherwise use the initial time. By default it is set to None. .. raw:: html
  • **initial_time** : *TimeDurationType | None, optional* The initial time of the simulation; either a number in seconds or a string of characters (see [TimeDuration][gemseo_fmu.utils.time_duration.TimeDuration]); if `None`, use the start time defined in the FMU model if any; otherwise use 0. By default it is set to None. .. raw:: html
  • **input_names** : *Iterable[str] | None, optional* The names of the FMU model inputs; if empty, use all the inputs and parameters of the FMU model; if `None`, do not use inputs. By default it is set to (). .. raw:: html
  • **model_instance_directory** : *str | Path* The directory of the FMU instance, containing the files extracted from the FMU model file; if empty, let `fmpy` create a temporary directory. By default it is set to . .. raw:: html
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
  • **output_names** : *Iterable[str], optional* The names of the FMU model outputs. if empty, use all the outputs of the FMU model. By default it is set to (). .. raw:: html
  • **restart** : *bool, optional* Whether the model is restarted at `initial_time` after execution. By default it is set to True. .. raw:: html
  • **solver_name** : *Solver, optional* The name of the solver to simulate a model-exchange model. By default it is set to CVode. .. raw:: html
  • **time_step** : *TimeDurationType, optional* The time step of the simulation; either a number in seconds or a string of characters (see [TimeDuration][gemseo_fmu.utils.time_duration.TimeDuration]); if `0.`, use the stop time defined in the FMU model if any; otherwise use `0.`. By default it is set to 0.0. .. raw:: html
  • **use_co_simulation** : *bool, optional* Whether the co-simulation FMI type is used. Otherwise, use model-exchange FMI type. When `do_step` is `True`, the co-simulation FMI type is required. By default it is set to True. .. raw:: html
  • **variable_names** : *Mapping[str, str], optional* The names of the discipline inputs and outputs associated with the names of the FMU model inputs and outputs, passed as `{fmu_model_variable_name: discipline_variable_name, ...}`. When missing, use the names of the FMU model inputs and outputs. By default it is set to {}. .. raw:: html
  • ****pre_instantiation_parameters** : *Any, optional* The parameters to be passed to `_pre_instantiate()`. .. raw:: html
.. _BaseNoiser_options: BaseNoiser ---------- .. note:: The plugin `gemseo_umdo `_ is required. Module: :class:`gemseo_umdo.disciplines.base_noiser` .. raw:: html
Required settings
  • **noised_variable_name** : *str* The name of the variable once noised. .. raw:: html
  • **uncertain_variable_name** : *str* The name of the uncertain variable. .. raw:: html
  • **variable_name** : *str* The name of the variable to be noised. .. raw:: html
.. _BaseSellar_options: BaseSellar ---------- Module: :class:`gemseo.problems.mdo.sellar.base_sellar` .. raw:: html
Optional settings
  • **n** : *int, optional* The size of the local design variables and coupling variables. By default it is set to 1. .. raw:: html
.. _Beam_options: Beam ---- .. note:: The plugin `gemseo_umdo `_ is required. Module: :class:`gemseo_umdo.use_cases.beam_model.discipline` .. raw:: html
Optional settings
  • **n_y** : *int, optional* The number of discretization points in the y-direction. By default it is set to 3. .. raw:: html
  • **n_z** : *int, optional* The number of discretization points in the z-direction. By default it is set to 3. .. raw:: html
.. _BeamConstraints_options: BeamConstraints --------------- .. note:: The plugin `gemseo_umdo `_ is required. Module: :class:`gemseo_umdo.use_cases.beam_model.constraints` .. _BraninDiscipline_options: BraninDiscipline ---------------- .. note:: The plugin `gemseo_mlearning `_ is required. Module: :class:`gemseo_mlearning.problems.branin.branin_discipline` .. _Calibrator_options: Calibrator ---------- .. note:: The plugin `gemseo_calibration `_ is required. Module: :class:`gemseo_calibration.calibrator` .. raw:: html
Required settings
  • **control_outputs** : *CalibrationMeasure | Sequence[CalibrationMeasure]* The names of the outputs used to calibrate the disciplines with the name of the calibration measure and the corresponding weight comprised between 0 and 1 (the weights must sum to 1). When the output is a 1D function discretized over an irregular mesh, the name of the mesh can be provided. E.g. `CalibrationMeasure(output="z", measure="MSE")` `CalibrationMeasure(output="z", measure="MSE", weight=0.3)` or `CalibrationMeasure(output="z", measure="MSE", mesh="z_mesh")` Lastly, `CalibrationMeasure` can be imported from [gemseo-calibration.calibrator][gemseo-calibration.calibrator]. .. raw:: html
  • **disciplines** : *Discipline | list[Discipline]* The disciplines whose parameters must be calibrated from the reference data. .. raw:: html
  • **input_names** : *str | Iterable[str]* The names of the inputs to be considered for the calibration. .. raw:: html
  • **parameter_names** : *str | Iterable[str]* The names of the parameters to be calibrated. .. raw:: html
.. raw:: html
Optional settings
  • **formulation** : *str, optional* The name of a formulation to manage the multidisciplinary coupling. By default it is set to MDF. .. raw:: html
  • ****formulation_options** : *Any, optional* The options of the formulation. .. raw:: html
.. _Concatenater_options: Concatenater ------------ Module: :class:`gemseo.disciplines.concatenater` .. raw:: html
Required settings
  • **input_variables** : *Sequence[str]* The input variables to concatenate. .. raw:: html
  • **output_variable** : *str* The output variable name. .. raw:: html
.. raw:: html
Optional settings
  • **input_coefficients** : *dict[str, float] | None, optional* The coefficients related to the different input variables. By default it is set to None. .. raw:: html
.. _ConstraintAggregation_options: ConstraintAggregation --------------------- Module: :class:`gemseo.disciplines.constraint_aggregation` .. raw:: html
Required settings
  • **aggregation_function** : *EvaluationFunction* The aggregation function or its name, e.g. IKS, lower_bound_KS,upper_bound_KS, POS_SUM and SUM. .. raw:: html
  • **constraint_names** : *Sequence[str]* The names of the constraints to aggregate, which must be discipline outputs. .. raw:: html
.. raw:: html
Optional settings
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
  • ****options** : *Any, optional* The options for the aggregation method. .. raw:: html
.. _DataDrivenScalableDiscipline_options: DataDrivenScalableDiscipline ---------------------------- Module: :class:`gemseo.problems.mdo.scalable.data_driven.discipline` .. raw:: html
Required settings
  • **data** : *IODataset* The training dataset. .. raw:: html
  • **name** : *str* The name of the class of the scalable model. .. raw:: html
.. raw:: html
Optional settings
  • **sizes** : *Mapping[str, int], optional* The sizes of the input and output variables. If empty, use the original sizes. By default it is set to {}. .. raw:: html
  • ****parameters** : *Any, optional* The parameters for the model. .. raw:: html
.. _DensityFilter_options: DensityFilter ------------- Module: :class:`gemseo.problems.topology_optimization.density_filter_disc` .. raw:: html
Optional settings
  • **min_member_size** : *float, optional* The minimum structural member size. By default it is set to 1.5. .. raw:: html
  • **n_x** : *int, optional* The number of elements in the x-direction. By default it is set to 100. .. raw:: html
  • **n_y** : *int, optional* The number of elements in the y-direction. By default it is set to 100. .. raw:: html
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
.. _DiscFromExe_options: DiscFromExe ----------- Module: :class:`gemseo.disciplines.wrappers.disc_from_exe` .. raw:: html
Required settings
  • **command_line** : *str* The command line to run the executable. E.g. ``python my_script.py -i input.txt -o output.txt`` .. raw:: html
  • **input_filename** : *str | Path* The name of the input file to be generated in the output folder. E.g. ``"input.txt"``. .. raw:: html
  • **input_template** : *str | Path* The path to the input template file. The input locations in the file are marked by ``GEMSEO_INPUT{input_name::1.0}``, where ``input_name`` is the name of the input variable, and ``1.0`` is its default value. .. raw:: html
  • **output_filename** : *str | Path* The name of the output file to be generated in the output folder. E.g. ``"output.txt"``. .. raw:: html
  • **output_template** : *str | Path* The path to the output template file. The output locations in the file are marked by ``GEMSEO_OUTPUT{output_name::1.0}``, where ``output_name`` is the name of the output variable, and ``1.0`` is its default value. .. raw:: html
  • **root_directory** : *str | Path* The base path of the execution directories. .. raw:: html
.. raw:: html
Optional settings
  • **clean_after_execution** : *bool, optional* Whether to clean the last created directory after execution. By default it is set to False. .. raw:: html
  • **directory_naming_method** : *DirectoryNamingMethod, optional* The method to create the execution directories. By default it is set to NUMBERED. .. raw:: html
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
  • **parse_out_separator** : *str, optional* The separator used for the :attr:`~.Parser.KEY_VALUE` output parser. By default it is set to =. .. raw:: html
  • **parse_outfile_method** : *Parser | OutputParser, optional* The optional method that can be provided by the user to parse the output template file. If the :attr:`~.Parser.KEY_VALUE` is used as output parser, the user may specify the separator key. By default it is set to TEMPLATE. .. raw:: html
  • **write_input_file_method** : *InputWriter | None, optional* The method to write the input data file. If ``None``, use :func:`~.write_input_file`. By default it is set to None. .. raw:: html
.. _Discipline_options: Discipline ---------- Module: :class:`gemseo.core.discipline.discipline` .. raw:: html
Optional settings
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
.. _DoStepFMUDiscipline_options: DoStepFMUDiscipline ------------------- .. note:: The plugin `gemseo_fmu `_ is required. Module: :class:`gemseo_fmu.disciplines.do_step_fmu_discipline` .. raw:: html
Required settings
  • **file_path** : *str | Path* The path to the FMU model file. .. raw:: html
.. raw:: html
Optional settings
  • **add_time_to_output_grammar** : *bool, optional* Whether the time is added to the output grammar. By default it is set to True. .. raw:: html
  • **delete_fmu_instance_directory** : *bool, optional* The description is missing. By default it is set to True. .. raw:: html
  • **final_time** : *TimeType | None, optional* The final time of the simulation; either a number in seconds or a string of characters (see [TimeDuration][gemseo_fmu.utils.time_duration.TimeDuration]); if `None`, use the stop time defined in the FMU model if any; otherwise use the initial time. By default it is set to None. .. raw:: html
  • **fmu_instance_directory** : *str | Path* The description is missing. By default it is set to . .. raw:: html
  • **initial_time** : *TimeType | None, optional* The initial time of the simulation; either a number in seconds or a string of characters (see [TimeDuration][gemseo_fmu.utils.time_duration.TimeDuration]); if `None`, use the start time defined in the FMU model if any; otherwise use 0. By default it is set to None. .. raw:: html
  • **input_names** : *Iterable[str] | None, optional* The names of the FMU model inputs; if empty, use all the inputs and parameters of the FMU model; if `None`, do not use inputs. By default it is set to (). .. raw:: html
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
  • **output_names** : *Iterable[str], optional* The names of the FMU model outputs. if empty, use all the outputs of the FMU model. By default it is set to (). .. raw:: html
  • **restart** : *bool, optional* Whether the model is restarted at `initial_time` after execution. By default it is set to False. .. raw:: html
  • **solver_name** : *FMUDiscipline.Solver, optional* The name of the solver to simulate a model-exchange model. By default it is set to CVode. .. raw:: html
  • **time_step** : *TimeType, optional* The time step of the simulation; either a number in seconds or a string of characters (see [TimeDuration][gemseo_fmu.utils.time_duration.TimeDuration]); if `0.`, use the stop time defined in the FMU model if any; otherwise use `0.`. By default it is set to 0.0. .. raw:: html
  • **variable_names** : *Mapping[str, str], optional* The names of the discipline inputs and outputs associated with the names of the FMU model inputs and outputs, passed as `{fmu_model_variable_name: discipline_variable_name, ...}`. When missing, use the names of the FMU model inputs and outputs. By default it is set to {}. .. raw:: html
  • ****pre_instantiation_parameters** : *Any, optional* The parameters to be passed to `_pre_instantiate()`. .. raw:: html
.. _FMUDiscipline_options: FMUDiscipline ------------- .. note:: The plugin `gemseo_fmu `_ is required. Module: :class:`gemseo_fmu.disciplines.fmu_discipline` .. raw:: html
Required settings
  • **file_path** : *str | Path* The path to the FMU model file. .. raw:: html
.. raw:: html
Optional settings
  • **add_time_to_output_grammar** : *bool, optional* Whether the time is added to the output grammar. By default it is set to True. .. raw:: html
  • **delete_model_instance_directory** : *bool, optional* Whether to delete the directory of the FMU instance when deleting the discipline. By default it is set to True. .. raw:: html
  • **do_step** : *bool, optional* Whether the model is simulated over only one `time_step` when calling [execute()][gemseo_fmu.disciplines.fmu_discipline.FMUDiscipline.execute]. Otherwise, simulate the model from current time to final time in one go. By default it is set to False. .. raw:: html
  • **final_time** : *TimeDurationType | None, optional* The final time of the simulation; either a number in seconds or a string of characters (see [TimeDuration][gemseo_fmu.utils.time_duration.TimeDuration]); if `None`, use the stop time defined in the FMU model if any; otherwise use the initial time. By default it is set to None. .. raw:: html
  • **initial_time** : *TimeDurationType | None, optional* The initial time of the simulation; either a number in seconds or a string of characters (see [TimeDuration][gemseo_fmu.utils.time_duration.TimeDuration]); if `None`, use the start time defined in the FMU model if any; otherwise use 0. By default it is set to None. .. raw:: html
  • **input_names** : *Iterable[str] | None, optional* The names of the FMU model inputs; if empty, use all the inputs and parameters of the FMU model; if `None`, do not use inputs. By default it is set to (). .. raw:: html
  • **model_instance_directory** : *str | Path* The directory of the FMU instance, containing the files extracted from the FMU model file; if empty, let `fmpy` create a temporary directory. By default it is set to . .. raw:: html
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
  • **output_names** : *Iterable[str], optional* The names of the FMU model outputs. if empty, use all the outputs of the FMU model. By default it is set to (). .. raw:: html
  • **restart** : *bool, optional* Whether the model is restarted at `initial_time` after execution. By default it is set to True. .. raw:: html
  • **solver_name** : *Solver, optional* The name of the solver to simulate a model-exchange model. By default it is set to CVode. .. raw:: html
  • **time_step** : *TimeDurationType, optional* The time step of the simulation; either a number in seconds or a string of characters (see [TimeDuration][gemseo_fmu.utils.time_duration.TimeDuration]); if `0.`, use the stop time defined in the FMU model if any; otherwise use `0.`. By default it is set to 0.0. .. raw:: html
  • **use_co_simulation** : *bool, optional* Whether the co-simulation FMI type is used. Otherwise, use model-exchange FMI type. When `do_step` is `True`, the co-simulation FMI type is required. By default it is set to True. .. raw:: html
  • **variable_names** : *Mapping[str, str], optional* The names of the discipline inputs and outputs associated with the names of the FMU model inputs and outputs, passed as `{fmu_model_variable_name: discipline_variable_name, ...}`. When missing, use the names of the FMU model inputs and outputs. By default it is set to {}. .. raw:: html
  • ****pre_instantiation_parameters** : *Any, optional* The parameters to be passed to `_pre_instantiate()`. .. raw:: html
.. _FilteringDiscipline_options: FilteringDiscipline ------------------- Module: :class:`gemseo.disciplines.wrappers.filtering_discipline` .. raw:: html
Required settings
  • **discipline** : *Discipline* The original discipline. .. raw:: html
.. raw:: html
Optional settings
  • **input_names** : *Iterable[str], optional* The names of the inputs of interest. If empty, use all the inputs. By default it is set to (). .. raw:: html
  • **keep_in** : *bool, optional* Whether to keep the inputs of interest. Otherwise, remove them. By default it is set to True. .. raw:: html
  • **keep_out** : *bool, optional* Whether to keep the outputs of interest. Otherwise, remove them. By default it is set to True. .. raw:: html
  • **output_names** : *Iterable[str], optional* The names of the outputs of interest. If empty, use all the outputs. By default it is set to (). .. raw:: html
.. _FiniteElementAnalysis_options: FiniteElementAnalysis --------------------- Module: :class:`gemseo.problems.topology_optimization.fea_disc` .. raw:: html
Optional settings
  • **f_amplitude** : *int | Sequence[int], optional* The force amplitude for each pair ``(f_node, f_direction)``. By default it is set to -1. .. raw:: html
  • **f_direction** : *int | Sequence[int], optional* The force direction for each ``f_node``, either 0 for x or 1 for y. By default it is set to 1. .. raw:: html
  • **f_node** : *int | Sequence[int], optional* The indices of the nodes where the forces are applied. By default it is set to 10200. .. raw:: html
  • **fixed_dir** : *int | Sequence[int] | None, optional* The clamped direction for each node, encode 0 for x and 1 for y. If ``None``, a default value is used. By default it is set to None. .. raw:: html
  • **fixed_nodes** : *int | Sequence[int] | None, optional* The indices of the nodes where the structure is clamped. If ``None``, a default value is used. By default it is set to None. .. raw:: html
  • **n_x** : *int, optional* The number of elements in the x-direction. By default it is set to 100. .. raw:: html
  • **n_y** : *int, optional* The number of elements in the y-direction. By default it is set to 100. .. raw:: html
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
  • **nu** : *float, optional* The material Poisson's ratio. By default it is set to 0.3. .. raw:: html
.. _HeatEquation_options: HeatEquation ------------ .. note:: The plugin `gemseo_umdo `_ is required. Module: :class:`gemseo_umdo.use_cases.heat_equation.discipline` .. raw:: html
Optional settings
  • **final_time** : *float, optional* The time of interest. By default it is set to 0.5. .. raw:: html
  • **mesh_size** : *int, optional* The number of equispaced spatial nodes. By default it is set to 100. .. raw:: html
  • **n_modes** : *int, optional* The number of modes of the truncated Fourier expansion. By default it is set to 21. .. raw:: html
  • **nu_bounds** : *tuple[float, float], optional* The bounds of the thermal diffusivity. By default it is set to (0.001, 0.009). .. raw:: html
  • **rod_length** : *float, optional* The length of the rod. By default it is set to 1.0. .. raw:: html
.. _IshigamiDiscipline_options: IshigamiDiscipline ------------------ Module: :class:`gemseo.problems.uncertainty.ishigami.ishigami_discipline` .. _JAXChain_options: JAXChain -------- .. note:: The plugin `gemseo_jax `_ is required. Module: :class:`gemseo_jax.jax_chain` .. raw:: html
Required settings
  • **disciplines** : *Sequence[JAXDiscipline]* The JAX disciplines to create the chain over. .. raw:: html
.. raw:: html
Optional settings
  • **differentiate_at_execution** : *bool, optional* Whether to compute the Jacobian when executing the discipline. By default it is set to False. .. raw:: html
  • **differentiation_method** : *DifferentiationMethod, optional* The method to compute the Jacobian. By default it is set to auto. .. raw:: html
  • **name** : *str | None, optional* The name of the discipline. If empty, use the name of the class. By default it is set to None. .. raw:: html
.. _JAXDiscipline_options: JAXDiscipline ------------- .. note:: The plugin `gemseo_jax `_ is required. Module: :class:`gemseo_jax.jax_discipline` .. raw:: html
Required settings
  • **default_inputs** : *Mapping[str, NumberLike]* The default values of the input variables. .. raw:: html
  • **function** : *Callable[[DataType], DataType]* The JAX function that takes a dictionary ``{input_name: input_value, ...}`` as argument and returns a dictionary ``{output_name: output_value, ...}``. .. raw:: html
  • **input_names** : *Sequence[str]* The names of the input variables. .. raw:: html
  • **output_names** : *Sequence[str]* The names of the output variables. .. raw:: html
.. raw:: html
Optional settings
  • **differentiate_at_execution** : *bool, optional* Whether to compute the Jacobian when executing the discipline. By default it is set to False. .. raw:: html
  • **differentiation_method** : *DifferentiationMethod, optional* The method to compute the Jacobian. By default it is set to auto. .. raw:: html
  • **name** : *str | None, optional* The name of the discipline. If empty, use the name of the class. By default it is set to None. .. raw:: html
.. _JAXSellar1_options: JAXSellar1 ---------- .. note:: The plugin `gemseo_jax `_ is required. Module: :class:`gemseo_jax.problems.sellar.sellar_1` .. raw:: html
Optional settings
  • **differentiate_at_execution** : *bool, optional* Whether to compute the Jacobian when executing the discipline. By default it is set to False. .. raw:: html
  • **differentiation_method** : *BaseJAXSellar.DifferentiationMethod, optional* The method to compute the Jacobian. By default it is set to auto. .. raw:: html
  • **k** : *float, optional* The shared coefficient controlling the coupling strength. By default it is set to 1.0. .. raw:: html
  • **n** : *int, optional* The size of the local design variables and coupling variables. By default it is set to 1. .. raw:: html
  • **static_args** : *Mapping[str, Any], optional* The names and values of the static arguments of the JAX function. These arguments are constant at discipline execution. The non-numeric arguments can also be included. By default it is set to {}. .. raw:: html
.. _JAXSellar2_options: JAXSellar2 ---------- .. note:: The plugin `gemseo_jax `_ is required. Module: :class:`gemseo_jax.problems.sellar.sellar_2` .. raw:: html
Optional settings
  • **differentiate_at_execution** : *bool, optional* Whether to compute the Jacobian when executing the discipline. By default it is set to False. .. raw:: html
  • **differentiation_method** : *BaseJAXSellar.DifferentiationMethod, optional* The method to compute the Jacobian. By default it is set to auto. .. raw:: html
  • **k** : *float, optional* The shared coefficient controlling the coupling strength. By default it is set to 1.0. .. raw:: html
  • **n** : *int, optional* The size of the local design variables and coupling variables. By default it is set to 1. .. raw:: html
  • **static_args** : *Mapping[str, Any], optional* The names and values of the static arguments of the JAX function. These arguments are constant at discipline execution. The non-numeric arguments can also be included. By default it is set to {}. .. raw:: html
.. _JAXSellarChain_options: JAXSellarChain -------------- .. note:: The plugin `gemseo_jax `_ is required. Module: :class:`gemseo_jax.problems.sellar.sellar_chain` .. raw:: html
Optional settings
  • **k** : *float, optional* The description is missing. By default it is set to 1.0. .. raw:: html
  • **n** : *int, optional* The description is missing. By default it is set to 1. .. raw:: html
  • **pre_run** : *bool, optional* Whether to pre run the jit. By default it is set to True. .. raw:: html
  • ****kwargs** : *Any, optional* The arguments passed to JAXChain. .. raw:: html
.. _JAXSellarSystem_options: JAXSellarSystem --------------- .. note:: The plugin `gemseo_jax `_ is required. Module: :class:`gemseo_jax.problems.sellar.sellar_system` .. raw:: html
Optional settings
  • **differentiate_at_execution** : *bool, optional* Whether to compute the Jacobian when executing the discipline. By default it is set to False. .. raw:: html
  • **differentiation_method** : *BaseJAXSellar.DifferentiationMethod, optional* The method to compute the Jacobian. By default it is set to auto. .. raw:: html
  • **n** : *int, optional* The size of the local design variables and coupling variables. By default it is set to 1. .. raw:: html
  • **static_args** : *Mapping[str, Any], optional* The names and values of the static arguments of the JAX function. These arguments are constant at discipline execution. The non-numeric arguments can also be included. By default it is set to {}. .. raw:: html
.. _JAXSobieskiAerodynamics_options: JAXSobieskiAerodynamics ----------------------- .. note:: The plugin `gemseo_jax `_ is required. Module: :class:`gemseo_jax.problems.sobieski.aerodynamics` .. _JAXSobieskiChain_options: JAXSobieskiChain ---------------- .. note:: The plugin `gemseo_jax `_ is required. Module: :class:`gemseo_jax.problems.sobieski.chain` .. _JAXSobieskiMission_options: JAXSobieskiMission ------------------ .. note:: The plugin `gemseo_jax `_ is required. Module: :class:`gemseo_jax.problems.sobieski.mission` .. _JAXSobieskiPropulsion_options: JAXSobieskiPropulsion --------------------- .. note:: The plugin `gemseo_jax `_ is required. Module: :class:`gemseo_jax.problems.sobieski.propulsion` .. _JAXSobieskiStructure_options: JAXSobieskiStructure -------------------- .. note:: The plugin `gemseo_jax `_ is required. Module: :class:`gemseo_jax.problems.sobieski.structure` .. _JobSchedulerDisciplineWrapper_options: JobSchedulerDisciplineWrapper ----------------------------- Module: :class:`gemseo.disciplines.wrappers.job_schedulers.discipline_wrapper` .. raw:: html
Required settings
  • **discipline** : *Discipline* The discipline to wrap in the job scheduler. .. raw:: html
  • **workdir_path** : *Path* The path to the workdir where the files will be generated. .. raw:: html
.. raw:: html
Optional settings
  • **job_out_filename** : *str, optional* The output job file name. By default it is set to batch.srun. .. raw:: html
  • **job_template_path** : *Path | str* The path to the template to be used to make a submission to the job scheduler command. By default it is set to . .. raw:: html
  • **scheduler_run_command** : *str, optional* The command to call the job scheduler and submit the generated script. By default it is set to sbatch --wait. .. raw:: html
  • **setup_cmd** : *str* The command used before running the executable. By default it is set to . .. raw:: html
  • **use_template** : *bool, optional* whether to use template based interface to the job scheduler. By default it is set to True. .. raw:: html
.. _LSF_options: LSF --- Module: :class:`gemseo.disciplines.wrappers.job_schedulers.lsf` .. raw:: html
Required settings
  • **discipline** : *Discipline* The discipline to wrap in the job scheduler. .. raw:: html
  • **workdir_path** : *Path* The path to the workdir where the files will be generated. .. raw:: html
.. raw:: html
Optional settings
  • **job_out_filename** : *str, optional* The output job file name. By default it is set to batch.sh. .. raw:: html
  • **job_template_path** : *Path | str* The path to the template to be used to make a submission to the job scheduler command. By default it is set to . .. raw:: html
  • **mem_per_cpu** : *str, optional* The memory per CPU. By default it is set to 1G. .. raw:: html
  • **ntasks** : *int, optional* The number of tasks. By default it is set to 1. .. raw:: html
  • **ntasks_per_node** : *int, optional* The number of tasks per node. By default it is set to 1. .. raw:: html
  • **scheduler_run_command** : *str, optional* The command to call the job scheduler and submit the generated script. By default it is set to bsub -K. .. raw:: html
  • **setup_cmd** : *str* The command used before running the executable. By default it is set to . .. raw:: html
  • **user_email** : *str* The user email to send the run status. By default it is set to . .. raw:: html
  • **wall_time** : *str, optional* The wall time. By default it is set to 24:00:00. .. raw:: html
  • ****options** : *dict[str:Any], optional* The job scheduler specific options to be used in the template. .. raw:: html
.. _LinearCombination_options: LinearCombination ----------------- Module: :class:`gemseo.disciplines.linear_combination` .. raw:: html
Required settings
  • **input_names** : *Iterable[str]* The names of the input variables. .. raw:: html
  • **output_name** : *str* The name of the output variable. .. raw:: html
.. raw:: html
Optional settings
  • **average** : *bool, optional* Whether to average the inputs when ``input_coefficients`` is empty, By default it is set to False. .. raw:: html
  • **input_coefficients** : *Mapping[str, float], optional* The coefficients related to the input variables. If empty, use 1 for all the :math:`d` input variables when ``average`` is ``False``. or :math:`1/d` when ``average`` is ``True``. By default it is set to {}. .. raw:: html
  • **input_size** : *int, optional* The size of the inputs. By default it is set to 1. .. raw:: html
  • **offset** : *float, optional* The output value when all the input variables are equal to zero. By default it is set to 0.0. .. raw:: html
.. _LinearDiscipline_options: LinearDiscipline ---------------- Module: :class:`gemseo.problems.mdo.scalable.linear.linear_discipline` .. raw:: html
Required settings
  • **input_names** : *Sequence[str]* The input data names. .. raw:: html
  • **name** : *str* The discipline name. .. raw:: html
  • **output_names** : *Sequence[str]* The output data names. .. raw:: html
.. raw:: html
Optional settings
  • **inputs_size** : *int, optional* The size of input data vectors, each input data is of shape (inputs_size,). By default it is set to 1. .. raw:: html
  • **matrix_density** : *float, optional* The percentage of non-zero elements when the matrix is sparse. By default it is set to 0.1. .. raw:: html
  • **matrix_format** : *MatrixFormat, optional* The format of the Jacobian matrix. By default it is set to dense. .. raw:: html
  • **matrix_free_jacobian** : *bool, optional* Whether the Jacobians are casted as linear operators. By default it is set to False. .. raw:: html
  • **outputs_size** : *int, optional* The size of output data vectors, each output data is of shape (outputs_size,). By default it is set to 1. .. raw:: html
.. _LinearLinkDiscipline_options: LinearLinkDiscipline -------------------- Module: :class:`gemseo.problems.mdo.opt_as_mdo_scenario` .. raw:: html
Required settings
  • **design_space** : *DesignSpace* The design space of the original optimization problem. .. raw:: html
  • **perform_mda_analytically** : *Callable[[RealArray], RealArray]* The function :math:`c` performing the MDA analytically at a given design point :math:`x=(x_0,x_1,\ldots,x_N)`. .. raw:: html
.. raw:: html
Optional settings
  • **differentiate_mda_analytically** : *Callable[[RealArray], RealArray] | None, optional* The function :math:`\nabla c` differentiating the MDA analytically at a given design point :math:`x=(x_0,x_1,\ldots,x_N)`. If ``None``, the discipline will not be differentiable. By default it is set to None. .. raw:: html
.. _MDOAdditiveChain_options: MDOAdditiveChain ---------------- Module: :class:`gemseo.core.chains.additive_chain` .. raw:: html
Required settings
  • **disciplines** : *Sequence[Discipline]* The disciplines. .. raw:: html
  • **outputs_to_sum** : *Iterable[str]* The names of the outputs to sum. .. raw:: html
.. raw:: html
Optional settings
  • **n_processes** : *int | None, optional* The maximum simultaneous number of threads, if ``use_threading`` is True, or processes otherwise, used to parallelize the execution. If ``None``, uses the number of disciplines. By default it is set to None. .. raw:: html
  • **name** : *str* The name of the discipline. If ``None``, use the class name. By default it is set to . .. raw:: html
  • **use_threading** : *bool, optional* Whether to use threads instead of processes to parallelize the execution; multiprocessing will copy (serialize) all the disciplines, while threading will share all the memory. This is important to note if you want to execute the same discipline multiple times, you shall use multiprocessing. By default it is set to True. .. raw:: html
.. _MDOChain_options: MDOChain -------- Module: :class:`gemseo.core.chains.chain` .. raw:: html
Required settings
  • **disciplines** : *Sequence[Discipline]* The disciplines. .. raw:: html
.. raw:: html
Optional settings
  • **name** : *str* The name of the discipline. If ``None``, use the class name. By default it is set to . .. raw:: html
.. _MDOInitializationChain_options: MDOInitializationChain ---------------------- Module: :class:`gemseo.core.chains.initialization_chain` .. raw:: html
Required settings
  • **disciplines** : *Sequence[Discipline]* The disciplines. .. raw:: html
.. raw:: html
Optional settings
  • **available_data_names** : *Iterable[str], optional* The data names that are assumed to be available at runtime, in addition to the default_input_data. By default it is set to (). .. raw:: html
  • **name** : *str* The name of the discipline. If ``None``, use the class name. By default it is set to . .. raw:: html
.. _MDOObjectiveScenarioAdapter_options: MDOObjectiveScenarioAdapter --------------------------- Module: :class:`gemseo.disciplines.scenario_adapters.mdo_objective_scenario_adapter` .. raw:: html
Required settings
  • **input_names** : *Sequence[str]* The inputs to overload at sub-scenario execution. .. raw:: html
  • **output_names** : *Sequence[str]* The outputs to get from the sub-scenario execution. .. raw:: html
  • **scenario** : *BaseScenario* The scenario to adapt. .. raw:: html
.. raw:: html
Optional settings
  • **keep_opt_history** : *bool, optional* Whether to keep database copies after each execution. Depending on the size of the databases and the number of consecutive executions, this can be very memory consuming. If the adapter will be executed in parallel, the databases will not be saved to the main process by the sub-processes, so this argument should be set to ``False`` to avoid unnecessary memory use in the sub-processes. By default it is set to False. .. raw:: html
  • **name** : *str* The name of the scenario adapter. If empty, use the name of the scenario adapter suffixed by ``"_adapter"``. By default it is set to . .. raw:: html
  • **naming** : *NameGenerator.Naming, optional* The way of naming the database files. When the adapter will be executed in parallel, this method shall be set to ``UUID`` because this method is multiprocess-safe. By default it is set to NUMBERED. .. raw:: html
  • **opt_history_file_prefix** : *str* The base name for the databases to be exported. The full names of the databases are built from the provided base name suffixed by ``"_identifier.h5"`` where ``identifier`` is replaced by an identifier according to the ``naming_method``. If empty, use :attr:`.DEFAULT_DATABASE_FILE_PREFIX`. By default it is set to . .. raw:: html
  • **output_multipliers** : *bool, optional* If ``True``, the Lagrange multipliers of the scenario optimal solution are computed and added to the outputs. By default it is set to False. .. raw:: html
  • **reset_x0_before_opt** : *bool, optional* If ``True``, reset the initial guess before running the sub optimization. By default it is set to False. .. raw:: html
  • **save_opt_history** : *bool, optional* Whether to save the optimization history to an HDF5 file after each execution. By default it is set to False. .. raw:: html
  • **scenario_log_level** : *int | None, optional* The level of the root logger during the scenario execution. If ``None``, do not change the level of the root logger. By default it is set to None. .. raw:: html
  • **set_bounds_before_opt** : *bool, optional* If ``True``, set the bounds of the design space. This is useful for trust regions. By default it is set to False. .. raw:: html
  • **set_x0_before_opt** : *bool, optional* If ``True``, set the initial guess of the sub-scenario. This is useful for multi-start optimization. By default it is set to False. .. raw:: html
.. _MDOParallelChain_options: MDOParallelChain ---------------- Module: :class:`gemseo.core.chains.parallel_chain` .. raw:: html
Required settings
  • **disciplines** : *Sequence[Discipline]* The disciplines. .. raw:: html
.. raw:: html
Optional settings
  • **n_processes** : *int | None, optional* The maximum simultaneous number of threads, if ``use_threading`` is True, or processes otherwise, used to parallelize the execution. If ``None``, uses the number of disciplines. By default it is set to None. .. raw:: html
  • **name** : *str* The name of the discipline. If ``None``, use the class name. By default it is set to . .. raw:: html
  • **use_deep_copy** : *bool, optional* Whether to deepcopy the discipline input data. By default it is set to False. .. raw:: html
  • **use_threading** : *bool, optional* Whether to use threads instead of processes to parallelize the execution; multiprocessing will copy (serialize) all the disciplines, while threading will share all the memory. This is important to note if you want to execute the same discipline multiple times, you shall use multiprocessing. By default it is set to True. .. raw:: html
.. _MDOScenarioAdapter_options: MDOScenarioAdapter ------------------ Module: :class:`gemseo.disciplines.scenario_adapters.mdo_scenario_adapter` .. raw:: html
Required settings
  • **input_names** : *Sequence[str]* The inputs to overload at sub-scenario execution. .. raw:: html
  • **output_names** : *Sequence[str]* The outputs to get from the sub-scenario execution. .. raw:: html
  • **scenario** : *BaseScenario* The scenario to adapt. .. raw:: html
.. raw:: html
Optional settings
  • **keep_opt_history** : *bool, optional* Whether to keep database copies after each execution. Depending on the size of the databases and the number of consecutive executions, this can be very memory consuming. If the adapter will be executed in parallel, the databases will not be saved to the main process by the sub-processes, so this argument should be set to ``False`` to avoid unnecessary memory use in the sub-processes. By default it is set to False. .. raw:: html
  • **name** : *str* The name of the scenario adapter. If empty, use the name of the scenario adapter suffixed by ``"_adapter"``. By default it is set to . .. raw:: html
  • **naming** : *NameGenerator.Naming, optional* The way of naming the database files. When the adapter will be executed in parallel, this method shall be set to ``UUID`` because this method is multiprocess-safe. By default it is set to NUMBERED. .. raw:: html
  • **opt_history_file_prefix** : *str* The base name for the databases to be exported. The full names of the databases are built from the provided base name suffixed by ``"_identifier.h5"`` where ``identifier`` is replaced by an identifier according to the ``naming_method``. If empty, use :attr:`.DEFAULT_DATABASE_FILE_PREFIX`. By default it is set to . .. raw:: html
  • **output_multipliers** : *bool, optional* If ``True``, the Lagrange multipliers of the scenario optimal solution are computed and added to the outputs. By default it is set to False. .. raw:: html
  • **reset_x0_before_opt** : *bool, optional* If ``True``, reset the initial guess before running the sub optimization. By default it is set to False. .. raw:: html
  • **save_opt_history** : *bool, optional* Whether to save the optimization history to an HDF5 file after each execution. By default it is set to False. .. raw:: html
  • **scenario_log_level** : *int | None, optional* The level of the root logger during the scenario execution. If ``None``, do not change the level of the root logger. By default it is set to None. .. raw:: html
  • **set_bounds_before_opt** : *bool, optional* If ``True``, set the bounds of the design space. This is useful for trust regions. By default it is set to False. .. raw:: html
  • **set_x0_before_opt** : *bool, optional* If ``True``, set the initial guess of the sub-scenario. This is useful for multi-start optimization. By default it is set to False. .. raw:: html
.. _MDOWarmStartedChain_options: MDOWarmStartedChain ------------------- Module: :class:`gemseo.core.chains.warm_started_chain` .. raw:: html
Required settings
  • **disciplines** : *Sequence[Discipline]* The disciplines. .. raw:: html
  • **variable_names_to_warm_start** : *Sequence[str]* The names of the variables to be warm started. These names must be outputs of the disciplines in the chain. If the list is empty, no variables are warm started. .. raw:: html
.. raw:: html
Optional settings
  • **name** : *str* The name of the discipline. If ``None``, use the class name. By default it is set to . .. raw:: html
.. _MainDiscipline_options: MainDiscipline -------------- Module: :class:`gemseo.problems.mdo.scalable.parametric.disciplines.main_discipline` .. raw:: html
Required settings
  • **t_i** : *RealArray* The threshold vectors :math:`t_1,\ldots,t_N`. .. raw:: html
.. raw:: html
Optional settings
  • ****default_input_values** : *RealArray, optional* The default values of the input variables. .. raw:: html
.. _MaterialModelInterpolation_options: MaterialModelInterpolation -------------------------- Module: :class:`gemseo.problems.topology_optimization.material_model_interpolation_disc` .. raw:: html
Required settings
  • **e0** : *float* The full material Young modulus. .. raw:: html
  • **empty_elements** : *Sequence[int]* The index of an empty element ids that are not part of the design space. .. raw:: html
  • **full_elements** : *Sequence[int]* The index of full element ids that are not part of the design space. .. raw:: html
  • **n_x** : *int* The number of elements in the x-direction. .. raw:: html
  • **n_y** : *int* The number of elements in the y-direction. .. raw:: html
  • **penalty** : *float* The SIMP penalty coefficient. .. raw:: html
.. raw:: html
Optional settings
  • **contrast** : *float, optional* The ratio between the full material Young's modulus and void material Young's modulus. By default it is set to 1000000000.0. .. raw:: html
.. _MatlabDiscipline_options: MatlabDiscipline ---------------- .. note:: The plugin `gemseo_matlab `_ is required. Module: :class:`gemseo_matlab.matlab_discipline` .. raw:: html
Required settings
  • **matlab_function_path** : *str | Path* The path of the Matlab file or Name of the function. .. raw:: html
.. raw:: html
Optional settings
  • **add_subfold_path** : *bool, optional* Whether to add all sub-folder to matlab engine path. By default it is set to False. .. raw:: html
  • **check_opt_data** : *bool, optional* Whether to check input and output data of discipline. By default it is set to True. .. raw:: html
  • **cleaning_interval** : *int, optional* The iteration interval at which matlab workspace is cleaned. By default it is set to 0. .. raw:: html
  • **input_names** : *Sequence[str], optional* The input variables. By default it is set to (). .. raw:: html
  • **is_jac_returned_by_func** : *bool, optional* Wether the jacobian matrices should be returned of matlab function with standard outputs, the conventional name 'jac_dout_din' is used as jacobian term of any output 'out' with respect to input 'in'. By default it is set to False. .. raw:: html
  • **matlab_data_path** : *str | Path* The .mat path containing the default values of data. By default it is set to . .. raw:: html
  • **matlab_engine_name** : *str, optional* The name of the matlab engine used for this discipline. By default it is set to matlab. .. raw:: html
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
  • **output_names** : *Sequence[str], optional* The output variables. By default it is set to (). .. raw:: html
  • **root_search_path** : *str | Path* The root directory to launch the research of matlab file. By default it is set to . .. raw:: html
.. _Mission_options: Mission ------- Module: :class:`gemseo.problems.mdo.aerostructure.aerostructure` .. raw:: html
Optional settings
  • **lift_val** : *float, optional* The threshold to compute the lift constraint. By default it is set to 0.5. .. raw:: html
  • **r_val** : *float, optional* The threshold to compute the reserve factor constraint. By default it is set to 0.5. .. raw:: html
.. _MultiplicativeNoiser_options: MultiplicativeNoiser -------------------- .. note:: The plugin `gemseo_umdo `_ is required. Module: :class:`gemseo_umdo.disciplines.multiplicative_noiser` .. raw:: html
Required settings
  • **noised_variable_name** : *str* The name of the variable once noised. .. raw:: html
  • **uncertain_variable_name** : *str* The name of the uncertain variable. .. raw:: html
  • **variable_name** : *str* The name of the variable to be noised. .. raw:: html
.. _ODEDiscipline_options: ODEDiscipline ------------- Module: :class:`gemseo.disciplines.ode.ode_discipline` .. raw:: html
Required settings
  • **rhs_discipline** : *Discipline* The discipline defining the right-hand side function of the ODE. .. raw:: html
  • **times** : *RealArray* Either the initial and final times or the times of interest where the state must be stored, including the initial and final times. When only initial and final times are provided, the times of interest are the instants chosen by the ODE solver to compute the state trajectories. .. raw:: html
.. raw:: html
Optional settings
  • **final_state_names** : *Mapping[str, str], optional* The names of the state variables bound to their names at final time. If empty, use ``"state_final"`` for a state variable named ``"state"``. By default it is set to {}. .. raw:: html
  • **final_time_name** : *str* The name of the variable for the final time. If empty, use ``f"final_{time_name}"``. By default it is set to . .. raw:: html
  • **initial_state_names** : *Mapping[str, str], optional* The names of the state variables bound to the names of the variables denoting the initial conditions. If empty, use ``"state_initial"`` for a state variable named ``"state"``. By default it is set to {}. .. raw:: html
  • **initial_time_name** : *str* The name of the variable for the initial time. If empty, use ``f"initial_{time_name}"``. By default it is set to . .. raw:: html
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
  • **ode_solver_name** : *str, optional* The name of the ODE solver. By default it is set to RK45. .. raw:: html
  • **return_trajectories** : *bool, optional* Whether to output both the trajectories of the state variables and their values at final time. Otherwise, output only their values at final time. By default it is set to False. .. raw:: html
  • **solve_at_algorithm_times** : *bool, optional* Whether to solve the ODE chosen by the algorithm. By default it is set to False. .. raw:: html
  • **state_names** : *Iterable[str] | Mapping[str, str], optional* Either the names of the state variables, passed as ``(state_name, ...)``, or the names of the state variables bound to the associated ``rhs_discipline`` outputs, passed as ``{state_name: output_name, ...}``. If empty, use all the ``rhs_discipline`` inputs. By default it is set to (). .. raw:: html
  • **state_trajectory_names** : *Mapping[str, str], optional* The names of the state variables bound to the names of their trajectories. If empty, use ``"state"`` for a state variable named ``"state"``. By default it is set to {}. .. raw:: html
  • **termination_event_disciplines** : *Iterable[Discipline], optional* The disciplines encoding termination events. Each discipline must have the same inputs as ``rhs_discipline`` and only one output defined as an arrays of size 1 indicating the value of an event function. The resolution of the ODE problem stops when one of the event functions crosses the threshold 0. If empty, the integration covers the entire time interval. By default it is set to (). .. raw:: html
  • **time_name** : *str, optional* The name of the time variable. By default it is set to time. .. raw:: html
  • ****ode_solver_settings** : *Any, optional* The settings of the ODE solver. .. raw:: html
.. _OscillatorDiscipline_options: OscillatorDiscipline -------------------- Module: :class:`gemseo.problems.ode.oscillator_discipline` .. raw:: html
Required settings
  • **omega** : *float* The positive angular velocity of the oscillator. .. raw:: html
  • **times** : *RealArray* Either the initial and final times or the times of interest where the state must be stored, including the initial and final times. When only initial and final times are provided, the times of interest are the instants chosen by the ODE solver to compute the state trajectories. .. raw:: html
.. raw:: html
Optional settings
  • **final_state_names** : *Mapping[str, str], optional* The names of the state variables bound to their names at final time. If empty, use ``"state_final"`` for a state variable named ``"state"``. By default it is set to {}. .. raw:: html
  • **return_trajectories** : *bool, optional* Whether to output both the trajectories of the state variables and their values at final time. Otherwise, output only their values at final time. By default it is set to False. .. raw:: html
.. _PropaneComb1_options: PropaneComb1 ------------ Module: :class:`gemseo.problems.mdo.propane.propane` .. _PropaneComb2_options: PropaneComb2 ------------ Module: :class:`gemseo.problems.mdo.propane.propane` .. _PropaneComb3_options: PropaneComb3 ------------ Module: :class:`gemseo.problems.mdo.propane.propane` .. _PropaneReaction_options: PropaneReaction --------------- Module: :class:`gemseo.problems.mdo.propane.propane` .. _RemappingDiscipline_options: RemappingDiscipline ------------------- Module: :class:`gemseo.disciplines.remapping` .. raw:: html
Required settings
  • **discipline** : *Discipline* The original discipline. .. raw:: html
.. raw:: html
Optional settings
  • **input_mapping** : *NameMapping, optional* The input names to the original input names. By default it is set to {}. .. raw:: html
  • **output_mapping** : *NameMapping, optional* The output names to the original output names. By default it is set to {}. .. raw:: html
.. _RetryDiscipline_options: RetryDiscipline --------------- Module: :class:`gemseo.disciplines.wrappers.retry_discipline` .. raw:: html
Required settings
  • **discipline** : *Discipline* The discipline to wrap in the retry loop. .. raw:: html
.. raw:: html
Optional settings
  • **fatal_exceptions** : *Iterable[type[Exception]], optional* The exceptions for which the code raises an exception and exit immediately without retrying a run. By default it is set to (). .. raw:: html
  • **n_trials** : *int, optional* The number of trials of the discipline. By default it is set to 5. .. raw:: html
  • **timeout** : *float, optional* The maximum duration, in seconds, that the discipline is allowed to run. If this time limit is exceeded, the execution is terminated. If ``math.inf``, the discipline is executed without timeout limit. By default it is set to inf. .. raw:: html
  • **wait_time** : *float, optional* The time to wait between 2 trials (in seconds). By default it is set to 0.0. .. raw:: html
.. _RosenMF_options: RosenMF ------- Module: :class:`gemseo.problems.optimization.rosen_mf` .. raw:: html
Optional settings
  • **dimension** : *int, optional* The dimension of the design space. By default it is set to 2. .. raw:: html
.. _RosenbrockDiscipline_options: RosenbrockDiscipline -------------------- .. note:: The plugin `gemseo_mlearning `_ is required. Module: :class:`gemseo_mlearning.problems.rosenbrock.rosenbrock_discipline` .. _SLURM_options: SLURM ----- Module: :class:`gemseo.disciplines.wrappers.job_schedulers.slurm` .. raw:: html
Required settings
  • **discipline** : *Discipline* The discipline to wrap in the job scheduler. .. raw:: html
  • **workdir_path** : *Path* The path to the workdir where the files will be generated. .. raw:: html
.. raw:: html
Optional settings
  • **cpus_per_task** : *int, optional* The number of CPUS per task. By default it is set to 1. .. raw:: html
  • **job_out_filename** : *str, optional* The output job file name. By default it is set to batch.sh. .. raw:: html
  • **job_template_path** : *Path | str* The path to the template to be used to make a submission to the job scheduler command. By default it is set to . .. raw:: html
  • **mem_per_cpu** : *str, optional* The memory per CPU. By default it is set to 1G. .. raw:: html
  • **nodes_number** : *int, optional* The number nodes. By default it is set to 1. .. raw:: html
  • **ntasks** : *int, optional* The number of tasks. By default it is set to 1. .. raw:: html
  • **ntasks_per_node** : *int, optional* The number of tasks per node. By default it is set to 1. .. raw:: html
  • **scheduler_run_command** : *str, optional* The command to call the job scheduler and submit the generated script. By default it is set to sbatch --wait. .. raw:: html
  • **setup_cmd** : *str* The command used before running the executable. By default it is set to . .. raw:: html
  • **use_template** : *bool, optional* whether to use template based interface to the job scheduler. By default it is set to True. .. raw:: html
  • **user_email** : *str* The user email to send the run status. By default it is set to . .. raw:: html
  • **wall_time** : *str, optional* The wall time. By default it is set to 24:00:00. .. raw:: html
  • ****options** : *dict[str:Any], optional* The job scheduler specific options to be used in the template. .. raw:: html
.. _ScalableDiscipline_options: ScalableDiscipline ------------------ Module: :class:`gemseo.problems.mdo.scalable.parametric.disciplines.scalable_discipline` .. raw:: html
Required settings
  • **a_i** : *NDArray* The offset vector :math:`a_i`. .. raw:: html
  • **C_ij** : *Mapping[str, RealArray]* The coefficient matrices :math:`\left(C_{i,j}\right)_{j=1\atop j\neq i}^N` where :math:`C_{i,j}` is used to multiply the coupling variable :math:`y_j`. .. raw:: html
  • **D_i0** : *NDArray* The coefficient matrix :math:`D_{i,0}` to multiply the shared design variable :math:`x_0`. .. raw:: html
  • **D_ii** : *NDArray* The coefficient matrix :math:`D_{i,i}` to multiply the local design variable :math:`x_i`. .. raw:: html
  • **index** : *int* The index :math:`i` of the scalable discipline. .. raw:: html
.. raw:: html
Optional settings
  • ****default_input_values** : *RealArray, optional* The default values of the input variables. .. raw:: html
.. _Sellar1_options: Sellar1 ------- Module: :class:`gemseo.problems.mdo.sellar.sellar_1` .. raw:: html
Optional settings
  • **k** : *float, optional* The shared coefficient controlling the coupling strength. By default it is set to 1.0. .. raw:: html
  • **n** : *int, optional* The size of the local design variables and coupling variables. By default it is set to 1. .. raw:: html
.. _Sellar2_options: Sellar2 ------- Module: :class:`gemseo.problems.mdo.sellar.sellar_2` .. raw:: html
Optional settings
  • **k** : *float, optional* The shared coefficient controlling the coupling strength By default it is set to 1.0. .. raw:: html
  • **n** : *int, optional* The size of the local design variables and coupling variables. By default it is set to 1. .. raw:: html
.. _SellarSystem_options: SellarSystem ------------ Module: :class:`gemseo.problems.mdo.sellar.sellar_system` .. raw:: html
Optional settings
  • **n** : *int, optional* The size of the local design variables and coupling variables. By default it is set to 1. .. raw:: html
.. _SobieskiAerodynamics_options: SobieskiAerodynamics -------------------- Module: :class:`gemseo.problems.mdo.sobieski.disciplines` .. raw:: html
Optional settings
  • **dtype** : *SobieskiBase.DataType, optional* The data type for the NumPy arrays, either "float64" or "complex128". By default it is set to float64. .. raw:: html
.. _SobieskiAerodynamicsSG_options: SobieskiAerodynamicsSG ---------------------- Module: :class:`gemseo.problems.mdo.sobieski._disciplines_sg` .. raw:: html
Optional settings
  • **dtype** : *SobieskiBase.DataType, optional* The data type for the NumPy arrays, either "float64" or "complex128". By default it is set to float64. .. raw:: html
.. _SobieskiChain_options: SobieskiChain ------------- Module: :class:`gemseo.problems.mdo.sobieski.process.mdo_chain` .. raw:: html
Optional settings
  • **dtype** : *SobieskiBase.DataType, optional* The NumPy type for data arrays, either "float64" or "complex128". By default it is set to float64. .. raw:: html
.. _SobieskiDiscipline_options: SobieskiDiscipline ------------------ Module: :class:`gemseo.problems.mdo.sobieski.disciplines` .. raw:: html
Optional settings
  • **dtype** : *SobieskiBase.DataType, optional* The data type for the NumPy arrays, either "float64" or "complex128". By default it is set to float64. .. raw:: html
.. _SobieskiDisciplineWithSimpleGrammar_options: SobieskiDisciplineWithSimpleGrammar ----------------------------------- Module: :class:`gemseo.problems.mdo.sobieski._disciplines_sg` .. raw:: html
Optional settings
  • **dtype** : *SobieskiBase.DataType, optional* The data type for the NumPy arrays, either "float64" or "complex128". By default it is set to float64. .. raw:: html
.. _SobieskiMDAGaussSeidel_options: SobieskiMDAGaussSeidel ---------------------- Module: :class:`gemseo.problems.mdo.sobieski.process.mda_gauss_seidel` .. raw:: html
Optional settings
  • **dtype** : *SobieskiBase.DataType, optional* The NumPy type for data arrays, either "float64" or "complex128". By default it is set to float64. .. raw:: html
  • **settings_model** : *MDAGaussSeidel_Settings | None, optional* The MDA settings as a Pydantic model. If ``None``, use ``**settings``. By default it is set to None. .. raw:: html
  • ****settings** : *Any, optional* The settings of the MDA. .. raw:: html
.. _SobieskiMDAJacobi_options: SobieskiMDAJacobi ----------------- Module: :class:`gemseo.problems.mdo.sobieski.process.mda_jacobi` .. raw:: html
Optional settings
  • **dtype** : *SobieskiBase.DataType, optional* The NumPy type for data arrays, either "float64" or "complex128". By default it is set to float64. .. raw:: html
  • ****settings** : *Any, optional* The settings of the MDA. .. raw:: html
.. _SobieskiMission_options: SobieskiMission --------------- Module: :class:`gemseo.problems.mdo.sobieski.disciplines` .. raw:: html
Optional settings
  • **dtype** : *SobieskiBase.DataType, optional* The data type for the NumPy arrays, either "float64" or "complex128". By default it is set to float64. .. raw:: html
  • **enable_delay** : *bool | float, optional* If ``True``, wait one second before computation. If a positive number, wait the corresponding number of seconds. If ``False``, compute directly. By default it is set to False. .. raw:: html
.. _SobieskiMissionSG_options: SobieskiMissionSG ----------------- Module: :class:`gemseo.problems.mdo.sobieski._disciplines_sg` .. raw:: html
Optional settings
  • **dtype** : *SobieskiBase.DataType, optional* The data type for the NumPy arrays, either "float64" or "complex128". By default it is set to float64. .. raw:: html
.. _SobieskiPropulsion_options: SobieskiPropulsion ------------------ Module: :class:`gemseo.problems.mdo.sobieski.disciplines` .. raw:: html
Optional settings
  • **dtype** : *SobieskiBase.DataType, optional* The data type for the NumPy arrays, either "float64" or "complex128". By default it is set to float64. .. raw:: html
.. _SobieskiPropulsionSG_options: SobieskiPropulsionSG -------------------- Module: :class:`gemseo.problems.mdo.sobieski._disciplines_sg` .. raw:: html
Optional settings
  • **dtype** : *SobieskiBase.DataType, optional* The data type for the NumPy arrays, either "float64" or "complex128". By default it is set to float64. .. raw:: html
.. _SobieskiStructure_options: SobieskiStructure ----------------- Module: :class:`gemseo.problems.mdo.sobieski.disciplines` .. raw:: html
Optional settings
  • **dtype** : *SobieskiBase.DataType, optional* The data type for the NumPy arrays, either "float64" or "complex128". By default it is set to float64. .. raw:: html
.. _SobieskiStructureSG_options: SobieskiStructureSG ------------------- Module: :class:`gemseo.problems.mdo.sobieski._disciplines_sg` .. raw:: html
Optional settings
  • **dtype** : *SobieskiBase.DataType, optional* The data type for the NumPy arrays, either "float64" or "complex128". By default it is set to float64. .. raw:: html
.. _Splitter_options: Splitter -------- Module: :class:`gemseo.disciplines.splitter` .. raw:: html
Required settings
  • **input_name** : *str* The name of the input to split. .. raw:: html
  • **output_names_to_input_indices** : *dict[str, Iterable[int] | int]* The input indices associated with the output names. .. raw:: html
.. _SpringMassDiscipline_options: SpringMassDiscipline -------------------- .. note:: The plugin `gemseo_umdo `_ is required. Module: :class:`gemseo_umdo.use_cases.spring_mass_model.discipline` .. raw:: html
Optional settings
  • **final_time** : *float, optional* The final time. By default it is set to 10.0. .. raw:: html
  • **gravity** : *float, optional* The gravity acceleration. By default it is set to 9.8. .. raw:: html
  • **initial_state** : *tuple[float, float], optional* The initial position and velocity of the object. By default it is set to (0, 0). .. raw:: html
  • **initial_time** : *float, optional* The initial time. By default it is set to 0.0. .. raw:: html
  • **mass** : *float, optional* The mass of the object. By default it is set to 1.5. .. raw:: html
  • **time_step** : *float, optional* The time step. By default it is set to 0.1. .. raw:: html
.. _SpringODEDiscipline_options: SpringODEDiscipline ------------------- Module: :class:`gemseo.problems.ode.springs.spring_ode_discipline` .. raw:: html
Required settings
  • **left_stiffness** : *float* The stiffness of the spring on the left-hand side. .. raw:: html
  • **mass** : *float* The value of the mass. .. raw:: html
  • **right_stiffness** : *float* The stiffness of the spring on the right-hand side. .. raw:: html
  • **times** : *RealArray* The times at which the solution must be evaluated. .. raw:: html
.. raw:: html
Optional settings
  • **is_left_position_fixed** : *bool, optional* Whether the other end of the spring to the left is fixed. By default it is set to False. .. raw:: html
  • **is_right_position_fixed** : *bool, optional* Whether the other end of the spring to the right is fixed. By default it is set to False. .. raw:: html
  • **left_position** : *float, optional* The position of the other extremity of the spring to the left. By default it is set to 0.0. .. raw:: html
  • **left_position_name** : *str, optional* The names of the variable describing the motion of the mass to the left. By default it is set to left_position. .. raw:: html
  • **right_position** : *float, optional* The position of the other extremity of the spring to the right. By default it is set to 0.0. .. raw:: html
  • **right_position_name** : *str, optional* The names of the variable describing the motion of the mass to the right. By default it is set to right_position. .. raw:: html
  • **state_dot_names** : *Sequence[str], optional* The names of the derivatives of the state variables relative to time. By default it is set to ('position_dot', 'velocity_dot'). .. raw:: html
  • **state_names** : *Sequence[str], optional* The names of the state variables. By default it is set to ('position', 'velocity'). .. raw:: html
  • ****ode_solver_options** : *Any, optional* The options of the ODE solver. .. raw:: html
.. _SpringsDynamicsDiscipline_options: SpringsDynamicsDiscipline ------------------------- Module: :class:`gemseo.problems.ode.springs.springs_dynamics_discipline` .. raw:: html
Required settings
  • **left_stiffness** : *float* The stiffness of the spring on the left-hand side. .. raw:: html
  • **mass** : *float* The value of the mass. .. raw:: html
  • **right_stiffness** : *float* The stiffness of the spring on the right-hand side. .. raw:: html
.. raw:: html
Optional settings
  • **left_position** : *RealArray | float, optional* The position of the other extremity of the spring to the left. By default it is set to 0.0. .. raw:: html
  • **left_position_name** : *str* Name of the input describing the position of the mass on the left, if is_left_position_fixed is False. By default it is set to . .. raw:: html
  • **right_position** : *RealArray | float, optional* The position of the other extremity of the spring to the right. By default it is set to 0.0. .. raw:: html
  • **right_position_name** : *str* Name of the input describing the position of the mass on the right, if is_right_position_fixed is False. By default it is set to . .. raw:: html
  • **state_dot_var_names** : *Sequence[str], optional* The names of the time derivatives of the state variables (by default 'position_dot' and 'velocity_dot'). By default it is set to ('position_dot', 'velocity_dot'). .. raw:: html
  • **state_names** : *Sequence[str], optional* The names of the state variables (by default 'position' and 'velocity'). By default it is set to ('position', 'velocity'). .. raw:: html
  • **times** : *RealArray | None, optional* the time vector for the evaluation of the left and right positions. By default it is set to None. .. raw:: html
.. _StaticFMUDiscipline_options: StaticFMUDiscipline ------------------- .. note:: The plugin `gemseo_fmu `_ is required. Module: :class:`gemseo_fmu.disciplines.static_fmu_discipline` .. raw:: html
Required settings
  • **file_path** : *str | Path* The path to the FMU model file. .. raw:: html
.. raw:: html
Optional settings
  • **delete_model_instance_directory** : *bool, optional* Whether to delete the directory of the FMU instance when deleting the discipline. By default it is set to True. .. raw:: html
  • **input_names** : *Iterable[str] | None, optional* The names of the FMU model inputs; if empty, use all the inputs and parameters of the FMU model; if `None`, do not use inputs. By default it is set to (). .. raw:: html
  • **model_instance_directory** : *str | Path* The directory of the FMU instance, containing the files extracted from the FMU model file; if empty, let `fmpy` create a temporary directory. By default it is set to . .. raw:: html
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
  • **output_names** : *Iterable[str], optional* The names of the FMU model outputs. if empty, use all the outputs of the FMU model. By default it is set to (). .. raw:: html
  • **use_co_simulation** : *bool, optional* Whether the co-simulation FMI type is used. Otherwise, use model-exchange FMI type. When `do_step` is `True`, the co-simulation FMI type is required. By default it is set to True. .. raw:: html
  • **variable_names** : *Mapping[str, str], optional* The names of the discipline inputs and outputs associated with the names of the FMU model inputs and outputs, passed as `{fmu_model_variable_name: discipline_variable_name, ...}`. When missing, use the names of the FMU model inputs and outputs. By default it is set to {}. .. raw:: html
  • ****pre_instantiation_parameters** : *Any, optional* The parameters to be passed to `_pre_instantiate()`. .. raw:: html
.. _Structure_options: Structure --------- Module: :class:`gemseo.problems.mdo.aerostructure.aerostructure` .. _SurrogateDiscipline_options: SurrogateDiscipline ------------------- Module: :class:`gemseo.disciplines.surrogate` .. raw:: html
Required settings
  • **surrogate** : *str | BaseRegressor* Either the name of a subclass of :class:`.BaseRegressor` or an instance of this subclass. .. raw:: html
.. raw:: html
Optional settings
  • **data** : *IODataset | None, optional* The training dataset to train the regression model. If ``None``, the regression model is supposed to be trained. By default it is set to None. .. raw:: html
  • **default_input_data** : *dict[str, ndarray], optional* The default values of the input variables. If empty, use the center of the learning input space. By default it is set to {}. .. raw:: html
  • **disc_name** : *str* The name to be given to the surrogate discipline. If empty, the name will be ``f"{surrogate.SHORT_ALGO_NAME}_{data.name}``. By default it is set to . .. raw:: html
  • **input_names** : *Iterable[str], optional* The names of the input variables. If empty, consider all input variables mentioned in the training dataset. By default it is set to (). .. raw:: html
  • **output_names** : *Iterable[str], optional* The names of the output variables. If empty, consider all input variables mentioned in the training dataset. By default it is set to (). .. raw:: html
  • **transformer** : *TransformerType, optional* The strategies to transform the variables. This argument is ignored when ``surrogate`` is a :class:`.BaseRegressor`; in this case, these strategies are defined with the ``transformer`` argument of this :class:`.BaseRegressor`, whose default value is :attr:`.BaseMLAlgo.IDENTITY`, which means no transformation. In the other cases, the values of the dictionary are instances of :class:`.BaseTransformer` while the keys can be variable names, the group name ``"inputs"`` or the group name ``"outputs"``. If a group name is specified, the :class:`.BaseTransformer` will be applied to all the variables of this group. If :attr:`.BaseMLAlgo.IDENTITY`, do not transform the variables. The :attr:`.BaseRegressor.DEFAULT_TRANSFORMER` uses the :class:`.MinMaxScaler` strategy for both input and output variables. By default it is set to {'inputs': , 'outputs': }. .. raw:: html
  • ****settings** : *MLAlgoSettingsType, optional* The settings of the machine learning algorithm. .. raw:: html
.. _TaylorDiscipline_options: TaylorDiscipline ---------------- Module: :class:`gemseo.disciplines.taylor` .. raw:: html
Required settings
  • **discipline** : *Discipline* The discipline to be approximated by a Taylor polynomial. .. raw:: html
.. raw:: html
Optional settings
  • **input_data** : *Mapping[str, NDArray[float]], optional* The point of expansion. If empty, use the default inputs of ``discipline``. By default it is set to {}. .. raw:: html
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
.. _TimeSteppingSystem_options: TimeSteppingSystem ------------------ .. note:: The plugin `gemseo_fmu `_ is required. Module: :class:`gemseo_fmu.disciplines.time_stepping_system` .. raw:: html
Required settings
  • **disciplines** : *Iterable[str | Path | Discipline]* The static and time-stepping disciplines. The disciplines will be executed circularly according to the order of their definition. .. raw:: html
  • **final_time** : *float* The final time of the simulation (the initial time is 0). .. raw:: html
  • **time_step** : *float* The time step of the system. .. raw:: html
.. raw:: html
Optional settings
  • **apply_time_step_to_disciplines** : *bool, optional* Whether the time-stepping disciplines should use `time_step` as time step. Otherwise, their own time steps. By default it is set to True. .. raw:: html
  • **do_step** : *bool, optional* Whether the model is simulated over only one `time_step` when calling the execution method. Otherwise, simulate the model from initial time to `final_time`. By default it is set to False. .. raw:: html
  • **mda_name** : *str, optional* The MDA class name. By default it is set to MDAJacobi. .. raw:: html
  • **mda_options** : *Mapping[str, Any], optional* The options of the MDA. By default it is set to {}. .. raw:: html
  • **restart** : *bool, optional* Whether the system is restarted at initial time after each execution. By default it is set to True. .. raw:: html
  • ****fmu_options** : *Any, optional* The options to instantiate the FMU disciplines. .. raw:: html
.. _VolumeFraction_options: VolumeFraction -------------- Module: :class:`gemseo.problems.topology_optimization.volume_fraction_disc` .. raw:: html
Optional settings
  • **empty_elements** : *Sequence[int] | None, optional* The index of the empty element ids that are not part of the design space. By default it is set to None. .. raw:: html
  • **full_elements** : *Sequence[int] | None, optional* The index of the full element ids that are not part of the design space. By default it is set to None. .. raw:: html
  • **n_x** : *int, optional* The number of elements in the x-direction. By default it is set to 100. .. raw:: html
  • **n_y** : *int, optional* The number of elements in the y-direction. By default it is set to 100. .. raw:: html
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
.. _WingWeightDiscipline_options: WingWeightDiscipline -------------------- Module: :class:`gemseo.problems.uncertainty.wing_weight.discipline` .. _XLSDiscipline_options: XLSDiscipline ------------- Module: :class:`gemseo.disciplines.wrappers.xls_discipline` .. raw:: html
Required settings
  • **xls_file_path** : *Path | str* The path to the Excel file. If the file is a XLSM, a macro named "execute" must exist and will be called by the :meth:`~.XLSDiscipline._run` method before retrieving the outputs. .. raw:: html
.. raw:: html
Optional settings
  • **copy_xls_at_setstate** : *bool, optional* If ``True``, create a copy of the original Excel file for each of the pickled parallel processes. This option is required to be set to ``True`` for parallelization in Windows platforms. By default it is set to False. .. raw:: html
  • **macro_name** : *str, optional* The name of the macro to be executed for a XLSM file. If empty, do not run a macro. By default it is set to execute. .. raw:: html
  • **name** : *str* The name of the discipline. If empty, use the name of the class. By default it is set to . .. raw:: html
  • **recreate_book_at_run** : *bool, optional* Whether to rebuild the xls objects at each ``_run`` call. By default it is set to False. .. raw:: html