Skip to content

Commit

Permalink
Simplified model instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Sep 12, 2023
1 parent 0a68b30 commit 49a0854
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions IBPSA/Fluid/Geothermal/Aquifer/Validation/NumberWells.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ within IBPSA.Fluid.Geothermal.Aquifer.Validation;
model NumberWells
"Test model for aquifer thermal energy storage with multiple wells"
extends Modelica.Icons.Example;
MultiWell aquWel1(

model MyWell = MultiWell (
redeclare package Medium = IBPSA.Media.Water,
nVol=50,
h=10,
Expand All @@ -11,20 +12,14 @@ model NumberWells
TGroHot=303.15,
aquDat=IBPSA.Fluid.Geothermal.Aquifer.Data.Rock(),
m_flow_nominal=0.1,
dpExt_nominal=0) "ATES with one pair of wells"
dpExt_nominal=0) "Well model";

MyWell aquWel1
"ATES with one pair of wells"
annotation (Placement(transformation(extent={{-20,20},{0,40}})));
MultiWell aquWel2(
redeclare package Medium = IBPSA.Media.Water,
nVol=50,
h=10,
MyWell aquWel2(
nCoo=2,
nHot=2,
THot_start=303.15,
TGroCoo=273.15,
TGroHot=303.15,
aquDat=IBPSA.Fluid.Geothermal.Aquifer.Data.Rock(),
m_flow_nominal=0.2,
dpExt_nominal=0) "ATES with two pairs of wells"
nHot=2) "ATES with two pairs of wells"
annotation (Placement(transformation(extent={{-20,-60},{0,-40}})));
Modelica.Blocks.Sources.Constant uPum(k=1) "Pump control signal"
annotation (Placement(transformation(extent={{-80,-10},{-60,10}})));
Expand Down

0 comments on commit 49a0854

Please sign in to comment.