Skip to content
Snippets Groups Projects
Commit 46ec9c4f authored by MARSOLLIER Felix's avatar MARSOLLIER Felix
Browse files

Removal of this test since the pump tested is not part of the TAeZoSysPro library

parent 365c1415
No related branches found
No related tags found
No related merge requests found
test_polynomialFlow
tests_polynomialFlow_inv
test_MSL_pump
test_PrescribedPump
test_ControlledVolumeFlowPump
within TAeZoSysPro_testsuite.FluidDynamics.Components.Machines;
model test_MSL_pump
Modelica.Fluid.Machines.ControlledPump pump(redeclare package Medium = Modelica.Media.Air.MoistAir, V = 1, allowFlowReversal = true, m_flow_nominal = 1, m_flow_start = 1, p_a_nominal = 101325, p_a_start = 101325, p_b_nominal = 102315) annotation(
Placement(visible = true, transformation(origin = {1, 39}, extent = {{-21, -21}, {21, 21}}, rotation = 0)));
TAeZoSysPro.FluidDynamics.Sources.Atmosphere atmosphere(nPorts = 2) annotation(
Placement(visible = true, transformation(origin = {-80, 38}, extent = {{-20, -20}, {20, 20}}, rotation = 0)));
Modelica.Fluid.Pipes.StaticPipe pipe(redeclare package Medium = Modelica.Media.Air.MoistAir, diameter = 0.1, length = 1) annotation(
Placement(visible = true, transformation(origin = {60, 38}, extent = {{-20, -20}, {20, 20}}, rotation = 0)));
Modelica.Fluid.Sources.FixedBoundary boundary1(redeclare package Medium = Modelica.Media.Air.SimpleAir, nPorts = 1, p = 101325) annotation(
Placement(visible = true, transformation(origin = {80, -61}, extent = {{20, -19}, {-20, 19}}, rotation = 0)));
Modelica.Fluid.Sources.FixedBoundary boundary(redeclare package Medium = Modelica.Media.Air.SimpleAir, nPorts = 1, p = 101325) annotation(
Placement(visible = true, transformation(origin = {-80, -59}, extent = {{-20, -19}, {20, 19}}, rotation = 0)));
Modelica.Fluid.Machines.PrescribedPump pump1(redeclare package Medium = Modelica.Media.Air.SimpleAir, redeclare function flowCharacteristic = Modelica.Fluid.Machines.BaseClasses.PumpCharacteristics.quadraticFlow(V_flow_nominal = {0.0, 11.27, 15.77}, head_nominal={308.3, 192.7, 0.0}), N_const = 1500, N_nominal = 1500, T_start = 293.15, energyDynamics = Modelica.Fluid.Types.Dynamics.FixedInitial, m_flow_start = 82759 / 3600, massDynamics = Modelica.Fluid.Types.Dynamics.FixedInitial, p_a_start = 101325, p_b_start = 101325) annotation(
Placement(visible = true, transformation(origin = {-30, -60}, extent = {{-20, -20}, {20, 20}}, rotation = 0)));
inner Modelica.Fluid.System system annotation(
Placement(visible = true, transformation(origin = {-90, -10}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Fluid.Pipes.StaticPipe pipe1(redeclare package Medium = Modelica.Media.Air.SimpleAir, diameter = 0.1, length = 1) annotation(
Placement(visible = true, transformation(origin = {26, -60}, extent = {{-20, -20}, {20, 20}}, rotation = 0)));
equation
connect(atmosphere.Fluidport[1], pump.port_a) annotation(
Line(points = {{-80, 46}, {-40, 46}, {-40, 38}, {-20, 38}, {-20, 39}}, color = {0, 127, 255}));
connect(pump.port_b, pipe.port_a) annotation(
Line(points = {{22, 39}, {31, 39}, {31, 41}, {40, 41}, {40, 38}}, color = {0, 127, 255}));
connect(pipe.port_b, atmosphere.Fluidport[2]) annotation(
Line(points = {{80, 38}, {100, 38}, {100, 80}, {-80, 80}, {-80, 46}, {-80, 46}}, color = {0, 127, 255}));
connect(boundary.ports[1], pump1.port_a) annotation(
Line(points = {{-60, -58}, {-52, -58}, {-52, -60}, {-50, -60}}, color = {0, 127, 255}));
connect(pump1.port_b, pipe1.port_a) annotation(
Line(points = {{-10, -60}, {6, -60}, {6, -60}, {6, -60}}, color = {0, 127, 255}));
connect(pipe1.port_b, boundary1.ports[1]) annotation(
Line(points = {{46, -60}, {58, -60}, {58, -60}, {60, -60}}, color = {0, 127, 255}));
end test_MSL_pump;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment