Ticket #5411: ThermoPower_HX_Economizer.mo

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

Economizer Heat Exchanger

Line 
1model ThermoPower_HX_Economizer
2 ThermoPower.PowerPlants.HRSG.Components.HE Economizer(Cfnom_F = 0, Cfnom_G = 0,FluidPhaseStart = ThermoPower.Choices.FluidPhase.FluidPhases.Liquid, Kfnom_F = 0, Kfnom_G = 0, Tstartbar_G = 604.74, dpnom_F = 0, dpnom_G = 0, exchSurface_F = 2.752, exchSurface_G = 2.752, extSurfaceTub = 2.752, fluidNomFlowRate = 21.5, fluidNomPressure = 8e+06, fluidVol = 4.5, gasNomFlowRate = 169.755, gasNomPressure = 101325, gasVol = 10, lambda = 20, metalVol = 1.2, pstart_F = 8e+06, pstart_G = 101325, rhomcm = 7900, rhonom_F(displayUnit = "kg/m3") = 997, rhonom_G (displayUnit = "kg/m3") = 0.33) annotation(
3 Placement(visible = true, transformation(origin = {0, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
4 ThermoPower.Gas.SourceMassFlow Source_FlueGas(
5 redeclare package Medium = ThermoPower.Media.FlueGas, T = 331.59 + 273.15, p0 = 101325, w0 = 169.755) annotation(
6 Placement(visible = true, transformation(origin = {-92, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
7 ThermoPower.Water.SourceMassFlow Source_Steam(T = 46.45 + 273.15, h = 203.22e3, p0 = 80e5, use_T = true, w0 = 21.5) annotation(
8 Placement(visible = true, transformation(origin = {-10, 90}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
9 ThermoPower.Water.SensT sensT_WaterIn_Econ annotation(
10 Placement(visible = true, transformation(origin = {4, 50}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
11 ThermoPower.Water.SensT sensT_WaterOut_Econ annotation(
12 Placement(visible = true, transformation(origin = {4, -50}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
13 ThermoPower.Gas.SensT sensT_ExhaustIn_Econ(
14 redeclare package Medium = ThermoPower.Media.FlueGas) annotation(
15 Placement(visible = true, transformation(origin = {-50, 4}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
16 ThermoPower.Gas.SensT sensT_ExhaustOut_Econ(
17 redeclare package Medium = ThermoPower.Media.FlueGas) annotation(
18 Placement(visible = true, transformation(origin = {50, 4}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
19 inner ThermoPower.System system annotation(
20 Placement(visible = true, transformation(origin = {-90, 90}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
21 ThermoPower.Gas.SinkPressure Sink_FlueGas(
22 redeclare package Medium = ThermoPower.Media.FlueGas, p0 = 101325) annotation(
23 Placement(visible = true, transformation(origin = {92, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
24 ThermoPower.Water.SinkPressure Sink_Steam(p0 = 80e5) annotation(
25 Placement(visible = true, transformation(origin = {10, -90}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
26equation
27 connect(sensT_WaterOut_Econ.outlet, Sink_Steam.flange) annotation(
28 Line(points = {{0, -56}, {0, -56}, {0, -90}, {0, -90}}, color = {0, 0, 255}));
29 connect(sensT_ExhaustOut_Econ.outlet, Sink_FlueGas.flange) annotation(
30 Line(points = {{56, 0}, {82, 0}, {82, 0}, {82, 0}}, color = {159, 159, 223}));
31 connect(Economizer.gasOut, sensT_ExhaustOut_Econ.inlet) annotation(
32 Line(points = {{10, 0}, {44, 0}, {44, 0}, {44, 0}}, color = {159, 159, 223}));
33 connect(sensT_ExhaustIn_Econ.outlet, Economizer.gasIn) annotation(
34 Line(points = {{-44, 0}, {-10, 0}, {-10, 0}, {-10, 0}}, color = {159, 159, 223}));
35 connect(Source_FlueGas.flange, sensT_ExhaustIn_Econ.inlet) annotation(
36 Line(points = {{-82, 0}, {-56, 0}, {-56, 0}, {-56, 0}}, color = {159, 159, 223}));
37 connect(Economizer.waterOut, sensT_WaterOut_Econ.inlet) annotation(
38 Line(points = {{0, -10}, {0, -10}, {0, -44}, {0, -44}}, color = {0, 0, 255}));
39 connect(sensT_WaterIn_Econ.outlet, Economizer.waterIn) annotation(
40 Line(points = {{0, 44}, {0, 44}, {0, 10}, {0, 10}}, color = {0, 0, 255}));
41 connect(Source_Steam.flange, sensT_WaterIn_Econ.inlet) annotation(
42 Line(points = {{0, 90}, {0, 90}, {0, 56}, {0, 56}}, color = {0, 0, 255}));
43 annotation(
44 uses(ThermoPower(version = "3.1")));end ThermoPower_HX_Economizer;