Skip to content

Commit

Permalink
Replace HC1 to old position and change path to data base #1171
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraMaier committed Jan 28, 2022
1 parent 03d3e4d commit 7f709c7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions AixLib/Fluid/Storage/StorageDetailed.mo
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ model StorageDetailed

parameter SI.Temperature TStart=298.15 "Start Temperature of fluid" annotation (Dialog(tab="Initialization", group="Storage specific"));

replaceable parameter DataBase.Storage.BufferStorageBaseDataDefinition data constrainedby
DataBase.Storage.BufferStorageBaseDataDefinition "Data record for Storage"
annotation (choicesAllMatching);
replaceable parameter DataBase.Storage.StorageDetailedBaseDataDefinition data
constrainedby DataBase.Storage.StorageDetailedBaseDataDefinition
"Data record for Storage" annotation (choicesAllMatching);

parameter Integer n(min=3)=5 " Model assumptions Number of Layers";

Expand Down Expand Up @@ -170,12 +170,6 @@ model StorageDetailed
"Heat transfer model" annotation (Placement(transformation(extent={{-34,0},
{-14,20}}, rotation=0)));

Modelica.Fluid.Interfaces.FluidPort_b portHC1Out(redeclare final package
Medium =
MediumHC1) if useHeatingCoil1
"Fluid connector b (positive design flow direction is from port_a to port_b)"
annotation (Placement(transformation(extent={{-90,2},{-70,22}}),
iconTransformation(extent={{-88,20},{-74,32}})));
AixLib.Fluid.MixingVolumes.MixingVolume layer[n](
each final energyDynamics=energyDynamics,
each final massDynamics=massDynamics,
Expand Down Expand Up @@ -213,6 +207,12 @@ model StorageDetailed
"Fluid connector a (positive design flow direction is from port_a to port_b)"
annotation (Placement(transformation(extent={{-92,36},{-72,56}}),
iconTransformation(extent={{-90,50},{-74,64}})));
Modelica.Fluid.Interfaces.FluidPort_b portHC1Out(redeclare final package
Medium =
MediumHC1) if useHeatingCoil1
"Fluid connector b (positive design flow direction is from port_a to port_b)"
annotation (Placement(transformation(extent={{-90,2},{-70,22}}),
iconTransformation(extent={{-88,20},{-74,32}})));

//////////////////////////////////////////////////////////////////////////////////////////
/////HEATING COIL 2 ////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 7f709c7

Please sign in to comment.