Project Structure #197
Replies: 7 comments 8 replies
-
On my phone, will respond more in full Monday. My initial thoughts: A simulation is an activity. Thus it has inputs, executes something, and generates outputs. As such the cosim.json-files are not simulations, they are input to the simulation activity. To perform the actual simulation you still need the tool, the FMUs and so forth. |
Beta Was this translation helpful? Give feedback.
-
After an off-line discussion with @clagms , I am revising the directory structure to the following. FMUs
FMU1
FMU2
...
cosimulation (one directory for each cosimulation scenario; this directory is a replacement for multi-model)
default/ (plain co-simulation config with no concern for separate multi-models and experiment configurations
cosim1.json
cosim2.json
...
multi-model-1/
multi-model.json
experiment-1
experiment-1.json
experiment-2/
experiment-1.json
...
multi-model-2/
multi-model.json
experiment-1
experiment-1.json
experiment-2/
experiment-1.json
...
results/ (directory for storing simulation results and temporary files)
cosimulation (same structure as top-level cosimulation; also remember to copy config files in the interest of traceability)
cosim-studio.yml (or) into-cps.yml please let me know your thoughts regarding this proposal. Thanks. |
Beta Was this translation helpful? Give feedback.
-
At the end of the day, the most important thing is to do something, and then change it, if it does not work! :D |
Beta Was this translation helpful? Give feedback.
-
There are two different ways of providing configuration I see:
Both go to Maestro. The problem is with separation and specification of these config files at the JSON schema level. The current implementation inside CoSimulation Studio is for single cosim config |
Beta Was this translation helpful? Give feedback.
-
Please see Maestro API Within the context of CoSimulation Studio, the following API end points are used: From Maestro API docs
|
Beta Was this translation helpful? Give feedback.
-
I am thinking of adding execute:
category: # example, default / fault / no-fault
experiments: [experiment-1, experiment-2,...] This yaml is helpful to trigger cosimulation(s) in CoSimulation Studio. The INTO-CPS App user can manually select an experiment and execute the same. Question:The term cosimulation scenario has been used before in the context of Maestro. Does it mean: a pair of multi-model and experiment configuration? |
Beta Was this translation helpful? Give feedback.
-
@lausdahl provided partial schemas.
|
Beta Was this translation helpful? Give feedback.
-
We are brainstorming the following project structure for the Co-Simulation Studio and the INTO-CPS Application.
Broader objective is to have the same directory structure for both the projects while providing the required environment-specific configuration in a yaml file.
The suggested structure is:
Questions:
build/
directory?@kgpierce @lausdahl @CThuleHansen @pglvdm @clagms @MarkusEllyton @PandoraQS
Beta Was this translation helpful? Give feedback.
All reactions