File tree Expand file tree Collapse file tree 2 files changed +37
-11
lines changed Expand file tree Collapse file tree 2 files changed +37
-11
lines changed Original file line number Diff line number Diff line change 4
4
"components" : [
5
5
{
6
6
"name" : " Controller" ,
7
- "type" : " co-simulation " ,
7
+ "type" : " FMI 2 CS " ,
8
8
"path" : " resources/Controller.fmu" ,
9
- "variables" : [
10
- " output"
11
- ]
9
+ "variables" : [" output" ]
12
10
}
13
11
],
14
12
"solver" : {
22
20
"name" : " Plant" ,
23
21
"type" : " model exchange" ,
24
22
"path" : " resources/Plant.fmu" ,
25
- "variables" : [
26
- " input" ,
27
- " output"
28
- ]
23
+ "variables" : [" input" , " output" ]
29
24
},
30
25
{
31
26
"name" : " Sensor" ,
32
27
"type" : " model exchange" ,
33
28
"path" : " resources/Sensor.fmu" ,
34
- "variables" : [
35
- " output"
36
- ]
29
+ "variables" : [" output" ]
37
30
}
38
31
],
39
32
"solver" : {
Original file line number Diff line number Diff line change
1
+ {
2
+ "temp dir" : " temp" ,
3
+ "working dir" : " working" ,
4
+ "simulation units" : [
5
+ {
6
+ "components" : [
7
+ {
8
+ "name" : " " ,
9
+ "type" : " FMI 2 ME" ,
10
+ "path" : " resources/Controller.fmu" ,
11
+ "variables" : {
12
+ "output" : 15 ,
13
+ "state1" : 0
14
+ }
15
+ }
16
+ ],
17
+ "solver" : {
18
+ "type" : " model exchange" ,
19
+ "solver" : " CVODE" ,
20
+ "stepSize" : 0.01 ,
21
+ "tolerance" : 1e-5
22
+ },
23
+ "connections" : []
24
+ }
25
+ ],
26
+ "connections" : [],
27
+ "result file" : " simulation_result.csv" ,
28
+ "simulation settings" : {
29
+ "start time" : 0.0 ,
30
+ "stop time" : 10.0 ,
31
+ "tolerance" : 1e-6
32
+ }
33
+ }
You can’t perform that action at this time.
0 commit comments