Skip to content

Commit

Permalink
update paths and add string (since no default anymore)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasverleyen committed Nov 13, 2024
1 parent 364f331 commit 0169e97
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions IDEAS/Fluid/Taps/Examples/TapProfile.mo
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ model TapProfile "Example with two 'TapProfile' models"
extends Modelica.Icons.Example;
package Medium = IDEAS.Media.Water;

IDEAS.Fluid.Taps.TapProfile tap1(redeclare package Medium = Medium)
IDEAS.Fluid.Taps.TapProfile tap1(redeclare package Medium = Medium, loadFile=
Modelica.Utilities.Files.loadResource(
"modelica://IDEAS/Resources/Data/Fluid/Taps/Examples/DHW_1year_2adults.txt"))
"DHW tap 1"
annotation (Placement(transformation(extent={{-10,10},{10,30}})));
IDEAS.Fluid.Taps.TapProfile tap2(redeclare package Medium = Medium, loadFile=
Modelica.Utilities.Files.loadResource(
"modelica://IDEAS/Resources/Data/Fluid/Taps/DHW_1year_2adults_2children.txt"))
"modelica://IDEAS/Resources/Data/Fluid/Taps/Examples/DHW_1year_2adults_2children.txt"))
"DHW tap 2"
annotation (Placement(transformation(extent={{-10,-30},{10,-10}})));
IDEAS.Fluid.Sources.Boundary_pT bou1(
Expand Down

0 comments on commit 0169e97

Please sign in to comment.