You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"TRefZon is the reference temperature for heat loss calculations of the zone connected to propsbus_a,
152
152
TRef_b is the reference temperature for heat loss calculations of the zone connected to propsBus_b";
153
153
154
+
if sim.interZonalAirFlowType ==IDEAS.BoundaryConditions.Types.InterZonalAirFlow.Noneand hasCavity ==truethen
155
+
assert(IDEAS.Utilities.Math.Functions.isAngle(incInt, IDEAS.Types.Tilt.Wall), "In "+getInstanceName() +": Cavities without airflow are only supported for vertical walls, but inc="+String(incInt) +". The model is not accurate.", level = AssertionLevel.warning);
156
+
end if;
157
+
158
+
if sim.interZonalAirFlowType <>IDEAS.BoundaryConditions.Types.InterZonalAirFlow.Noneand IDEAS.Utilities.Math.Functions.isAngle(inc,0) then
159
+
assert(hAbs_floor_a<hAbs_floor_b, getInstanceName()+" is a ceiling, but the floor of the zone at probsbus_b (hfloor="+String(hAbs_floor_b) +") does not lie below the floor of zone at probsbus_a (hfloor="+String(hAbs_floor_a) +"), this should be fixed",level=AssertionLevel.error);
160
+
elseif sim.interZonalAirFlowType <>IDEAS.BoundaryConditions.Types.InterZonalAirFlow.Noneand IDEAS.Utilities.Math.Functions.isAngle(inc,Modelica.Constants.pi) then
161
+
assert(hAbs_floor_a>hAbs_floor_b, getInstanceName()+" is a floor, but the floor of the zone at probsbus_a (hfloor="+String(hAbs_floor_a) +") does not lie below the floor of zone at probsbus_b (hfloor="+String(hAbs_floor_b) +"), this should be fixed",level=AssertionLevel.error);
162
+
end if;
163
+
154
164
equation
155
165
connect(constOne.y, crackOrOperableDoor.y);
156
-
//assert(IDEAS.Utilities.Math.Functions.isAngle(inc,0) and hAbs_floor_a>hfloor_b, getInstanceName()+ "is a ceiling, but the floor of the zone at probsbus_b lies above the floor of zone at probsbus_a, this is probably a mistake",level=AssertionLevel.warning);
157
-
//assert(IDEAS.Utilities.Math.Functions.isAngle(inc,Modelica.Constants.pi) and hAbs_floor_a<hfloor_b, getInstanceName()+ "is a floor, but the floor of the zone at probsbus_b lies above the floor of zone at probsbus_a, this is probably a mistake",level=AssertionLevel.warning);
158
-
assert(hasCavity ==falseor IDEAS.Utilities.Math.Functions.isAngle(incInt, IDEAS.Types.Tilt.Wall), "In "+getInstanceName() +": Cavities are only supported for vertical walls, but inc="+String(incInt) +". The model is not accurate.", level = AssertionLevel.warning);
0 commit comments