2 Copyright (C) 2008-2020 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: KalmanFilter
25 .. _section_ref_algorithm_KalmanFilter:
27 Algorithme de calcul "*KalmanFilter*"
28 -------------------------------------
30 .. ------------------------------------ ..
31 .. include:: snippets/Header2Algo01.rst
33 Cet algorithme réalise une estimation de l'état d'un système dynamique par un
36 Il est théoriquement réservé aux cas d'opérateurs d'observation et d'évolution
37 incrémentale (processus) linéaires, même s'il fonctionne parfois dans les cas
38 "faiblement" non-linéaire. On peut vérifier la linéarité de l'opérateur
39 d'observation à l'aide de l':ref:`section_ref_algorithm_LinearityTest`.
41 Conceptuellement, on peut représenter le schéma temporel d'action des
42 opérateurs pour cet algorithme de la manière suivante, avec **H** l'opérateur
43 d'observation et **M** l'opérateur d'évolution :
45 .. _schema_temporel_KF:
46 .. image:: images/schema_temporel_KF.png
50 **Schéma temporel des étapes en assimilation par filtre de Kalman**
52 En cas de non-linéarité, même peu marquée, on lui préférera
53 l':ref:`section_ref_algorithm_ExtendedKalmanFilter`, ou
54 l':ref:`section_ref_algorithm_EnsembleKalmanFilter` et
55 l':ref:`section_ref_algorithm_UnscentedKalmanFilter` qui sont plus puissants.
57 .. ------------------------------------ ..
58 .. include:: snippets/Header2Algo02.rst
60 .. include:: snippets/Background.rst
62 .. include:: snippets/BackgroundError.rst
64 .. include:: snippets/EvolutionError.rst
66 .. include:: snippets/EvolutionModel.rst
68 .. include:: snippets/Observation.rst
70 .. include:: snippets/ObservationError.rst
72 .. include:: snippets/ObservationOperator.rst
74 .. ------------------------------------ ..
75 .. include:: snippets/Header2Algo03AdOp.rst
77 .. include:: snippets/EstimationOf.rst
79 StoreSupplementaryCalculations
80 .. index:: single: StoreSupplementaryCalculations
82 Cette liste indique les noms des variables supplémentaires qui peuvent être
83 disponibles à la fin de l'algorithme, si elles sont initialement demandées par
84 l'utilisateur. Cela implique potentiellement des calculs ou du stockage
85 coûteux. La valeur par défaut est une liste vide, aucune de ces variables
86 n'étant calculée et stockée par défaut sauf les variables inconditionnelles.
87 Les noms possibles sont dans la liste suivante : [
89 "APosterioriCorrelations",
90 "APosterioriCovariance",
91 "APosterioriStandardDeviations",
92 "APosterioriVariances",
95 "CostFunctionJAtCurrentOptimum",
97 "CostFunctionJbAtCurrentOptimum",
99 "CostFunctionJoAtCurrentOptimum",
104 "InnovationAtCurrentAnalysis",
105 "InnovationAtCurrentState",
106 "SimulatedObservationAtCurrentAnalysis",
107 "SimulatedObservationAtCurrentOptimum",
108 "SimulatedObservationAtCurrentState",
112 ``{"StoreSupplementaryCalculations":["BMA", "CurrentState"]}``
114 .. ------------------------------------ ..
115 .. include:: snippets/Header2Algo04.rst
117 .. include:: snippets/Analysis.rst
119 .. ------------------------------------ ..
120 .. include:: snippets/Header2Algo05.rst
122 .. include:: snippets/Analysis.rst
124 .. include:: snippets/APosterioriCorrelations.rst
126 .. include:: snippets/APosterioriCovariance.rst
128 .. include:: snippets/APosterioriStandardDeviations.rst
130 .. include:: snippets/APosterioriVariances.rst
132 .. include:: snippets/BMA.rst
134 .. include:: snippets/CostFunctionJ.rst
136 .. include:: snippets/CostFunctionJAtCurrentOptimum.rst
138 .. include:: snippets/CostFunctionJb.rst
140 .. include:: snippets/CostFunctionJbAtCurrentOptimum.rst
142 .. include:: snippets/CostFunctionJo.rst
144 .. include:: snippets/CostFunctionJoAtCurrentOptimum.rst
146 .. include:: snippets/CurrentOptimum.rst
148 .. include:: snippets/CurrentState.rst
150 .. include:: snippets/ForecastState.rst
152 .. include:: snippets/IndexOfOptimum.rst
154 .. include:: snippets/InnovationAtCurrentAnalysis.rst
156 .. include:: snippets/InnovationAtCurrentState.rst
158 .. include:: snippets/SimulatedObservationAtCurrentAnalysis.rst
160 .. include:: snippets/SimulatedObservationAtCurrentOptimum.rst
162 .. include:: snippets/SimulatedObservationAtCurrentState.rst
164 .. ------------------------------------ ..
165 .. include:: snippets/Header2Algo06.rst
167 - :ref:`section_ref_algorithm_ExtendedKalmanFilter`
168 - :ref:`section_ref_algorithm_EnsembleKalmanFilter`
169 - :ref:`section_ref_algorithm_UnscentedKalmanFilter`
171 .. ------------------------------------ ..
172 .. include:: snippets/Header2Algo07.rst