Commit 7be1703c authored by i.elizarov's avatar i.elizarov
Browse files

Started cooling plant model: now included pump and three-way valve

parent 0cd498ad
within Data;
record PBMX201E102 "Performance record for the EDUR PBMX 201 E10.2 pump"
extends IBPSA.Fluid.Movers.Data.Generic(
speed_rpm_nominal=2900,
use_powerCharacteristic = true,
power(V_flow={2.777777777777778e-05,0.0009722222222222222}, P={4100, 2300}),
pressure(V_flow={2.777777777777778e-05, 0.0009722222222222222}, dp={1181000, 319000}));
end PBMX201E102;
package Data
end Data;
model coolingPlant "Validation of the simplified hydraulic model of the side panel"
package Medium =
Novec649;
Modelica.Fluid.Fittings.GenericResistances.VolumeFlowRate volumeFlowRate(redeclare package Medium = Medium, a = 748559700000000, b = 1212001000) annotation(
Placement(visible = true, transformation(origin = {54, -18}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
IBPSA.Fluid.Movers.SpeedControlled_y pump(
redeclare package Medium = Medium,
redeclare Data.PBMX201E102 per, T_start = 273.15 - 40, allowFlowReversal = false, energyDynamics = Modelica.Fluid.Types.Dynamics.FixedInitial, p_start = 3e5
) annotation(
Placement(visible = true, transformation(origin = {-14, 16}, extent = {{-10, -10}, {10, 10}}, rotation = 180)));
IBPSA.Fluid.Sources.Boundary_pT bou(redeclare package Medium = Medium, T = 273.15 - 40, nPorts = 1, p = 3e5) annotation(
Placement(visible = true, transformation(origin = {-52, 56}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
inner Modelica.Fluid.System system(allowFlowReversal = false) annotation(
Placement(visible = true, transformation(origin = {90, 90}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Blocks.Sources.Constant pumpVelocity(k = 0.4) annotation(
Placement(visible = true, transformation(origin = {-50, -70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
IBPSA.Fluid.Actuators.Valves.ThreeWayEqualPercentageLinear val(redeclare package Medium = Medium, CvData = IBPSA.Fluid.Types.CvTypes.Kv, Kv = 12, T_start = 273.15 - 40, energyDynamics = Modelica.Fluid.Types.Dynamics.FixedInitial, l = {0.02e-3, 0.2e-3}, m_flow_nominal = 1.125, m_flow_small = 1.125e-3, p_start = 3e5, portFlowDirection_1 = Modelica.Fluid.Types.PortFlowDirection.Entering, portFlowDirection_2 = Modelica.Fluid.Types.PortFlowDirection.Leaving, portFlowDirection_3 = Modelica.Fluid.Types.PortFlowDirection.Leaving) annotation(
Placement(visible = true, transformation(origin = {24, -32}, extent = {{-10, 10}, {10, -10}}, rotation = 0)));
Modelica.Blocks.Sources.Ramp valveOpening(duration = 250, height = 1, startTime = 1000) annotation(
Placement(visible = true, transformation(origin = {4, -76}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
IBPSA.Fluid.Sensors.VolumeFlowRate volJun(redeclare package Medium = Medium, allowFlowReversal = false, m_flow_nominal = 1.125 * 0.5) annotation(
Placement(visible = true, transformation(origin = {24, -2}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
IBPSA.Fluid.Sensors.VolumeFlowRate volDUT(redeclare package Medium = Medium, allowFlowReversal = false, m_flow_nominal = 1.125 * 0.5) annotation(
Placement(visible = true, transformation(origin = {54, 10}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
equation
connect(bou.ports[1], pump.port_b) annotation(
Line(points = {{-42, 56}, {-32, 56}, {-32, 16}, {-24, 16}}, color = {0, 127, 255}));
connect(pumpVelocity.y, pump.y) annotation(
Line(points = {{-38, -70}, {-14, -70}, {-14, 4}}, color = {0, 0, 127}));
connect(val.port_2, volumeFlowRate.port_a) annotation(
Line(points = {{34, -32}, {54, -32}, {54, -28}}, color = {0, 127, 255}));
connect(val.port_1, pump.port_b) annotation(
Line(points = {{14, -32}, {-32, -32}, {-32, 16}, {-24, 16}}, color = {0, 127, 255}));
connect(valveOpening.y, val.y) annotation(
Line(points = {{16, -76}, {24, -76}, {24, -44}}, color = {0, 0, 127}));
connect(val.port_3, volJun.port_a) annotation(
Line(points = {{24, -22}, {24, -12}}, color = {0, 127, 255}));
connect(volJun.port_b, pump.port_a) annotation(
Line(points = {{24, 8}, {24, 16}, {-4, 16}}, color = {0, 127, 255}));
connect(volumeFlowRate.port_b, volDUT.port_a) annotation(
Line(points = {{54, -8}, {54, 0}}, color = {0, 127, 255}));
connect(volDUT.port_b, volJun.port_b) annotation(
Line(points = {{54, 20}, {54, 30}, {24, 30}, {24, 8}}, color = {0, 127, 255}));
annotation(
uses(Modelica(version = "3.2.3"), IBPSA(version = "3.0.0")),
Diagram);
end coolingPlant;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment