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

update start values in ssv template #1030

Merged
merged 1 commit into from
Jun 7, 2021

Conversation

arun3688
Copy link
Contributor

@arun3688 arun3688 commented Jun 2, 2021

Related Issues

#951

Purpose

This PR updates the new start values for signals exported in ssv template files set via setReal or setInteger or setBoolean

example

oms_newModel("test")
oms_addSystem("test.Root", oms_system_wc)
oms_addSubModel("test.Root.Gain", "../resources/Modelica.Blocks.Math.Gain.fmu")
oms_setReal("test.Root.Gain.k", 27)
oms_addSubModel("test.Root.add", "../resources/Modelica.Blocks.Math.Add.fmu")
oms_setReal("test.Root.add.k1", -20)
oms_exportSSVTemplate("test", "template.ssv")

@arun3688 arun3688 requested a review from lochel June 2, 2021 16:25
@lochel lochel merged commit 0722da6 into OpenModelica:master Jun 7, 2021
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