Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

Dymola, OpenModelica and JModelica all have support for optimization, see

  • http://www.3ds.com/products-services/catia/products/dymola/model-design-tools/
  • https://openmodelica.org/research/omoptim and
  • http://www.jmodelica.org/api-docs/usersguide/1.4.0/ch08s01.html

There are also various users who used GenOpt with Modelica models that were compiled using Dymola. An example is available in the GenOpt download under example/dymola

Using BuildingsPy (http://simulationresearch.lbl.gov/modelica/buildingspy/) you could also run your Dymola model from Python and then use another Python package for the optimization such as from SciPy.org. There are also a few other Python packages such as PySimulator, that allow you to interface with Modelica models, and JModelica also provides its own Python bindings.

Lastly, if you use Wolfram Research's or Maplesoft's Modelica environment, then you can use the optimization packages from Mathematica or Maple, respectively.