Skip to content

Commit

Permalink
Removed each keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Oct 19, 2023
1 parent 586b769 commit ec200ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
12 changes: 8 additions & 4 deletions IBPSA/Fluid/Geothermal/Aquifer/MultiWell.mo
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ model MultiWell "Model of a single well for aquifer thermal energy storage"
"Pressure drop at nominal mass flow rate in the above-surface system (used to size the head of the well pump)" annotation (
Dialog(group="Hydraulic circuit"));

final parameter Modelica.Units.SI.Radius rVol[nVol](
each final fixed=false)
"Radius to the center of the i-th domain";

Modelica.Blocks.Interfaces.RealInput u(
final min=-1,
final max=1,
Expand All @@ -68,8 +72,6 @@ model MultiWell "Model of a single well for aquifer thermal energy storage"
"Temperatures of the hot aquifer";
Modelica.Units.SI.Temperature TAquCol[nVol] = heaCapCol.T
"Temperatures of the cold aquifer";
final parameter Modelica.Units.SI.Radius rVol[nVol](each final fixed=false)
"Radius to the center of the i-th domain";

Movers.Preconfigured.SpeedControlled_y pumCol(
redeclare final package Medium = Medium,
Expand Down Expand Up @@ -146,12 +148,14 @@ model MultiWell "Model of a single well for aquifer thermal energy storage"
final k2=1)
"Sum of pump electrical power"
annotation (Placement(transformation(extent={{40,30},{60,50}})));

Sensors.RelativePressure dpWelCol(
redeclare package Medium = Medium)
"Pressure drop of cold well" annotation (Placement(transformation(
extent={{10,-10},{-10,10}},
rotation=90,
origin={-100,70})));

Airflow.Multizone.Point_m_flow resAqu(
redeclare final package Medium = Medium,
m=1,
Expand All @@ -171,9 +175,9 @@ protected
"Volumes of water";
parameter Modelica.Units.SI.ThermalResistance R[nVol](each fixed=false)
"Thermal resistances between nodes";
parameter Real cAqu(each fixed=false)
parameter Real cAqu(fixed=false)
"Heat capacity normalized with volume for aquifer";
parameter Real kVol(each fixed=false)
parameter Real kVol(fixed=false)
"Heat conductivity normalized with volume";
parameter Modelica.Units.SI.DynamicViscosity mu=Medium.dynamicViscosity(Medium.setState_pTX(
Medium.p_default,
Expand Down
1 change: 1 addition & 0 deletions IBPSA/Fluid/Geothermal/Aquifer/Validation/NumberWells.mo
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ model NumberWells
MyWell aquWel1(d=4800)
"ATES with one pair of wells"
annotation (Placement(transformation(extent={{-20,20},{0,40}})));

MyWell aquWel2(
d=4800,
nPai=2,
Expand Down

0 comments on commit ec200ac

Please sign in to comment.