2 Copyright (C) 2008-2024 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: ExtendedBlue
25 .. _section_ref_algorithm_ExtendedBlue:
27 Calculation algorithm "*ExtendedBlue*"
28 --------------------------------------
30 .. ------------------------------------ ..
31 .. include:: snippets/Header2Algo01.rst
33 This algorithm realizes an extended BLUE (Best Linear Unbiased Estimator) type
34 estimation of the state of a system.
36 This algorithm is a partially non-linear generalization of a
37 :ref:`section_ref_algorithm_Blue`. It is equivalent for a linear observation
38 operator. One can verify the linearity of the observation operator with the
39 help of a :ref:`section_ref_algorithm_LinearityTest`.
41 In case of non-linearity, its results are close to a
42 :ref:`section_ref_algorithm_3DVAR`, without being entirely equivalent.
44 This mono-objective optimization algorithm is naturally written for a single
45 estimate, without any dynamic or iterative notion (there is no need in this
46 case for an incremental evolution operator, nor for an evolution error
47 covariance). In ADAO, it can also be used on a succession of observations,
48 placing the estimate in a recursive framework partly similar to a
49 :ref:`section_ref_algorithm_KalmanFilter`. A standard estimate is made at each
50 observation step on the state predicted by the incremental evolution model,
51 knowing that the state error covariance remains the background covariance
52 initially provided by the user. To be explicit, unlike Kalman-type filters, the
53 state error covariance is not updated.
55 .. ------------------------------------ ..
56 .. include:: snippets/Header2Algo12.rst
58 .. include:: snippets/FeaturePropLocalOptimization.rst
60 .. include:: snippets/FeaturePropDerivativeNeeded.rst
62 .. include:: snippets/FeaturePropParallelDerivativesOnly.rst
64 .. ------------------------------------ ..
65 .. include:: snippets/Header2Algo02.rst
67 .. include:: snippets/Background.rst
69 .. include:: snippets/BackgroundError.rst
71 .. include:: snippets/Observation.rst
73 .. include:: snippets/ObservationError.rst
75 .. include:: snippets/ObservationOperator.rst
77 .. ------------------------------------ ..
78 .. include:: snippets/Header2Algo03AdOp.rst
80 .. include:: snippets/EstimationOf_Parameters.rst
82 .. include:: snippets/NumberOfSamplesForQuantiles.rst
84 .. include:: snippets/Quantiles.rst
86 .. include:: snippets/SetSeed.rst
88 .. include:: snippets/SimulationForQuantiles.rst
90 .. include:: snippets/StateBoundsForQuantilesWithNone.rst
92 StoreSupplementaryCalculations
93 .. index:: single: StoreSupplementaryCalculations
95 *List of names*. This list indicates the names of the supplementary
96 variables, that can be available during or at the end of the algorithm, if
97 they are initially required by the user. Their availability involves,
98 potentially, costly calculations or memory consumptions. The default is then
99 a void list, none of these variables being calculated and stored by default
100 (excepted the unconditional variables). The possible names are in the
101 following list (the detailed description of each named variable is given in
102 the following part of this specific algorithmic documentation, in the
103 sub-section "*Information and variables available at the end of the
106 "APosterioriCorrelations",
107 "APosterioriCovariance",
108 "APosterioriStandardDeviations",
109 "APosterioriVariances",
112 "CostFunctionJAtCurrentOptimum",
114 "CostFunctionJbAtCurrentOptimum",
116 "CostFunctionJoAtCurrentOptimum",
122 "InnovationAtCurrentAnalysis",
123 "MahalanobisConsistency",
126 "SampledStateForQuantiles",
129 "SimulatedObservationAtBackground",
130 "SimulatedObservationAtCurrentOptimum",
131 "SimulatedObservationAtCurrentState",
132 "SimulatedObservationAtOptimum",
133 "SimulationQuantiles",
137 ``{"StoreSupplementaryCalculations":["CurrentState", "Residu"]}``
139 .. ------------------------------------ ..
140 .. include:: snippets/Header2Algo04.rst
142 .. include:: snippets/Analysis.rst
144 .. ------------------------------------ ..
145 .. include:: snippets/Header2Algo05.rst
147 .. include:: snippets/Analysis.rst
149 .. include:: snippets/APosterioriCorrelations.rst
151 .. include:: snippets/APosterioriCovariance.rst
153 .. include:: snippets/APosterioriStandardDeviations.rst
155 .. include:: snippets/APosterioriVariances.rst
157 .. include:: snippets/BMA.rst
159 .. include:: snippets/CostFunctionJ.rst
161 .. include:: snippets/CostFunctionJAtCurrentOptimum.rst
163 .. include:: snippets/CostFunctionJb.rst
165 .. include:: snippets/CostFunctionJbAtCurrentOptimum.rst
167 .. include:: snippets/CostFunctionJo.rst
169 .. include:: snippets/CostFunctionJoAtCurrentOptimum.rst
171 .. include:: snippets/CurrentOptimum.rst
173 .. include:: snippets/CurrentState.rst
175 .. include:: snippets/CurrentStepNumber.rst
177 .. include:: snippets/ForecastState.rst
179 .. include:: snippets/Innovation.rst
181 .. include:: snippets/InnovationAtCurrentAnalysis.rst
183 .. include:: snippets/MahalanobisConsistency.rst
185 .. include:: snippets/OMA.rst
187 .. include:: snippets/OMB.rst
189 .. include:: snippets/SampledStateForQuantiles.rst
191 .. include:: snippets/SigmaBck2.rst
193 .. include:: snippets/SigmaObs2.rst
195 .. include:: snippets/SimulatedObservationAtBackground.rst
197 .. include:: snippets/SimulatedObservationAtCurrentOptimum.rst
199 .. include:: snippets/SimulatedObservationAtCurrentState.rst
201 .. include:: snippets/SimulatedObservationAtOptimum.rst
203 .. include:: snippets/SimulationQuantiles.rst
205 .. ------------------------------------ ..
206 .. _section_ref_algorithm_ExtendedBlue_examples:
208 .. include:: snippets/Header2Algo09.rst
210 .. include:: scripts/simple_ExtendedBlue.rst
212 .. literalinclude:: scripts/simple_ExtendedBlue.py
214 .. include:: snippets/Header2Algo10.rst
216 .. literalinclude:: scripts/simple_ExtendedBlue.res
218 .. ------------------------------------ ..
219 .. include:: snippets/Header2Algo06.rst
221 - :ref:`section_ref_algorithm_Blue`
222 - :ref:`section_ref_algorithm_3DVAR`
223 - :ref:`section_ref_algorithm_LinearityTest`