Adding external resources and parameter bindings #1149
-
Hi, This might be a bug, but more likely just me using the Python api incorrectly (thereby the discussion thread). I am running omsimulator from 2021-12-26 and noted that my exported SSP contains duplicates of the SSV and SSM I added to the model. What I have done:
Arriving at the following questions:
Best regards Fredrik |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
@Fredrik1Haider It will be good if you can share the python script , so that it is easier to debug, From what you wrote here is an example of referencing new external resources when no prior references are available in ssd https://github.com/OpenModelica/OMSimulator/blob/master/testsuite/api/addExternalResources5.lua , This is a lua script, but it can be adapted to python as well |
Beta Was this translation helpful? Give feedback.
-
@Fredrik1Haider Since I'm facing the same issues right now, I'd like to know if you found a solution for this problem? |
Beta Was this translation helpful? Give feedback.
@Fredrik1Haider It will be good if you can share the python script , so that it is easier to debug, From what you wrote here is an example of referencing new external resources when no prior references are available in ssd https://github.com/OpenModelica/OMSimulator/blob/master/testsuite/api/addExternalResources5.lua , This is a lua script, but it can be adapted to python as well