2 Copyright (C) 2008-2023 EDF R&D
4 This file is part of SALOME ADAO module.
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with this library; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
24 .. index:: single: EnsembleOfSimulationGenerationTask
25 .. index:: single: Génération d'ensemble de simulations
26 .. index:: single: Ensemble of simulations
27 .. index:: single: Ensemble of snapshots
28 .. index:: single: Simulations (Ensemble)
29 .. index:: single: Snapshots (Ensemble)
30 .. _section_ref_algorithm_EnsembleOfSimulationGenerationTask:
32 Task algorithm "*EnsembleOfSimulationGenerationTask*"
33 -----------------------------------------------------
35 .. ------------------------------------ ..
36 .. include:: snippets/Header2Algo00.rst
40 This algorithm is only available in textual user interface (TUI) and not in
41 graphical user interface (GUI).
43 .. ------------------------------------ ..
44 .. include:: snippets/Header2Algo01.rst
46 This algorithm allows to generate a set of results, of simulation or
47 observation type, using the :math:`H` operator for a design of experiment of
48 the :math:`\mathbf{x}` parametric state space. The result of this algorithm is
49 a homogeneous collection of simulated vectors (available using the storable
50 variable "*EnsembleOfSimulations*") corresponding directly to the chosen
51 homogeneous collection of state vectors (available using the storable variable
52 "*EnsembleOfStates*").
54 The sampling of the states :math:`\mathbf{x}` can be given explicitly or under
55 form of hyper-cubes, explicit or sampled according to classic distributions.
56 Beware of the size of the hyper-cube (and then to the number of computations)
57 that can be reached, it can grow quickly to be quite large.
59 To be visible by the user while reducing the risk of storage difficulties, the
60 results of sampling or simulations has to be **explicitly** asked for. One use
61 for that, on the desired variable, the final saving through
62 "*UserPostAnalysis*" or the treatment during the calculation by "*observer*".
64 The results obtained with this algorithm can be used to feed an
65 :ref:`section_ref_algorithm_MeasurementsOptimalPositioningTask`. In a
66 complementary way, and if the goal is to evaluate the calculation-measurement
67 error, an :ref:`section_ref_algorithm_SamplingTest` uses the same sampling
68 commands to establish a set of error functional values :math:`J` from
69 observations :math:`\mathbf{y}^o`.
71 .. ------------------------------------ ..
72 .. include:: snippets/Header2Algo02.rst
74 .. include:: snippets/CheckingPoint.rst
76 .. include:: snippets/ObservationOperator.rst
78 .. ------------------------------------ ..
79 .. include:: snippets/Header2Algo03Task.rst
81 .. include:: snippets/SampleAsExplicitHyperCube.rst
83 .. include:: snippets/SampleAsIndependantRandomVariables.rst
85 .. include:: snippets/SampleAsMinMaxStepHyperCube.rst
87 .. include:: snippets/SampleAsnUplet.rst
89 .. include:: snippets/SetDebug.rst
91 .. include:: snippets/SetSeed.rst
93 StoreSupplementaryCalculations
94 .. index:: single: StoreSupplementaryCalculations
96 *List of names*. This list indicates the names of the supplementary
97 variables, that can be available during or at the end of the algorithm, if
98 they are initially required by the user. Their avalability involves,
99 potentially, costly calculations or memory consumptions. The default is then
100 a void list, none of these variables being calculated and stored by default
101 (excepted the unconditionnal variables). The possible names are in the
102 following list (the detailed description of each named variable is given in
103 the following part of this specific algorithmic documentation, in the
104 sub-section "*Information and variables available at the end of the
106 "EnsembleOfSimulations",
111 ``{"StoreSupplementaryCalculations":["CurrentState", "Residu"]}``
113 .. ------------------------------------ ..
114 .. include:: snippets/Header2Algo04.rst
116 .. include:: snippets/EnsembleOfSimulations.rst
118 .. ------------------------------------ ..
119 .. include:: snippets/Header2Algo05.rst
121 .. include:: snippets/EnsembleOfSimulations.rst
123 .. include:: snippets/EnsembleOfStates.rst
125 .. ------------------------------------ ..
126 .. _section_ref_algorithm_EnsembleOfSimulationGenerationTask_examples:
128 .. include:: snippets/Header2Algo06.rst
130 - :ref:`section_ref_algorithm_FunctionTest`
131 - :ref:`section_ref_algorithm_ParallelFunctionTest`
132 - :ref:`section_ref_algorithm_MeasurementsOptimalPositioningTask`