impossible to open the buildings library with python_interface from Dymola

asked 2016-07-19 11:33:20 -0500

romain gravatar image

updated 2016-07-19 12:02:37 -0500

Hello everyone,

I'm currently trying to launch my modelica model with python in order to make my parameters studies more efficient. I'm trying to use the python_interface integrated to Dymola.

I have no problem loading my model with the "openModel" command from the interface. However, my model needs the buildings library in order to work, and it seems impossible to load it from python.

I tried using the "openModel" command, but nothing happened (not even an error; the buildings library simply does not appear in the Dymola window).

I also tried writing a modelica script containing instructions to open the buildings library, and then executed it from python with the "RunScript" command. Again, nothing happened.

I really don't understand this problem because it shouldn't be any different to open my model or the buildings library from python. Do you have any idea what the problem may be and how I can solve it ?

Thank you very much in advance for your time,

Romain

edit retag flag offensive close merge delete