-
Notifications
You must be signed in to change notification settings - Fork 296
/
TSP_FourFlows5_old.mo
37 lines (36 loc) · 2.82 KB
/
TSP_FourFlows5_old.mo
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
within DataReconciliationSimpleTests;
model TSP_FourFlows5_old
ThermoSysPro.WaterSteam.BoundaryConditions.Sink sink1 annotation(
Placement(visible = true, transformation(origin = {90, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
SingularPressureLoss singularPressureLoss1(Q(uncertain=Uncertainty.refine, start=1.2e5)) annotation(
Placement(visible = true, transformation(origin = {-50, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
SingularPressureLoss singularPressureLoss2(Q(uncertain=Uncertainty.refine, start=1.2e5)) annotation(
Placement(visible = true, transformation(origin = {0, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
SingularPressureLoss singularPressureLoss3(Q(uncertain=Uncertainty.refine, start=1.2e5)) annotation(
Placement(visible = true, transformation(origin = {0, -20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
SingularPressureLoss singularPressureLoss4(Q(uncertain=Uncertainty.refine, start=1.2e5)) annotation(
Placement(visible = true, transformation(origin = {60, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
StaticDrum staticDrum1 (P(uncertain=Uncertainty.refine, start=1.2e5)) annotation(
Placement(visible = true, transformation(origin = {-22, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
StaticDrum staticDrum2 (P(uncertain=Uncertainty.refine, start=1.3e5)) annotation(
Placement(visible = true, transformation(origin = {28, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
ThermoSysPro.WaterSteam.BoundaryConditions.Source source1 annotation(
Placement(visible = true, transformation(origin = {-90, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation
connect(singularPressureLoss4.C2, sink1.C) annotation(
Line(points = {{70, 0}, {80, 0}}, color = {0, 0, 255}));
connect(singularPressureLoss1.C2, staticDrum1.Ce_sup) annotation(
Line(points = {{-40, 0}, {-40, 4}, {-31, 4}}, color = {0, 0, 255}));
connect(staticDrum1.Cs_sur, singularPressureLoss2.C1) annotation(
Line(points = {{-18, 9}, {-20, 9}, {-20, 20}, {-10, 20}}, color = {0, 0, 255}));
connect(staticDrum1.Cs_eva, singularPressureLoss3.C1) annotation(
Line(points = {{-18, -9}, {-18, -20}, {-10, -20}}, color = {0, 0, 255}));
connect(singularPressureLoss3.C2, staticDrum2.Ce_eco) annotation(
Line(points = {{10, -20}, {24, -20}, {24, -10}, {24, -10}}, color = {0, 0, 255}));
connect(singularPressureLoss2.C2, staticDrum2.Ce_steam) annotation(
Line(points = {{10, 20}, {24, 20}, {24, 10}, {24, 10}, {24, 10}}, color = {0, 0, 255}));
connect(source1.C, singularPressureLoss1.C1) annotation(
Line(points = {{-80, 0}, {-60, 0}, {-60, 0}, {-60, 0}}, color = {0, 0, 255}));
connect(staticDrum2.Cs_sup, singularPressureLoss4.C1) annotation(
Line(points = {{38, 4}, {50, 4}, {50, 0}, {50, 0}}, color = {0, 0, 255}));
end TSP_FourFlows5_old;