@@ -202,7 +202,7 @@ partial model RectangularZoneTemplateInterface
202202 parameter Interfaces.WindowDynamicsType windowDynamicsType= IDEAS.Buildings.Components.Interfaces.WindowDynamicsType.Two
203203 "Type of dynamics for glazings and frames: using zero, one combined or two states"
204204 annotation(Dialog(group="Windows" , tab="Advanced" ));
205- parameter SI.TemperatureDifference dT_nominal_win= - 3
205+ parameter Modelica.Units. SI.TemperatureDifference dT_nominal_win= - 3
206206 "Nominal temperature difference used for linearisation, negative temperatures indicate the solid is colder"
207207 annotation(Dialog(group="Convective heat transfer" , tab="Advanced" ));
208208 parameter Boolean linExtCon= sim.linExtCon
@@ -215,35 +215,35 @@ partial model RectangularZoneTemplateInterface
215215 "= true, if exterior radiative heat transfer for windows should be linearised"
216216 annotation(Dialog(tab="Advanced" , group="Radiative heat exchange" ));
217217
218- parameter SI.TemperatureDifference dT_nominal_bou= - 1
218+ parameter Modelica.Units. SI.TemperatureDifference dT_nominal_bou= - 1
219219 "Nominal temperature difference for boundary walls, used for linearisation, negative temperatures indicate the solid is colder"
220220 annotation(Dialog(tab="Advanced" , group="Convective heat transfer" ));
221- parameter SI.TemperatureDifference dT_nominal_out= - 3
221+ parameter Modelica.Units. SI.TemperatureDifference dT_nominal_out= - 3
222222 "Nominal temperature difference for outer walls, used for linearisation, negative temperatures indicate the solid is colder"
223223 annotation(Dialog(tab="Advanced" , group="Convective heat transfer" ));
224- parameter SI.TemperatureDifference dT_nominal_sla= - 3
224+ parameter Modelica.Units. SI.TemperatureDifference dT_nominal_sla= - 3
225225 "Nominal temperature difference of slab on ground, used for linearisation, negative temperatures indicate the solid is colder"
226226 annotation(Dialog(tab="Advanced" , group="Convective heat transfer" ));
227- parameter SI.Temperature TeAvg= 273.15 + 10.8
227+ parameter Modelica.Units. SI.Temperature TeAvg= 273.15 + 10.8
228228 "Annual average outdoor temperature"
229229 annotation(Dialog(tab="Floor" , group="Slab on ground" , enable=(bouTypFlo == IDEAS.Buildings.Components.Interfaces.BoundaryType.SlabOnGround)));
230- parameter SI.Temperature TiAvg= 273.15 + 22
230+ parameter Modelica.Units. SI.Temperature TiAvg= 273.15 + 22
231231 "Annual average indoor temperature"
232232 annotation(Dialog(tab="Floor" , group="Slab on ground" , enable=(bouTypFlo == IDEAS.Buildings.Components.Interfaces.BoundaryType.SlabOnGround)));
233- parameter SI.TemperatureDifference dTeAvg= 4
233+ parameter Modelica.Units. SI.TemperatureDifference dTeAvg= 4
234234 "Amplitude of variation of monthly average outdoor temperature"
235235 annotation(Dialog(tab="Floor" , group="Slab on ground" , enable=(bouTypFlo == IDEAS.Buildings.Components.Interfaces.BoundaryType.SlabOnGround)));
236- parameter SI.TemperatureDifference dTiAvg= 2
236+ parameter Modelica.Units. SI.TemperatureDifference dTiAvg= 2
237237 "Amplitude of variation of monthly average indoor temperature"
238238 annotation(Dialog(tab="Floor" , group="Slab on ground" , enable=(bouTypFlo == IDEAS.Buildings.Components.Interfaces.BoundaryType.SlabOnGround)));
239239 parameter Modelica.Units.SI.Temperature T_start_gro[3 ]= fill (TeAvg, 3 )
240240 "Initial temperatures of the ground layers (with first value = deepest layer
241241 and last value = shallowest layer"
242242 annotation(Evaluate=true,Dialog(tab="Floor" , group="Slab on ground" , enable=(bouTypFlo == IDEAS.Buildings.Components.Interfaces.BoundaryType.SlabOnGround)));
243- parameter SI.TemperatureDifference dT_nominal_intA= 1
243+ parameter Modelica.Units. SI.TemperatureDifference dT_nominal_intA= 1
244244 "Nominal temperature difference between zone air and interior walls, used for linearisation"
245245 annotation(Dialog(tab="Advanced" , group="Convective heat transfer" ));
246- parameter SI.TemperatureDifference dT_nominal_intB= 1
246+ parameter Modelica.Units. SI.TemperatureDifference dT_nominal_intB= 1
247247 "Nominal temperature difference between interior walls exterior connection, used for linearisation"
248248 annotation(Dialog(tab="Advanced" , group="Convective heat transfer" ));
249249 replaceable parameter IDEAS.Buildings.Data.Constructions.CavityWall conTypA
@@ -496,40 +496,40 @@ partial model RectangularZoneTemplateInterface
496496 parameter Boolean hasBuildingShadeA= false
497497 "=true, to enable computation of shade cast by opposite building or object on OuterWall"
498498 annotation(Dialog(tab="Face A" , group="Building shade" , enable=(bouTypA==IDEAS.Buildings.Components.Interfaces.BoundaryType.OuterWall)));
499- parameter SI.Length LShaA= 0
499+ parameter Modelica.Units. SI.Length LShaA= 0
500500 "Distance between shading object and wall, perpendicular to wall"
501501 annotation(Dialog(enable=hasBuildingShadeA,tab="Face A" , group="Building shade" ));
502- parameter SI.Length dhShaA= 0
502+ parameter Modelica.Units. SI.Length dhShaA= 0
503503 "Height difference between top of shading object and top of wall A"
504504 annotation(Dialog(enable=hasBuildingShadeA,tab="Face A" , group="Building shade" ));
505505 parameter Boolean hasBuildingShadeB= false
506506 "=true, to enable computation of shade cast by opposite building or object on OuterWall"
507507 annotation(Dialog(tab="Face B" , group="Building shade" , enable=(bouTypB==IDEAS.Buildings.Components.Interfaces.BoundaryType.OuterWall)));
508- parameter SI.Length LShaB= 0
508+ parameter Modelica.Units. SI.Length LShaB= 0
509509 "Distance between shading object and wall, perpendicular to wall"
510510 annotation(Dialog(enable=hasBuildingShadeB,tab="Face B" , group="Building shade" ));
511- parameter SI.Length dhShaB= 0
511+ parameter Modelica.Units. SI.Length dhShaB= 0
512512 "Height difference between top of shading object and top of wall B"
513513 annotation(Dialog(enable=hasBuildingShadeB,tab="Face B" , group="Building shade" ));
514514 parameter Boolean hasBuildingShadeC= false
515515 "=true, to enable computation of shade cast by opposite building or object on OuterWall"
516516 annotation(Dialog(tab="Face C" , group="Building shade" , enable=(bouTypC==IDEAS.Buildings.Components.Interfaces.BoundaryType.OuterWall)));
517- parameter SI.Length LShaC= 0
517+ parameter Modelica.Units. SI.Length LShaC= 0
518518 "Distance between shading object and wall, perpendicular to wall"
519519 annotation(Dialog(enable=hasBuildingShadeC,tab="Face C" , group="Building shade" ));
520- parameter SI.Length dhShaC= 0
520+ parameter Modelica.Units. SI.Length dhShaC= 0
521521 "Height difference between top of shading object and top of wall C"
522522 annotation(Dialog(enable=hasBuildingShadeC,tab="Face C" , group="Building shade" ));
523523 parameter Boolean hasBuildingShadeD= false
524524 "=true, to enable computation of shade cast by opposite building or object on OuterWall"
525525 annotation(Dialog(tab="Face D" , group="Building shade" , enable=(bouTypD==IDEAS.Buildings.Components.Interfaces.BoundaryType.OuterWall)));
526- parameter SI.Length LShaD= 0
526+ parameter Modelica.Units. SI.Length LShaD= 0
527527 "Distance between shading object and wall, perpendicular to wall"
528528 annotation(Dialog(enable=hasBuildingShadeD,tab="Face D" , group="Building shade" ));
529- parameter SI.Length dhShaD= 0
529+ parameter Modelica.Units. SI.Length dhShaD= 0
530530 "Height difference between top of shading object and top of wall D"
531531 annotation(Dialog(enable=hasBuildingShadeD,tab="Face D" , group="Building shade" ));
532- parameter SI.Length PWall = (if hasOutA then lA else 0 ) + (if hasOutB then lB else 0 ) + (if hasOutC then lC else 0 ) + (if hasOutD then lD else 0 )
532+ parameter Modelica.Units. SI.Length PWall = (if hasOutA then lA else 0 ) + (if hasOutB then lB else 0 ) + (if hasOutC then lC else 0 ) + (if hasOutD then lD else 0 )
533533 "Total floor slab perimeter length" annotation(Dialog(tab="Advanced" , group="SlabOnGround" , enable=(bouTypFlo == IDEAS.Buildings.Components.Interfaces.BoundaryType.SlabOnGround)));
534534
535535
@@ -1546,6 +1546,11 @@ components cannot be propagated.
15461546</html>" , revisions="<html>
15471547<ul>
15481548<li>
1549+ February 4, 2025, by Jelger Jansen:<br/>
1550+ Added <code>Modelica.Units.</code> to one or multiple parameter(s) due to the removal of <code>import</code> in IDEAS/package.mo.
1551+ See <a href=\" https://github.com/open-ideas/IDEAS/issues/1415\">#1415</a> .
1552+ </li>
1553+ <li>
15491554January 30, 2025, by Jelger Jansen:<br/>
15501555Updated default window glazing type to avoid obsolete type warning.
15511556See <a href=https://github.com/open-ideas/IDEAS/issues/1402>#1402</a>
0 commit comments