Skip to content
Snippets Groups Projects
Commit 48ff3d70 authored by PASCAL BOREL's avatar PASCAL BOREL
Browse files

add experiment annotation

parent 3cb898ba
No related branches found
No related tags found
No related merge requests found
Showing
with 62 additions and 23 deletions
...@@ -16,4 +16,6 @@ equation ...@@ -16,4 +16,6 @@ equation
Line(points = {{60, 0}, {16, 0}, {16, 0}, {18, 0}}, color = {191, 0, 0})); Line(points = {{60, 0}, {16, 0}, {16, 0}, {18, 0}}, color = {191, 0, 0}));
connect(h_cv.y, condensation.h_cv) annotation( connect(h_cv.y, condensation.h_cv) annotation(
Line(points = {{-58, 70}, {-30, 70}, {-30, 12}, {-16, 12}, {-16, 12}}, color = {0, 0, 127})); Line(points = {{-58, 70}, {-30, 70}, {-30, 12}, {-16, 12}, {-16, 12}}, color = {0, 0, 127}));
end test_Condensation; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_Condensation;
\ No newline at end of file
...@@ -20,4 +20,6 @@ equation ...@@ -20,4 +20,6 @@ equation
Line(points = {{-2, 18}, {-2, 40}, {32, 40}, {32, 0}, {60, 0}}, color = {0, 85, 255})); Line(points = {{-2, 18}, {-2, 40}, {32, 40}, {32, 0}, {60, 0}}, color = {0, 85, 255}));
connect(atmosphere.Flowport, freeAeraulicConvection.flowPort_down) annotation( connect(atmosphere.Flowport, freeAeraulicConvection.flowPort_down) annotation(
Line(points = {{60, 0}, {32, 0}, {32, -40}, {-2, -40}, {-2, -18}}, color = {0, 85, 255})); Line(points = {{60, 0}, {32, 0}, {32, -40}, {-2, -40}, {-2, -18}}, color = {0, 85, 255}));
end test_FreeAeraulicConvection; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_FreeAeraulicConvection;
\ No newline at end of file
...@@ -19,4 +19,6 @@ equation ...@@ -19,4 +19,6 @@ equation
Line(points = {{-40, 0}, {-20, 0}, {-20, 0}, {-20, 0}}, color = {191, 0, 0})); Line(points = {{-40, 0}, {-20, 0}, {-20, 0}, {-20, 0}}, color = {191, 0, 0}));
connect(freeConvection.port_b, atmosphere.Flowport) annotation( connect(freeConvection.port_b, atmosphere.Flowport) annotation(
Line(points = {{20, 0}, {62, 0}, {62, 0}, {60, 0}}, color = {0, 85, 255})); Line(points = {{20, 0}, {62, 0}, {62, 0}, {60, 0}}, color = {0, 85, 255}));
end test_FreeConvection; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_FreeConvection;
\ No newline at end of file
within TAeZoSysPro_testsuite.FluidDynamics.BaseClasses; within TAeZoSysPro_testsuite.FluidDynamics.BaseClasses;
model test_GasNode model test_GasNode
package Medium = TAeZoSysPro.Media.Air.MoistAir ; package Medium = TAeZoSysPro.Media.Air.MoistAir;
TAeZoSysPro.FluidDynamics.BasesClasses.GasNode gasNode(redeclare package Medium = Medium, nPorts = 1) annotation( TAeZoSysPro.FluidDynamics.BasesClasses.GasNode gasNode(redeclare package Medium = Medium, nPorts = 1) annotation(
Placement(visible = true, transformation(origin = {-3.55271e-15, 3.55271e-15}, extent = {{-20, -20}, {20, 20}}, rotation = 0))); Placement(visible = true, transformation(origin = {-3.55271e-15, 3.55271e-15}, extent = {{-20, -20}, {20, 20}}, rotation = 0)));
Modelica.Fluid.Sources.MassFlowSource_T boundary(redeclare package Medium = Medium, m_flow = 0.001, nPorts = 1) annotation( Modelica.Fluid.Sources.MassFlowSource_T boundary(redeclare package Medium = Medium, m_flow = 0.001, nPorts = 1) annotation(
Placement(visible = true, transformation(origin = {-62, 4}, extent = {{-20, -20}, {20, 20}}, rotation = 0))); Placement(visible = true, transformation(origin = {-62, 4}, extent = {{-20, -20}, {20, 20}}, rotation = 0)));
equation equation
connect(boundary.ports[1], gasNode.fluidPort[1]) annotation( connect(boundary.ports[1], gasNode.fluidPort[1]) annotation(
Line(points = {{-42, 4}, {-4, 4}, {-4, 4}, {-4, 4}}, color = {0, 127, 255})); Line(points = {{-42, 4}, {-4, 4}, {-4, 4}, {-4, 4}}, color = {0, 127, 255}));
end test_GasNode; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-06, Interval = 0.002));
end test_GasNode;
\ No newline at end of file
...@@ -14,4 +14,6 @@ equation ...@@ -14,4 +14,6 @@ equation
Line(points = {{-60, 50}, {-4, 50}, {-4, 52}, {-4, 52}}, color = {191, 0, 0})); Line(points = {{-60, 50}, {-4, 50}, {-4, 52}, {-4, 52}}, color = {191, 0, 0}));
connect(boundary.ports[1], gasNode_two_phases1.fluidPort[1]) annotation( connect(boundary.ports[1], gasNode_two_phases1.fluidPort[1]) annotation(
Line(points = {{-60, -32}, {-2, -32}, {-2, -32}, {-4, -32}}, color = {0, 127, 255})); Line(points = {{-60, -32}, {-2, -32}, {-2, -32}, {-4, -32}}, color = {0, 127, 255}));
end test_GasNode_two_phases; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_GasNode_two_phases;
\ No newline at end of file
...@@ -36,4 +36,6 @@ equation ...@@ -36,4 +36,6 @@ equation
Line(points = {{40, 30}, {-2, 30}, {-2, 18}, {-2, 18}}, color = {0, 0, 127})); Line(points = {{40, 30}, {-2, 30}, {-2, 18}, {-2, 18}}, color = {0, 0, 127}));
connect(liquidNode_simulated.port_liquidNode, interFace_liq_gas.fluidPort_a) annotation( connect(liquidNode_simulated.port_liquidNode, interFace_liq_gas.fluidPort_a) annotation(
Line(points = {{50, -50}, {12, -50}, {12, -18}, {12, -18}}, color = {0, 127, 255})); Line(points = {{50, -50}, {12, -50}, {12, -18}, {12, -18}}, color = {0, 127, 255}));
end test_Interface_liq_gas; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_Interface_liq_gas;
\ No newline at end of file
...@@ -12,4 +12,6 @@ equation ...@@ -12,4 +12,6 @@ equation
Line(points = {{-80, 0}, {-22, 0}, {-22, 0}, {-20, 0}}, color = {0, 85, 255})); Line(points = {{-80, 0}, {-22, 0}, {-22, 0}, {-20, 0}}, color = {0, 85, 255}));
connect(molecularDiffusion.flowPort_b, atmosphere1.Flowport) annotation( connect(molecularDiffusion.flowPort_b, atmosphere1.Flowport) annotation(
Line(points = {{20, 0}, {82, 0}, {82, 0}, {80, 0}}, color = {0, 85, 255})); Line(points = {{20, 0}, {82, 0}, {82, 0}, {80, 0}}, color = {0, 85, 255}));
end test_MolecularDiffusion; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_MolecularDiffusion;
\ No newline at end of file
...@@ -20,4 +20,6 @@ equation ...@@ -20,4 +20,6 @@ equation
Line(points = {{10, 0}, {30, 0}, {30, 0}, {30, 0}}, color = {0, 127, 255})); Line(points = {{10, 0}, {30, 0}, {30, 0}, {30, 0}}, color = {0, 127, 255}));
connect(pressure_profile.y, atmosphere.p_in) annotation( connect(pressure_profile.y, atmosphere.p_in) annotation(
Line(points = {{-78, 12}, {-60, 12}, {-60, 12}, {-58, 12}}, color = {0, 0, 127})); Line(points = {{-78, 12}, {-60, 12}, {-60, 12}, {-58, 12}}, color = {0, 0, 127}));
end test_BurstMembrane; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_BurstMembrane;
\ No newline at end of file
...@@ -13,4 +13,6 @@ equation ...@@ -13,4 +13,6 @@ equation
Line(points = {{3.4, -10.6}, {-4.6, -10.6}, {-4.6, -6.6}, {3.4, -6.6}, {3.4, -6.6}}, color = {0, 0, 127})); Line(points = {{3.4, -10.6}, {-4.6, -10.6}, {-4.6, -6.6}, {3.4, -6.6}, {3.4, -6.6}}, color = {0, 0, 127}));
connect(halfWall.port_a_rad, halfWall.port_surface) annotation( connect(halfWall.port_a_rad, halfWall.port_surface) annotation(
Line(points = {{4, -18}, {-8, -18}, {-8, 2}, {14, 2}, {14, 2}}, color = {191, 0, 0})); Line(points = {{4, -18}, {-8, -18}, {-8, 2}, {14, 2}, {14, 2}}, color = {191, 0, 0}));
end test_HalfWall; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_HalfWall;
\ No newline at end of file
...@@ -13,4 +13,6 @@ equation ...@@ -13,4 +13,6 @@ equation
Line(points = {{-18, -10}, {-28, -10}, {-28, -6}, {-18, -6}, {-18, -6}}, color = {0, 0, 127})); Line(points = {{-18, -10}, {-28, -10}, {-28, -6}, {-18, -6}, {-18, -6}}, color = {0, 0, 127}));
connect(inertMass.port_a, atmosphere.Flowport) annotation( connect(inertMass.port_a, atmosphere.Flowport) annotation(
Line(points = {{-20, 10}, {-40, 10}, {-40, 0}, {-60, 0}, {-60, 0}}, color = {0, 85, 255})); Line(points = {{-20, 10}, {-40, 10}, {-40, 0}, {-60, 0}, {-60, 0}}, color = {0, 85, 255}));
end test_InertMass; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_InertMass;
\ No newline at end of file
...@@ -21,4 +21,6 @@ equation ...@@ -21,4 +21,6 @@ equation
Line(points = {{2, 14}, {-40, 14}, {-40, 0}, {-60, 0}, {-60, 0}}, color = {0, 85, 255})); Line(points = {{2, 14}, {-40, 14}, {-40, 0}, {-60, 0}, {-60, 0}}, color = {0, 85, 255}));
connect(Wall.port_b, atmosphere.Flowport) annotation( connect(Wall.port_b, atmosphere.Flowport) annotation(
Line(points = {{40, 14}, {60, 14}, {60, 32}, {-40, 32}, {-40, 0}, {-60, 0}, {-60, 0}}, color = {0, 85, 255})); Line(points = {{40, 14}, {60, 14}, {60, 32}, {-40, 32}, {-40, 0}, {-60, 0}, {-60, 0}}, color = {0, 85, 255}));
end test_Wall; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_Wall;
\ No newline at end of file
...@@ -12,4 +12,6 @@ equation ...@@ -12,4 +12,6 @@ equation
Line(points = {{-60, 8}, {-40, 8}, {-40, 0}, {-20, 0}, {-20, 0}}, color = {0, 127, 255})); Line(points = {{-60, 8}, {-40, 8}, {-40, 0}, {-20, 0}, {-20, 0}}, color = {0, 127, 255}));
connect(atmosphere1.Fluidport[1], wallLeaks.port_b) annotation( connect(atmosphere1.Fluidport[1], wallLeaks.port_b) annotation(
Line(points = {{60, 8}, {40, 8}, {40, 0}, {20, 0}, {20, 0}}, color = {0, 127, 255})); Line(points = {{60, 8}, {40, 8}, {40, 0}, {20, 0}, {20, 0}}, color = {0, 127, 255}));
end test_WallLeak; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_WallLeak;
\ No newline at end of file
...@@ -14,4 +14,6 @@ equation ...@@ -14,4 +14,6 @@ equation
connect(airFilter.port_b, sink.ports[1]) annotation( connect(airFilter.port_b, sink.ports[1]) annotation(
Line(points = {{20, 0}, {60, 0}, {60, 0}, {60, 0}}, color = {0, 127, 255})); Line(points = {{20, 0}, {60, 0}, {60, 0}, {60, 0}}, color = {0, 127, 255}));
protected protected
end test_Filter; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_Filter;
\ No newline at end of file
...@@ -14,4 +14,6 @@ equation ...@@ -14,4 +14,6 @@ equation
Line(points = {{-20, 10}, {20, 10}, {20, 10}, {20, 10}}, color = {0, 127, 255})); Line(points = {{-20, 10}, {20, 10}, {20, 10}, {20, 10}}, color = {0, 127, 255}));
connect(pipe.port_b, boundary.ports[2]) annotation( connect(pipe.port_b, boundary.ports[2]) annotation(
Line(points = {{40, 10}, {60, 10}, {60, -20}, {-80, -20}, {-80, 10}, {-80, 10}}, color = {0, 127, 255})); Line(points = {{40, 10}, {60, 10}, {60, -20}, {-80, -20}, {-80, 10}, {-80, 10}}, color = {0, 127, 255}));
end test_ControlledVolumeFlowPump; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_ControlledVolumeFlowPump;
\ No newline at end of file
...@@ -27,4 +27,5 @@ equation ...@@ -27,4 +27,5 @@ equation
Line(points = {{-40, 50}, {-16, 50}, {-16, 18}, {-16, 18}}, color = {0, 127, 255})); Line(points = {{-40, 50}, {-16, 50}, {-16, 18}, {-16, 18}}, color = {0, 127, 255}));
connect(Air_source.ports[1], analyticWetExchanger.port_in_A) annotation ( connect(Air_source.ports[1], analyticWetExchanger.port_in_A) annotation (
Line(points = {{0, -50}, {16, -50}, {16, -18}, {16, -18}}, color = {0, 127, 255})); Line(points = {{0, -50}, {16, -50}, {16, -18}, {16, -18}}, color = {0, 127, 255}));
end test_AnalyticWetExchanger;
end test_AnalyticWetExchanger;
\ No newline at end of file
...@@ -15,4 +15,6 @@ equation ...@@ -15,4 +15,6 @@ equation
Line(points = {{-80, 60}, {-60, 60}, {-60, 14}}, color = {0, 85, 255})); Line(points = {{-80, 60}, {-60, 60}, {-60, 14}}, color = {0, 85, 255}));
connect(horizontalOpening.port_b, gasNode.flowPort) annotation( connect(horizontalOpening.port_b, gasNode.flowPort) annotation(
Line(points = {{-60, -14}, {-60, -14}, {-60, -60}, {-44, -60}, {-44, -60}}, color = {0, 85, 255})); Line(points = {{-60, -14}, {-60, -14}, {-60, -60}, {-44, -60}, {-44, -60}}, color = {0, 85, 255}));
end test_HorizontalOpening; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_HorizontalOpening;
\ No newline at end of file
...@@ -12,4 +12,6 @@ equation ...@@ -12,4 +12,6 @@ equation
Line(points = {{-80, 0}, {-14, 0}}, color = {0, 85, 255})); Line(points = {{-80, 0}, {-14, 0}}, color = {0, 85, 255}));
connect(simpleOpening.port_b, atmosphere1.Flowport) annotation( connect(simpleOpening.port_b, atmosphere1.Flowport) annotation(
Line(points = {{14, 0}, {80, 0}}, color = {0, 85, 255})); Line(points = {{14, 0}, {80, 0}}, color = {0, 85, 255}));
end test_SimpleOpening; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_SimpleOpening;
\ No newline at end of file
...@@ -22,4 +22,6 @@ equation ...@@ -22,4 +22,6 @@ equation
Line(points = {{-80, -60}, {-14, -60}, {-14, -60}, {-14, -60}}, color = {0, 85, 255})); Line(points = {{-80, -60}, {-14, -60}, {-14, -60}, {-14, -60}}, color = {0, 85, 255}));
connect(verticalOpening1.port_b, atmosphere3.Flowport) annotation( connect(verticalOpening1.port_b, atmosphere3.Flowport) annotation(
Line(points = {{14, -60}, {80, -60}, {80, -60}, {80, -60}}, color = {0, 85, 255})); Line(points = {{14, -60}, {80, -60}, {80, -60}, {80, -60}}, color = {0, 85, 255}));
end test_VerticalOpening; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_VerticalOpening;
\ No newline at end of file
...@@ -12,4 +12,6 @@ equation ...@@ -12,4 +12,6 @@ equation
Line(points = {{-80, 8}, {-60, 8}, {-60, 0}, {-20, 0}, {-20, 0}}, color = {0, 127, 255})); Line(points = {{-80, 8}, {-60, 8}, {-60, 0}, {-20, 0}, {-20, 0}}, color = {0, 127, 255}));
connect(pipe.port_b, atmosphere1.Fluidport[1]) annotation( connect(pipe.port_b, atmosphere1.Fluidport[1]) annotation(
Line(points = {{20, 0}, {60, 0}, {60, 8}, {80, 8}, {80, 8}}, color = {0, 127, 255})); Line(points = {{20, 0}, {60, 0}, {60, 8}, {80, 8}, {80, 8}}, color = {0, 127, 255}));
end test_StaticPipe; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_StaticPipe;
\ No newline at end of file
...@@ -14,4 +14,6 @@ equation ...@@ -14,4 +14,6 @@ equation
connect(commissioningDamper.port_b, sink.ports[1]) annotation( connect(commissioningDamper.port_b, sink.ports[1]) annotation(
Line(points = {{20, 0}, {60, 0}, {60, 0}, {60, 0}}, color = {0, 127, 255})); Line(points = {{20, 0}, {60, 0}, {60, 0}, {60, 0}}, color = {0, 127, 255}));
end test_CommissioningDamper; annotation(
experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002));
end test_CommissioningDamper;
\ No newline at end of file
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