Skip to content

Commit

Permalink
Automatic path change in example models #1171 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraMaier committed Jan 27, 2022
1 parent 2fbb2af commit fce547e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion AixLib/Fluid/Storage/Examples/BufferStorage.mo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ model BufferStorage
replaceable package Medium =
Modelica.Media.Water.ConstantPropertyLiquidWater
constrainedby Modelica.Media.Interfaces.PartialMedium;
AixLib.Fluid.Storage.BufferStorage bufferStorage(
AixLib.Fluid.Storage.StorageDetailed bufferStorage(
energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial,
massDynamics=Modelica.Fluid.Types.Dynamics.SteadyStateInitial,
m1_flow_nominal=const.k,
Expand Down
3 changes: 1 addition & 2 deletions AixLib/Fluid/Storage/Examples/StorageBoiler.mo
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ model StorageBoiler
Modelica.Media.Water.ConstantPropertyLiquidWater
constrainedby Modelica.Media.Interfaces.PartialMedium;

AixLib.Fluid.Storage.BufferStorage
bufferStorage(
AixLib.Fluid.Storage.StorageDetailed bufferStorage(
redeclare package MediumHC1 = Medium,
redeclare package MediumHC2 = Medium,
m1_flow_nominal=pipe1.m_flow_nominal,
Expand Down
3 changes: 1 addition & 2 deletions AixLib/Fluid/Storage/Examples/StorageSolarCollector.mo
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ model StorageSolarCollector

replaceable package Medium = AixLib.Media.Water;

AixLib.Fluid.Storage.BufferStorage
bufferStorage(
AixLib.Fluid.Storage.StorageDetailed bufferStorage(
redeclare package MediumHC1 = Medium,
redeclare package MediumHC2 = Medium,
m1_flow_nominal=solarThermal.m_flow_nominal,
Expand Down

0 comments on commit fce547e

Please sign in to comment.