OpenModelica / OMSimulator

The OpenModelica FMI & SSP-based co-simulation environment.
Other
71 stars 50 forks source link

implement API oms_replaceSubModel() #1170

Closed arun3688 closed 2 years ago

arun3688 commented 2 years ago

Related Issues

https://github.com/OpenModelica/OMSimulator/issues/1169

Purpose

This PR implements a new API oms_replaceSubModel() which replaces an existing fmu with the new one, but keeps the connections if the replaced fmu has the same properties with the old fmus which should support the architectural modelling in OMSimulator

TODO

lochel commented 2 years ago

Please preserve higher level definitions from the ssp file.