Ticket #5351: HRSG_3LRh_BaseClass.mo

File HRSG_3LRh_BaseClass.mo, 4.8 KB (added by KieranF <kieran.fung@…>, 6 years ago)

HRSG Base Class File

Line 
1partial model HRSG_3LRh_BaseClass
2"Base class for Heat Recovery Steam Generator with three pressure levels and reheat"
3 replaceable package FlueGasMedium = ThermoPower.Media.FlueGas
4 constrainedby Modelica.Media.Interfaces.PartialMedium;
5 replaceable package FluidMedium = ThermoPower.Water.StandardWater
6 constrainedby Modelica.Media.Interfaces.PartialPureSubstance;
7
8 ThermoPower.Water.FlangeA WaterIn(redeclare package Medium = FluidMedium)
9 annotation (Placement(transformation(extent={{140,-220},{180,-180}},
10 rotation=0)));
11
12 ThermoPower.Water.FlangeB Sh_HP_Out(redeclare package Medium = FluidMedium)
13 annotation (Placement(transformation(extent={{-180,-220},{-140,-180}},
14 rotation=0)));
15 ThermoPower.Gas.FlangeA GasIn(redeclare package Medium = FlueGasMedium) annotation (
16 Placement(transformation(extent={{-220,-60},{-180,-20}}, rotation=0)));
17 ThermoPower.Gas.FlangeB GasOut(redeclare package Medium = FlueGasMedium)
18 annotation (Placement(transformation(extent={{180,-60},{220,-20}},
19 rotation=0)));
20 ThermoPower.Water.FlangeA Rh_IP_In(redeclare package Medium = FluidMedium)
21 annotation (Placement(transformation(extent={{-120,-220},{-80,-180}},
22 rotation=0)));
23 ThermoPower.Water.FlangeB Rh_IP_Out(redeclare package Medium = FluidMedium)
24 annotation (Placement(transformation(extent={{-60,-220},{-20,-180}},
25 rotation=0)));
26 ThermoPower.Water.FlangeB Sh_LP_Out(redeclare package Medium = FluidMedium)
27 annotation (Placement(transformation(extent={{60,-220},{100,-180}},
28 rotation=0)));
29 ThermoPower.PowerPlants.Buses.Sensors SensorsBus annotation (Placement(transformation(extent={{
30 180,140},{220,180}}, rotation=0)));
31 ThermoPower.PowerPlants.Buses.Actuators ActuatorsBus annotation (Placement(transformation(
32 extent={{220,80},{180,120}}, rotation=0)));
33 annotation (Icon(coordinateSystem(
34 preserveAspectRatio=true,
35 extent={{-200,-200},{200,200}},
36 initialScale=0.1), graphics={Rectangle(
37 extent={{-200,200},{200,-200}},
38 lineColor={170,170,255},
39 fillColor={230,230,230},
40 fillPattern=FillPattern.Solid),Ellipse(
41 extent={{-140,160},{-80,100}},
42 lineColor={0,0,255},
43 fillColor={0,0,255},
44 fillPattern=FillPattern.Solid),Polygon(
45 points={{-140,130},{-80,130},{-80,134},{-80,134},{-82,142},
46 {-84,146},{-88,152},{-94,156},{-98,158},{-106,160},{-110,160},
47 {-114,160},{-122,158},{-126,156},{-132,152},{-136,146},{-138,
48 142},{-140,134},{-140,130}},
49 lineColor={0,0,255},
50 fillColor={170,213,255},
51 fillPattern=FillPattern.Solid),Ellipse(
52 extent={{-30,160},{30,100}},
53 lineColor={0,0,255},
54 fillColor={0,0,255},
55 fillPattern=FillPattern.Solid),Polygon(
56 points={{-30,130},{30,130},{30,134},{30,134},{28,142},{26,
57 146},{22,152},{16,156},{12,158},{4,160},{0,160},{-4,160},{-12,
58 158},{-16,156},{-22,152},{-26,146},{-28,142},{-30,134},{-30,
59 130}},
60 lineColor={0,0,255},
61 fillColor={170,213,255},
62 fillPattern=FillPattern.Solid),Ellipse(
63 extent={{80,160},{140,100}},
64 lineColor={0,0,255},
65 fillColor={0,0,255},
66 fillPattern=FillPattern.Solid),Polygon(
67 points={{80,130},{140,130},{140,134},{140,134},{138,142},
68 {136,146},{132,152},{126,156},{122,158},{114,160},{110,160},{
69 106,160},{98,158},{94,156},{88,152},{84,146},{82,142},{80,134},
70 {80,130}},
71 lineColor={0,0,255},
72 fillColor={170,213,255},
73 fillPattern=FillPattern.Solid),Rectangle(
74 extent={{-200,60},{200,-140}},
75 lineColor={170,170,255},
76 fillColor={215,215,215},
77 fillPattern=FillPattern.Solid),Line(
78 points={{-110,60},{-110,20},{-70,0},{-150,-40},{-70,-80},
79 {-110,-100},{-110,-140}},
80 color={0,0,255},
81 thickness=0.5),Line(
82 points={{0,60},{0,20},{40,0},{-40,-40},{40,-80},{0,-100},
83 {0,-140}},
84 color={0,0,255},
85 thickness=0.5),Line(
86 points={{110,60},{110,20},{150,0},{70,-40},{150,-80},{110,
87 -100},{110,-140}},
88 color={0,0,255},
89 thickness=0.5)}), Diagram(coordinateSystem(
90 preserveAspectRatio=true,
91 extent={{-200,-200},{200,200}},
92 initialScale=0.1), graphics));
93end HRSG_3LRh_BaseClass;