Skip to content

Commit

Permalink
flip icons
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasverleyen committed Jul 1, 2024
1 parent a4f19b0 commit 7b8ca79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions IDEAS/Fluid/Taps/Examples/Tap.mo
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ model Tap "Example with two 'Tap' models"
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,-10},{10,-30}})));
annotation (Placement(transformation(extent={{-10,-30},{10,-10}})));
IDEAS.Fluid.Sources.Boundary_pT bou1(
redeclare package Medium = Medium, use_T_in=true,
nPorts=2)
Expand All @@ -31,7 +31,7 @@ model Tap "Example with two 'Tap' models"
width=5,
period=10000,
startTime=2500,
offset=0) annotation (Placement(transformation(extent={{-30,-70},{-10,
offset=0) annotation (Placement(transformation(extent={{-60,-70},{-40,
-50}})));
equation

Expand All @@ -40,7 +40,8 @@ equation
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={{-9,-60},{0,-60},{0,-30}}, color={0,0,127}));
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},
Expand Down
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"
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,-10},{10,-30}})));
annotation (Placement(transformation(extent={{-10,-30},{10,-10}})));
IDEAS.Fluid.Sources.Boundary_pT bou1(
redeclare package Medium = Medium, use_T_in=true,
nPorts=2)
Expand Down

0 comments on commit 7b8ca79

Please sign in to comment.