Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement API oms_replaceSubModel() #1170

Merged
merged 23 commits into from
Jul 12, 2022

Conversation

arun3688
Copy link
Contributor

@arun3688 arun3688 commented Jun 21, 2022

Related 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

  • add API oms_replaceSubModel()
  • add test cases
  • check the replaced component in ssv and ssm files
  • add python support
  • add documentation

@arun3688 arun3688 requested a review from lochel June 21, 2022 16:07
@lochel lochel enabled auto-merge (squash) July 12, 2022 12:10
@lochel
Copy link
Member

lochel commented Jul 12, 2022

Please preserve higher level definitions from the ssp file.

@lochel lochel merged commit 8dacd87 into OpenModelica:master Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants