I tried simulating a simple model of my library with the use of python:
dymola.translateModel("path.to.model")
output = dymola.simulateExtendedModel('path.to.model')
log = dymola.getLastErrorLog()
print(log)
print(output)
Output is:
Translate = True
output =
Failed
Not possible to open file "dsres.mat": No such file or directory
= false, {}
[False, []]
Seems like the model gets translated just fine, but doesn't finish/start simulating.
Edit:
- Licence status is correct
- Using DymolaInterface(showwindow=False) shows that the correct model and all its dependecies have been loaded
- Quite a lot of warnings (F.e. wrong unit used), but the model simulates just fine with dymola
from Simulate with dymola python package not possible - dsres.mat not found
No comments:
Post a Comment