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

Revision history [back]

Where to get more information on openmodelica scripting

Dear all, I am trying to automate my modelica building/openmodelica simulations by using openmodelica scripting. I cannot find decent documentation and/or guides on this other than these articles

https://www.claytex.com/blog/how-to-simulate-a-model-multiple-times-with-different-parameter-values/
https://github.com/OpenModelica/OpenModelica-testsuite/blob/master/simulation/modelica/functions_eval/Inverter2.mos

https://build.openmodelica.org/Documentation/OpenModelica.Scripting.html. Does anyone know where I can find good documentation and guides on these topics? Another quick question, once I a simulation is ran on a .oms is there a way to exports the results to a CSV, and if possible choose what I want to export withing the script? Thank you for the help.

Where to get more information on openmodelica scripting

Dear all, I am trying to automate my modelica building/openmodelica simulations by using openmodelica scripting. I cannot find decent documentation and/or guides on this other than these articles

https://www.claytex.com/blog/how-to-simulate-a-model-multiple-times-with-different-parameter-values/
https://github.com/OpenModelica/OpenModelica-testsuite/blob/master/simulation/modelica/functions_eval/Inverter2.mos

https://build.openmodelica.org/Documentation/OpenModelica.Scripting.html. Does anyone know where I can find good documentation and guides on these topics? Another quick question, once I a simulation is ran on a .oms is there a way to exports the results to a CSV, and if possible choose what I want to export withing the script? Thank you for the help.