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 Algorithme de calcul "*ExtendedBlue*"
28 -------------------------------------
30 .. ------------------------------------ ..
31 .. include:: snippets/Header2Algo01.rst
33 Cet algorithme réalise une estimation de type BLUE étendu (Best Linear Unbiased
34 Estimator, étendu) de l'état d'un système.
36 Cet algorithme est une généralisation partiellement non-linéaire d'un
37 :ref:`section_ref_algorithm_Blue`. Si l'opérateur d'observation est
38 explicitement linéaire, l'algorithme est équivalent à celui du
39 :ref:`section_ref_algorithm_Blue`. On peut vérifier la linéarité de l'opérateur
40 d'observation à l'aide d'un :ref:`section_ref_algorithm_LinearityTest`.
42 En non-linéaire, ses résultats se rapprochent d'un
43 :ref:`section_ref_algorithm_3DVAR`, sans lui être entièrement équivalent.
45 Cet algorithme est naturellement écrit pour une estimation unique, sans notion
46 dynamique ou itérative (il n'y a donc pas besoin dans ce cas d'opérateur
47 d'évolution incrémentale, ni de covariance d'erreurs d'évolution). Dans ADAO,
48 il peut aussi être utilisé sur une succession d'observations, plaçant alors
49 l'estimation dans un cadre récursif en partie similaire à un
50 :ref:`section_ref_algorithm_KalmanFilter`. Une estimation standard est
51 effectuée à chaque pas d'observation sur l'état prévu par le modèle d'évolution
52 incrémentale, sachant que la covariance d'erreur d'état reste la covariance
53 d'ébauche initialement fournie par l'utilisateur. Pour être explicite,
54 contrairement aux filtres de type Kalman, la covariance d'erreurs sur les états
55 n'est pas remise à jour.
57 .. ------------------------------------ ..
58 .. include:: snippets/Header2Algo02.rst
60 .. include:: snippets/Background.rst
62 .. include:: snippets/BackgroundError.rst
64 .. include:: snippets/Observation.rst
66 .. include:: snippets/ObservationError.rst
68 .. include:: snippets/ObservationOperator.rst
70 .. ------------------------------------ ..
71 .. include:: snippets/Header2Algo03AdOp.rst
73 .. include:: snippets/EstimationOf_Parameters.rst
75 .. include:: snippets/NumberOfSamplesForQuantiles.rst
77 .. include:: snippets/Quantiles.rst
79 .. include:: snippets/SetSeed.rst
81 .. include:: snippets/SimulationForQuantiles.rst
83 .. include:: snippets/StateBoundsForQuantilesWithNone.rst
85 StoreSupplementaryCalculations
86 .. index:: single: StoreSupplementaryCalculations
88 *Liste de noms*. Cette liste indique les noms des variables supplémentaires,
89 qui peuvent être disponibles au cours du déroulement ou à la fin de
90 l'algorithme, si elles sont initialement demandées par l'utilisateur. Leur
91 disponibilité implique, potentiellement, des calculs ou du stockage coûteux.
92 La valeur par défaut est donc une liste vide, aucune de ces variables n'étant
93 calculée et stockée par défaut (sauf les variables inconditionnelles). Les
94 noms possibles pour les variables supplémentaires sont dans la liste suivante
95 (la description détaillée de chaque variable nommée est donnée dans la suite
96 de cette documentation par algorithme spécifique, dans la sous-partie
97 "*Informations et variables disponibles à la fin de l'algorithme*") : [
99 "APosterioriCorrelations",
100 "APosterioriCovariance",
101 "APosterioriStandardDeviations",
102 "APosterioriVariances",
105 "CostFunctionJAtCurrentOptimum",
107 "CostFunctionJbAtCurrentOptimum",
109 "CostFunctionJoAtCurrentOptimum",
115 "InnovationAtCurrentAnalysis",
116 "MahalanobisConsistency",
119 "SampledStateForQuantiles",
122 "SimulatedObservationAtBackground",
123 "SimulatedObservationAtCurrentOptimum",
124 "SimulatedObservationAtCurrentState",
125 "SimulatedObservationAtOptimum",
126 "SimulationQuantiles",
130 ``{"StoreSupplementaryCalculations":["CurrentState", "Residu"]}``
132 .. ------------------------------------ ..
133 .. include:: snippets/Header2Algo04.rst
135 .. include:: snippets/Analysis.rst
137 .. ------------------------------------ ..
138 .. include:: snippets/Header2Algo05.rst
140 .. include:: snippets/Analysis.rst
142 .. include:: snippets/APosterioriCorrelations.rst
144 .. include:: snippets/APosterioriCovariance.rst
146 .. include:: snippets/APosterioriStandardDeviations.rst
148 .. include:: snippets/APosterioriVariances.rst
150 .. include:: snippets/BMA.rst
152 .. include:: snippets/CostFunctionJ.rst
154 .. include:: snippets/CostFunctionJAtCurrentOptimum.rst
156 .. include:: snippets/CostFunctionJb.rst
158 .. include:: snippets/CostFunctionJbAtCurrentOptimum.rst
160 .. include:: snippets/CostFunctionJo.rst
162 .. include:: snippets/CostFunctionJoAtCurrentOptimum.rst
164 .. include:: snippets/CurrentOptimum.rst
166 .. include:: snippets/CurrentState.rst
168 .. include:: snippets/CurrentStepNumber.rst
170 .. include:: snippets/ForecastState.rst
172 .. include:: snippets/Innovation.rst
174 .. include:: snippets/InnovationAtCurrentAnalysis.rst
176 .. include:: snippets/MahalanobisConsistency.rst
178 .. include:: snippets/OMA.rst
180 .. include:: snippets/OMB.rst
182 .. include:: snippets/SampledStateForQuantiles.rst
184 .. include:: snippets/SigmaBck2.rst
186 .. include:: snippets/SigmaObs2.rst
188 .. include:: snippets/SimulatedObservationAtBackground.rst
190 .. include:: snippets/SimulatedObservationAtCurrentOptimum.rst
192 .. include:: snippets/SimulatedObservationAtCurrentState.rst
194 .. include:: snippets/SimulatedObservationAtOptimum.rst
196 .. include:: snippets/SimulationQuantiles.rst
198 .. ------------------------------------ ..
199 .. _section_ref_algorithm_ExtendedBlue_examples:
201 .. include:: snippets/Header2Algo09.rst
203 .. include:: scripts/simple_ExtendedBlue.rst
205 .. literalinclude:: scripts/simple_ExtendedBlue.py
207 .. include:: snippets/Header2Algo10.rst
209 .. literalinclude:: scripts/simple_ExtendedBlue.res
212 .. ------------------------------------ ..
213 .. include:: snippets/Header2Algo06.rst
215 - :ref:`section_ref_algorithm_Blue`
216 - :ref:`section_ref_algorithm_3DVAR`
217 - :ref:`section_ref_algorithm_LinearityTest`