Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Aug 18, 2023
1 parent 801ee63 commit 3fe9624
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
3 changes: 2 additions & 1 deletion IBPSA/Fluid/Geothermal/Aquifer/Validation/NumberWells.mo
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ model NumberWells
dp_nominal_hex=0) "ATES with two pairs of wells"
annotation (Placement(transformation(extent={{-20,-60},{0,-40}})));
Modelica.Blocks.Sources.Constant mWat(k=1)
"Constat value of water mass flow rate"
"Constant value of pump control signal"
annotation (Placement(transformation(extent={{-80,-10},{-60,10}})));
Sources.Boundary_pT bou(redeclare package Medium = IBPSA.Media.Water, nPorts=2) "Sink"
annotation (Placement(transformation(extent={{60,-10},{40,10}})));
Expand All @@ -42,6 +42,7 @@ model NumberWells
"Temperature output from aquifer model with two pairs of wells"
annotation (Placement(transformation(extent={{20,40},{40,60}})));
Utilities.Diagnostics.CheckEquality cheEqu
"Assertion that checks for equality of results"
annotation (Placement(transformation(extent={{60,60},{80,80}})));
equation
connect(mWat.y, aquWel1.u) annotation (Line(points={{-59,0},{-40,0},{-40,36},
Expand Down
17 changes: 10 additions & 7 deletions IBPSA/Fluid/Geothermal/Aquifer/Validation/SimulationTest.mo
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,23 @@ model SimulationTest
m_flow_nominal=1,
dp_nominal_aquifer=10,
dp_nominal_well=10,
dp_nominal_hex=0)
dp_nominal_hex=0) "Aquifer wells"
annotation (Placement(transformation(extent={{-20,20},{0,40}})));
Sources.Boundary_pT bou(redeclare package Medium = IBPSA.Media.Water, nPorts=
1) annotation (Placement(transformation(extent={{60,50},{40,70}})));
Modelica.Blocks.Sources.CombiTimeTable combiTimeTable(table=[0.0,-1; 86400*120,
-1; 86400*120,0; 86400*180,0; 86400*180,1; 86400*300,1; 86400*300,0])
Sources.Boundary_pT bou(
redeclare package Medium = IBPSA.Media.Water,
nPorts=1) "Boundary condition for pressure"
annotation (Placement(transformation(extent={{60,50},{40,70}})));
Modelica.Blocks.Sources.CombiTimeTable uPum(table=[0.0,-1; 86400*120,-1; 86400
*120,0; 86400*180,0; 86400*180,1; 86400*300,1; 86400*300,0])
"Pump control signal"
annotation (Placement(transformation(extent={{-80,26},{-60,46}})));
equation
connect(aquWel.port_Col, aquWel.port_Hot) annotation (Line(points={{-16,40},{
-16,60},{-4,60},{-4,40}}, color={0,127,255}));
connect(bou.ports[1], aquWel.port_Hot)
annotation (Line(points={{40,60},{-4,60},{-4,40}}, color={0,127,255}));
connect(combiTimeTable.y[1], aquWel.u) annotation (Line(points={{-59,36},{-22,
36}}, color={0,0,127}));
connect(uPum.y[1], aquWel.u)
annotation (Line(points={{-59,36},{-22,36}}, color={0,0,127}));
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram(
coordinateSystem(preserveAspectRatio=false)),
experiment(StopTime=31536000, Tolerance=1e-6),
Expand Down

0 comments on commit 3fe9624

Please sign in to comment.