maestro
maestro copied to clipboard
Configuration
Make it obvious what is part of the unfolding Currently the spec does not contain any information on underlying configuration or framework. The task is to add support for the first line in the code block below and $end.connections$
Framework FMI2(ENV file: env.json")
simulation
import X
import Y
import Z
{
load
instantiate
initialize($env.connections$)
fixed
unload
}
env.json:
{
"fmus": {
"{x1}": "target/test-classes/watertankcontroller-c.fmu",
"{x2}": "target/test-classes/singlewatertank-20sim.fmu"
},
"connections": {
"{x1}.crtlInstance.valve": [
"{x2}.wtInstance.valvecontrol"
],
"{x2}.wtInstance.level": [
"{x1}.crtlInstance.level"
]
}
}