Skip to content

Commit

Permalink
fixed missing each for #1273
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathadon committed May 23, 2022
1 parent 26392f7 commit 86e8188
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions IDEAS/Templates/Interfaces/BaseClasses/Structure.mo
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,18 @@ partial model Structure "Partial model for building structure models"
"Construction nodes for heat gains by embedded layers" annotation (
Placement(transformation(extent={{140,50},{160,70}}), iconTransformation(
extent={{140,50},{160,70}})));
Modelica.Blocks.Interfaces.RealOutput[nZones] TSensor(final quantity="ThermodynamicTemperature",unit="K",displayUnit="degC", min=0)
Modelica.Blocks.Interfaces.RealOutput[nZones] TSensor(
each final quantity="ThermodynamicTemperature",
each unit="K",
each displayUnit="degC",
each min=0)
"Sensor temperature of the zones"
annotation (Placement(transformation(extent={{146,-70},{166,-50}})));
Modelica.Fluid.Interfaces.FluidPort_b[nZones] port_b(redeclare package Medium = Medium) if useFluPor
Modelica.Fluid.Interfaces.FluidPort_b[nZones] port_b(
redeclare each package Medium = Medium) if useFluPor
annotation (Placement(transformation(extent={{-30,90},{-10,110}})));
Modelica.Fluid.Interfaces.FluidPort_a[nZones] port_a(redeclare package Medium = Medium) if useFluPor
Modelica.Fluid.Interfaces.FluidPort_a[nZones] port_a(
redeclare each package Medium = Medium) if useFluPor
annotation (Placement(transformation(extent={{10,90},{30,110}})));

annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-150,-100},
Expand All @@ -77,6 +83,10 @@ partial model Structure "Partial model for building structure models"
Documentation(revisions="<html>
<ul>
<li>
May 23, 2022, by Filip Jorissen:<br/>
Fixed missing each for #1273.
</li>
<li>
March 8, 2017, by Filip Jorissen:<br/>
Added option for removing fluid ports.
</li>
Expand Down

0 comments on commit 86e8188

Please sign in to comment.