2 Copyright (C) 2008-2021 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: ExtendedKalmanFilter
25 .. _section_ref_algorithm_ExtendedKalmanFilter:
27 Algorithme de calcul "*ExtendedKalmanFilter*"
28 ---------------------------------------------
30 .. ------------------------------------ ..
31 .. include:: snippets/Header2Algo01.rst
33 Cet algorithme réalise une estimation de l'état d'un système dynamique par un
34 filtre de Kalman étendu, utilisant un calcul non linéaire de l'état et de
35 l'évolution incrémentale (processus).
37 Conceptuellement, on peut représenter le schéma temporel d'action de
38 l'opérateur d'évolution de cet algorithme de la manière suivante, avec **x**
39 l'état et **P** la covariance d'erreur d'état :
41 .. _schema_temporel_KF:
42 .. image:: images/schema_temporel_KF.png
46 **Schéma temporel des étapes en assimilation par filtre de Kalman étendu**
48 On remarque qu'il n'y a pas d'analyse effectuée au pas de temps initial
49 (numéroté 0 dans l'indexage temporel) car il n'y a pas de prévision à cet
50 instant (l'ébauche est stockée comme pseudo-analyse au pas initial). Si les
51 observations sont fournies en série par l'utilisateur, la première n'est donc
54 Dans le cas d'opérateurs réellement non-linéaires, on peut aisément utiliser
55 l':ref:`section_ref_algorithm_EnsembleKalmanFilter` ou
56 l':ref:`section_ref_algorithm_UnscentedKalmanFilter`, qui sont souvent
57 largement plus adaptés aux comportements non-linéaires mais plus coûteux. On
58 peut vérifier la linéarité des opérateurs à l'aide de
59 l':ref:`section_ref_algorithm_LinearityTest`.
61 .. ------------------------------------ ..
62 .. include:: snippets/Header2Algo02.rst
64 .. include:: snippets/Background.rst
66 .. include:: snippets/BackgroundError.rst
68 .. include:: snippets/EvolutionError.rst
70 .. include:: snippets/EvolutionModel.rst
72 .. include:: snippets/Observation.rst
74 .. include:: snippets/ObservationError.rst
76 .. include:: snippets/ObservationOperator.rst
78 .. ------------------------------------ ..
79 .. include:: snippets/Header2Algo03AdOp.rst
81 .. include:: snippets/BoundsWithExtremes.rst
83 .. include:: snippets/ConstrainedBy.rst
85 .. include:: snippets/EstimationOf.rst
87 StoreSupplementaryCalculations
88 .. index:: single: StoreSupplementaryCalculations
90 *Liste de noms*. Cette liste indique les noms des variables supplémentaires
91 qui peuvent être disponibles au cours du déroulement ou à la fin de
92 l'algorithme, si elles sont initialement demandées par l'utilisateur. Cela
93 implique potentiellement des calculs ou du stockage coûteux. La valeur par
94 défaut est une liste vide, aucune de ces variables n'étant calculée et
95 stockée par défaut sauf les variables inconditionnelles. Les noms possibles
96 sont dans la liste suivante : [
98 "APosterioriCorrelations",
99 "APosterioriCovariance",
100 "APosterioriStandardDeviations",
101 "APosterioriVariances",
104 "CostFunctionJAtCurrentOptimum",
106 "CostFunctionJbAtCurrentOptimum",
108 "CostFunctionJoAtCurrentOptimum",
109 "CurrentIterationNumber",
112 "ForecastCovariance",
115 "InnovationAtCurrentAnalysis",
116 "InnovationAtCurrentState",
117 "SimulatedObservationAtCurrentAnalysis",
118 "SimulatedObservationAtCurrentOptimum",
119 "SimulatedObservationAtCurrentState",
123 ``{"StoreSupplementaryCalculations":["BMA", "CurrentState"]}``
125 .. ------------------------------------ ..
126 .. include:: snippets/Header2Algo04.rst
128 .. include:: snippets/Analysis.rst
130 .. ------------------------------------ ..
131 .. include:: snippets/Header2Algo05.rst
133 .. include:: snippets/Analysis.rst
135 .. include:: snippets/APosterioriCorrelations.rst
137 .. include:: snippets/APosterioriCovariance.rst
139 .. include:: snippets/APosterioriStandardDeviations.rst
141 .. include:: snippets/APosterioriVariances.rst
143 .. include:: snippets/BMA.rst
145 .. include:: snippets/CostFunctionJ.rst
147 .. include:: snippets/CostFunctionJAtCurrentOptimum.rst
149 .. include:: snippets/CostFunctionJb.rst
151 .. include:: snippets/CostFunctionJbAtCurrentOptimum.rst
153 .. include:: snippets/CostFunctionJo.rst
155 .. include:: snippets/CostFunctionJoAtCurrentOptimum.rst
157 .. include:: snippets/CurrentIterationNumber.rst
159 .. include:: snippets/CurrentOptimum.rst
161 .. include:: snippets/CurrentState.rst
163 .. include:: snippets/ForecastCovariance.rst
165 .. include:: snippets/ForecastState.rst
167 .. include:: snippets/IndexOfOptimum.rst
169 .. include:: snippets/InnovationAtCurrentAnalysis.rst
171 .. include:: snippets/InnovationAtCurrentState.rst
173 .. include:: snippets/SimulatedObservationAtCurrentAnalysis.rst
175 .. include:: snippets/SimulatedObservationAtCurrentOptimum.rst
177 .. include:: snippets/SimulatedObservationAtCurrentState.rst
179 .. ------------------------------------ ..
180 .. include:: snippets/Header2Algo06.rst
182 - :ref:`section_ref_algorithm_KalmanFilter`
183 - :ref:`section_ref_algorithm_EnsembleKalmanFilter`
184 - :ref:`section_ref_algorithm_UnscentedKalmanFilter`
186 .. ------------------------------------ ..
187 .. include:: snippets/Header2Algo07.rst