Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue1287 DHW model #1355

Merged
merged 71 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from 55 commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
1942e4d
extends from ObsoleteModel icon to indicate depreciated models
lucasverleyen Mar 26, 2024
e1a2337
add partial tap model in new base classes package
lucasverleyen Mar 26, 2024
841d68e
add block operator for DHW comfort/discomfort
lucasverleyen Mar 26, 2024
9715494
update documentation for partial model
lucasverleyen Mar 26, 2024
0c46ebc
add new tap model (adopted from depreciated model)
lucasverleyen Mar 26, 2024
46dd6f9
add more updates
lucasverleyen Mar 26, 2024
ad2f71f
add depreciated icons to interfaces package and old example
lucasverleyen Mar 26, 2024
3e4e0e8
update documentation
lucasverleyen Mar 26, 2024
6b5921f
add example for Tap model
lucasverleyen Mar 26, 2024
fccb76d
add explicit boolean connector for dhw comfort/discomfort
lucasverleyen Mar 26, 2024
36598c7
first version of tap profile model
lucasverleyen Mar 27, 2024
780922a
add two example DHW profiles
lucasverleyen Mar 27, 2024
afdd6df
add readme file for DHW profiles
lucasverleyen Mar 27, 2024
6fc0950
improvements md file
lucasverleyen Mar 27, 2024
278bdeb
improve documentation
lucasverleyen Mar 27, 2024
648b720
add combitimetable to read profile
lucasverleyen Mar 27, 2024
cdd4021
rename mFlo to m_flow for consistent naming
lucasverleyen Mar 27, 2024
dfa0016
change default m_flow_nominal
lucasverleyen Mar 27, 2024
2745ef0
add example for TapProfile
lucasverleyen Mar 27, 2024
9540513
remove old unit tests (depreciated model)
lucasverleyen Mar 27, 2024
13b8fb1
add mos files for new unit tests
lucasverleyen Mar 27, 2024
1cd185c
update second mos file
lucasverleyen Mar 27, 2024
205610e
add reference results
lucasverleyen Mar 27, 2024
3d14965
remove max argument of TSet
lucasverleyen May 16, 2024
919cdff
change m flow nominal
lucasverleyen May 16, 2024
a3851b7
extend from partial two port interface
lucasverleyen May 16, 2024
523b3a0
remove m flow nominal parameter as already present in partial two por…
lucasverleyen May 16, 2024
9ad3eec
details
lucasverleyen May 16, 2024
f2b76ce
set final parameters
lucasverleyen May 16, 2024
79ea16b
naming conventions
lucasverleyen May 16, 2024
5142a77
naming conventions
lucasverleyen May 16, 2024
eb614f9
change mixing volume to bou pt's
lucasverleyen May 16, 2024
64165d2
update documentation and order in text file
lucasverleyen May 16, 2024
cf19c19
add second mFloSou to partial model to avoid singularities
lucasverleyen May 16, 2024
0e3c739
update tap model model accordingly
lucasverleyen May 16, 2024
0d2bb77
update tapProfile accordingly
lucasverleyen May 16, 2024
a4fcee7
update examples
lucasverleyen May 16, 2024
c01c7cb
update names in mos files
lucasverleyen May 16, 2024
fbe9a64
update reference results
lucasverleyen May 16, 2024
60e1d8a
Merge branch 'master' into issue1287_DHWmodel
lucasverleyen Jun 3, 2024
a2bc170
include steady state T sensor in partial model
lucasverleyen Jun 3, 2024
f00feab
update examples accordingly
lucasverleyen Jun 3, 2024
6a39f5a
update unit test mos files to new names
lucasverleyen Jun 3, 2024
1cb5a4a
update reference results
lucasverleyen Jun 3, 2024
a2e89bc
indentations and line lengths
lucasverleyen Jun 3, 2024
aba9a79
naming convention
lucasverleyen Jun 3, 2024
387d286
update naming
lucasverleyen Jun 3, 2024
af1c009
Merge remote-tracking branch 'origin/master' into issue1287_DHWmodel
lucasverleyen Jun 10, 2024
dced785
correction
lucasverleyen Jul 1, 2024
258d1a5
corrections documentation
lucasverleyen Jul 1, 2024
ca79103
improve default temperature declarations
lucasverleyen Jul 1, 2024
f640dea
remove medium declaration
lucasverleyen Jul 1, 2024
76c8422
change naming
lucasverleyen Jul 1, 2024
a4f19b0
specify occupants
lucasverleyen Jul 1, 2024
7b8ca79
flip icons
lucasverleyen Jul 1, 2024
8b0a799
improve icon
lucasverleyen Jul 25, 2024
e14bcb9
add final prefixes
lucasverleyen Jul 25, 2024
fdb05c3
take fluid sources from IDEAS library (and not from MSL)
lucasverleyen Jul 25, 2024
1ce018c
change mFloDis into mFloDisCom
lucasverleyen Jul 25, 2024
4869a23
line formatting
lucasverleyen Jul 25, 2024
b61fd7a
switch order in equation
lucasverleyen Jul 25, 2024
1c66d8f
change name
lucasverleyen Jul 25, 2024
ad73c4b
change name
lucasverleyen Jul 25, 2024
c0d61bb
update docstring
lucasverleyen Jul 26, 2024
3aee36a
Use smooth expression for hot water mass flow rate and add documentat…
jelgerjansen Sep 10, 2024
4339d8a
Add missing documentation for components and renamed "domestichotwate…
jelgerjansen Sep 10, 2024
1e774bd
Update scripts and add to annotation as a Dymola command
jelgerjansen Sep 10, 2024
d9ab9ac
Merge branch 'master' into issue1287_DHWmodel
lucasverleyen Oct 16, 2024
b28d869
improve documentation
lucasverleyen Oct 16, 2024
e70cbe1
add discomfort calculation
lucasverleyen Oct 16, 2024
115dfa1
update reference results
lucasverleyen Oct 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
238 changes: 238 additions & 0 deletions IDEAS/Fluid/Taps/BaseClasses/PartialTap.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
within IDEAS.Fluid.Taps.BaseClasses;
partial model PartialTap "Partial model for a (DHW) tap"
extends IDEAS.Fluid.Interfaces.PartialTwoPortInterface(m_flow_nominal=0.2);

parameter Modelica.Units.SI.Temperature TSet=318.15
"Temperature setpoint of DHW at the tap";
parameter Modelica.Units.SI.Temperature TCol=283.15
"Temperature of cold supply water";

protected
Modelica.Units.SI.MassFlowRate m_flow_set "DHW mass flow rate at TSet";

public
IDEAS.Fluid.Interfaces.IdealSource mFloSouHot(
redeclare package Medium = Medium,
final control_m_flow=true,
allowFlowReversal=false,
final control_dp=false)
annotation (Placement(transformation(extent={{-16,-10},{4,10}})));
Modelica.Fluid.Sources.Boundary_pT bouHot(redeclare package Medium = Medium,
nPorts=1) "Sink to model the hot water offtake from the system"
annotation (Placement(transformation(
extent={{-10,-10},{10,10}},
rotation=90,
origin={20,-30})));
Modelica.Blocks.Sources.RealExpression TCol_in(y=TCol)
annotation (Placement(transformation(extent={{30,-70},{50,-50}})));
Modelica.Fluid.Sources.Boundary_pT bouCol(
redeclare package Medium = Medium,
use_T_in=true,
nPorts=1) "Supply to model the cold water injection into the system"
annotation (Placement(transformation(
extent={{-10,-10},{10,10}},
rotation=90,
origin={60,-30})));
IDEAS.Fluid.Interfaces.IdealSource mFloSouCol(
redeclare package Medium = Medium,
final control_m_flow=true,
allowFlowReversal=false,
final control_dp=false)
annotation (Placement(transformation(extent={{70,-10},{90,10}})));
Modelica.Blocks.Sources.RealExpression mFloDis(y=m_flow_set)
"DHW mass flow rate if THot < TSet. If the hot water supply temperature is
lower than the DHW setpoint temperature, the incoming hot water mass flow
rate to the tap equals the mass flow rate at the setpoint temperature. In
this case, the user will experience DHW discomfort at the tap."
annotation (Placement(transformation(extent={{-68,30},{-48,50}})));
Modelica.Blocks.Sources.RealExpression mFloCom(y=m_flow_set*(TSet - TCol)/(delTSca.y))
"Required incoming hot water mass flow rate based on current THot. If
THot > TSet mixing will occur and cold water will be mixed with the incoming
hot water. mFloCom is the required incoming mass flow rate at THot and is
related to mFloSet at TSet via conservation of energy."
annotation (Placement(transformation(extent={{-68,10},{-48,30}})));
IDEAS.Utilities.Math.SmoothMin mFloHot(deltaX=1e-3*m_flow_nominal)
"Hot water mass flow rate. If THot > TSet, mFloHot = mFloCom.
If THot < TSet, mFloHot = mFloDis."
annotation (Placement(transformation(extent={{-38,20},{-18,40}})));
Modelica.Blocks.Sources.RealExpression delT(y=THot.T - TCol) "THot-TCol"
annotation (Placement(transformation(extent={{-90,-40},{-70,-20}})));
Modelica.Blocks.Sources.RealExpression delT_min(y=0.1)
"Minimal value of the temperature difference, to avoid division by zero."
annotation (Placement(transformation(extent={{-90,-60},{-70,-40}})));
IDEAS.Utilities.Math.SmoothMax delTSca(deltaX=0.1)
annotation (Placement(transformation(extent={{-50,-50},{-30,-30}})));
IDEAS.Fluid.Sensors.TemperatureTwoPort THot(redeclare package Medium = Medium,
allowFlowReversal=false,
m_flow_nominal=m_flow_nominal,
tau=0)
annotation (Placement(transformation(extent={{-90,-10},{-70,10}})));
Modelica.Blocks.Logical.GreaterEqualThreshold com(threshold=TSet)
"Block operator to check whether there is DHW comfort or not. True = comfort, false = discomfort."
annotation (Placement(transformation(extent={{-20,60},{0,80}})));
Modelica.Blocks.Interfaces.BooleanOutput yCom
"Boolean output signal to indicate whether there is DHW comfort (true) or discomfort (false)"
annotation (Placement(transformation(extent={{90,60},{110,80}})));

equation

connect(mFloSouHot.port_b, bouHot.ports[1])
annotation (Line(points={{4,0},{20,0},{20,-20}}, color={0,127,255}));
connect(TCol_in.y,bouCol. T_in)
annotation (Line(points={{51,-60},{56,-60},{56,-42}}, color={0,0,127}));
connect(mFloDis.y, mFloHot.u1) annotation (Line(points={{-47,40},{-44,40},{-44,
36},{-40,36}}, color={0,0,127}));
connect(mFloCom.y, mFloHot.u2) annotation (Line(points={{-47,20},{-44,20},{-44,
24},{-40,24}}, color={0,0,127}));
connect(mFloHot.y, mFloSouHot.m_flow_in)
annotation (Line(points={{-17,30},{-12,30},{-12,8}}, color={0,0,127}));
connect(delT.y, delTSca.u1) annotation (Line(points={{-69,-30},{-60,-30},{-60,
-34},{-52,-34}},
color={0,0,127}));
connect(delT_min.y, delTSca.u2) annotation (Line(points={{-69,-50},{-60,-50},
{-60,-46},{-52,-46}},
color={0,0,127}));
connect(com.y, yCom)
annotation (Line(points={{1,70},{100,70}}, color={255,0,255}));
connect(bouCol.ports[1], mFloSouCol.port_a)
annotation (Line(points={{60,-20},{60,0},{70,0}}, color={0,127,255}));
connect(mFloSouCol.port_b, port_b)
annotation (Line(points={{90,0},{100,0}}, color={0,127,255}));
connect(mFloHot.y, mFloSouCol.m_flow_in)
annotation (Line(points={{-17,30},{74,30},{74,8}}, color={0,0,127}));
connect(THot.port_a, port_a)
annotation (Line(points={{-90,0},{-100,0}}, color={0,127,255}));
connect(THot.port_b, mFloSouHot.port_a)
annotation (Line(points={{-70,0},{-16,0}}, color={0,127,255}));
connect(THot.T, com.u)
annotation (Line(points={{-80,11},{-80,70},{-22,70}}, color={0,0,127}));
annotation (
Diagram(coordinateSystem(extent={{-100,-100},{100,100}}, preserveAspectRatio=false)),
Icon(coordinateSystem(extent={{-100,-100},{100,100}}, preserveAspectRatio=
false), graphics={
Line(
points={{0,40},{0,0}},
color={0,0,0},
thickness=1),
Line(
points={{-20,0},{20,0}},
color={244,125,35},
thickness=1),
Polygon(
points={{-80,20},{-80,-20},{-20,20},{-20,-20},{-80,20}},
lineColor={238,46,47},
fillColor={238,46,47},
fillPattern=FillPattern.Solid,
lineThickness=1),
Polygon(
points={{20,20},{20,-20},{80,20},{80,-20},{20,20}},
lineColor={28,108,200},
fillColor={28,108,200},
fillPattern=FillPattern.Solid,
lineThickness=1),
Line(
points={{-90,0},{-80,0}},
color={238,46,47},
thickness=1),
Line(
points={{80,0},{90,0}},
color={28,108,200},
thickness=1),
Polygon(
points={{-20,40},{20,40},{12,80},{-12,80},{-20,40}},
lineColor={0,0,0},
fillColor={240,240,240},
fillPattern=FillPattern.Solid,
lineThickness=1),
Line(points={{-8,80},{-14,40}}, color={162,162,162}),
Line(points={{0,80},{0,78},{0,40}}, color={162,162,162}),
Line(points={{8,80},{14,40}}, color={162,162,162}),
Line(points={{-4,80},{-8,40}}, color={162,162,162}),
Line(points={{4,80},{8,40}}, color={162,162,162}),
Polygon(
points={{-70,68},{-70,48},{-76,42},{-76,32},{-70,26},{-62,26},{-56,32},
{-56,42},{-62,48},{-62,68},{-70,68}},
fillColor={238,46,47},
fillPattern=FillPattern.Solid,
pattern=LinePattern.None),
Polygon(
points={{-70,86},{-70,48},{-76,42},{-76,32},{-70,26},{-62,26},{-56,32},
{-56,42},{-62,48},{-62,86},{-66,90},{-70,86}},
lineColor={0,0,0},
lineThickness=0.5),
Line(
points={{-70,76},{-66,76}},
color={0,0,0},
thickness=0.5),
Line(
points={{-66,72},{-70,72}},
color={0,0,0},
thickness=0.5),
Line(
points={{-66,68},{-70,68}},
color={0,0,0},
thickness=0.5),
Line(
points={{-70,64},{-66,64}},
color={0,0,0},
thickness=0.5),
Line(
points={{-70,60},{-66,60}},
color={0,0,0},
thickness=0.5),
Line(
points={{-70,56},{-66,56}},
color={0,0,0},
thickness=0.5)}),
Documentation(info="<html>
<p><b>Description</b></p>
<p>Partial model of a domestic hot water (DHW) tap, including a cold water
supply to have a closed system. The tap is modelled as a thermostatic mixing
valve.</p>
<p>The model has two flowPorts and a realInput: </p>
<ul>
<li><i>port_a</i>: connection to the hot water source (designation: <i>hot</i>)</li>
<li><i>port_b</i>: connection to the inlet of cold water in the hot water source
(designation: <i>cold</i>)</li>
<li><i>m_flow_set</i>: desired DHW mass flow rate, equivalent at a user
defined set point temperature</li>
</ul>
<p>The model tries to reach the given DHW flow rate at a the desired mixing
temperature <i>TSet</i> by mixing the hot water with cold water. The resulting
hot flowrate (<i>mFloHot</i>) will be extracted automatically from the hot
source (via <i>port_a </i>). This same flow rate will be injected at <i>TCol</i>
in the production system through the connection of <i>port_b</i> to the hot
source. </p>
<p><b>Assumptions and limitations </b></p>
<ol>
<li>No heat losses.</li>
<li>If <i>THot</i> is smaller than <i>TSet</i>, there is no mixing and the
supply temperature at the tap equals <i>THot</i>.</li>
<li>Fixed <i>TSet</i> and <i>TCol</i> as parameters.</li>
<li>The mixed DHW is not available as an outlet or flowPort. It is assumed to be
&apos;consumed&apos;. </li>
</ol>
<p><b>Model use</b></p>
<ol>
<li>Set the parameters for cold water supply temperature <i>TCol</i> and the DHW
setpoint temperature <i>TSet</i> (mixed, at the tap).</li>
<li>Connect <i>port_a</i> to the hot water source.</li>
<li>Connect <i>port_b</i> to the cold water inlet of the hot water source.</li>
<li>Depending on the implementation: fill out the table or provide a realInput
for <i>m_flow_set.</i></li>
<li>Thanks to the use of an <a href=\"IDEAS.Fluid.Interfaces.IdealSource\">IdealSource</a>
in this model, it is <b>NOT</b> required to add additional pumps, ambients or
AbsolutePressure to the DHW circuit.</li>
</ol>
<p><b>Examples</b></p>
<p>An example of this model is given in <a href=\"IDEAS.Fluid.Taps.Examples.DHW_example\">IDEAS.Fluid.Taps.Examples.DHW_example</a>.</p>
</html>", revisions="<html>
<ul>
<li>March 26, 2024, by Lucas Verleyen:<br>Major refactoring.
<br>See <a href=\"https://github.com/open-ideas/IDEAS/issues/1287\">#1287</a> for more information.</li>
<li>June, 2013, by Roel De Coninck:<br>Documentation.</li>
<li>September, 2012, by Roel De Coninck:<br> simplification of equations.</li>
<li>August, 2012, by Roel De Coninck:<br>Initial implementation.</li>
</ul>
</html>"));
end PartialTap;
5 changes: 5 additions & 0 deletions IDEAS/Fluid/Taps/BaseClasses/package.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
within IDEAS.Fluid.Taps;
package BaseClasses
extends Modelica.Icons.BasesPackage;

end BaseClasses;
1 change: 1 addition & 0 deletions IDEAS/Fluid/Taps/BaseClasses/package.order
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PartialTap
1 change: 1 addition & 0 deletions IDEAS/Fluid/Taps/Examples/DHW_example.mo
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
within IDEAS.Fluid.Taps.Examples;
model DHW_example
extends Modelica.Icons.Example;
extends Modelica.Icons.ObsoleteModel;
BalancedTap_m_flow dHW_RealInput(
redeclare package Medium = Medium,
tau=1,
Expand Down
66 changes: 66 additions & 0 deletions IDEAS/Fluid/Taps/Examples/Tap.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
within IDEAS.Fluid.Taps.Examples;
model Tap "Example with two 'Tap' models"
extends Modelica.Icons.Example;
package Medium = IDEAS.Media.Water;

Modelica.Blocks.Sources.Pulse m_flow_set1(
amplitude=0.1,
width=5,
period=10000,
startTime=5000,
offset=0) annotation (Placement(transformation(extent={{-30,50},{-10,70}})));
Modelica.Blocks.Sources.Ramp step(
startTime=86400,
height=-30,
duration=50000,
offset=273.15 + 70)
annotation (Placement(transformation(extent={{-90,-14},{-70,6}})));
IDEAS.Fluid.Taps.Tap tap1(redeclare package Medium = Medium)
annotation (Placement(transformation(extent={{-10,10},{10,30}})));
IDEAS.Fluid.Taps.Tap tap2(redeclare package Medium = Medium)
annotation (Placement(transformation(extent={{-10,-30},{10,-10}})));
IDEAS.Fluid.Sources.Boundary_pT bou1(
redeclare package Medium = Medium, use_T_in=true,
nPorts=2)
annotation (Placement(transformation(extent={{-60,10},{-40,-10}})));
IDEAS.Fluid.Sources.Boundary_pT bou2(redeclare package Medium = Medium,
nPorts=2)
annotation (Placement(transformation(extent={{60,10},{40,-10}})));
Modelica.Blocks.Sources.Pulse m_flow_set2(
amplitude=0.1,
width=5,
period=10000,
startTime=2500,
offset=0) annotation (Placement(transformation(extent={{-60,-70},{-40,
-50}})));
equation

connect(step.y, bou1.T_in)
annotation (Line(points={{-69,-4},{-62,-4}}, color={0,0,127}));
connect(m_flow_set1.y,tap1.mFloSet)
annotation (Line(points={{-9,60},{0,60},{0,30}}, color={0,0,127}));
connect(m_flow_set2.y,tap2.mFloSet)
annotation (Line(points={{-39,-60},{-20,-60},{-20,-4},{0,-4},{0,-10}},
color={0,0,127}));
connect(tap1.port_b, bou2.ports[1]) annotation (Line(points={{10,20},{30,20},
{30,1},{40,1}}, color={0,127,255}));
connect(tap2.port_b, bou2.ports[2]) annotation (Line(points={{10,-20},{30,-20},
{30,-1},{40,-1}}, color={0,127,255}));
connect(tap1.port_a, bou1.ports[1]) annotation (Line(points={{-10,20},{-30,20},
{-30,1},{-40,1}}, color={0,127,255}));
connect(tap2.port_a, bou1.ports[2]) annotation (Line(points={{-10,-20},{-30,
-20},{-30,-1},{-40,-1}}, color={0,127,255}));
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram(
coordinateSystem(preserveAspectRatio=false)),
experiment(
StopTime=259200,
Tolerance=1e-06,
__Dymola_Algorithm="Dassl"),
Documentation(revisions="<html>
<ul>
<li>March 26, 2024, by Lucas Verleyen:<br>Initial implementation.
<br>See <a href=\"https://github.com/open-ideas/IDEAS/issues/1287\">#1287</a>
for more information. </li>
</ul>
</html>"));
end Tap;
49 changes: 49 additions & 0 deletions IDEAS/Fluid/Taps/Examples/TapProfile.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
within IDEAS.Fluid.Taps.Examples;
model TapProfile "Example with two 'TapProfile' models"
extends Modelica.Icons.Example;
package Medium = IDEAS.Media.Water;

IDEAS.Fluid.Taps.TapProfile tapProfile1(redeclare package Medium = Medium)
annotation (Placement(transformation(extent={{-10,10},{10,30}})));
IDEAS.Fluid.Taps.TapProfile tapProfile2(redeclare package Medium = Medium,
loadFile=Modelica.Utilities.Files.loadResource(
"modelica://IDEAS/Resources/domestichotwaterprofiles/DHW_1year_2adults_2children.txt"))
annotation (Placement(transformation(extent={{-10,-30},{10,-10}})));
IDEAS.Fluid.Sources.Boundary_pT bou1(
redeclare package Medium = Medium, use_T_in=true,
nPorts=2)
annotation (Placement(transformation(extent={{-60,10},{-40,-10}})));
IDEAS.Fluid.Sources.Boundary_pT bou2(redeclare package Medium = Medium,
nPorts=2)
annotation (Placement(transformation(extent={{60,10},{40,-10}})));
Modelica.Blocks.Sources.Sine sine(
amplitude=10,
f=1/24/3600,
offset=273.15 + 45)
annotation (Placement(transformation(extent={{-90,-14},{-70,6}})));
equation

connect(sine.y, bou1.T_in)
annotation (Line(points={{-69,-4},{-62,-4}}, color={0,0,127}));
connect(tapProfile1.port_b, bou2.ports[1]) annotation (Line(points={{10,20},{
30,20},{30,1},{40,1}}, color={0,127,255}));
connect(tapProfile2.port_b, bou2.ports[2]) annotation (Line(points={{10,-20},
{30,-20},{30,-1},{40,-1}}, color={0,127,255}));
connect(tapProfile1.port_a, bou1.ports[1]) annotation (Line(points={{-10,20},
{-30,20},{-30,1},{-40,1}}, color={0,127,255}));
connect(tapProfile2.port_a, bou1.ports[2]) annotation (Line(points={{-10,-20},
{-30,-20},{-30,-1},{-40,-1}}, color={0,127,255}));
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram(
coordinateSystem(preserveAspectRatio=false)),
experiment(
StopTime=864000,
Tolerance=1e-06,
__Dymola_Algorithm="Dassl"),
Documentation(revisions="<html>
<ul>
<li>March 26, 2024, by Lucas Verleyen:<br>Initial implementation.
<br>See <a href=\"https://github.com/open-ideas/IDEAS/issues/1287\">#1287</a>
for more information. </li>
</ul>
</html>"));
end TapProfile;
2 changes: 2 additions & 0 deletions IDEAS/Fluid/Taps/Examples/package.order
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Tap
TapProfile
DHW_example
1 change: 1 addition & 0 deletions IDEAS/Fluid/Taps/Interfaces/BalancedTap.mo
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
within IDEAS.Fluid.Taps.Interfaces;
partial model BalancedTap "partial DHW model"
extends Modelica.Icons.ObsoleteModel;
import IDEAS;

parameter Modelica.Units.SI.Temperature TDHWSet(max=273.15 + 60) = 273.15 +
Expand Down
6 changes: 4 additions & 2 deletions IDEAS/Fluid/Taps/Interfaces/package.mo
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
within IDEAS.Fluid.Taps;
package Interfaces
extends Modelica.Icons.InterfacesPackage;
package Interfaces
extends Modelica.Icons.InterfacesPackage;

extends Modelica.Icons.ObsoleteModel;
end Interfaces;
Loading
Loading