• No se han encontrado resultados

Algunas lecciones aprendidas y recomendaciones finales

In document Anabel Insaurralde Ciudad de Buenos aires (página 142-145)

In order to improve the simulation result, the real time data is assimilated into the simulation model. To apply particle filter methods for data assimilation, the system model and the measurement model need to be defined as well. Because particle filter methods are sample- based methods that use Bayesian inference and stochastic sampling techniques to recursively estimate the state of dynamic systems from some given observations [96] [47], a dynamic system is formulated as discrete dynamic state-space model, which is composed of the system model and the measurement model in equation (3.2) and (3.3) [97] as shown blow:

𝑠𝑡+1 = 𝑓(𝑠𝑡, 𝑡) + 𝑣𝑡 (3.2)

𝑚𝑣𝑡 = 𝑔(𝑠𝑡, 𝑡) + 𝑤𝑡 (3.3)

In these equations, t is time step, 𝑠𝑡 and 𝑚𝑡 are the state variable and the measurement variable

respectively, the functions of f and g define the evolutions of the state variable and the

measurement variable. The 𝑣𝑡 and 𝑤𝑡 are two independent random variable to generate the state

noise and the measurement noise. So, based on the simulation model, we formulate a non-linear state-space model as equation (3.4) and (3.5).

𝑠𝑡𝑎𝑡𝑒𝑡+1= 𝑆𝐹(𝑠𝑡𝑎𝑡𝑒𝑡, 𝑡) + 𝑣𝑡 (3.4)

𝑚𝑣𝑡 = 𝑀𝐹(𝑠𝑡𝑎𝑡𝑒𝑡, 𝑡) + 𝑤𝑡 (3.5)

which 𝑠𝑡𝑎𝑡𝑒𝑡 and 𝑠𝑡𝑎𝑡𝑒𝑡+1 are the system state variables of simulation state at time step t and

t+1; SF is the system transition function, 𝑚𝑣𝑡 is the measurement variable, in our work we

consider the measurement variables as the date obtained by the sensors deployed in the different

filed. The 𝑣𝑡 and 𝑤𝑡 refer to the noises of the system state and those of the measurement data

respectively. The system model and the measurement model are the essential components of the data assimilation system. The measurement model converts the output from the system model into the measurement data, which is used to compare with the real time data.

Because the sequential importance sampling has the limitation which the whole process relies on the initially generated sampling, so the particle filter methods used in here implement the sequential importance sampling with resampling (SISR) principle. The SISR forms the basic structure of particle filter methods which has been shown that a large number of particles are able to converge to the true posterior density even in non-Gaussian, non-linear dynamic systems [98]. For systems with strongly non-linear behaviors, particle filter methods are more effective than the widely used Kalman filter and its various extensions. More details about the algorithm can be found in [99]. A basic particle filter algorithm that implements the SISR procedure goes through multiple iterations. In each iteration, the algorithm receives a sample (particle) set 𝑠𝑡𝑎𝑡𝑒𝑡−1 and an observation𝑚𝑣𝑡 . Each sample in 𝑠𝑡𝑎𝑡𝑒𝑡−1 is used to predict the next state in the importance sampling step. The importance weight of each particle is then updated and normalized. In the resampling step, N offspring samples are drawn with a probability proportional to the normalized sample weights. These samples represent the posterior belief of the system state and are used for the next iteration.

The figure 3.3 shows the structure of particle filter methods and the procedure of the data assimilation algorithm. In the figure, the rectangle boxes represent the major components and the circles and rounded rectangles represent the data or variables. The data assimilation algorithm runs in a stepwise fashion. The state from time step t-1 are fed into the system transition model,

the result state set then denoted as 𝑠𝑡𝑎𝑡𝑒𝑡′. In order to computer the importance weight for

each 𝑠𝑡𝑎𝑡𝑒𝑡′, the sensor data is computed according to the measurement function which denoted

as 𝑀𝑡′. Then compare to the real observation data which collected from real time sensors, we can

finish the weight calculation and weight normalization. After that, a resampling algorithm is

applied to generate 𝑠𝑡𝑎𝑡𝑒𝑡 and it is the input for t+1 for next step. For the algorithm of particle

filter methods, the set of states is represented by a set of particles.

The algorithm starts by initializing N particles representing the initial states and each particle’s weight is initialized to 1/N. The algorithm goes through multiple iterations, every of which includes the sampling step, weight computation step (weight update) and resampling. In the sampling step, all the particles go through the system transition model to obtain their corresponding state of the next time step. In the weight update step, we can get the importance weights of the particle according to calculate the difference between the sensor data computed from the measurement model and the real sensor data. Finally, in resampling step, we select the particles based on their normalized weights to form a new set of particles. And we will use those particles and assign their new weight to 1/N to continue go the next iteration.

Statet-1

System Transition Model (Sampling) Measurement Function Weight Updating Resampling Statet Statet

Data from real time sensors Step t-1 Step t Step t+1 Time Sensor Deployment Schema

Figure 3.3 PF-based data assimilation

In document Anabel Insaurralde Ciudad de Buenos aires (página 142-145)