diff --git a/Buildings/HeatTransfer/Data/BaseClasses.mo b/Buildings/HeatTransfer/Data/BaseClasses.mo index 0ea5672adcc..be66bd36e83 100644 --- a/Buildings/HeatTransfer/Data/BaseClasses.mo +++ b/Buildings/HeatTransfer/Data/BaseClasses.mo @@ -6,7 +6,7 @@ package BaseClasses "Base classes for package Data" parameter Modelica.Units.SI.Length x "Material thickness"; parameter Modelica.Units.SI.ThermalConductivity k "Thermal conductivity"; parameter Modelica.Units.SI.SpecificHeatCapacity c "Specific heat capacity"; - parameter Modelica.Units.SI.Density d "Mass density"; + parameter Modelica.Units.SI.Density d(displayUnit="kg/m3") "Mass density"; parameter Real R(unit="m2.K/W") "Thermal resistance of a unit area of material"; parameter Integer nStaRef(min=0) = 3 @@ -48,8 +48,9 @@ package BaseClasses "Base classes for package Data" defaultComponentPrefixes="parameter", defaultComponentName="datMat", Documentation(info=" +

Base record for materials that declares the thermal properties. -
+

The specific heat capacity can be zero, in which case the material will be modeled as a thermal resistor that does not store energy. @@ -100,19 +101,19 @@ First implementation. "), Icon(graphics={ Text( - extent={{-94,44},{-16,12}}, + extent={{-98,44},{-2,12}}, textColor={0,0,0}, textString="x=%x"), Text( - extent={{8,40},{86,8}}, + extent={{2,40},{96,8}}, textColor={0,0,0}, textString="k=%k"), Text( - extent={{-90,-58},{-12,-90}}, + extent={{-98,-58},{-4,-90}}, textColor={0,0,0}, textString="R=%R"), Text( - extent={{-92,-10},{-14,-42}}, + extent={{-98,-10},{-4,-42}}, textColor={0,0,0}, textString="U=%U"), Rectangle( @@ -123,14 +124,14 @@ First implementation. fillPattern=FillPattern.Solid), Line(points={{-100,-50},{100,-50}}, color={0,0,0}), Text( - visible=not (c > 0), - extent={{8,-8},{86,-40}}, - lineColor={0,0,0}, + visible=not (c > 1E-10), + extent={{4,-8},{98,-40}}, + textColor={0,0,0}, textString="d=%d"), Text( - visible=not (c > 0), - extent={{10,-56},{88,-88}}, - lineColor={0,0,0}, + visible=not (c > 1E-10), + extent={{4,-56},{98,-88}}, + textColor={0,0,0}, textString="c=%c")})); end Material; @@ -138,7 +139,7 @@ First implementation. extends Modelica.Icons.Record; parameter Modelica.Units.SI.ThermalConductivity k "Thermal conductivity"; parameter Modelica.Units.SI.SpecificHeatCapacity c "Specific heat capacity"; - parameter Modelica.Units.SI.Density d "Mass density"; + parameter Modelica.Units.SI.Density d(displayUnit="kg/m3") "Mass density"; parameter Boolean steadyState= (c < Modelica.Constants.eps or d < Modelica.Constants.eps) "Flag, if true, then material is computed using steady-state heat conduction" annotation(Evaluate=true); @@ -146,8 +147,9 @@ First implementation. defaultComponentPrefixes="parameter", defaultComponentName="datThePro", Documentation(info=" +

Base record for materials, used in circular geometry or other configurations, that only declares the thermal properties. -
+

The specific heat capacity can be zero, in which case the material will be modeled as a thermal resistor that does not store energy. @@ -156,15 +158,17 @@ will be modeled as a thermal resistor that does not store energy. revisions="