-
Notifications
You must be signed in to change notification settings - Fork 298
/
TSP_Pipe6.mo
23 lines (22 loc) · 1.81 KB
/
TSP_Pipe6.mo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
within DataReconciliationSimpleTests;
model TSP_Pipe6
ThermoSysPro.WaterSteam.PressureLosses.SingularPressureLoss singularPressureLoss1 (Q(uncertain=Uncertainty.refine), Pm(uncertain=Uncertainty.refine), T(uncertain=Uncertainty.refine, start=1.2e5)) annotation(
Placement(visible = true, transformation(origin = {-30, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
ThermoSysPro.WaterSteam.PressureLosses.SingularPressureLoss singularPressureLoss2 (Q(uncertain=Uncertainty.refine), Pm(uncertain=Uncertainty.refine), T(uncertain=Uncertainty.refine, start=1.2e5)) annotation(
Placement(visible = true, transformation(origin = {30, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
SourceP sourceP1 annotation(
Placement(visible = true, transformation(origin = {-70, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
SinkP sinkP1 annotation(
Placement(visible = true, transformation(origin = {70, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
ThermoSysPro.WaterSteam.Volumes.VolumeB volumeB1 (P(uncertain=Uncertainty.refine), T(uncertain=Uncertainty.refine, start=1.2e5)) annotation(
Placement(visible = true, transformation(origin = {0, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation
connect(sourceP1.C, singularPressureLoss1.C1) annotation(
Line(points = {{-60, 0}, {-40, 0}, {-40, 0}, {-40, 0}}, color = {0, 0, 255}));
connect(singularPressureLoss2.C2, sinkP1.C) annotation(
Line(points = {{40, 20}, {60, 20}, {60, 20}, {60, 20}, {60, 20}, {60, 20}}, color = {0, 0, 255}));
connect(singularPressureLoss1.C2, volumeB1.Ce1) annotation(
Line(points = {{-20, 0}, {-10, 0}}, color = {0, 0, 255}));
connect(volumeB1.Cs1, singularPressureLoss2.C1) annotation(
Line(points = {{0, 10}, {0, 10}, {0, 20}, {20, 20}, {20, 20}}, color = {0, 0, 255}));
end TSP_Pipe6;