Skip to content

Commit

Permalink
update file paths in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasverleyen committed Nov 11, 2024
1 parent e4dde2f commit 064f02e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion IDEAS/Fluid/Taps/Examples/TapProfile.mo
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ model TapProfile "Example with two 'TapProfile' models"
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/DHW/DHW_1year_2adults_2children.txt"))
"modelica://IDEAS/Resources/Data/Fluid/Taps/DHW_1year_2adults_2children.txt"))
"DHW tap 2"
annotation (Placement(transformation(extent={{-10,-30},{10,-10}})));
IDEAS.Fluid.Sources.Boundary_pT bou1(
Expand Down
2 changes: 1 addition & 1 deletion IDEAS/Fluid/Taps/TapProfile.mo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ model TapProfile
parameter Real uniCon=1/60
"Conversion factor to convert units from DHW profile [l/min] to [kg/s]";
parameter String loadFile=Modelica.Utilities.Files.loadResource(
"modelica://IDEAS/Resources/DHW/DHW_1year_2adults.txt") annotation(Dialog(loadSelector(filter="All files (*.*)", caption="Select the DHW profile file")));
"modelica://IDEAS/Resources/Data/Fluid/Taps/DHW_1year_2adults.txt") annotation(Dialog(loadSelector(filter="All files (*.*)", caption="Select the DHW profile file")));

Modelica.Blocks.Sources.CombiTimeTable demPro(
tableOnFile=true,
Expand Down

0 comments on commit 064f02e

Please sign in to comment.