/
States.json
50 lines (50 loc) · 1.73 KB
/
States.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"States": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.10",
"graphs": {
"state_example": {
"nodes": {
"counter_node": {
"parameters": {
"increment": {
"value": 1
},
"count": {
"value": "count + increment"
}
},
"output_ports": {
"out_port": {
"value": "count"
}
}
},
"sine_node": {
"parameters": {
"amp": {
"value": 3
},
"period": {
"value": 0.4
},
"level": {
"default_initial_value": 0,
"time_derivative": "6.283185 * rate / period"
},
"rate": {
"default_initial_value": 1,
"time_derivative": "-1 * 6.283185 * level / period"
}
},
"output_ports": {
"out_port": {
"value": "amp * level"
}
}
}
}
}
}
}
}