Adnan Muntaseer
Adnan Muntaseer

Reputation: 39

How to perform local sensitivity analysis in modelica

I want to do local senstivity analysis in Dymola to evaluate different parameters affecting the energy consumption in a building (for multi-familyhouse). Can anyone give me some suggestions, how to do it in Dymola (Modelica) software?

Upvotes: 3

Views: 756

Answers (3)

Christian Bertsch
Christian Bertsch

Reputation: 588

You could export you model as FMU and then follow one of many the different paths for sensitivity analysis with FMUs:

...

Upvotes: 5

matth
matth

Reputation: 2696

One approach could be to do the modelling in Dymola (or OpenModelica, Simulation X, whatever), and then do the parameter sweep, pre- and post-processing, plotting, optimization and so on from Python. Dymola has a Python interface, so you can start simulation, read results, change parameters and so on from Python. Everything that can be done from the GUI is in theory also possible from the Python interface.

A Matlab interface and a Javascript interface are also available.

Upvotes: 1

Markus A.
Markus A.

Reputation: 7510

Did you take a look at the "Design" library that comes with Dymola? It contains functions to sweep and perturb parameters.

You can load it in File -> Libraries -> Design. Some examples on how to apply the library can be found in the first chapers of the Dymola Manual 2. From the question I guess the Calibration package should be most useful for you.

Upvotes: 1

Related Questions