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: 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 algorithm is naturally written for a single estimate, without any dynamic
45 or iterative notion (there is no need in this case for an incremental evolution
46 operator, nor for an evolution error covariance). In ADAO, it can also be used
47 on a succession of observations, placing the estimate in a recursive framework
48 partly similar to a :ref:`section_ref_algorithm_KalmanFilter`. A standard
49 estimate is made at each observation step on the state predicted by the
50 incremental evolution model, knowing that the state error covariance remains
51 the background covariance initially provided by the user. To be explicit,
52 unlike Kalman-type filters, the state error covariance is not updated.
54 .. ------------------------------------ ..
55 .. include:: snippets/Header2Algo02.rst
57 .. include:: snippets/Background.rst
59 .. include:: snippets/BackgroundError.rst
61 .. include:: snippets/Observation.rst
63 .. include:: snippets/ObservationError.rst
65 .. include:: snippets/ObservationOperator.rst
67 .. ------------------------------------ ..
68 .. include:: snippets/Header2Algo03AdOp.rst
70 .. include:: snippets/EstimationOf_Parameters.rst
72 .. include:: snippets/NumberOfSamplesForQuantiles.rst
74 .. include:: snippets/Quantiles.rst
76 .. include:: snippets/SetSeed.rst
78 .. include:: snippets/SimulationForQuantiles.rst
80 .. include:: snippets/StateBoundsForQuantilesWithNone.rst
82 StoreSupplementaryCalculations
83 .. index:: single: StoreSupplementaryCalculations
85 *List of names*. This list indicates the names of the supplementary
86 variables, that can be available during or at the end of the algorithm, if
87 they are initially required by the user. Their avalability involves,
88 potentially, costly calculations or memory consumptions. The default is then
89 a void list, none of these variables being calculated and stored by default
90 (excepted the unconditionnal variables). The possible names are in the
91 following list (the detailed description of each named variable is given in
92 the following part of this specific algorithmic documentation, in the
93 sub-section "*Information and variables available at the end of the
96 "APosterioriCorrelations",
97 "APosterioriCovariance",
98 "APosterioriStandardDeviations",
99 "APosterioriVariances",
102 "CostFunctionJAtCurrentOptimum",
104 "CostFunctionJbAtCurrentOptimum",
106 "CostFunctionJoAtCurrentOptimum",
112 "InnovationAtCurrentAnalysis",
113 "MahalanobisConsistency",
116 "SampledStateForQuantiles",
119 "SimulatedObservationAtBackground",
120 "SimulatedObservationAtCurrentOptimum",
121 "SimulatedObservationAtCurrentState",
122 "SimulatedObservationAtOptimum",
123 "SimulationQuantiles",
127 ``{"StoreSupplementaryCalculations":["CurrentState", "Residu"]}``
129 .. ------------------------------------ ..
130 .. include:: snippets/Header2Algo04.rst
132 .. include:: snippets/Analysis.rst
134 .. ------------------------------------ ..
135 .. include:: snippets/Header2Algo05.rst
137 .. include:: snippets/Analysis.rst
139 .. include:: snippets/APosterioriCorrelations.rst
141 .. include:: snippets/APosterioriCovariance.rst
143 .. include:: snippets/APosterioriStandardDeviations.rst
145 .. include:: snippets/APosterioriVariances.rst
147 .. include:: snippets/BMA.rst
149 .. include:: snippets/CostFunctionJ.rst
151 .. include:: snippets/CostFunctionJAtCurrentOptimum.rst
153 .. include:: snippets/CostFunctionJb.rst
155 .. include:: snippets/CostFunctionJbAtCurrentOptimum.rst
157 .. include:: snippets/CostFunctionJo.rst
159 .. include:: snippets/CostFunctionJoAtCurrentOptimum.rst
161 .. include:: snippets/CurrentOptimum.rst
163 .. include:: snippets/CurrentState.rst
165 .. include:: snippets/CurrentStepNumber.rst
167 .. include:: snippets/ForecastState.rst
169 .. include:: snippets/Innovation.rst
171 .. include:: snippets/InnovationAtCurrentAnalysis.rst
173 .. include:: snippets/MahalanobisConsistency.rst
175 .. include:: snippets/OMA.rst
177 .. include:: snippets/OMB.rst
179 .. include:: snippets/SampledStateForQuantiles.rst
181 .. include:: snippets/SigmaBck2.rst
183 .. include:: snippets/SigmaObs2.rst
185 .. include:: snippets/SimulatedObservationAtBackground.rst
187 .. include:: snippets/SimulatedObservationAtCurrentOptimum.rst
189 .. include:: snippets/SimulatedObservationAtCurrentState.rst
191 .. include:: snippets/SimulatedObservationAtOptimum.rst
193 .. include:: snippets/SimulationQuantiles.rst
195 .. ------------------------------------ ..
196 .. _section_ref_algorithm_ExtendedBlue_examples:
197 .. include:: snippets/Header2Algo09.rst
199 .. include:: scripts/simple_ExtendedBlue.rst
201 .. literalinclude:: scripts/simple_ExtendedBlue.py
203 .. include:: snippets/Header2Algo10.rst
205 .. literalinclude:: scripts/simple_ExtendedBlue.res
207 .. ------------------------------------ ..
208 .. include:: snippets/Header2Algo06.rst
210 - :ref:`section_ref_algorithm_Blue`
211 - :ref:`section_ref_algorithm_3DVAR`
212 - :ref:`section_ref_algorithm_LinearityTest`