23
Grey-Box Modeling; An approach to combined physical and statistical model building Henrik Madsen, Peder Bacher Rune Juhl, Jan Kloppenborg Møller Mathematical Sciences Collaboration in Energy Systems Integration, September 2015

Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Grey-Box Modeling; An approach to combined physical

and statistical model building

Henrik Madsen, Peder BacherRune Juhl, Jan Kloppenborg Møller

Mathematical Sciences Collaboration in Energy Systems Integration,

September 2015

Page 2: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Traditional Dynamical Model

Ordinary Differential Equation:

Page 3: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Stochastic Dynamical Model

Stochastic Differential Equation:

Page 4: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

The grey box model

Notation:

Diffusion term

Drift term

System equation

Observation equation

Observation noise

Page 5: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Grey-box modelling concept

Combines prior physical knowledge with information in data

Equations and parameters are physically interpretable

Page 6: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Forecasting and Simulation

One-step forecasts

K-step forecasts

Simulations

Control

… of both observed and hidden states.

Grey-Box models are well suited for ...

It provides a framework for pinpointing model deficiencies – like:

Time-tracking of unexplained variations in e.g. parameters

Missing (differential) equations

Missing functional relations

Lack of proper description of the uncertainty

Page 7: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Grey-box model building

Page 8: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Grey-Box Modelling

Bridge the gap between physical and statistical modellingProvides methods for model identificationProvides methods for model validationProvides methods for pinpointing model deficienciesEnables methods for a reliable description of the uncertainties, which implies that the same model can be used for k-step forecasting, simulation and control

Page 9: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Energy System Models for real time applications

Grey-box models are simplified models for the individual components facilitating system integration

Page 10: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Energy system for smart cities

Page 11: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Flexhouse at SYSLAB (DTU Risø)

Page 12: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Data and the first principal component

Page 13: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

A first order model often used for simulation

Page 14: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Model evaluation of the first order model

Model is not adequate since residuals are not white noise

Page 15: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Final model found using Grey-box techniques

Page 16: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Model evaluation – Extended model

This model is OK, since residuals are uncorrelated (white noise)

Page 17: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building
Page 18: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building
Page 19: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building
Page 20: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

EMPC for heat pump with solar collector (savings 35 pct)

Page 21: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

The software ...

CTSM-R – Continuous Time Stochastic Modelling in R

Download from http://ctsm.info

User Guide and Math Guide available

For more information. Email to

[email protected]

Our intention is to provide relevant model examples and guidelines for at the homepage

Page 22: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

Thanks for your time ...

CTSM-R

Page 23: Grey-Box Modeling; An approach to combined …smart-cities-centre.org/wp-content/uploads/grey_box...Grey-Box Modeling; An approach to combined physical and statistical model building

2008 2011

Some 'randomly picked' books on modeling ....