-
Notifications
You must be signed in to change notification settings - Fork 0
/
causal_model.dot
58 lines (51 loc) · 1.69 KB
/
causal_model.dot
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
51
52
53
54
55
56
57
58
digraph SINK
{
//Quantities
Inflow [style=filled fillcolor=red];
Volume;
Outflow;
// Pressure;
// Height;
// Magnitudes of Quantities
mag_i [shape=record, label="<f0> +|<f1> 0"];
mag_v [shape=record,label="<f0> Max|<f1> +|<f2> 0"];
mag_o [shape=record,label="<f0> Max|<f1> +|<f2> 0"];
// mag_p [shape=record,label="<f0> Max|<f1> +|<f2> 0"];
// mag_h [shape=record,label="<f0> Max|<f1> +|<f2> 0"];
// Derivatives of Quantities
// der_i [shape=circle label="+\n0\n-"];
// der_v [shape=circle label="+\n0\n-"];
// der_o [shape=circle label="+\n0\n-"];
// der_p [shape=circle label="+\n0\n-"];
// der_h [shape=circle label="+\n0\n-"];
// For Undirected Edges
subgraph SG1
{
edge [dir=none]
Inflow -> mag_i;
Volume -> mag_v;
Outflow -> mag_o;
// Pressure -> mag_p;
// Height -> mag_h;
// Inflow -> der_i;
// Volume -> der_v;
// Outflow -> der_o;
// Pressure -> der_p;
// Height -> der_h;
}
// For Directed Edges
subgraph SG2
{
Inflow -> Volume [label="I+"];
Outflow -> Volume [label="I-"];
Volume -> Outflow [label="P+"];
mag_v : f0 -> mag_o : f0 [label="V"]
mag_v : f2 -> mag_o : f2 [label="V"]
// Volume -> Height [label="P+"];
// Height -> Pressure [label="P+"];
// Pressure -> Outflow [label="P+"];
// mag_v: f0 -> mag_h : f0 [label="V"]; mag_v: f2 -> mag_h : f2 [label="V"];
// mag_h: f0 -> mag_p : f0 [label="V"]; mag_h: f2 -> mag_p : f2 [label="V"];
// mag_p: f0 -> mag_o : f0 [label="V"]; mag_p: f2 -> mag_o : f2 [label="V"];
}
}