Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.Window.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Buildings.Constructions.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.Window") translateModel(BuildingSystems.Buildings.Constructions.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 109.1 kB / 16.42 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 193 kB / 17.36 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 294.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9081/0.9081, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.452e-05, allocations: 4.953 kB / 0.682 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Examples.Window): time 0.6154/0.6155, allocations: 216 MB / 0.8929 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02481/0.6403, allocations: 13.58 MB / 0.9062 GB, free: 8.246 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004878/0.6452, allocations: 83.56 kB / 0.9063 GB, free: 8.164 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ConstructionGeneral.mo:4:3-26:121:writable] Warning: Connector toSurfacePort_1 is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ConstructionGeneral.mo:27:3-50:117:writable] Warning: Connector toSurfacePort_2 is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Constructions/Windows/RadiationTransmission/RadiationTransmissionSimple.mo:4:3-5:117:writable] Warning: Connector radiationPort_in is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Constructions/Windows/RadiationTransmission/RadiationTransmissionSimple.mo:6:3-7:115:writable] Warning: Connector radiationPort_out is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Constructions/Windows/RadiationTransmission/RadiationTransmissionSimple.mo:4:3-5:117:writable] Warning: Connector radiationPort_in is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Constructions/Windows/RadiationTransmission/RadiationTransmissionSimple.mo:6:3-7:115:writable] Warning: Connector radiationPort_out is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/SurfaceGeneral.mo:4:3-6:117:writable] Warning: Connector toConstructionPort is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:5:3-7:118:writable] Warning: Connector toAirPort is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:8:3-12:115:writable] Warning: Connector toSurfacesPort is not balanced: The number of potential variables (6) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Ambience.mo:52:3-55:54:writable] Warning: Connector toAirPorts is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Ambience.mo:56:3-59:53:writable] Warning: Connector toSurfacePorts is not balanced: The number of potential variables (6) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ZoneTemplateGeneral.mo:63:3-67:55:writable] Warning: Connector toConstructionPorts is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/RadiationDistribution.mo:13:3-15:72:writable] Warning: Connector toSurfacePorts is not balanced: The number of potential variables (6) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/SurfaceGeneral.mo:4:3-6:117:writable] Warning: Connector toConstructionPort is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:5:3-7:118:writable] Warning: Connector toAirPort is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:8:3-12:115:writable] Warning: Connector toSurfacesPort is not balanced: The number of potential variables (6) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfacesToAir.mo:9:3-12:23:writable] Warning: Connector toConstructionPorts is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfacesToAir.mo:13:3-16:23:writable] Warning: Connector toSurfacesPorts is not balanced: The number of potential variables (6) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfacesToAir.mo:17:3-19:113:writable] Warning: Connector toAirPorts is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/AirvolumeGeneral.mo:40:3-41:97:writable] Warning: Connector toSurfacePorts is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.003739/0.649, allocations: 0.8986 MB / 0.9072 GB, free: 7.262 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/AirvolumeMixed.mo:70:5-70:12:writable] Warning: Conditional component 'air' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.00846/0.6575, allocations: 2.378 MB / 0.9095 GB, free: 4.871 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:8:3-10:54:writable] Warning: Connector radiationPort_out is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:5:3-7:56:writable] Warning: Connector radiationPort_in is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeClassSections: time 0.006059/0.6635, allocations: 2.013 MB / 0.9114 GB, free: 2.867 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009314/0.6729, allocations: 6.705 MB / 0.918 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005882/0.6788, allocations: 3.807 MB / 0.9217 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004609/0.6834, allocations: 2.345 MB / 0.924 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00497/0.6884, allocations: 2.302 MB / 0.9263 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001685/0.6901, allocations: 428 kB / 0.9267 GB, free: 3.195 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007413/0.6976, allocations: 2.172 MB / 0.9288 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of combineBinaries: time 0.00965/0.7073, allocations: 5.935 MB / 0.9346 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of replaceArrayConstructors: time 0.004224/0.7115, allocations: 3.738 MB / 0.9382 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.7138, allocations: 0.5804 MB / 0.9388 GB, free: 6.66 MB / 0.7012 GB Notification: Performance of FrontEnd: time 0.001273/0.7151, allocations: 131.2 kB / 0.9389 GB, free: 6.531 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 742 (673) * Number of variables: 742 (662) Notification: Performance of Bindings: time 0.02865/0.7438, allocations: 19.08 MB / 0.9576 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of FunctionAlias: time 0.003822/0.7476, allocations: 2.556 MB / 0.96 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of Early Inline: time 0.5646/1.312, allocations: 11.34 MB / 0.9711 GB, free: 30.81 MB / 0.7169 GB Notification: Performance of simplify1: time 0.002633/1.315, allocations: 0.7887 MB / 0.9719 GB, free: 30.81 MB / 0.7169 GB Notification: Performance of Alias: time 0.02053/1.336, allocations: 13.77 MB / 0.9853 GB, free: 27.41 MB / 0.7169 GB Notification: Performance of simplify2: time 0.001789/1.337, allocations: 0.6527 MB / 0.986 GB, free: 27.4 MB / 0.7169 GB Notification: Performance of Events: time 0.002492/1.34, allocations: 2.171 MB / 0.9881 GB, free: 27.01 MB / 0.7169 GB Notification: Performance of Detect States: time 0.002659/1.343, allocations: 2.516 MB / 0.9905 GB, free: 26.77 MB / 0.7169 GB Notification: Performance of Partitioning: time 0.005132/1.348, allocations: 3.676 MB / 0.9941 GB, free: 25.99 MB / 0.7169 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency window.position_internal[3] could not be divided by the body size 3 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (3) $FUN_47 = BuildingSystems.Buildings.Geometries.Functions.rotateVector({-0.5 * window.width, -0.5 * window.height, window.position_internal[3] - window.thickness}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil) ($RES_$AUX_721) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (464/580) **************************** (1) [ALGB] (1) Real zone.TAir (min = 0.0) (2) [ALGB] (1) Real[1] ambience.toSurfacePorts.radiationPort_out.IrrDir (3) [DISS] (1) protected Real control.T_start (4) [ALGB] (1) Real surface1.toSurfacesPort.zMean (5) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.radiationPort_in.IrrDif (6) [ALGB] (1) Real[1] ambience.radiation.angleDegTil = {ambience.toSurfacePorts[1].angleDegTil} (7) [ALGB] (1) Real window.radTra2to1.radiationPort_in.IrrDir (8) [ALGB] (2) protected Real[2] zone.airvolume.air.dynBal.medium.state.X (start = {0.01, 0.99}, min = {0.0 for $i1 in 1:2}, max = {1.0 for $i1 in 1:2}, nominal = {0.1 for $i1 in 1:2}) (9) [ALGB] (1) Real[1] ambience.toSurfacePorts.heatPortLw.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (10) [ALGB] (2) protected Real[2] zone.airvolume.air.dynBal.medium.X (start = zone.airvolume.air.dynBal.X_start, min = {0.0 for $i1 in 1:2}, max = {1.0 for $i1 in 1:2}, nominal = {0.1 for $i1 in 1:2}) (11) [ALGB] (1) protected Real zone.airvolume.air.dynBal.medium.state.T (start = 293.15, min = 1.0, max = 1e4, nominal = 300.0) (12) [ALGB] (1) protected Real[1] zone.airpathIn.ports.p (start = {101325.0}, min = {0.0 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e5 for $i1 in 1:1}) (13) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.heatPort.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (14) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.radiationPort_out.IrrDif (15) [ALGB] (1) protected flow Real[1] zone.surfaces.surface.toSurfacesPort.heatPortLw.Q_flow (16) [ALGB] (2) protected Real[2] zone.airpathOut.X_in_internal (17) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.radiationPort_out.angleDegInc (18) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.radiationPort_out.angleDegAziSun (19) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.radiationPort_in.IrrDir (20) [ALGB] (1) Real window.radTra2to1.radiationPort_in.IrrDif (21) [ALGB] (1) Real zone.TOperative = (zone.radiationDistribution.TSurfMean + zone.airvolume.T[1]) / 2.0 (min = 0.0) (22) [ALGB] (1) protected Real[1] ambience.radiation.timeSun (23) [ALGB] (1) Real[1] ambience.toSurfacePorts.radiationPort_in.IrrDif (24) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.radiationPort_out.IrrDir (25) [ALGB] (1) Real[1] ambience.radiation.IrrTotHor (26) [ALGB] (1) protected flow Real zone.relRadConHeating.heatPortLw.Q_flow (27) [ALGB] (1) protected Real[1] zone.surfaces.toAirPorts.moisturePort.x (start = {0.01 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (28) [ALGB] (1) Real[1] zone.toConstructionPorts.heatPort.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (29) [ALGB] (1) Real[1] ambience.toSurfacePorts.radiationPort_in.IrrDir (30) [ALGB] (1) Real window.radTra2to1.tauBeam (31) [ALGB] (1) protected Real[1] zone.surfaces.toAirPorts.heatPort.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (32) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.radiationPort_out.angleDegAziSun (33) [ALGB] (1) protected Real zone.airvolume.air.dynBal.mb_flow (34) [ALGB] (1) Real window.toSurfacePort_1.geo.angleDegTil = window.angleDegTil (35) [ALGB] (1) protected Real zone.heatingLoad.addP.u2 (36) [ALGB] (2) protected flow Real[2] zone.airvolume.heatSourcesPorts.Q_flow (37) [ALGB] (1) protected flow Real zone.relRadConHeating.heatPortCv.Q_flow (38) [ALGB] (1) protected Real[1] ambience.radiation.cosAngleZen (39) [ALGB] (1) Real[1] ambience.toSurfacePorts.radiationPort_in.angleDegInc (40) [ALGB] (1) Real[1] zone.toConstructionPorts.radiationPort_in.angleDegInc (41) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.radiationPort_out.angleDegHeightSun (42) [ALGB] (1) Real[1] zone.toConstructionPorts.radiationPort_out.IrrDir (43) [ALGB] (1) protected Real[1] ambience.radiation.cosAngleInc (44) [ALGB] (1) protected Real[1] zone.airvolume.air.dynBal.mXiOut (min = {0.0 for $i1 in 1:1}) (45) [ALGB] (1) Real window.radTra2to1.radiationPort_in.angleDegInc (46) [ALGB] (1) protected stream Real[1] zone.airpathIn.ports.h_outflow (min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (47) [ALGB] (1) protected flow Real[1] zone.surfaces.toAirPorts.heatPort.Q_flow (48) [ALGB] (1) Real[1] ambience.toAirPorts.heatPort.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (49) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.A (50) [ALGB] (1) Real ambience.weatherDataReader.pGround = ambience.weatherDataReader.pAirRef * (((273.15 + ambience.weatherDataReader.weatherData.tAirRef) - ambience.weatherDataReader.gamma * (-ambience.weatherDataReader.zRefTAir)) / (273.15 + ambience.weatherDataReader.weatherData.tAirRef)) ^ (9.80665 / (288.0 * ambience.weatherDataReader.gamma)) (51) [ALGB] (1) Real ambience.weatherDataReader.weatherData.IrrDifHor (52) [ALGB] (1) Real ambience.weatherDataReader.xAir = BuildingSystems.Utilities.Psychrometrics.Functions.X_pSatpphi(BuildingSystems.Utilities.Psychrometrics.Functions.saturationPressure(ambience.weatherDataReader.weatherData.tAirRef + 273.15), 1e5, ambience.weatherDataReader.weatherData.phiAir) (53) [ALGB] (1) protected flow Real[1] zone.radiationDistribution.toSurfacePorts.heatPortSw.Q_flow (54) [ALGB] (1) Real[1] zone.toConstructionPorts.radiationPort_out.IrrDif (55) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.radiationPort_out.angleDegHeightSun (56) [ALGB] (1) protected Real zone.coolingLoad.addP.u2 (57) [ALGB] (1) Real[1] ambience.toSurfacePorts.angleDegAzi (58) [ALGB] (1) Real ambience.angleDegAziSun = ambience.radiation[1].radiationPort.angleDegAziSun (59) [ALGB] (1) protected flow Real[1] zone.airpathIn.ports.m_flow (min = {-1e60}, max = {1e60}) (60) [ALGB] (1) protected Real zone.coolingLoad.addI.y (61) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.radiationPort_out.angleDegInc (62) [ALGB] (1) protected Real[1] ambience.radiation.cosAngleAzi (63) [DISS] (1) protected Integer control.count (64) [ALGB] (1) Real[1] zone.toConstructionPorts.epsilon (65) [ALGB] (1) protected Real zone.coolingLoad.addPID.y (66) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.epsilon (67) [ALGB] (1) Real control.y (68) [ALGB] (1) protected stream Real[1, 1] zone.airpathOut.ports.Xi_outflow (min = {{0.0 for $i1 in 1:1}}, max = {{1.0 for $i1 in 1:1}}, nominal = {{0.1 for $i1 in 1:1}}) (69) [ALGB] (1) protected flow Real zone.airvolume.air.heatPort.Q_flow (70) [ALGB] (3) protected Real[1, 3] zone.surfaces.surface.toConstructionPort.geo.vertex1 (71) [ALGB] (3) protected Real[1, 3] zone.surfaces.surface.toConstructionPort.geo.vertex2 (72) [ALGB] (1) Real ambience.weatherDataReader.weatherData.tAirRef (73) [ALGB] (3) protected Real[1, 3] zone.surfaces.surface.toConstructionPort.geo.vertex3 (74) [ALGB] (1) protected Real zone.heatingLoad.controlError = TSetHeating.k - zone.heatingLoad.addP.u2 (75) [ALGB] (3) protected Real[1, 3] zone.surfaces.surface.toConstructionPort.geo.vertex4 (76) [ALGB] (1) protected Real zone.airpathIn.h_internal = BuildingSystems.Buildings.Constructions.Examples.Window.zone.airpathIn.Medium.specificEnthalpy(BuildingSystems.Buildings.Constructions.Examples.Window.zone.airpathIn.Medium.setState_pTX(zone.airpathIn.p_in_internal, 273.15 + ambience.weatherDataReader.weatherData.tAirRef, zone.airpathIn.X_in_internal)) (77) [ALGB] (1) protected Real zone.heatingLoad.P.y (78) [ALGB] (1) Real window.radTra1to2.radiationPort_out.IrrDir (79) [ALGB] (2) protected Real[2] zone.airvolume.air.ports.p (start = {101325.0 for $ports1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}) (80) [ALGB] (1) Real[1] zone.toConstructionPorts.A (81) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.radiationPort_out.IrrDir (82) [ALGB] (1) Real window.radTra1to2.tauBeam (83) [ALGB] (1) protected flow Real[1] zone.radiationDistribution.toSurfacePorts.heatPortLw.Q_flow (84) [ALGB] (1) Real window.toSurfacePort_2.geo.zMean = window.position_internal[3] + window.height * sin(window.angleDegTil * 0.017453292519943295) (85) [ALGB] (2) protected Real[2] zone.airvolume.airpathPorts.p (start = {101325.0 for $airpathPorts1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}) (86) [ALGB] (1) flow Real[1] ambience.toSurfacePorts.heatPortLw.Q_flow (87) [ALGB] (1) Real surface1.toSurfacesPort.angleDegTil (88) [ALGB] (1) Real window.radTra1to2.radiationPort_out.IrrDif (89) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.radiationPort_out.IrrDif (90) [ALGB] (1) Real surface1.toConstructionPort.geo.angleDegAzi (91) [DER-] (1) Real[1] $DER.zone.airvolume.air.dynBal.mXi (92) [ALGB] (1) protected flow Real zone.relRadConCooling.heatPortLw.Q_flow (93) [ALGB] (1) flow Real surface1.toAirPort.heatPort.Q_flow (94) [ALGB] (1) protected Real zone.relRadConCooling.heatPortCv.T (start = 288.15, min = 0.0, nominal = 300.0) (95) [ALGB] (1) Real ambience.weatherDataReader.weatherData.conTim.calTimAux (96) [ALGB] (2) protected stream Real[2] zone.airvolume.airpathPorts.h_outflow (min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2}) (97) [DER-] (1) Real $DER.zone.airvolume.mH2OLiq (98) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.radiationPort_in.angleDegInc (99) [ALGB] (1) protected Real zone.relRadConHeating.heatPortCv.T (start = 288.15, min = 0.0, nominal = 300.0) (100) [ALGB] (1) Real[1] ambience.radiation.IrrDifHor (101) [ALGB] (1) protected Real zone.heatingLoad.gainPID.y (102) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.heatPortLw.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (103) [ALGB] (1) protected flow Real[1] zone.airpathOut.ports.m_flow (min = {-1e60}, max = {1e60}) (104) [ALGB] (2) protected stream Real[2] zone.airvolume.air.dynBal.ports.h_outflow (min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2}) (105) [ALGB] (1) protected flow Real zone.relRadConCooling.heatPortCv.Q_flow (106) [ALGB] (1) protected Real[1] ambience.radiation.tmp (107) [ALGB] (1) protected Real[1] ambience.radiation.dayOfYear (108) [ALGB] (1) Real[1] ambience.toSurfacePorts.abs (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (109) [ALGB] (1) flow Real[1] ambience.toSurfacePorts.heatPortSw.Q_flow (110) [ALGB] (1) protected Real zone.heatingLoad.addP.y (111) [ALGB] (2) protected Real[2] zone.radiationDistribution.heatSourcesPorts.T (start = {288.15 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, nominal = {300.0 for $i1 in 1:2}) (112) [ALGB] (1) protected Real zone.airvolume.air.dynBal.Hb_flow (113) [ALGB] (1) Real ambience.weatherDataReader.weatherData.vWindRef (114) [ALGB] (1) protected Real[1, 1] zone.radiationDistribution.F (min = {0.0 for $i1 in 1:1, $i2 in 1:1}, max = {1.0 for $i1 in 1:1, $i2 in 1:1}) (115) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.radiationPort_out.angleDegHeightSun (116) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.heatPortLw.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (117) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.radiationPort_out.angleDegInc (118) [ALGB] (1) Real ambience.weatherDataReader.weatherData.gain.y (119) [ALGB] (1) protected Real[1] zone.radiationDistribution.J (start = {0.0 for $i1 in 1:1}) (120) [ALGB] (1) protected Real zone.heatingLoad.addSat.y (121) [ALGB] (1) protected Real[1] ambience.radiation.sinAngleLat = {sin(ambience.radiation[1].latitudeDeg * 0.017453292519943295)} (122) [DISC] (1) protected Boolean[1] ambience.radiation.outsidePolarCircle = {0.017453292519943295 * ambience.radiation[1].latitudeDeg < 1.1617 and 0.017453292519943295 * ambience.radiation[1].latitudeDeg > (-1.1617)} (123) [ALGB] (1) protected flow Real zone.phfCooling.port.Q_flow (124) [ALGB] (1) protected Real[1] ambience.radiation.x (125) [ALGB] (1) protected flow Real[1] zone.airvolume.toSurfacePorts.heatPort.Q_flow (126) [ALGB] (1) Real[1] zone.toConstructionPorts.radiationPort_out.angleDegInc (127) [ALGB] (1) protected Real[1] zone.surfaces.surface.alpha (128) [ALGB] (1) flow Real[1] zone.toConstructionPorts.moisturePort.m_flow (129) [ALGB] (1) Real window.moistBcPort2.moisturePort.x (start = 0.01, min = 0.0, max = 1.0) (130) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.radiationPort_in.IrrDir (131) [ALGB] (2) protected flow Real[2] zone.airvolume.air.dynBal.ports.m_flow (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}) (132) [ALGB] (1) protected Real zone.airvolume.air.dynBal.medium.p_bar = Modelica.Units.Conversions.to_bar(99999.99999999999 * zone.airvolume.air.dynBal.medium.p_bar) (133) [ALGB] (1) Real surface1.x (start = 0.005, min = 0.0, max = 1.0) (134) [ALGB] (1) flow Real surface1.toConstructionPort.heatPort.Q_flow (135) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.zMean (136) [ALGB] (1) protected Real zone.relRadConCooling.heatPortLw.T (start = 288.15, min = 0.0, nominal = 300.0) (137) [ALGB] (1) Real[1] zone.toConstructionPorts.abs (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (138) [ALGB] (2) protected stream Real[2, 1] zone.airvolume.air.ports.Xi_outflow (min = {{0.0 for $i1 in 1:1} for $ports1 in 1:2}, max = {{1.0 for $i1 in 1:1} for $ports1 in 1:2}, nominal = {{0.1 for $i1 in 1:1} for $ports1 in 1:2}) (139) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.radiationPort_in.IrrDif (140) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.heatPortLw.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (141) [ALGB] (1) Real[1] ambience.radiation.angleDegAzi = {ambience.toSurfacePorts[1].angleDegAzi} (142) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.radiationPort_in.angleDegInc (143) [ALGB] (1) protected Real zone.relRadConHeating.heatPortLw.T (start = 288.15, min = 0.0, nominal = 300.0) (144) [ALGB] (1) Real[1] ambience.toSurfacePorts.radiationPort_out.angleDegInc (145) [ALGB] (1) protected flow Real[1] zone.surfaces.toAirPorts.moisturePort.m_flow (146) [ALGB] (1) protected Real zone.radiationDistribution.ATotal (147) [ALGB] (1) Real surface1.toAirPort.heatPort.T (start = 288.15, min = 0.0, nominal = 300.0) (148) [ALGB] (2) protected Real[2, 1] zone.airvolume.air.dynBal.ports_mXi_flow (149) [ALGB] (1) Real[1] zone.toConstructionPorts.radiationPort_out.angleDegHeightSun (150) [ALGB] (1) protected flow Real[1] zone.airvolume.toSurfacePorts.moisturePort.m_flow (151) [ALGB] (1) protected Real[1] ambience.radiation.Z (152) [DISS] (1) protected discrete Real ambience.weatherDataReader.weatherData.conTim.tNext (fixed = true, start = 0.0) (153) [ALGB] (1) protected Real[1] zone.surfaces.surface.toAirPort.heatPort.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (154) [ALGB] (1) Real[1] ambience.radiation.radiationPort.angleDegAziSun (155) [ALGB] (1) protected Real[1] zone.surfaces.surface.x (start = {0.005 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (156) [ALGB] (1) Real ambience.weatherDataReader.weatherData.IrrDirHor (157) [ALGB] (1) protected flow Real[1] zone.surfaces.surface.toConstructionPort.heatPort.Q_flow (158) [ALGB] (1) Real[1] ambience.toAirPorts.moisturePort.x (start = {0.01 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (159) [ALGB] (1) Real window.toSurfacePort_2.A = window.toSurfacePort_2.A (160) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.geo.zMean (161) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.abs = {zone.surfaces.surface[1].abs} (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (162) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.heatPortSw.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (163) [ALGB] (3) protected Real[1, 3] zone.surfaces.toConstructionPorts.geo.vertex1 (164) [ALGB] (1) protected Real[1] zone.airpathOut.Xi_in_internal (165) [ALGB] (3) protected Real[1, 3] zone.surfaces.toConstructionPorts.geo.vertex2 (166) [ALGB] (1) protected flow Real[1] zone.surfaces.toConstructionPorts.moisturePort.m_flow (167) [ALGB] (1) protected Real[1] ambience.radiation.angleDegTil_internal (168) [ALGB] (3) protected Real[1, 3] zone.surfaces.toConstructionPorts.geo.vertex3 (169) [ALGB] (3) protected Real[1, 3] zone.surfaces.toConstructionPorts.geo.vertex4 (170) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.abs (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (171) [DER-] (1) Real $DER.window.heatTransfer.heatPort_source.T (172) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.radiationPort_in.angleDegInc (173) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.radiationPort_out.angleDegInc (174) [ALGB] (1) protected Real[1] zone.airvolume.air.mXi (175) [ALGB] (1) Real[1] ambience.radiation.longitudeDeg (176) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.zMean (177) [ALGB] (7) Real[7] ambience.weatherDataReader.weatherData.datRea.y (178) [ALGB] (1) protected Real zone.mult.y (179) [ALGB] (1) Real[1] zone.toConstructionPorts.geo.zMean (180) [ALGB] (3) Real[3] $FUN_63 (181) [ALGB] (3) Real[3] $FUN_62 (182) [ALGB] (3) Real[3] $FUN_61 (183) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.heatPortSw.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (184) [ALGB] (1) protected Real[1] zone.surfaces.surface.T (start = {293.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (185) [ALGB] (3) Real[3] $FUN_60 (186) [ALGB] (1) Real ambience.angleDegHeightSun = ambience.radiation[1].radiationPort.angleDegHeightSun (187) [DER-] (1) Real $DER.zone.airvolume.air.dynBal.m (188) [ALGB] (1) Real ambience.TSky (min = 0.0) (189) [ALGB] (1) Real[1] ambience.toSurfacePorts.angleDegTil (190) [ALGB] (1) protected Real zone.heatingLoad.gainTrack.y (191) [DISC] (1) Boolean $SEV_9 (192) [ALGB] (1) protected Real[1] zone.surfaces.surface.abs (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (193) [DISC] (1) Boolean $SEV_7 (194) [DISC] (1) Boolean $SEV_6 (195) [ALGB] (3) Real[3] window.toSurfacePort_1.geo.vertex4 = window.position_internal + BuildingSystems.Buildings.Geometries.Functions.rotateVector(BuildingSystems.Buildings.Geometries.Functions.rotateVector({-window.width * 0.5, 0.5 * window.height, 0.0}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil), {0.0, 0.0, 0.1}, -window.angleDegAzi * 0.017453292519943295) (196) [DISC] (1) Boolean $SEV_5 (197) [ALGB] (3) Real[3] window.toSurfacePort_1.geo.vertex3 = window.position_internal + BuildingSystems.Buildings.Geometries.Functions.rotateVector(BuildingSystems.Buildings.Geometries.Functions.rotateVector({0.5 * window.width, 0.5 * window.height, 0.0}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil), {0.0, 0.0, 0.1}, -window.angleDegAzi * 0.017453292519943295) (198) [DISC] (1) Boolean $SEV_4 (199) [ALGB] (3) Real[3] window.toSurfacePort_1.geo.vertex2 = window.position_internal + BuildingSystems.Buildings.Geometries.Functions.rotateVector(BuildingSystems.Buildings.Geometries.Functions.rotateVector({0.5 * window.width, -window.height * 0.5, 0.0}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil), {0.0, 0.0, 0.1}, -window.angleDegAzi * 0.017453292519943295) (200) [DISC] (1) Boolean $SEV_3 (201) [ALGB] (3) Real[3] window.toSurfacePort_1.geo.vertex1 = window.position_internal + BuildingSystems.Buildings.Geometries.Functions.rotateVector(BuildingSystems.Buildings.Geometries.Functions.rotateVector({-window.width * 0.5, -window.height * 0.5, 0.0}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil), {0.0, 0.0, 0.1}, -window.angleDegAzi * 0.017453292519943295) (202) [ALGB] (1) Real[1] zone.toConstructionPorts.moisturePort.x (start = {0.005 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (203) [DISC] (1) Boolean $SEV_2 (204) [DISC] (1) Boolean $SEV_1 (205) [ALGB] (3) Real[3] $FUN_59 (206) [ALGB] (1) protected stream Real[1, 1] zone.airpathIn.ports.Xi_outflow (min = {{0.0 for $i1 in 1:1}}, max = {{1.0 for $i1 in 1:1}}, nominal = {{0.1 for $i1 in 1:1}}) (207) [ALGB] (3) Real[3] $FUN_58 (208) [ALGB] (3) Real[3] $FUN_57 (209) [ALGB] (1) Real ambience.weatherDataReader.weatherData.add.y (210) [ALGB] (3) Real[3] $FUN_56 (211) [ALGB] (1) protected Real[1] ambience.radiation.IrrDirNor (212) [ALGB] (1) protected Real[1] zone.airvolume.air.dynBal.mbXi_flow (213) [ALGB] (1) Real $FUN_55 (214) [ALGB] (3) Real[3] $FUN_54 (215) [ALGB] (3) Real[3] $FUN_53 (216) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.heatPortSw.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (217) [ALGB] (1) Real[1] ambience.toSurfacePorts.epsilon (218) [ALGB] (1) protected Real[1] ambience.radiation.angleHr (219) [ALGB] (3) Real[3] $FUN_52 (220) [ALGB] (1) protected Real[1] ambience.radiation.solAziTem (221) [ALGB] (3) Real[3] $FUN_51 (222) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.A (223) [ALGB] (3) Real[3] $FUN_50 (224) [ALGB] (1) protected Real[1] ambience.radiation.sinAngleTil (225) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.A (226) [ALGB] (1) protected flow Real[1] zone.surfaces.toSurfacesPorts.heatPortLw.Q_flow (227) [DER-] (1) Real $DER.zone.airvolume.air.dynBal.U (228) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.radiationPort_out.angleDegHeightSun (229) [ALGB] (1) protected Real zone.phfHeating.Q_flow (230) [ALGB] (3) Real[3] surface1.toConstructionPort.geo.vertex4 (231) [DER-] (1) Real $DER.zone.coolingLoad.I.y (232) [ALGB] (3) Real[3] surface1.toConstructionPort.geo.vertex3 (233) [ALGB] (1) protected Real zone.phfCooling.Q_flow (234) [ALGB] (1) protected Real[1] zone.surfaces.surface.epsilon (235) [ALGB] (1) protected Real zone.radiationDistribution.TSurfMean (min = 0.0) (236) [ALGB] (3) Real[3] surface1.toConstructionPort.geo.vertex2 (237) [ALGB] (1) protected Real[1] zone.airvolume.x (238) [ALGB] (3) Real[3] surface1.toConstructionPort.geo.vertex1 (239) [ALGB] (1) protected Real[1] zone.airpathOut.ports.p (start = {101325.0}, min = {0.0 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e5 for $i1 in 1:1}) (240) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.radiationPort_out.IrrDir (241) [ALGB] (1) protected flow Real zone.phfHeating.port.Q_flow (242) [ALGB] (1) protected Real zone.airvolume.air.dynBal.medium.MM (min = 0.001, max = 0.25, nominal = 0.032) (243) [ALGB] (1) protected Real[1] zone.airvolume.p (min = {0.0 for $i1 in 1:1}) (244) [ALGB] (1) Real surface1.toConstructionPort.geo.zMean (245) [ALGB] (1) protected flow Real[1] zone.surfaces.surface.toConstructionPort.moisturePort.m_flow (246) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.radiationPort_out.IrrDif (247) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.radiationPort_in.IrrDif (248) [ALGB] (3) Real[3] $FUN_49 (249) [ALGB] (3) Real[3] $FUN_48 (250) [ALGB] (3) Real[3] $FUN_47 (251) [ALGB] (2) protected Real[2] zone.airvolume.air.dynBal.ports.p (start = {101325.0 for $ports1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}) (252) [ALGB] (1) Real[1] ambience.radiation.radiationPort.angleDegInc (253) [ALGB] (1) Real surface1.toConstructionPort.geo.angleDegTil (254) [ALGB] (1) Real $FUN_45 (255) [ALGB] (1) Real $FUN_44 (256) [ALGB] (1) protected Real[1] ambience.radiation.cosAngleLat = {cos(ambience.radiation[1].latitudeDeg * 0.017453292519943295)} (257) [ALGB] (1) protected Real[1] zone.airpathIn.Xi_in_internal (258) [ALGB] (1) Real $FUN_43 (259) [ALGB] (1) Real $FUN_42 (260) [ALGB] (1) protected Real zone.airvolume.air.dynBal.medium.R_s (start = 1000.0, min = 0.0, max = 1e7, nominal = 1000.0) (261) [ALGB] (1) Real $FUN_41 (262) [ALGB] (1) Real $FUN_40 (263) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.radiationPort_in.IrrDir (264) [ALGB] (2) protected flow Real[2] zone.airvolume.airpathPorts.m_flow (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}) (265) [DER-] (1) Real $DER.zone.heatingLoad.I.y (266) [ALGB] (1) protected flow Real[1] zone.surfaces.toSurfacesPorts.heatPortSw.Q_flow (267) [ALGB] (1) Real[1] ambience.toAirPorts.vAir (268) [ALGB] (2) protected stream Real[2, 1] zone.airvolume.airpathPorts.Xi_outflow (min = {{0.0 for $i1 in 1:1} for $airpathPorts1 in 1:2}, max = {{1.0 for $i1 in 1:1} for $airpathPorts1 in 1:2}, nominal = {{0.1 for $i1 in 1:1} for $airpathPorts1 in 1:2}) (269) [ALGB] (1) Real ambience.weatherDataReader.weatherData.angleDegWindRef (270) [ALGB] (1) protected Real[1] zone.surfaces.surface.toAirPort.moisturePort.x (start = {0.01 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (271) [ALGB] (1) protected Real[1] zone.airvolume.T (min = {0.0 for $i1 in 1:1}) (272) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.radiationPort_out.angleDegAziSun (273) [ALGB] (2) protected flow Real[2] zone.radiationDistribution.heatSourcesPorts.Q_flow (274) [ALGB] (1) protected Real zone.airvolume.prescribedHeatFlow.Q_flow (275) [ALGB] (1) protected Real zone.airpathOut.p_in_internal (276) [ALGB] (2) protected stream Real[2, 1] zone.airvolume.air.dynBal.ports.Xi_outflow (min = {{0.0 for $i1 in 1:1} for $ports1 in 1:2}, max = {{1.0 for $i1 in 1:1} for $ports1 in 1:2}, nominal = {{0.1 for $i1 in 1:1} for $ports1 in 1:2}) (277) [ALGB] (1) protected Real[1] zone.surfaces.surface.beta (278) [ALGB] (1) Real surface1.toAirPort.moisturePort.x (start = 0.01, min = 0.0, max = 1.0) (279) [ALGB] (1) protected Real zone.coolingLoad.controlError = TSetCooling.k - zone.coolingLoad.addP.u2 (280) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.zMean (281) [ALGB] (1) Real $FUN_38 (282) [ALGB] (1) protected Real zone.heatingLoad.addI.y (283) [ALGB] (1) Real $FUN_35 (284) [ALGB] (1) Real window.radTra1to2.radiationPort_in.angleDegInc (285) [ALGB] (1) Real $FUN_34 (286) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.abs (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (287) [ALGB] (1) Real $FUN_33 (288) [ALGB] (1) Real $FUN_32 (289) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.epsilon (290) [ALGB] (1) Real $FUN_31 (291) [ALGB] (1) protected Real zone.airvolume.air.T = BuildingSystems.Buildings.Constructions.Examples.Window.zone.airvolume.air.Medium.temperature_phX(zone.airvolume.pAir.y, -((-84437.5) - zone.airvolume.air.dynBal.medium.u), {zone.airvolume.air.Xi[1], 1.0 - sum(zone.airvolume.air.Xi)}) (start = 293.15, min = 1.0, max = 1e4, nominal = 300.0) (292) [ALGB] (1) Real ambience.weatherDataReader.weatherData.cloudCover (min = 0.0, max = 8.0) (293) [ALGB] (1) protected Real zone.coolingLoad.addSat.y (294) [ALGB] (1) protected Real zone.airpathIn.m_flow_in (295) [ALGB] (1) Real[1] ambience.radiation.radiationPort.IrrDif (296) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.radiationPort_in.IrrDir (297) [DISC] (1) Boolean $SEV_46 (298) [DISC] (1) Boolean $SEV_45 (299) [DISC] (1) Boolean $SEV_44 (300) [DISC] (1) Boolean $SEV_43 (301) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.epsilon (302) [DISC] (1) Boolean $SEV_42 (303) [ALGB] (1) protected Real[1] ambience.radiation.arg (304) [DISC] (1) Boolean $SEV_41 (305) [DISC] (1) Boolean $SEV_40 (306) [ALGB] (1) Real[1] ambience.radiation.radiationPort.IrrDir (307) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.radiationPort_in.IrrDif (308) [ALGB] (2) protected flow Real[2] zone.airvolume.air.ports.m_flow (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}) (309) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.radiationPort_in.IrrDir (310) [ALGB] (1) protected Real zone.coolingLoad.P.y (311) [ALGB] (3) Real[3] window.toSurfacePort_2.geo.vertex4 = window.position_internal + BuildingSystems.Buildings.Geometries.Functions.rotateVector(BuildingSystems.Buildings.Geometries.Functions.rotateVector({0.5 * window.width, -window.height * 0.5, window.position_internal[3] - window.thickness}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil), {0.0, 0.0, 0.1}, -window.angleDegAzi * 0.017453292519943295) (312) [ALGB] (1) protected stream Real[1] zone.airpathOut.ports.h_outflow (min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (313) [ALGB] (1) Real $FUN_29 (314) [ALGB] (3) Real[3] window.toSurfacePort_2.geo.vertex3 = window.position_internal + BuildingSystems.Buildings.Geometries.Functions.rotateVector(BuildingSystems.Buildings.Geometries.Functions.rotateVector({0.5 * window.width, 0.5 * window.height, window.position_internal[3] - window.thickness}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil), {0.0, 0.0, 0.1}, -window.angleDegAzi * 0.017453292519943295) (315) [ALGB] (1) protected Real zone.airvolume.phi (min = 0.0, max = 1.01) (316) [ALGB] (1) Real $FUN_9 (317) [ALGB] (1) Real surface1.toSurfacesPort.heatPortLw.T (start = 288.15, min = 0.0, nominal = 300.0) (318) [ALGB] (3) Real[3] window.toSurfacePort_2.geo.vertex2 = window.position_internal + BuildingSystems.Buildings.Geometries.Functions.rotateVector(BuildingSystems.Buildings.Geometries.Functions.rotateVector({-window.width * 0.5, 0.5 * window.height, window.position_internal[3] - window.thickness}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil), {0.0, 0.0, 0.1}, -window.angleDegAzi * 0.017453292519943295) (319) [ALGB] (1) Real $FUN_8 (320) [ALGB] (1) Real $FUN_27 (321) [ALGB] (1) Real ambience.weatherDataReader.weatherData.phiAir (min = 0.0, max = 1.01) (322) [ALGB] (3) Real[3] window.toSurfacePort_2.geo.vertex1 = window.position_internal + BuildingSystems.Buildings.Geometries.Functions.rotateVector(BuildingSystems.Buildings.Geometries.Functions.rotateVector({-window.width * 0.5, -window.height * 0.5, window.position_internal[3] - window.thickness}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil), {0.0, 0.0, 0.1}, -window.angleDegAzi * 0.017453292519943295) (323) [ALGB] (1) Real $FUN_7 (324) [ALGB] (1) Real $FUN_26 (325) [ALGB] (1) Real $FUN_6 (326) [ALGB] (1) Real $FUN_25 (327) [ALGB] (1) Real $FUN_5 (328) [ALGB] (1) Real $FUN_4 (329) [ALGB] (1) protected Real[1] zone.airvolume.air.dynBal.XiOut (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (330) [ALGB] (7) Real[7] $FUN_3 (331) [ALGB] (1) Real $FUN_22 (332) [ALGB] (1) Real $FUN_2 (333) [ALGB] (1) Real $FUN_21 (334) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.radiationPort_in.IrrDif (335) [ALGB] (1) Real[1] zone.toConstructionPorts.radiationPort_in.IrrDir (336) [ALGB] (1) Real $FUN_1 (337) [ALGB] (1) Real $FUN_20 (338) [ALGB] (1) Real window.toSurfacePort_1.geo.angleDegAzi = window.angleDegAzi (339) [ALGB] (1) protected Real[1] zone.airvolume.toSurfacePorts.heatPort.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (340) [ALGB] (1) Real[1] ambience.toSurfacePorts.radiationPort_in.angleDegHeightSun (341) [ALGB] (3) Real[1, 3] zone.toConstructionPorts.geo.vertex1 (342) [ALGB] (3) Real[1, 3] zone.toConstructionPorts.geo.vertex2 (343) [ALGB] (3) Real[1, 3] zone.toConstructionPorts.geo.vertex3 (344) [ALGB] (3) Real[1, 3] zone.toConstructionPorts.geo.vertex4 (345) [DISC] (1) Boolean $SEV_39 (346) [DISC] (1) Boolean $SEV_38 (347) [ALGB] (3) Real[3] window.position_internal (348) [DISC] (1) Boolean $SEV_37 (349) [DISC] (1) Boolean $SEV_36 (350) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.radiationPort_in.angleDegInc (351) [ALGB] (1) Real[1] ambience.radiation.IrrTotTil (352) [ALGB] (1) Real[1] zone.toConstructionPorts.radiationPort_in.IrrDif (353) [ALGB] (2) protected Real[2] zone.airvolume.air.dynBal.ports_H_flow (min = {-1e8 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1000.0 for $i1 in 1:2}) (354) [ALGB] (1) Real window.toSurfacePort_1.geo.zMean = window.position_internal[3] + window.height * sin(window.angleDegTil * 0.017453292519943295) (355) [DISC] (1) Boolean $SEV_33 (356) [DISC] (1) Boolean $SEV_31 (357) [ALGB] (1) Real surface1.toAirPort.vAir (358) [ALGB] (2) protected Real[2] zone.airvolume.heatSourcesPorts.T (start = {288.15 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, nominal = {300.0 for $i1 in 1:2}) (359) [DISC] (1) Boolean $SEV_30 (360) [ALGB] (1) Real $FUN_19 (361) [ALGB] (1) protected Real zone.airpathOut.h_internal = BuildingSystems.Buildings.Constructions.Examples.Window.zone.airpathOut.Medium.specificEnthalpy(BuildingSystems.Buildings.Constructions.Examples.Window.zone.airpathOut.Medium.setState_pTX(zone.airpathOut.p_in_internal, zone.airpathOut.T, zone.airpathOut.X_in_internal)) (362) [ALGB] (1) Real $FUN_18 (363) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.abs (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (364) [ALGB] (1) Real $FUN_17 (365) [ALGB] (1) Real $FUN_16 (366) [ALGB] (1) Real window.radTra1to2.radiationPort_in.IrrDif (367) [ALGB] (1) Real $FUN_15 (368) [ALGB] (1) Real $FUN_14 (369) [ALGB] (1) Real $FUN_13 (370) [ALGB] (1) protected Real zone.coolingLoad.addP.y (371) [ALGB] (1) Real $FUN_12 (372) [ALGB] (1) Real $FUN_11 (373) [ALGB] (1) Real $FUN_10 (374) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.geo.zMean (375) [ALGB] (1) protected flow Real[1] zone.surfaces.surface.toAirPort.moisturePort.m_flow (376) [ALGB] (1) Real[1] ambience.toSurfacePorts.A (377) [ALGB] (1) protected flow Real[1] zone.surfaces.toConstructionPorts.heatPort.Q_flow (378) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.radiationPort_out.IrrDif (379) [ALGB] (1) Real window.radTra1to2.radiationPort_in.IrrDir (380) [ALGB] (1) Real[1] zone.toConstructionPorts.radiationPort_out.angleDegAziSun (381) [DISC] (1) Boolean $SEV_29 (382) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.radiationPort_out.angleDegAziSun (383) [ALGB] (1) flow Real surface1.toSurfacesPort.heatPortLw.Q_flow (384) [ALGB] (1) protected Real[1] ambience.radiation.cosAngleTil (385) [ALGB] (1) protected Real[1] zone.airvolume.air.dynBal.medium.Xi (start = zone.airvolume.air.dynBal.X_start[1:1], min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}, nominal = {0.01}, StateSelect = default) (386) [ALGB] (1) protected Real zone.airvolume.air.dynBal.medium.T_degC = Modelica.Units.Conversions.to_degC(-((-273.15) - zone.airvolume.air.dynBal.medium.T_degC)) (387) [DISC] (1) Boolean $SEV_28 (388) [ALGB] (1) flow Real[1] zone.toConstructionPorts.heatPort.Q_flow (389) [DISC] (1) Boolean $SEV_27 (390) [DISC] (1) Boolean $SEV_26 (391) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.radiationPort_out.angleDegInc (392) [DISC] (1) Boolean $SEV_25 (393) [ALGB] (1) Real window.heatTransfer.heatPort_x2.T (start = 288.15, min = 0.0, nominal = 300.0) (394) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.radiationPort_out.IrrDif (395) [ALGB] (1) protected Real zone.heatingLoad.addPID.y (396) [DISC] (1) Boolean $SEV_24 (397) [DISC] (1) Boolean $SEV_23 (398) [ALGB] (1) protected Real window.heatTransfer.kX = window.width * 11.916633309494824 * window.height (399) [DISC] (1) Boolean $SEV_22 (400) [DISC] (1) Boolean $SEV_21 (401) [DISC] (1) Boolean $SEV_20 (402) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.radiationPort_out.IrrDir (403) [ALGB] (1) protected flow Real zone.airvolume.prescribedHeatFlow.port.Q_flow (404) [ALGB] (1) Real zone.xAir (405) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.radiationPort_out.IrrDir (406) [ALGB] (1) protected Real[1] zone.airvolume.toSurfacePorts.moisturePort.x (start = {0.01 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (407) [ALGB] (1) flow Real[1] ambience.toAirPorts.heatPort.Q_flow (408) [ALGB] (1) protected Real zone.airvolume.pAir.y = zone.airvolume.pAir.y (409) [ALGB] (1) protected Real[1] zone.airvolume.air.XiOut_internal (410) [ALGB] (1) Real surface1.toSurfacesPort.angleDegAzi (411) [ALGB] (1) protected Real[1] zone.radiationDistribution.toSurfacePorts.radiationPort_out.angleDegHeightSun (412) [ALGB] (1) Real[1] ambience.toSurfacePorts.heatPortSw.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (413) [ALGB] (1) flow Real surface1.toSurfacesPort.heatPortSw.Q_flow (414) [ALGB] (1) Real window.radTra2to1.radiationPort_out.IrrDir (415) [DISC] (1) Boolean $SEV_16 (416) [ALGB] (1) protected Real[1] zone.surfaces.surface.ASur (417) [DISC] (1) Boolean $SEV_15 (418) [DISC] (1) Boolean $SEV_14 (419) [DISC] (1) Boolean $SEV_13 (420) [DISC] (1) Boolean $SEV_12 (421) [ALGB] (1) protected flow Real[1] zone.surfaces.surface.toAirPort.heatPort.Q_flow (422) [ALGB] (1) Real[1] ambience.radiation.latitudeDeg (423) [DISC] (1) Boolean $SEV_10 (424) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.epsilon = {zone.surfaces.surface[1].epsilon} (425) [ALGB] (1) Real[1] ambience.radiation.radiationPort.angleDegHeightSun (426) [ALGB] (1) protected Real[1] ambience.radiation.sinAngleAzi (427) [ALGB] (1) Real window.radTra2to1.radiationPort_out.IrrDif (428) [ALGB] (1) Real zone.pAirMean (min = 0.0) (429) [ALGB] (1) Real[1] ambience.toSurfacePorts.zMean (430) [ALGB] (1) protected Real[1] zone.surfaces.surface.toSurfacesPort.A (431) [ALGB] (2) protected stream Real[2] zone.airvolume.air.ports.h_outflow (min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2}) (432) [ALGB] (1) protected Real window.heatTransfer.C = window.width * 12000.0 * window.height (433) [ALGB] (1) protected Real zone.coolingLoad.limiter.simplifiedExpr (434) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.moisturePort.x (start = {0.01 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (435) [ALGB] (1) protected Real[1] zone.airpathIn.Xi_in (436) [ALGB] (1) flow Real window.toSurfacePort_2.heatPort.Q_flow (437) [ALGB] (1) Real window.radTra1to2.radiationPort_out.angleDegAziSun (438) [ALGB] (1) protected Real zone.coolingLoad.gainPID.y (439) [ALGB] (1) protected Real zone.radiationDistribution.Q_flow_Sw (440) [ALGB] (1) Real[1] ambience.radiation.longitudeDeg0 (441) [ALGB] (1) Real[1] ambience.toSurfacePorts.radiationPort_in.angleDegAziSun (442) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.A (443) [ALGB] (1) protected Real zone.coolingLoad.gainTrack.y (444) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.moisturePort.x (start = {0.01 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (445) [ALGB] (1) protected flow Real[1] zone.surfaces.surface.toSurfacesPort.heatPortSw.Q_flow (446) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.radiationPort_out.angleDegAziSun (447) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.radiationPort_in.angleDegInc (448) [ALGB] (1) protected Real zone.airvolume.air.dynBal.medium.u (min = -1e8, max = 1e8, nominal = 1e6) (449) [ALGB] (1) protected Real[1] ambience.radiation.angleDec (450) [ALGB] (1) protected Real zone.airvolume.air.dynBal.medium.state.p (start = 101325.0, min = 0.0, max = 1e8, nominal = 1e5) (451) [ALGB] (1) protected Real[1] zone.surfaces.toConstructionPorts.epsilon (452) [ALGB] (1) protected Real[1] zone.surfaces.surface.toConstructionPort.heatPort.T (start = {288.15 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = {300.0 for $i1 in 1:1}) (453) [ALGB] (1) protected Real[1] zone.airvolume.air.Xi = zone.airvolume.air.XiOut_internal (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (454) [ALGB] (1) Real window.radTra1to2.radiationPort_out.angleDegHeightSun (455) [ALGB] (1) protected Real[1] ambience.radiation.angleZen (456) [ALGB] (2) protected Real[2] zone.airpathIn.X_in_internal (457) [ALGB] (1) Real[1] ambience.toSurfacePorts.radiationPort_out.IrrDif (458) [ALGB] (1) protected Real zone.heatingLoad.limiter.simplifiedExpr (459) [ALGB] (1) Real[1] ambience.radiation.IrrDirHor (460) [ALGB] (1) protected Real[1] zone.surfaces.toSurfacesPorts.abs (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (461) [ALGB] (1) protected Real[1, 1] zone.ViewFac_internal (min = {0.0 for $i1 in 1:1, $i2 in 1:1}, max = {1.0 for $i1 in 1:1, $i2 in 1:1}) (462) [ALGB] (1) protected Real zone.airvolume.mWatSum_flow.y = (0.5 - 0.5 * tanh(100.0 * (zone.airvolume.phi - 1.0))) * sum({}) + sum(zone.airvolume.toSurfacePorts.moisturePort.m_flow) + zone.airvolume.mH2OLiq * BuildingSystems.Utilities.SmoothFunctions.softcut(1.0 - zone.airvolume.phi, 0.0, 1.0, 0.001) (463) [ALGB] (1) protected Real zone.airpathIn.p_in_internal (464) [ALGB] (1) protected Real zone.airvolume.air.XLiq.y = zone.airvolume.air.s * zone.airvolume.air.Xi System Equations (475/580) **************************** (1) [SCAL] (1) zone.airvolume.heatSourcesPorts[2].T = zone.relRadConCooling.heatPortCv.T ($RES_SIM_429) (2) [SCAL] (1) window.radTra1to2.tauBeam = window.radTra1to2.tauDir0 * (if $SEV_40 then 0.0 else if $SEV_41 then 1.0 - ((-1.0) + 1/(if $SEV_42 then 0.0 else if $SEV_43 then $FUN_1 else 0.001 - sqrt(1e-6 - ($FUN_1 - 0.001 + 0.0014142135623730952) ^ 2.0))) * window.radTra1to2.b0 else 0.001 - sqrt(1e-6 - (1.0 - window.radTra1to2.b0 * ((-1.0) + 1/(if $SEV_42 then 0.0 else if $SEV_43 then $FUN_1 else 0.001 - sqrt(1e-6 - ($FUN_1 - 0.001 + 0.0014142135623730952) ^ 2.0))) - 0.001 + 0.0014142135623730952) ^ 2.0)) ($RES_SIM_254) (3) [SCAL] (1) window.heatTransfer.C * $DER.window.heatTransfer.heatPort_source.T = window.toSurfacePort_2.heatPort.Q_flow - surface1.toConstructionPort.heatPort.Q_flow ($RES_SIM_255) (4) [SCAL] (1) window.toSurfacePort_2.heatPort.Q_flow = window.heatTransfer.kX * (window.heatTransfer.heatPort_x2.T - window.heatTransfer.heatPort_source.T) ($RES_SIM_257) (5) [SCAL] (1) -surface1.toConstructionPort.heatPort.Q_flow = window.heatTransfer.kX * (surface1.toSurfacesPort.heatPortLw.T - window.heatTransfer.heatPort_source.T) ($RES_SIM_258) (6) [SCAL] (1) zone.relRadConCooling.heatPortLw.Q_flow + zone.radiationDistribution.heatSourcesPorts[2].Q_flow = 0.0 ($RES_SIM_259) (7) [SCAL] (1) zone.surfaces.surface[1].toAirPort.moisturePort.m_flow - zone.surfaces.toAirPorts[1].moisturePort.m_flow = 0.0 ($RES_SIM_511) (8) [SCAL] (1) zone.surfaces.surface[1].toAirPort.moisturePort.x = zone.surfaces.toAirPorts[1].moisturePort.x ($RES_SIM_512) (9) [SCAL] (1) zone.surfaces.surface[1].toAirPort.heatPort.Q_flow - zone.surfaces.toAirPorts[1].heatPort.Q_flow = 0.0 ($RES_SIM_513) (10) [SCAL] (1) zone.surfaces.surface[1].toAirPort.heatPort.T = zone.surfaces.toAirPorts[1].heatPort.T ($RES_SIM_514) (11) [SCAL] (1) $SEV_29 = ambience.weatherDataReader.weatherData.datRea.y[2] * ambience.weatherDataReader.weatherData.scaleFac[2] < (-0.02) ($RES_EVT_810) (12) [ARRY] (3) window.toSurfacePort_1.geo.vertex2 = window.position_internal + $FUN_59 ($RES_BND_640) (13) [SCAL] (1) $SEV_30 = (ambience.weatherDataReader.weatherData.datRea.y[1] - ambience.weatherDataReader.weatherData.datRea.y[2]) * ambience.weatherDataReader.weatherData.scaleFac[1] > 0.02 ($RES_EVT_811) (14) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.zMean = zone.surfaces.toSurfacesPorts[1].zMean ($RES_SIM_516) (15) [ARRY] (3) window.toSurfacePort_1.geo.vertex1 = window.position_internal + $FUN_57 ($RES_BND_641) (16) [SCAL] (1) $SEV_31 = (ambience.weatherDataReader.weatherData.datRea.y[1] - ambience.weatherDataReader.weatherData.datRea.y[2]) * ambience.weatherDataReader.weatherData.scaleFac[1] < (-0.02) ($RES_EVT_812) (17) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.radiationPort_out.angleDegInc = zone.surfaces.toSurfacesPorts[1].radiationPort_out.angleDegInc ($RES_SIM_517) (18) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.radiationPort_out.angleDegHeightSun = zone.surfaces.toSurfacesPorts[1].radiationPort_out.angleDegHeightSun ($RES_SIM_518) (19) [SCAL] (1) $SEV_33 = ambience.weatherDataReader.weatherData.conTim.canRepeatWeatherFile and time > $PRE.ambience.weatherDataReader.weatherData.conTim.tNext ($RES_EVT_814) (20) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.radiationPort_out.angleDegAziSun = zone.surfaces.toSurfacesPorts[1].radiationPort_out.angleDegAziSun ($RES_SIM_519) (21) [SCAL] (1) surface1.toConstructionPort.geo.angleDegTil = window.toSurfacePort_1.geo.angleDegTil ($RES_SIM_345) (22) [SCAL] (1) ambience.radiation[1].radiationPort.IrrDir = ambience.radiation[1].cosAngleInc * ambience.radiation[1].IrrDirNor ($RES_SIM_170) (23) [SCAL] (1) surface1.toConstructionPort.geo.angleDegAzi = window.toSurfacePort_1.geo.angleDegAzi ($RES_SIM_346) (24) [SCAL] (1) ambience.radiation[1].IrrDirNor = $FUN_22 ($RES_SIM_171) (25) [SCAL] (1) $SEV_36 = 1.0 - ((-1.0) + 1/(if $FUN_2 <= (-4.142135623730952e-4) then 0.0 else if $FUN_2 >= 2.928932188134525e-4 then $FUN_2 else 0.001 - sqrt(1e-6 - ($FUN_2 - 0.001 + 0.0014142135623730952) ^ 2.0))) * window.radTra2to1.b0 <= (-4.142135623730952e-4) ($RES_EVT_817) (26) [SCAL] (1) surface1.toConstructionPort.geo.zMean = window.toSurfacePort_1.geo.zMean ($RES_SIM_347) (27) [SCAL] (1) ambience.radiation[1].IrrTotTil = ambience.radiation[1].radiationPort.IrrDif + ambience.radiation[1].radiationPort.IrrDir ($RES_SIM_172) (28) [SCAL] (1) window.toSurfacePort_2.geo.zMean = window.position_internal[3] + window.height * $FUN_55 ($RES_BND_647) (29) [SCAL] (1) $SEV_37 = 1.0 - ((-1.0) + 1/(if $FUN_2 <= (-4.142135623730952e-4) then 0.0 else if $FUN_2 >= 2.928932188134525e-4 then $FUN_2 else 0.001 - sqrt(1e-6 - ($FUN_2 - 0.001 + 0.0014142135623730952) ^ 2.0))) * window.radTra2to1.b0 >= 2.928932188134525e-4 ($RES_EVT_818) (30) [SCAL] (1) ambience.radiation[1].IrrTotHor = ambience.radiation[1].IrrDirHor + ambience.radiation[1].IrrDifHor ($RES_SIM_173) (31) [SCAL] (1) $SEV_38 = $FUN_2 <= (-4.142135623730952e-4) ($RES_EVT_819) (32) [SCAL] (1) ambience.radiation[1].cosAngleTil = $FUN_20 ($RES_SIM_174) (33) [SCAL] (1) ambience.radiation[1].sinAngleTil = $FUN_19 ($RES_SIM_175) (34) [SCAL] (1) ambience.radiation[1].cosAngleAzi = $FUN_18 ($RES_SIM_176) (35) [SCAL] (1) ambience.radiation[1].sinAngleAzi = $FUN_17 ($RES_SIM_177) (36) [SCAL] (1) ambience.radiation[1].radiationPort.angleDegHeightSun = 90.0 - 57.29577951308232 * ambience.radiation[1].angleZen ($RES_SIM_178) (37) [SCAL] (1) zone.airvolume.heatSourcesPorts[1].T = zone.relRadConHeating.heatPortCv.T ($RES_SIM_430) (38) [SCAL] (1) ambience.radiation[1].radiationPort.angleDegInc = 57.29577951308232 * $FUN_16 ($RES_SIM_179) (39) [SCAL] (1) zone.surfaces.toAirPorts[1].moisturePort.m_flow + zone.airvolume.toSurfacePorts[1].moisturePort.m_flow = 0.0 ($RES_SIM_432) (40) [SCAL] (1) zone.surfaces.toAirPorts[1].moisturePort.x = zone.airvolume.toSurfacePorts[1].moisturePort.x ($RES_SIM_433) (41) [SCAL] (1) zone.surfaces.toAirPorts[1].heatPort.Q_flow + zone.airvolume.toSurfacePorts[1].heatPort.Q_flow = 0.0 ($RES_SIM_434) (42) [SCAL] (1) zone.surfaces.toAirPorts[1].heatPort.T = zone.airvolume.toSurfacePorts[1].heatPort.T ($RES_SIM_435) (43) [SCAL] (1) zone.relRadConHeating.heatPortLw.Q_flow + zone.radiationDistribution.heatSourcesPorts[1].Q_flow = 0.0 ($RES_SIM_260) (44) [SCAL] (1) zone.airvolume.prescribedHeatFlow.port.Q_flow + zone.airvolume.air.heatPort.Q_flow = 0.0 ($RES_SIM_261) (45) [SCAL] (1) zone.relRadConCooling.heatPortCv.Q_flow + zone.airvolume.heatSourcesPorts[2].Q_flow = 0.0 ($RES_SIM_264) (46) [SCAL] (1) zone.relRadConHeating.heatPortCv.Q_flow + zone.airvolume.heatSourcesPorts[1].Q_flow = 0.0 ($RES_SIM_265) (47) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.radiationPort_out.IrrDir = zone.surfaces.toSurfacesPorts[1].radiationPort_out.IrrDir ($RES_SIM_520) (48) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.radiationPort_out.IrrDif = zone.surfaces.toSurfacesPorts[1].radiationPort_out.IrrDif ($RES_SIM_521) (49) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.radiationPort_in.angleDegInc = zone.surfaces.toSurfacesPorts[1].radiationPort_in.angleDegInc ($RES_SIM_522) (50) [SCAL] (1) $SEV_39 = $FUN_2 >= 2.928932188134525e-4 ($RES_EVT_820) (51) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.radiationPort_in.IrrDir = zone.surfaces.toSurfacesPorts[1].radiationPort_in.IrrDir ($RES_SIM_525) (52) [ARRY] (3) surface1.toConstructionPort.geo.vertex4 = window.toSurfacePort_1.geo.vertex4 ($RES_SIM_350) (53) [ARRY] (3) window.toSurfacePort_2.geo.vertex4 = window.position_internal + $FUN_54 ($RES_BND_650) (54) [SCAL] (1) $SEV_40 = 1.0 - ((-1.0) + 1/(if $FUN_1 <= (-4.142135623730952e-4) then 0.0 else if $FUN_1 >= 2.928932188134525e-4 then $FUN_1 else 0.001 - sqrt(1e-6 - ($FUN_1 - 0.001 + 0.0014142135623730952) ^ 2.0))) * window.radTra1to2.b0 <= (-4.142135623730952e-4) ($RES_EVT_821) (55) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.radiationPort_in.IrrDif = zone.surfaces.toSurfacesPorts[1].radiationPort_in.IrrDif ($RES_SIM_526) (56) [ARRY] (3) surface1.toConstructionPort.geo.vertex3 = window.toSurfacePort_1.geo.vertex3 ($RES_SIM_351) (57) [ARRY] (3) window.toSurfacePort_2.geo.vertex3 = window.position_internal + $FUN_52 ($RES_BND_651) (58) [SCAL] (1) $SEV_41 = 1.0 - ((-1.0) + 1/(if $FUN_1 <= (-4.142135623730952e-4) then 0.0 else if $FUN_1 >= 2.928932188134525e-4 then $FUN_1 else 0.001 - sqrt(1e-6 - ($FUN_1 - 0.001 + 0.0014142135623730952) ^ 2.0))) * window.radTra1to2.b0 >= 2.928932188134525e-4 ($RES_EVT_822) (59) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.heatPortSw.Q_flow - zone.surfaces.toSurfacesPorts[1].heatPortSw.Q_flow = 0.0 ($RES_SIM_527) (60) [ARRY] (3) surface1.toConstructionPort.geo.vertex2 = window.toSurfacePort_1.geo.vertex2 ($RES_SIM_352) (61) [ARRY] (3) window.toSurfacePort_2.geo.vertex2 = window.position_internal + $FUN_50 ($RES_BND_652) (62) [SCAL] (1) $SEV_42 = $FUN_1 <= (-4.142135623730952e-4) ($RES_EVT_823) (63) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.heatPortSw.T = zone.surfaces.toSurfacesPorts[1].heatPortSw.T ($RES_SIM_528) (64) [ARRY] (3) surface1.toConstructionPort.geo.vertex1 = window.toSurfacePort_1.geo.vertex1 ($RES_SIM_353) (65) [ARRY] (3) window.toSurfacePort_2.geo.vertex1 = window.position_internal + $FUN_48 ($RES_BND_653) (66) [SCAL] (1) $SEV_43 = $FUN_1 >= 2.928932188134525e-4 ($RES_EVT_824) (67) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.heatPortLw.Q_flow - zone.surfaces.toSurfacesPorts[1].heatPortLw.Q_flow = 0.0 ($RES_SIM_529) (68) [SCAL] (1) $SEV_44 = (-0.010000000000047748) + ambience.weatherDataReader.weatherData.tAirRef > 1.0 ($RES_EVT_825) (69) [SCAL] (1) ambience.radiation[1].cosAngleInc = $FUN_15 ($RES_SIM_180) (70) [SCAL] (1) $SEV_45 = (-0.010000000000047748) + ambience.weatherDataReader.weatherData.tAirRef < (-1.0) ($RES_EVT_826) (71) [SCAL] (1) ambience.radiation[1].angleZen = $FUN_13 ($RES_SIM_181) (72) [SCAL] (1) $SEV_46 = 0.017453292519943295 * ambience.radiation[1].latitudeDeg < 1.1617 and 0.017453292519943295 * ambience.radiation[1].latitudeDeg > (-1.1617) ($RES_EVT_827) (73) [SCAL] (1) ambience.radiation[1].cosAngleZen = $FUN_11 * ambience.radiation[1].cosAngleLat * $FUN_12 + ambience.radiation[1].sinAngleLat * $FUN_4 ($RES_SIM_182) (74) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].zMean = zone.radiationDistribution.toSurfacePorts[1].zMean ($RES_SIM_358) (75) [SCAL] (1) ambience.radiation[1].angleHr = 0.2617993877991494 * ((-12.0) + ambience.radiation[1].timeSun) ($RES_SIM_183) (76) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].radiationPort_out.angleDegInc = zone.radiationDistribution.toSurfacePorts[1].radiationPort_out.angleDegInc ($RES_SIM_359) (77) [SCAL] (1) ambience.radiation[1].timeSun = $FUN_10 ($RES_SIM_184) (78) [SCAL] (1) ambience.radiation[1].angleDec = 0.4092797095926703 * $FUN_9 ($RES_SIM_185) (79) [SCAL] (1) ambience.radiation[1].Z = -(7.66 * $FUN_7 + 9.87 * $FUN_8) ($RES_SIM_186) (80) [SCAL] (1) ambience.radiation[1].x = (-2.72) + 0.9856 * ambience.radiation[1].dayOfYear ($RES_SIM_187) (81) [SCAL] (1) ambience.radiation[1].dayOfYear = 0.5 + 1.1574074074074073e-5 * time ($RES_SIM_188) (82) [-IF-] (1)if ambience.radiation[1].outsidePolarCircle then (82) [----] [-IF-] (1)if noEvent($SEV_21) then (82) [----] [----] [SCAL] (1) ambience.radiation[1].radiationPort.angleDegAziSun = -ambience.radiation[1].solAziTem ($RES_SIM_191) (82) [----] [----] else (82) [----] [----] [SCAL] (1) ambience.radiation[1].radiationPort.angleDegAziSun = ambience.radiation[1].solAziTem ($RES_SIM_192) (82) [----] [----] end if; (82) [----] else (82) [----] [-IF-] (1)if $SEV_21 then (82) [----] [----] [SCAL] (1) ambience.radiation[1].radiationPort.angleDegAziSun = -ambience.radiation[1].solAziTem ($RES_SIM_194) (82) [----] [----] else (82) [----] [----] [SCAL] (1) ambience.radiation[1].radiationPort.angleDegAziSun = ambience.radiation[1].solAziTem ($RES_SIM_195) (82) [----] [----] end if; (82) [----] end if; (83) [SCAL] (1) zone.toConstructionPorts[1].moisturePort.m_flow - window.moistBcPort2.m_flow_constant = 0.0 ($RES_SIM_275) (84) [SCAL] (1) window.toSurfacePort_2.heatPort.Q_flow + zone.toConstructionPorts[1].heatPort.Q_flow = 0.0 ($RES_SIM_276) (85) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.heatPortLw.T = zone.surfaces.toSurfacesPorts[1].heatPortLw.T ($RES_SIM_530) (86) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.epsilon = zone.surfaces.toSurfacesPorts[1].epsilon ($RES_SIM_531) (87) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.abs = zone.surfaces.toSurfacesPorts[1].abs ($RES_SIM_534) (88) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].radiationPort_out.angleDegHeightSun = zone.radiationDistribution.toSurfacePorts[1].radiationPort_out.angleDegHeightSun ($RES_SIM_360) (89) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.A = zone.surfaces.toSurfacesPorts[1].A ($RES_SIM_535) (90) [SCAL] (1) window.heatTransfer.C = 12000.0 * window.width * window.height ($RES_BND_660) (91) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].radiationPort_out.angleDegAziSun = zone.radiationDistribution.toSurfacePorts[1].radiationPort_out.angleDegAziSun ($RES_SIM_361) (92) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_out.angleDegInc = zone.surfaces.toConstructionPorts[1].radiationPort_out.angleDegInc ($RES_SIM_536) (93) [SCAL] (1) window.heatTransfer.kX = 11.916633309494824 * window.width * window.height ($RES_BND_661) (94) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_out.angleDegHeightSun = zone.surfaces.toConstructionPorts[1].radiationPort_out.angleDegHeightSun ($RES_SIM_537) (95) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].radiationPort_out.IrrDir = zone.radiationDistribution.toSurfacePorts[1].radiationPort_out.IrrDir ($RES_SIM_362) (96) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_out.angleDegAziSun = zone.surfaces.toConstructionPorts[1].radiationPort_out.angleDegAziSun ($RES_SIM_538) (97) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].radiationPort_out.IrrDif = zone.radiationDistribution.toSurfacePorts[1].radiationPort_out.IrrDif ($RES_SIM_363) (98) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_out.IrrDir = zone.surfaces.toConstructionPorts[1].radiationPort_out.IrrDir ($RES_SIM_539) (99) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].radiationPort_in.angleDegInc = zone.radiationDistribution.toSurfacePorts[1].radiationPort_in.angleDegInc ($RES_SIM_364) (100) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].radiationPort_in.IrrDir = zone.radiationDistribution.toSurfacePorts[1].radiationPort_in.IrrDir ($RES_SIM_367) (101) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].radiationPort_in.IrrDif = zone.radiationDistribution.toSurfacePorts[1].radiationPort_in.IrrDif ($RES_SIM_368) (102) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].heatPortSw.Q_flow + zone.radiationDistribution.toSurfacePorts[1].heatPortSw.Q_flow = 0.0 ($RES_SIM_369) (103) [SCAL] (1) ambience.radiation[1].solAziTem = 57.29577951308232 * $FUN_6 ($RES_SIM_196) (104) [SCAL] (1) ambience.radiation[1].arg = min(1.0, max(-1.0, ambience.radiation[1].tmp)) ($RES_SIM_197) (105) [SCAL] (1) ambience.radiation[1].tmp = (ambience.radiation[1].sinAngleLat * ambience.radiation[1].cosAngleZen - $FUN_4) / ($FUN_5 * ambience.radiation[1].cosAngleLat) ($RES_SIM_198) (106) [SCAL] (1) ambience.radiation[1].IrrTotTil = 0.5 * (1.0 + ambience.radiation[1].cosAngleTil) * ambience.radiation[1].IrrDifHor + ambience.radiation[1].radiationPort.IrrDir + 0.5 * ambience.radiation[1].rhoAmb * (1.0 - ambience.radiation[1].cosAngleTil) * ambience.radiation[1].IrrTotHor ($RES_SIM_199) (107) [SCAL] (1) window.radTra1to2.radiationPort_in.angleDegInc = zone.toConstructionPorts[1].radiationPort_out.angleDegInc ($RES_SIM_281) (108) [SCAL] (1) window.radTra1to2.radiationPort_out.angleDegHeightSun = zone.toConstructionPorts[1].radiationPort_out.angleDegHeightSun ($RES_SIM_282) (109) [SCAL] (1) window.radTra1to2.radiationPort_out.angleDegAziSun = zone.toConstructionPorts[1].radiationPort_out.angleDegAziSun ($RES_SIM_283) (110) [SCAL] (1) window.radTra1to2.radiationPort_out.IrrDir = zone.toConstructionPorts[1].radiationPort_out.IrrDir ($RES_SIM_284) (111) [SCAL] (1) window.radTra1to2.radiationPort_out.IrrDif = zone.toConstructionPorts[1].radiationPort_out.IrrDif ($RES_SIM_285) (112) [SCAL] (1) window.radTra2to1.radiationPort_in.angleDegInc = zone.toConstructionPorts[1].radiationPort_in.angleDegInc ($RES_SIM_286) (113) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_out.IrrDif = zone.surfaces.toConstructionPorts[1].radiationPort_out.IrrDif ($RES_SIM_540) (114) [SCAL] (1) window.radTra2to1.radiationPort_in.IrrDir = zone.toConstructionPorts[1].radiationPort_in.IrrDir ($RES_SIM_289) (115) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_in.angleDegInc = zone.surfaces.toConstructionPorts[1].radiationPort_in.angleDegInc ($RES_SIM_541) (116) [SCAL] (1) control.y = control.offset + (if $SEV_1 then 0.0 else if $SEV_2 then ((time - control.T_start) * control.amplitude) / control.rising else if $SEV_3 then control.amplitude else if $SEV_4 then (((control.T_falling + control.T_start) - time) * control.amplitude) / control.falling else 0.0) ($RES_SIM_9) (117) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_in.IrrDir = zone.surfaces.toConstructionPorts[1].radiationPort_in.IrrDir ($RES_SIM_544) (118) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_in.IrrDif = zone.surfaces.toConstructionPorts[1].radiationPort_in.IrrDif ($RES_SIM_545) (119) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].heatPortSw.T = zone.radiationDistribution.toSurfacePorts[1].heatPortSw.T ($RES_SIM_370) (120) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.moisturePort.m_flow - zone.surfaces.toConstructionPorts[1].moisturePort.m_flow = 0.0 ($RES_SIM_546) (121) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].heatPortLw.Q_flow + zone.radiationDistribution.toSurfacePorts[1].heatPortLw.Q_flow = 0.0 ($RES_SIM_371) (122) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.moisturePort.x = zone.surfaces.toConstructionPorts[1].moisturePort.x ($RES_SIM_547) (123) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].heatPortLw.T = zone.radiationDistribution.toSurfacePorts[1].heatPortLw.T ($RES_SIM_372) (124) [SCAL] (1) ambience.weatherDataReader.xAir = (0.621964713077499 * ambience.weatherDataReader.weatherData.phiAir) / ((1e5 / smooth(1, if $SEV_44 then 611.657 * exp(17.2799 - 4102.99 / (237.43099999999998 + ambience.weatherDataReader.weatherData.tAirRef)) else if $SEV_45 then BuildingSystems.Utilities.Psychrometrics.Functions.sublimationPressureIce(273.15 + ambience.weatherDataReader.weatherData.tAirRef) else 0.25 * (BuildingSystems.Utilities.Psychrometrics.Functions.sublimationPressureIce(273.15 + ambience.weatherDataReader.weatherData.tAirRef) - 611.657 * exp(17.2799 - 4102.99 / (237.43099999999998 + ambience.weatherDataReader.weatherData.tAirRef))) * ((-3.0) + ((-0.010000000000047748) + ambience.weatherDataReader.weatherData.tAirRef) ^ 2.0) * ((-0.010000000000047748) + ambience.weatherDataReader.weatherData.tAirRef) + 0.5 * (611.657 * exp(17.2799 - 4102.99 / (237.43099999999998 + ambience.weatherDataReader.weatherData.tAirRef)) + BuildingSystems.Utilities.Psychrometrics.Functions.sublimationPressureIce(273.15 + ambience.weatherDataReader.weatherData.tAirRef))) + 0.621964713077499 * ambience.weatherDataReader.weatherData.phiAir) - ambience.weatherDataReader.weatherData.phiAir) ($RES_BND_672) (125) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.heatPort.Q_flow - zone.surfaces.toConstructionPorts[1].heatPort.Q_flow = 0.0 ($RES_SIM_548) (126) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].epsilon = zone.radiationDistribution.toSurfacePorts[1].epsilon ($RES_SIM_373) (127) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.heatPort.T = zone.surfaces.toConstructionPorts[1].heatPort.T ($RES_SIM_549) (128) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].abs = zone.radiationDistribution.toSurfacePorts[1].abs ($RES_SIM_376) (129) [SCAL] (1) zone.surfaces.toSurfacesPorts[1].A = zone.radiationDistribution.toSurfacePorts[1].A ($RES_SIM_377) (130) [SCAL] (1) zone.surfaces.toConstructionPorts[1].radiationPort_out.angleDegInc = zone.toConstructionPorts[1].radiationPort_out.angleDegInc ($RES_SIM_378) (131) [SCAL] (1) zone.surfaces.toConstructionPorts[1].radiationPort_out.angleDegHeightSun = zone.toConstructionPorts[1].radiationPort_out.angleDegHeightSun ($RES_SIM_379) (132) [SCAL] (1) ambience.weatherDataReader.pGround = ambience.weatherDataReader.pAirRef * ((ambience.weatherDataReader.gamma * ambience.weatherDataReader.zRefTAir + (273.15 + ambience.weatherDataReader.weatherData.tAirRef)) / (273.15 + ambience.weatherDataReader.weatherData.tAirRef)) ^ (0.03405086805555555 / ambience.weatherDataReader.gamma) ($RES_BND_679) (133) [SCAL] (1) window.radTra2to1.radiationPort_in.IrrDif = zone.toConstructionPorts[1].radiationPort_in.IrrDif ($RES_SIM_290) (134) [SCAL] (1) window.moistBcPort2.moisturePort.x = zone.toConstructionPorts[1].moisturePort.x ($RES_SIM_291) (135) [SCAL] (1) window.heatTransfer.heatPort_x2.T = zone.toConstructionPorts[1].heatPort.T ($RES_SIM_292) (136) [SCAL] (1) window.toSurfacePort_2.geo.zMean = zone.toConstructionPorts[1].geo.zMean ($RES_SIM_295) (137) [ARRY] (3) window.toSurfacePort_2.geo.vertex4 = zone.toConstructionPorts[1].geo.vertex4 ($RES_SIM_298) (138) [ARRY] (3) window.toSurfacePort_2.geo.vertex3 = zone.toConstructionPorts[1].geo.vertex3 ($RES_SIM_299) (139) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.geo.zMean = zone.surfaces.toConstructionPorts[1].geo.zMean ($RES_SIM_552) (140) [ARRY] (3) zone.surfaces.surface[1].toConstructionPort.geo.vertex4 = zone.surfaces.toConstructionPorts[1].geo.vertex4 ($RES_SIM_555) (141) [SCAL] (1) zone.surfaces.toConstructionPorts[1].radiationPort_out.angleDegAziSun = zone.toConstructionPorts[1].radiationPort_out.angleDegAziSun ($RES_SIM_380) (142) [ARRY] (1) ambience.radiation.outsidePolarCircle = {$SEV_46} ($RES_BND_680) (143) [ARRY] (3) zone.surfaces.surface[1].toConstructionPort.geo.vertex3 = zone.surfaces.toConstructionPorts[1].geo.vertex3 ($RES_SIM_556) (144) [SCAL] (1) zone.surfaces.toConstructionPorts[1].radiationPort_out.IrrDir = zone.toConstructionPorts[1].radiationPort_out.IrrDir ($RES_SIM_381) (145) [ARRY] (1) ambience.radiation.cosAngleLat = {$FUN_45} ($RES_BND_681) (146) [ARRY] (3) zone.surfaces.surface[1].toConstructionPort.geo.vertex2 = zone.surfaces.toConstructionPorts[1].geo.vertex2 ($RES_SIM_557) (147) [SCAL] (1) zone.surfaces.toConstructionPorts[1].radiationPort_out.IrrDif = zone.toConstructionPorts[1].radiationPort_out.IrrDif ($RES_SIM_382) (148) [ARRY] (1) ambience.radiation.sinAngleLat = {$FUN_44} ($RES_BND_682) (149) [ARRY] (3) zone.surfaces.surface[1].toConstructionPort.geo.vertex1 = zone.surfaces.toConstructionPorts[1].geo.vertex1 ($RES_SIM_558) (150) [SCAL] (1) zone.surfaces.toConstructionPorts[1].radiationPort_in.angleDegInc = zone.toConstructionPorts[1].radiationPort_in.angleDegInc ($RES_SIM_383) (151) [ARRY] (1) ambience.radiation.angleDegTil = {ambience.toSurfacePorts[1].angleDegTil} ($RES_BND_683) (152) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.epsilon = zone.surfaces.toConstructionPorts[1].epsilon ($RES_SIM_559) (153) [ARRY] (1) ambience.radiation.angleDegAzi = {ambience.toSurfacePorts[1].angleDegAzi} ($RES_BND_684) (154) [SCAL] (1) ambience.angleDegAziSun = ambience.radiation[1].radiationPort.angleDegAziSun ($RES_BND_685) (155) [SCAL] (1) zone.surfaces.toConstructionPorts[1].radiationPort_in.IrrDir = zone.toConstructionPorts[1].radiationPort_in.IrrDir ($RES_SIM_386) (156) [SCAL] (1) ambience.angleDegHeightSun = ambience.radiation[1].radiationPort.angleDegHeightSun ($RES_BND_686) (157) [SCAL] (1) zone.surfaces.toConstructionPorts[1].radiationPort_in.IrrDif = zone.toConstructionPorts[1].radiationPort_in.IrrDif ($RES_SIM_387) (158) [ARRY] (1) zone.surfaces.surface.toSurfacesPort.abs = {zone.surfaces.surface[1].abs} ($RES_BND_687) (159) [SCAL] (1) zone.surfaces.toConstructionPorts[1].moisturePort.m_flow - zone.toConstructionPorts[1].moisturePort.m_flow = 0.0 ($RES_SIM_388) (160) [ARRY] (1) zone.surfaces.surface.toSurfacesPort.epsilon = {zone.surfaces.surface[1].epsilon} ($RES_BND_688) (161) [SCAL] (1) zone.surfaces.toConstructionPorts[1].moisturePort.x = zone.toConstructionPorts[1].moisturePort.x ($RES_SIM_389) (162) [WHEN] (1)when $SEV_5 then (162) [----] control.T_start := time (162) [----] end when; (163) [WHEN] (1)when $SEV_5 then (163) [----] control.count := $PRE.control.count + 1 (163) [----] end when; (164) [ARRY] (1) zone.radiationDistribution.F = zone.ViewFac_internal ($RES_SIM_16) (165) [SCAL] (1) zone.airvolume.pAir.y = zone.airvolume.p[1] ($RES_SIM_473) (166) [SCAL] (1) zone.ViewFac_internal[1, 1] = zone.surfaces.toSurfacesPorts[1].A / zone.surfaces.toSurfacesPorts[1].A ($RES_SIM_17) (167) [SCAL] (1) zone.coolingLoad.limiter.simplifiedExpr = zone.coolingLoad.addFF.k1 * zone.coolingLoad.gainPID.y + zone.coolingLoad.addFF.k2 * zone.coolingLoad.FFzero.k ($RES_SIM_18) (168) [SCAL] (1) zone.airvolume.air.ports[2].h_outflow = zone.airvolume.airpathPorts[2].h_outflow ($RES_SIM_478) (169) [SCAL] (1) zone.airvolume.air.ports[1].h_outflow = zone.airvolume.airpathPorts[1].h_outflow ($RES_SIM_479) (170) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.abs = zone.surfaces.toConstructionPorts[1].abs ($RES_SIM_560) (171) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.A = zone.surfaces.toConstructionPorts[1].A ($RES_SIM_561) (172) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_in.angleDegInc = zone.surfaces.surface[1].toSurfacesPort.radiationPort_in.angleDegInc ($RES_SIM_562) (173) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_in.IrrDir = zone.surfaces.surface[1].toSurfacesPort.radiationPort_in.IrrDir ($RES_SIM_565) (174) [SCAL] (1) zone.surfaces.toConstructionPorts[1].heatPort.Q_flow - zone.toConstructionPorts[1].heatPort.Q_flow = 0.0 ($RES_SIM_390) (175) [SCAL] (1) zone.TOperative = 0.5 * (zone.radiationDistribution.TSurfMean + zone.airvolume.T[1]) ($RES_BND_690) (176) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_in.IrrDif = zone.surfaces.surface[1].toSurfacesPort.radiationPort_in.IrrDif ($RES_SIM_566) (177) [SCAL] (1) zone.surfaces.toConstructionPorts[1].heatPort.T = zone.toConstructionPorts[1].heatPort.T ($RES_SIM_391) (178) [SCAL] (1) zone.airpathIn.h_internal = 1006.0 * ((-273.15) + (273.15 + ambience.weatherDataReader.weatherData.tAirRef)) * (1.0 - zone.airpathIn.X_in_internal[1]) + (2.5010145e6 + 1860.0 * ((-273.15) + (273.15 + ambience.weatherDataReader.weatherData.tAirRef))) * zone.airpathIn.X_in_internal[1] ($RES_BND_691) (179) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_out.angleDegInc = zone.surfaces.surface[1].toSurfacesPort.radiationPort_out.angleDegInc ($RES_SIM_567) (180) [SCAL] (1) zone.airpathOut.h_internal = 1006.0 * ((-273.15) + zone.airpathOut.T) * (1.0 - zone.airpathOut.X_in_internal[1]) + (2.5010145e6 + 1860.0 * ((-273.15) + zone.airpathOut.T)) * zone.airpathOut.X_in_internal[1] ($RES_BND_692) (181) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_out.angleDegHeightSun = zone.surfaces.surface[1].toSurfacesPort.radiationPort_out.angleDegHeightSun ($RES_SIM_568) (182) [SCAL] (1) zone.airvolume.air.T = 273.15 + (-(2.5010145e6 * zone.airvolume.air.Xi[1] + ((-84437.5) - zone.airvolume.air.dynBal.medium.u))) / (1006.0 * (1.0 - zone.airvolume.air.Xi[1]) + 1860.0 * zone.airvolume.air.Xi[1]) ($RES_BND_693) (183) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_out.angleDegAziSun = zone.surfaces.surface[1].toSurfacesPort.radiationPort_out.angleDegAziSun ($RES_SIM_569) (184) [SCAL] (1) zone.surfaces.toConstructionPorts[1].geo.zMean = zone.toConstructionPorts[1].geo.zMean ($RES_SIM_394) (185) [SCAL] (1) zone.airvolume.pAir.y = zone.airvolume.air.ports[1].p ($RES_BND_694) (186) [ARRY] (1) zone.airvolume.air.Xi = zone.airvolume.air.XiOut_internal ($RES_BND_695) (187) [ARRY] (3) zone.surfaces.toConstructionPorts[1].geo.vertex4 = zone.toConstructionPorts[1].geo.vertex4 ($RES_SIM_397) (188) [ARRY] (3) zone.surfaces.toConstructionPorts[1].geo.vertex3 = zone.toConstructionPorts[1].geo.vertex3 ($RES_SIM_398) (189) [ARRY] (3) zone.surfaces.toConstructionPorts[1].geo.vertex2 = zone.toConstructionPorts[1].geo.vertex2 ($RES_SIM_399) (190) [SCAL] (1) zone.airvolume.air.XLiq.y = zone.airvolume.air.s * zone.airvolume.air.Xi ($RES_BND_699) (191) [SCAL] (1) zone.phfCooling.Q_flow = homotopy(smooth(0, if $SEV_6 then zone.coolingLoad.limiter.uMax else if $SEV_7 then zone.coolingLoad.limiter.uMin else zone.coolingLoad.limiter.simplifiedExpr), zone.coolingLoad.limiter.simplifiedExpr) ($RES_SIM_21) (192) [SCAL] (1) zone.airvolume.air.ports[2].Xi_outflow[1] = zone.airvolume.airpathPorts[2].Xi_outflow[1] ($RES_SIM_480) (193) [SCAL] (1) zone.coolingLoad.gainTrack.y = zone.coolingLoad.gainTrack.k * zone.coolingLoad.addSat.y ($RES_SIM_24) (194) [SCAL] (1) zone.airvolume.air.ports[1].Xi_outflow[1] = zone.airvolume.airpathPorts[1].Xi_outflow[1] ($RES_SIM_481) (195) [SCAL] (1) zone.coolingLoad.addSat.y = zone.coolingLoad.addSat.k1 * zone.phfCooling.Q_flow + zone.coolingLoad.addSat.k2 * zone.coolingLoad.limiter.simplifiedExpr ($RES_SIM_25) (196) [FOR-] (2) ($RES_SIM_482) (196) [----] for $i1 in 1:2 loop (196) [----] [SCAL] (1) zone.airvolume.air.ports[$i1].m_flow - zone.airvolume.airpathPorts[$i1].m_flow = 0.0 ($RES_SIM_483) (196) [----] end for; (197) [SCAL] (1) zone.coolingLoad.addI.y = zone.coolingLoad.addI.k2 * zone.coolingLoad.addP.u2 + zone.coolingLoad.addI.k1 * TSetCooling.k + zone.coolingLoad.addI.k3 * zone.coolingLoad.gainTrack.y ($RES_SIM_26) (198) [SCAL] (1) zone.coolingLoad.addPID.y = zone.coolingLoad.addPID.k2 * zone.coolingLoad.Dzero.k + zone.coolingLoad.addPID.k1 * zone.coolingLoad.P.y + zone.coolingLoad.addPID.k3 * zone.coolingLoad.I.y ($RES_SIM_27) (199) [ARRY] (2) zone.airvolume.air.ports.p = zone.airvolume.airpathPorts.p ($RES_SIM_484) (200) [SCAL] (1) zone.coolingLoad.gainPID.y = zone.coolingLoad.gainPID.k * zone.coolingLoad.addPID.y ($RES_SIM_28) (201) [SCAL] (1) zone.airvolume.x[1] = zone.airvolume.air.XLiq.y ($RES_SIM_485) (202) [SCAL] (1) $DER.zone.coolingLoad.I.y = zone.coolingLoad.I.k * zone.coolingLoad.addI.y ($RES_SIM_29) (203) [SCAL] (1) zone.airvolume.T[1] = zone.airvolume.air.T ($RES_SIM_486) (204) [SCAL] (1) $SEV_1 = (time < control.startTime or control.nperiod == 0) or control.nperiod > 0 and control.count >= control.nperiod ($RES_EVT_782) (205) [SCAL] (1) $SEV_2 = time < (control.T_start + control.T_rising) ($RES_EVT_783) (206) [SCAL] (1) $SEV_3 = time < (control.T_start + control.T_width) ($RES_EVT_784) (207) [SCAL] (1) $SEV_4 = time < (control.T_start + control.T_falling) ($RES_EVT_785) (208) [SCAL] (1) $SEV_5 = integer((time - control.startTime) / control.period) > $PRE.control.count ($RES_EVT_786) (209) [SCAL] (1) $SEV_6 = zone.coolingLoad.limiter.simplifiedExpr > zone.coolingLoad.limiter.uMax ($RES_EVT_787) (210) [SCAL] (1) $SEV_7 = zone.coolingLoad.limiter.simplifiedExpr < zone.coolingLoad.limiter.uMin ($RES_EVT_788) (211) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_out.IrrDir = zone.surfaces.surface[1].toSurfacesPort.radiationPort_out.IrrDir ($RES_SIM_570) (212) [SCAL] (1) zone.surfaces.surface[1].toConstructionPort.radiationPort_out.IrrDif = zone.surfaces.surface[1].toSurfacesPort.radiationPort_out.IrrDif ($RES_SIM_571) (213) [SCAL] (1) ambience.radiation[1].radiationPort.angleDegInc = ambience.toSurfacePorts[1].radiationPort_in.angleDegInc ($RES_SIM_579) (214) [SCAL] (1) zone.coolingLoad.P.y = zone.coolingLoad.P.k * zone.coolingLoad.addP.y ($RES_SIM_32) (215) [SCAL] (1) zone.coolingLoad.addP.y = zone.coolingLoad.addP.k1 * TSetCooling.k + zone.coolingLoad.addP.k2 * zone.coolingLoad.addP.u2 ($RES_SIM_33) (216) [ARRY] (1) zone.airvolume.air.XiOut_internal = zone.airvolume.air.dynBal.XiOut ($RES_SIM_490) (217) [SCAL] (1) zone.relRadConCooling.heatPortLw.Q_flow - zone.relRadConCooling.radiationportion * zone.phfCooling.port.Q_flow = 0.0 ($RES_SIM_35) (218) [SCAL] (1) zone.relRadConCooling.heatPortCv.Q_flow - (1.0 - zone.relRadConCooling.radiationportion) * zone.phfCooling.port.Q_flow = 0.0 ($RES_SIM_36) (219) [ARRY] (1) zone.airvolume.air.mXi = zone.airvolume.air.dynBal.mXiOut ($RES_SIM_493) (220) [SCAL] (1) zone.heatingLoad.limiter.simplifiedExpr = zone.heatingLoad.addFF.k1 * zone.heatingLoad.gainPID.y + zone.heatingLoad.addFF.k2 * zone.heatingLoad.FFzero.k ($RES_SIM_37) (221) [SCAL] (1) $SEV_9 = zone.heatingLoad.limiter.simplifiedExpr > zone.heatingLoad.limiter.uMax ($RES_EVT_790) (222) [SCAL] (1) zone.airvolume.air.dynBal.ports[2].h_outflow = zone.airvolume.air.ports[2].h_outflow ($RES_SIM_495) (223) [SCAL] (1) $SEV_10 = zone.heatingLoad.limiter.simplifiedExpr < zone.heatingLoad.limiter.uMin ($RES_EVT_791) (224) [SCAL] (1) zone.airvolume.air.dynBal.ports[1].h_outflow = zone.airvolume.air.ports[1].h_outflow ($RES_SIM_496) (225) [SCAL] (1) zone.airvolume.air.dynBal.ports[2].Xi_outflow[1] = zone.airvolume.air.ports[2].Xi_outflow[1] ($RES_SIM_497) (226) [SCAL] (1) $SEV_12 = 1.0 - zone.airvolume.phi > 0.5 ($RES_EVT_793) (227) [SCAL] (1) zone.airvolume.air.dynBal.ports[1].Xi_outflow[1] = zone.airvolume.air.ports[1].Xi_outflow[1] ($RES_SIM_498) (228) [SCAL] (1) $SEV_13 = 1.0 - zone.airvolume.phi <= 0.9997071067811866 ($RES_EVT_794) (229) [FOR-] (2) ($RES_SIM_499) (229) [----] for $i1 in 1:2 loop (229) [----] [SCAL] (1) zone.airvolume.air.dynBal.ports[$i1].m_flow - zone.airvolume.air.ports[$i1].m_flow = 0.0 ($RES_SIM_500) (229) [----] end for; (230) [SCAL] (1) $SEV_14 = 1.0 - zone.airvolume.phi >= 1.0004142135623733 ($RES_EVT_795) (231) [SCAL] (1) $SEV_15 = 1.0 - zone.airvolume.phi <= (-4.142135623730952e-4) ($RES_EVT_796) (232) [SCAL] (1) $SEV_16 = 1.0 - zone.airvolume.phi >= 2.928932188134525e-4 ($RES_EVT_797) (233) [SCAL] (1) ambience.radiation[1].radiationPort.angleDegHeightSun = ambience.toSurfacePorts[1].radiationPort_in.angleDegHeightSun ($RES_SIM_580) (234) [SCAL] (1) ambience.radiation[1].radiationPort.angleDegAziSun = ambience.toSurfacePorts[1].radiationPort_in.angleDegAziSun ($RES_SIM_581) (235) [SCAL] (1) ambience.radiation[1].radiationPort.IrrDir = ambience.toSurfacePorts[1].radiationPort_in.IrrDir ($RES_SIM_582) (236) [SCAL] (1) ambience.radiation[1].radiationPort.IrrDif = ambience.toSurfacePorts[1].radiationPort_in.IrrDif ($RES_SIM_583) (237) [SCAL] (1) ambience.weatherDataReader.weatherData.longitudeDeg_0 = ambience.radiation[1].longitudeDeg0 ($RES_SIM_585) (238) [SCAL] (1) ambience.weatherDataReader.weatherData.longitudeDeg = ambience.radiation[1].longitudeDeg ($RES_SIM_587) (239) [SCAL] (1) ambience.weatherDataReader.weatherData.latitudeDeg = ambience.radiation[1].latitudeDeg ($RES_SIM_589) (240) [SCAL] (1) zone.phfHeating.Q_flow = homotopy(smooth(0, if $SEV_9 then zone.heatingLoad.limiter.uMax else if $SEV_10 then zone.heatingLoad.limiter.uMin else zone.heatingLoad.limiter.simplifiedExpr), zone.heatingLoad.limiter.simplifiedExpr) ($RES_SIM_40) (241) [SCAL] (1) zone.heatingLoad.gainTrack.y = zone.heatingLoad.gainTrack.k * zone.heatingLoad.addSat.y ($RES_SIM_43) (242) [SCAL] (1) zone.heatingLoad.addSat.y = zone.heatingLoad.addSat.k1 * zone.phfHeating.Q_flow + zone.heatingLoad.addSat.k2 * zone.heatingLoad.limiter.simplifiedExpr ($RES_SIM_44) (243) [SCAL] (1) zone.heatingLoad.addI.y = zone.heatingLoad.addI.k2 * zone.heatingLoad.addP.u2 + zone.heatingLoad.addI.k1 * TSetHeating.k + zone.heatingLoad.addI.k3 * zone.heatingLoad.gainTrack.y ($RES_SIM_45) (244) [SCAL] (1) zone.heatingLoad.addPID.y = zone.heatingLoad.addPID.k2 * zone.heatingLoad.Dzero.k + zone.heatingLoad.addPID.k1 * zone.heatingLoad.P.y + zone.heatingLoad.addPID.k3 * zone.heatingLoad.I.y ($RES_SIM_46) (245) [SCAL] (1) zone.heatingLoad.gainPID.y = zone.heatingLoad.gainPID.k * zone.heatingLoad.addPID.y ($RES_SIM_47) (246) [SCAL] (1) $DER.zone.heatingLoad.I.y = zone.heatingLoad.I.k * zone.heatingLoad.addI.y ($RES_SIM_48) (247) [SCAL] (1) ambience.radiation[1].angleDegTil_internal = ambience.radiation[1].angleDegTil ($RES_SIM_590) (248) [SCAL] (1) $FUN_1 = cos(0.017453292519943295 * window.radTra1to2.radiationPort_in.angleDegInc) ($RES_$AUX_768) (249) [SCAL] (1) $FUN_2 = cos(0.017453292519943295 * window.radTra2to1.radiationPort_in.angleDegInc) ($RES_$AUX_767) (250) [FOR-] (7) ($RES_$AUX_765) (250) [----] for $i1 in 1:7 loop (250) [----] [SCAL] (1) $FUN_3[$i1] = Modelica.Blocks.Tables.Internal.getTable1DValue(ambience.weatherDataReader.weatherData.datRea.tableID, $i1, ambience.weatherDataReader.weatherData.gain.y) ($RES_$AUX_766) (250) [----] end for; (251) [SCAL] (1) $FUN_4 = sin(ambience.radiation[1].angleDec) ($RES_$AUX_764) (252) [SCAL] (1) $FUN_5 = sin(ambience.radiation[1].angleZen) ($RES_$AUX_763) (253) [SCAL] (1) $FUN_6 = acos(ambience.radiation[1].arg) ($RES_$AUX_762) (254) [SCAL] (1) $FUN_7 = sin(0.017453292519943295 * ambience.radiation[1].x) ($RES_$AUX_761) (255) [SCAL] (1) $FUN_8 = sin(0.017453292519943295 * (24.99 + 2.0 * ambience.radiation[1].x + 3.83 * $FUN_7)) ($RES_$AUX_760) (256) [SCAL] (1) zone.heatingLoad.P.y = zone.heatingLoad.P.k * zone.heatingLoad.addP.y ($RES_SIM_51) (257) [SCAL] (1) zone.heatingLoad.addP.y = zone.heatingLoad.addP.k1 * TSetHeating.k + zone.heatingLoad.addP.k2 * zone.heatingLoad.addP.u2 ($RES_SIM_52) (258) [SCAL] (1) zone.relRadConHeating.heatPortLw.Q_flow - zone.relRadConHeating.radiationportion * zone.phfHeating.port.Q_flow = 0.0 ($RES_SIM_54) (259) [SCAL] (1) zone.relRadConHeating.heatPortCv.Q_flow - (1.0 - zone.relRadConHeating.radiationportion) * zone.phfHeating.port.Q_flow = 0.0 ($RES_SIM_55) (260) [SCAL] (1) $DER.zone.airvolume.mH2OLiq = -(if $SEV_12 then if $SEV_13 then 1.0 - zone.airvolume.phi else if $SEV_14 then 1.0 else 0.999 + sqrt(1e-6 - (1.0 - (1.0 - zone.airvolume.phi) - 0.001 + 0.0014142135623730952) ^ 2.0) else if $SEV_15 then 0.0 else if $SEV_16 then 1.0 - zone.airvolume.phi else 0.001 - sqrt(1e-6 - (1.0 - zone.airvolume.phi - 0.001 + 0.0014142135623730952) ^ 2.0)) * zone.airvolume.mH2OLiq ($RES_SIM_57) (261) [SCAL] (1) zone.airvolume.phi = (zone.airvolume.x[1] * (1e5 / BuildingSystems.Utilities.Math.Functions.regStep((-273.16) + zone.airvolume.T[1], BuildingSystems.Utilities.Psychrometrics.Functions.saturationPressureLiquid(zone.airvolume.T[1]), BuildingSystems.Utilities.Psychrometrics.Functions.sublimationPressureIce(zone.airvolume.T[1]), 1.0))) / (zone.airvolume.x[1] + 0.6219647130774989 * (1.0 - zone.airvolume.x[1])) ($RES_SIM_58) (262) [SCAL] (1) zone.airvolume.toSurfacePorts[1].heatPort.T = zone.airvolume.T[1] ($RES_SIM_59) (263) [SCAL] (1) $FUN_9 = sin(0.017453292519943295 * (0.9863013698630136 * (284.0 + ambience.radiation[1].dayOfYear))) ($RES_$AUX_759) (264) [SCAL] (1) zone.airvolume.air.dynBal.medium.X[2] = 1.0 - zone.airvolume.air.dynBal.medium.X[1] ($RES_SIM_102) (265) [SCAL] (1) $FUN_10 = mod(0.016666666666666666 * ambience.radiation[1].Z + 2.777777777777778e-4 * time + 0.06666666666666667 * ((ambience.radiation[1].longitudeDeg0 + ambience.radiation[1].angleDegL) - ambience.radiation[1].longitudeDeg), 24.0) ($RES_$AUX_758) (266) [SCAL] (1) zone.airvolume.air.dynBal.medium.X[1] = zone.airvolume.air.dynBal.medium.Xi[1] ($RES_SIM_103) (267) [SCAL] (1) $FUN_11 = cos(ambience.radiation[1].angleDec) ($RES_$AUX_757) (268) [ARRY] (2) zone.airvolume.air.dynBal.medium.state.X = zone.airvolume.air.dynBal.medium.X ($RES_SIM_104) (269) [SCAL] (1) $FUN_12 = cos(ambience.radiation[1].angleHr) ($RES_$AUX_756) (270) [SCAL] (1) zone.airvolume.air.dynBal.medium.state.T = -((-273.15) - zone.airvolume.air.dynBal.medium.T_degC) ($RES_SIM_105) (271) [SCAL] (1) $FUN_13 = acos(ambience.radiation[1].cosAngleZen) ($RES_$AUX_755) (272) [SCAL] (1) zone.airvolume.air.dynBal.medium.state.p = 99999.99999999999 * zone.airvolume.air.dynBal.medium.p_bar ($RES_SIM_106) (273) [SCAL] (1) $FUN_14 = sin(ambience.radiation[1].angleHr) ($RES_$AUX_754) (274) [SCAL] (1) $FUN_15 = BuildingSystems.Utilities.Math.Functions.smoothLimit((ambience.radiation[1].cosAngleAzi * ambience.radiation[1].sinAngleTil * ambience.radiation[1].sinAngleLat * $FUN_11 * $FUN_12 + ambience.radiation[1].cosAngleTil * ambience.radiation[1].cosAngleLat * $FUN_11 * $FUN_12 + ambience.radiation[1].sinAngleLat * $FUN_4 * ambience.radiation[1].cosAngleTil + ambience.radiation[1].sinAngleAzi * ambience.radiation[1].sinAngleTil * $FUN_11 * $FUN_14) - ambience.radiation[1].sinAngleTil * ambience.radiation[1].cosAngleLat * $FUN_4 * ambience.radiation[1].cosAngleAzi, 0.0, 1.0, 1e-4) ($RES_$AUX_753) (275) [SCAL] (1) $FUN_16 = acos(ambience.radiation[1].cosAngleInc) ($RES_$AUX_752) (276) [SCAL] (1) zone.airvolume.air.dynBal.medium.R_s = 287.0512249529787 * zone.airvolume.air.dynBal.medium.X[2] + 461.5233290850878 * zone.airvolume.air.dynBal.medium.X[1] ($RES_SIM_109) (277) [SCAL] (1) $FUN_17 = sin(0.017453292519943295 * ambience.radiation[1].angleDegAzi) ($RES_$AUX_751) (278) [SCAL] (1) $FUN_18 = cos(0.017453292519943295 * ambience.radiation[1].angleDegAzi) ($RES_$AUX_750) (279) [SCAL] (1) zone.airvolume.toSurfacePorts[1].moisturePort.x = zone.airvolume.x[1] ($RES_SIM_60) (280) [FOR-] (2) ($RES_SIM_63) (280) [----] for $i1 in 1:2 loop (280) [----] [SCAL] (1) zone.airvolume.heatSourcesPorts[$i1].T = zone.airvolume.T[1] ($RES_SIM_64) (280) [----] end for; (281) [SCAL] (1) zone.airvolume.prescribedHeatFlow.port.Q_flow = -zone.airvolume.prescribedHeatFlow.Q_flow * (1.0 + zone.airvolume.prescribedHeatFlow.alpha * (zone.airvolume.air.T - zone.airvolume.prescribedHeatFlow.T_ref)) ($RES_SIM_65) (282) [SCAL] (1) -((-84437.5) - zone.airvolume.air.dynBal.medium.u) = 1006.0 * ((-273.15) - ((-273.15) - zone.airvolume.air.dynBal.medium.T_degC)) * zone.airvolume.air.dynBal.medium.X[2] + (2.5010145e6 + 1860.0 * ((-273.15) - ((-273.15) - zone.airvolume.air.dynBal.medium.T_degC))) * zone.airvolume.air.dynBal.medium.X[1] ($RES_SIM_110) (283) [SCAL] (1) $FUN_19 = sin(0.017453292519943295 * ambience.radiation[1].angleDegTil_internal) ($RES_$AUX_749) (284) [SCAL] (1) zone.airvolume.air.dynBal.medium.MM = 1/(55.508435061791985 * zone.airvolume.air.dynBal.medium.X[1] + 34.52428788658843 * zone.airvolume.air.dynBal.medium.X[2]) ($RES_SIM_112) (285) [SCAL] (1) $FUN_20 = cos(0.017453292519943295 * ambience.radiation[1].angleDegTil_internal) ($RES_$AUX_748) (286) [SCAL] (1) zone.mult.y = zone.mult.k * zone.airpathIn.m_flow_in ($RES_SIM_113) (287) [SCAL] (1) $FUN_21 = BuildingSystems.Utilities.Math.Functions.smoothLimit(ambience.radiation[1].IrrDirHor / ambience.radiation[1].cosAngleZen, 0.0, 1367.0, 1e-4) ($RES_$AUX_747) (288) [ARRY] (1) zone.airpathOut.ports[1].Xi_outflow = zone.airpathOut.Xi_in_internal ($RES_SIM_114) (289) [SCAL] (1) $FUN_22 = BuildingSystems.Utilities.SmoothFunctions.softswitch(ambience.radiation[1].IrrDirHor, 0.1, 0.0, $FUN_21, 1e-4) ($RES_$AUX_746) (290) [ARRY] (1) zone.airpathOut.Xi_in_internal = zone.airpathOut.X[1:1] ($RES_SIM_115) (291) [SCAL] (1) zone.radiationDistribution.ATotal = sum(zone.radiationDistribution.toSurfacePorts[:].A) ($RES_$AUX_745) (292) [ARRY] (2) zone.airpathOut.X_in_internal = zone.airpathOut.X ($RES_SIM_116) (293) [SCAL] (1) zone.radiationDistribution.Q_flow_Sw = sum({zone.radiationDistribution.toSurfacePorts[1].radiationPort_out.IrrDir * zone.radiationDistribution.toSurfacePorts[1].A + zone.radiationDistribution.toSurfacePorts[1].radiationPort_out.IrrDif * zone.radiationDistribution.toSurfacePorts[1].A}) ($RES_$AUX_744) (294) [SCAL] (1) zone.airpathOut.ports[1].h_outflow = zone.airpathOut.h_internal ($RES_SIM_117) (295) [SCAL] (1) $FUN_25 = sum(zone.radiationDistribution.heatSourcesPorts.Q_flow) ($RES_$AUX_743) (296) [SCAL] (1) $FUN_26 = sum({zone.radiationDistribution.F[1, 1] * zone.radiationDistribution.J[1]}) ($RES_$AUX_742) (297) [SCAL] (1) $FUN_27 = sum({zone.radiationDistribution.toSurfacePorts[1].heatPortLw.T * zone.radiationDistribution.toSurfacePorts[1].A}) ($RES_$AUX_741) (298) [SCAL] (1) -zone.airpathIn.m_flow_in = sum(zone.airpathIn.ports.m_flow) ($RES_$AUX_740) (299) [SCAL] (1) ambience.weatherDataReader.weatherData.cloudCover = smooth(1, if $SEV_22 then ambience.weatherDataReader.weatherData.datRea.y[7] * ambience.weatherDataReader.weatherData.scaleFac[7] else if $SEV_23 then 0.0 else 0.5 * (ambience.weatherDataReader.weatherData.datRea.y[7] * ambience.weatherDataReader.weatherData.scaleFac[7]) - 0.25 * (ambience.weatherDataReader.weatherData.datRea.y[7] * ambience.weatherDataReader.weatherData.scaleFac[7]) * ((-3.0) + (ambience.weatherDataReader.weatherData.scaleFac[7] * ambience.weatherDataReader.weatherData.datRea.y[7] / 0.02) ^ 2.0) * (50.0 * ambience.weatherDataReader.weatherData.datRea.y[7] * ambience.weatherDataReader.weatherData.scaleFac[7])) ($RES_SIM_200) (300) [SCAL] (1) ambience.weatherDataReader.weatherData.phiAir = smooth(1, if $SEV_24 then ambience.weatherDataReader.weatherData.datRea.y[6] * ambience.weatherDataReader.weatherData.scaleFac[6] else if $SEV_25 then 0.0 else 0.5 * (ambience.weatherDataReader.weatherData.datRea.y[6] * ambience.weatherDataReader.weatherData.scaleFac[6]) - 0.25 * (ambience.weatherDataReader.weatherData.datRea.y[6] * ambience.weatherDataReader.weatherData.scaleFac[6]) * ((-3.0) + (ambience.weatherDataReader.weatherData.scaleFac[6] * ambience.weatherDataReader.weatherData.datRea.y[6] / 0.02) ^ 2.0) * (50.0 * ambience.weatherDataReader.weatherData.datRea.y[6] * ambience.weatherDataReader.weatherData.scaleFac[6])) ($RES_SIM_201) (301) [SCAL] (1) ambience.weatherDataReader.weatherData.angleDegWindRef = ambience.weatherDataReader.weatherData.datRea.y[5] * ambience.weatherDataReader.weatherData.scaleFac[5] ($RES_SIM_202) (302) [ARRY] (1) zone.airvolume.air.dynBal.mXiOut = zone.airvolume.air.dynBal.mXi ($RES_SIM_74) (303) [SCAL] (1) ambience.weatherDataReader.weatherData.vWindRef = smooth(1, if $SEV_26 then ambience.weatherDataReader.weatherData.datRea.y[4] * ambience.weatherDataReader.weatherData.scaleFac[4] else if $SEV_27 then 0.0 else 0.5 * (ambience.weatherDataReader.weatherData.datRea.y[4] * ambience.weatherDataReader.weatherData.scaleFac[4]) - 0.25 * (ambience.weatherDataReader.weatherData.datRea.y[4] * ambience.weatherDataReader.weatherData.scaleFac[4]) * ((-3.0) + (ambience.weatherDataReader.weatherData.scaleFac[4] * ambience.weatherDataReader.weatherData.datRea.y[4] / 0.02) ^ 2.0) * (50.0 * ambience.weatherDataReader.weatherData.datRea.y[4] * ambience.weatherDataReader.weatherData.scaleFac[4])) ($RES_SIM_203) (304) [SCAL] (1) ambience.weatherDataReader.weatherData.tAirRef = ambience.weatherDataReader.weatherData.datRea.y[3] * ambience.weatherDataReader.weatherData.scaleFac[3] ($RES_SIM_204) (305) [FOR-] (2) ($RES_SIM_76) (305) [----] for $i1 in 1:2 loop (305) [----] [SCAL] (1) zone.airvolume.air.dynBal.ports[$i1].p = 99999.99999999999 * zone.airvolume.air.dynBal.medium.p_bar ($RES_SIM_77) (305) [----] end for; (306) [SCAL] (1) ambience.weatherDataReader.weatherData.IrrDifHor = smooth(1, if $SEV_28 then ambience.weatherDataReader.weatherData.datRea.y[2] * ambience.weatherDataReader.weatherData.scaleFac[2] else if $SEV_29 then 0.0 else 0.5 * (ambience.weatherDataReader.weatherData.datRea.y[2] * ambience.weatherDataReader.weatherData.scaleFac[2]) - 0.25 * (ambience.weatherDataReader.weatherData.datRea.y[2] * ambience.weatherDataReader.weatherData.scaleFac[2]) * ((-3.0) + (ambience.weatherDataReader.weatherData.scaleFac[2] * ambience.weatherDataReader.weatherData.datRea.y[2] / 0.02) ^ 2.0) * (50.0 * ambience.weatherDataReader.weatherData.datRea.y[2] * ambience.weatherDataReader.weatherData.scaleFac[2])) ($RES_SIM_205) (307) [SCAL] (1) ambience.weatherDataReader.weatherData.IrrDirHor = smooth(1, if $SEV_30 then (ambience.weatherDataReader.weatherData.datRea.y[1] - ambience.weatherDataReader.weatherData.datRea.y[2]) * ambience.weatherDataReader.weatherData.scaleFac[1] else if $SEV_31 then 0.0 else 0.5 * ((ambience.weatherDataReader.weatherData.datRea.y[1] - ambience.weatherDataReader.weatherData.datRea.y[2]) * ambience.weatherDataReader.weatherData.scaleFac[1]) - 0.25 * ((ambience.weatherDataReader.weatherData.datRea.y[1] - ambience.weatherDataReader.weatherData.datRea.y[2]) * ambience.weatherDataReader.weatherData.scaleFac[1]) * ((-3.0) + (ambience.weatherDataReader.weatherData.scaleFac[1] * (ambience.weatherDataReader.weatherData.datRea.y[1] - ambience.weatherDataReader.weatherData.datRea.y[2]) / 0.02) ^ 2.0) * (50.0 * (ambience.weatherDataReader.weatherData.datRea.y[1] - ambience.weatherDataReader.weatherData.datRea.y[2]) * ambience.weatherDataReader.weatherData.scaleFac[1])) ($RES_SIM_206) (308) [FOR-] (2) ($RES_SIM_78) (308) [----] for $i1 in 1:2 loop (308) [----] [SCAL] (1) zone.airvolume.air.dynBal.ports[$i1].h_outflow = -((-84437.5) - zone.airvolume.air.dynBal.medium.u) ($RES_SIM_79) (308) [----] end for; (309) [SCAL] (1) ambience.weatherDataReader.weatherData.add.y = ambience.weatherDataReader.weatherData.add.k1 * ambience.weatherDataReader.weatherData.timeShift.k + ambience.weatherDataReader.weatherData.add.k2 * ambience.weatherDataReader.weatherData.conTim.calTimAux ($RES_SIM_208) (310) [SCAL] (1) ambience.weatherDataReader.weatherData.gain.y = ambience.weatherDataReader.weatherData.gain.k * ambience.weatherDataReader.weatherData.add.y ($RES_SIM_209) (311) [SCAL] (1) zone.airpathOut.ports[1].p = zone.airpathOut.p_in_internal ($RES_SIM_120) (312) [ARRY] (1) zone.airpathIn.ports[1].Xi_outflow = zone.airpathIn.Xi_in_internal ($RES_SIM_121) (313) [SCAL] (1) $FUN_29 = sum(zone.airpathIn.Xi_in_internal) ($RES_$AUX_739) (314) [SCAL] (1) zone.airpathIn.X_in_internal[2] = 1.0 - $FUN_29 ($RES_SIM_122) (315) [SCAL] (1) -zone.mult.y = sum(zone.airpathOut.ports.m_flow) ($RES_$AUX_738) (316) [ARRY] (1) zone.airpathIn.X_in_internal[1:1] = zone.airpathIn.Xi_in_internal[:] ($RES_SIM_123) (317) [SCAL] (1) $FUN_31 = semiLinear(zone.airvolume.air.dynBal.ports[1].m_flow, zone.airpathIn.ports[1].h_outflow, zone.airvolume.air.dynBal.ports[1].h_outflow) ($RES_$AUX_737) (318) [SCAL] (1) $FUN_32 = semiLinear(zone.airvolume.air.dynBal.ports[1].m_flow, zone.airpathIn.ports[1].Xi_outflow[1], zone.airvolume.air.dynBal.ports[1].Xi_outflow[1]) ($RES_$AUX_736) (319) [SCAL] (1) zone.airpathIn.ports[1].h_outflow = zone.airpathIn.h_internal ($RES_SIM_125) (320) [SCAL] (1) $FUN_33 = semiLinear(zone.airvolume.air.dynBal.ports[2].m_flow, zone.airpathOut.ports[1].h_outflow, zone.airvolume.air.dynBal.ports[2].h_outflow) ($RES_$AUX_735) (321) [SCAL] (1) $FUN_34 = semiLinear(zone.airvolume.air.dynBal.ports[2].m_flow, zone.airpathOut.ports[1].Xi_outflow[1], zone.airvolume.air.dynBal.ports[2].Xi_outflow[1]) ($RES_$AUX_734) (322) [SCAL] (1) zone.airpathIn.ports[1].p = zone.airpathIn.p_in_internal ($RES_SIM_127) (323) [SCAL] (1) $FUN_35 = sum(zone.airvolume.air.dynBal.ports_mXi_flow[:, 1]) ($RES_$AUX_733) (324) [SCAL] (1) zone.airpathIn.m_flow_in = zone.ac2mf.k * airchange.k ($RES_SIM_128) (325) [SCAL] (1) zone.airvolume.air.dynBal.mb_flow = sum(zone.airvolume.air.dynBal.ports.m_flow) ($RES_$AUX_732) (326) [SCAL] (1) zone.phfCooling.port.Q_flow = -zone.phfCooling.Q_flow * (1.0 + zone.phfCooling.alpha * (293.15 - zone.phfCooling.T_ref)) ($RES_SIM_129) (327) [SCAL] (1) zone.airvolume.air.dynBal.Hb_flow = sum(zone.airvolume.air.dynBal.ports_H_flow) ($RES_$AUX_731) (328) [SCAL] (1) $FUN_38 = tanh(100.0 * ((-1.0) + zone.airvolume.phi)) ($RES_$AUX_730) (329) [FOR-] (2) ($RES_SIM_80) (329) [----] for $i1 in 1:2 loop (329) [----] [ARRY] (1) zone.airvolume.air.dynBal.ports[$i1].Xi_outflow = zone.airvolume.air.dynBal.medium.Xi ($RES_SIM_81) (329) [----] end for; (330) [FOR-] (7) ($RES_SIM_210) (330) [----] for $i1 in 1:7 loop (330) [----] [SCAL] (1) ambience.weatherDataReader.weatherData.datRea.y[$i1] = $FUN_3[$i1] ($RES_SIM_211) (330) [----] end for; (331) [ARRY] (1) $DER.zone.airvolume.air.dynBal.mXi = zone.airvolume.air.dynBal.mbXi_flow + zone.airvolume.mWatSum_flow.y * zone.airvolume.air.dynBal.s ($RES_SIM_82) (332) [SCAL] (1) $DER.zone.airvolume.air.dynBal.m = zone.airvolume.air.dynBal.mb_flow ($RES_SIM_83) (333) [SCAL] (1) $DER.zone.airvolume.air.dynBal.U = zone.airvolume.air.dynBal.Hb_flow + zone.airvolume.air.heatPort.Q_flow ($RES_SIM_84) (334) [SCAL] (1) ambience.weatherDataReader.weatherData.conTim.calTimAux = if ambience.weatherDataReader.weatherData.conTim.canRepeatWeatherFile then (time + ambience.weatherDataReader.weatherData.conTim.lenWea) - ambience.weatherDataReader.weatherData.conTim.tNext else time ($RES_SIM_214) (335) [WHEN] (1)when {initial(), $SEV_33} then (335) [----] ambience.weatherDataReader.weatherData.conTim.tNext := if ambience.weatherDataReader.weatherData.conTim.canRepeatWeatherFile then integer(time / ambience.weatherDataReader.weatherData.conTim.lenWea) * ambience.weatherDataReader.weatherData.conTim.lenWea + ambience.weatherDataReader.weatherData.conTim.lenWea else time (335) [----] end when; (336) [SCAL] (1) zone.airvolume.air.dynBal.mbXi_flow[1] = $FUN_35 ($RES_SIM_87) (337) [SCAL] (1) zone.airvolume.air.dynBal.ports_mXi_flow[2, 1] = $FUN_34 ($RES_SIM_88) (338) [SCAL] (1) zone.airvolume.air.dynBal.ports_H_flow[2] = $FUN_33 ($RES_SIM_89) (339) [ARRY] (3) window.toSurfacePort_2.geo.vertex2 = zone.toConstructionPorts[1].geo.vertex2 ($RES_SIM_300) (340) [ARRY] (3) window.toSurfacePort_2.geo.vertex1 = zone.toConstructionPorts[1].geo.vertex1 ($RES_SIM_301) (341) [SCAL] (1) window.epsilon_2 = zone.toConstructionPorts[1].epsilon ($RES_SIM_302) (342) [SCAL] (1) window.abs_2 = zone.toConstructionPorts[1].abs ($RES_SIM_303) (343) [SCAL] (1) window.toSurfacePort_2.A = zone.toConstructionPorts[1].A ($RES_SIM_304) (344) [SCAL] (1) zone.phfHeating.port.Q_flow = -zone.phfHeating.Q_flow * (1.0 + zone.phfHeating.alpha * (293.15 - zone.phfHeating.T_ref)) ($RES_SIM_130) (345) [ARRY] (1) zone.surfaces.surface.toConstructionPort.A = zone.surfaces.surface.ASur ($RES_SIM_131) (346) [SCAL] (1) ambience.toAirPorts[1].vAir = surface1.toAirPort.vAir ($RES_SIM_307) (347) [ARRY] (1) zone.surfaces.surface.toConstructionPort.moisturePort.x = zone.surfaces.surface.x ($RES_SIM_132) (348) [SCAL] (1) $FUN_40 = sum(zone.airvolume.toSurfacePorts.moisturePort.m_flow) ($RES_$AUX_728) (349) [ARRY] (1) zone.surfaces.surface.toConstructionPort.heatPort.T = zone.surfaces.surface.T ($RES_SIM_133) (350) [SCAL] (1) $FUN_41 = sum(zone.airvolume.toSurfacePorts.heatPort.Q_flow) ($RES_$AUX_727) (351) [SCAL] (1) ambience.toAirPorts[1].moisturePort.x = surface1.toAirPort.moisturePort.x ($RES_SIM_309) (352) [ARRY] (1) zone.surfaces.surface.toSurfacesPort.A = zone.surfaces.surface.ASur ($RES_SIM_134) (353) [SCAL] (1) $FUN_42 = sum(zone.airvolume.heatSourcesPorts.Q_flow) ($RES_$AUX_726) (354) [ARRY] (1) zone.surfaces.surface.toSurfacesPort.heatPortLw.T = zone.surfaces.surface.T ($RES_SIM_135) (355) [SCAL] (1) $FUN_43 = sum(zone.airvolume.air.Xi) ($RES_$AUX_725) (356) [ARRY] (1) zone.surfaces.surface.toSurfacesPort.heatPortSw.T = zone.surfaces.surface.T ($RES_SIM_136) (357) [SCAL] (1) $FUN_44 = sin(0.017453292519943295 * ambience.radiation[1].latitudeDeg) ($RES_$AUX_724) (358) [SCAL] (1) zone.surfaces.surface[1].beta = 1e-9 * zone.surfaces.surface[1].alpha ($RES_SIM_137) (359) [SCAL] (1) $FUN_45 = cos(0.017453292519943295 * ambience.radiation[1].latitudeDeg) ($RES_$AUX_723) (360) [SCAL] (1) zone.surfaces.surface[1].toAirPort.moisturePort.m_flow = (1e5 / (1.0 + 0.622 / zone.surfaces.surface[1].x)) * (zone.surfaces.surface[1].toAirPort.moisturePort.x - zone.surfaces.surface[1].x) * zone.surfaces.surface[1].beta * zone.surfaces.surface[1].ASur ($RES_SIM_138) (361) [SCAL] (1) ambience.TSky = BuildingSystems.Buildings.Functions.TSky(273.15 + ambience.weatherDataReader.weatherData.tAirRef, time, 0.125 * ambience.weatherDataReader.weatherData.cloudCover, ambience.weatherDataReader.xAir, ambience.weatherDataReader.pAirRef, ambience.weatherDataReader.pGround) ($RES_$AUX_722) (362) [SCAL] (1) zone.surfaces.surface[1].toAirPort.moisturePort.m_flow = -zone.surfaces.surface[1].toConstructionPort.moisturePort.m_flow ($RES_SIM_139) (363) [ARRY] (3) $FUN_47 = BuildingSystems.Buildings.Geometries.Functions.rotateVector({-0.5 * window.width, -0.5 * window.height, window.position_internal[3] - window.thickness}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil) ($RES_$AUX_721) (364) [ARRY] (3) $FUN_48 = BuildingSystems.Buildings.Geometries.Functions.rotateVector($FUN_47, {0.0, 0.0, 0.1}, -0.017453292519943295 * window.angleDegAzi) ($RES_$AUX_720) (365) [SCAL] (1) zone.airvolume.air.dynBal.ports_mXi_flow[1, 1] = $FUN_32 ($RES_SIM_90) (366) [SCAL] (1) zone.airvolume.air.dynBal.ports_H_flow[1] = $FUN_31 ($RES_SIM_91) (367) [ARRY] (1) zone.airvolume.air.dynBal.XiOut = zone.airvolume.air.dynBal.medium.Xi ($RES_SIM_92) (368) [SCAL] (1) zone.airvolume.air.dynBal.U = zone.airvolume.air.dynBal.m * zone.airvolume.air.dynBal.medium.u ($RES_SIM_94) (369) [ARRY] (1) zone.airvolume.air.dynBal.mXi = zone.airvolume.air.dynBal.m * zone.airvolume.air.dynBal.medium.Xi ($RES_SIM_95) (370) [SCAL] (1) zone.airvolume.air.dynBal.m = zone.airvolume.air.dynBal.fluidVolume * (1.1843079200592153e-5 * (99999.99999999999 * zone.airvolume.air.dynBal.medium.p_bar)) ($RES_SIM_96) (371) [SCAL] (1) -window.moistBcPort1.m_flow_constant = (1e5 / (1.0 + 0.622 / surface1.x)) * (surface1.toAirPort.moisturePort.x - surface1.x) * (1e-9 * surface1.alphaConstant) * window.toSurfacePort_2.A ($RES_SIM_227) (372) [SCAL] (1) surface1.toAirPort.heatPort.Q_flow = (surface1.toAirPort.heatPort.T - surface1.toSurfacesPort.heatPortLw.T) * surface1.alphaConstant * window.toSurfacePort_2.A ($RES_SIM_229) (373) [SCAL] (1) surface1.toAirPort.heatPort.Q_flow + ambience.toAirPorts[1].heatPort.Q_flow = 0.0 ($RES_SIM_310) (374) [SCAL] (1) ambience.toAirPorts[1].heatPort.T = surface1.toAirPort.heatPort.T ($RES_SIM_311) (375) [SCAL] (1) ambience.toSurfacePorts[1].zMean = surface1.toSurfacesPort.zMean ($RES_SIM_313) (376) [SCAL] (1) ambience.toSurfacePorts[1].radiationPort_out.angleDegInc = window.radTra2to1.radiationPort_in.angleDegInc ($RES_SIM_314) (377) [SCAL] (1) zone.surfaces.surface[1].toAirPort.heatPort.Q_flow = (zone.surfaces.surface[1].toAirPort.heatPort.T - zone.surfaces.surface[1].T) * zone.surfaces.surface[1].alpha * zone.surfaces.surface[1].ASur ($RES_SIM_140) (378) [ARRY] (1) zone.surfaces.surface.alpha = zone.surfaces.surface.alphaConstant ($RES_SIM_141) (379) [ARRY] (3) $FUN_49 = BuildingSystems.Buildings.Geometries.Functions.rotateVector({-0.5 * window.width, 0.5 * window.height, window.position_internal[3] - window.thickness}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil) ($RES_$AUX_719) (380) [SCAL] (1) ambience.toSurfacePorts[1].radiationPort_out.IrrDir = window.radTra2to1.radiationPort_out.IrrDir ($RES_SIM_317) (381) [SCAL] (1) zone.surfaces.surface[1].toSurfacesPort.heatPortSw.Q_flow + zone.surfaces.surface[1].toAirPort.heatPort.Q_flow + zone.surfaces.surface[1].toSurfacesPort.heatPortLw.Q_flow = -zone.surfaces.surface[1].toConstructionPort.heatPort.Q_flow ($RES_SIM_142) (382) [ARRY] (3) $FUN_50 = BuildingSystems.Buildings.Geometries.Functions.rotateVector($FUN_49, {0.0, 0.0, 0.1}, -0.017453292519943295 * window.angleDegAzi) ($RES_$AUX_718) (383) [SCAL] (1) ambience.toSurfacePorts[1].radiationPort_out.IrrDif = window.radTra2to1.radiationPort_out.IrrDif ($RES_SIM_318) (384) [ARRY] (1) zone.surfaces.surface.toConstructionPort.geo.zMean = zone.surfaces.surface.toSurfacesPort.zMean ($RES_SIM_143) (385) [ARRY] (3) $FUN_51 = BuildingSystems.Buildings.Geometries.Functions.rotateVector({0.5 * window.width, 0.5 * window.height, window.position_internal[3] - window.thickness}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil) ($RES_$AUX_717) (386) [SCAL] (1) ambience.toSurfacePorts[1].radiationPort_in.angleDegInc = window.radTra1to2.radiationPort_in.angleDegInc ($RES_SIM_319) (387) [ARRY] (3) $FUN_52 = BuildingSystems.Buildings.Geometries.Functions.rotateVector($FUN_51, {0.0, 0.0, 0.1}, -0.017453292519943295 * window.angleDegAzi) ($RES_$AUX_716) (388) [ARRY] (3) $FUN_53 = BuildingSystems.Buildings.Geometries.Functions.rotateVector({0.5 * window.width, -0.5 * window.height, window.position_internal[3] - window.thickness}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil) ($RES_$AUX_715) (389) [ARRY] (1) zone.surfaces.surface.toConstructionPort.epsilon = zone.surfaces.surface.toSurfacesPort.epsilon ($RES_SIM_146) (390) [ARRY] (3) $FUN_54 = BuildingSystems.Buildings.Geometries.Functions.rotateVector($FUN_53, {0.0, 0.0, 0.1}, -0.017453292519943295 * window.angleDegAzi) ($RES_$AUX_714) (391) [ARRY] (1) zone.surfaces.surface.toConstructionPort.abs = zone.surfaces.surface.toSurfacesPort.abs ($RES_SIM_147) (392) [SCAL] (1) $FUN_55 = sin(0.017453292519943295 * window.angleDegTil) ($RES_$AUX_713) (393) [FOR-] (2) ($RES_SIM_148) (393) [----] for $i1 in 1:2 loop (393) [----] [SCAL] (1) zone.radiationDistribution.heatSourcesPorts[$i1].T = zone.radiationDistribution.TSurfMean ($RES_SIM_149) (393) [----] end for; (394) [ARRY] (3) $FUN_56 = BuildingSystems.Buildings.Geometries.Functions.rotateVector({-0.5 * window.width, -0.5 * window.height, 0.0}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil) ($RES_$AUX_712) (395) [ARRY] (3) zone.surfaces.toConstructionPorts[1].geo.vertex1 = zone.toConstructionPorts[1].geo.vertex1 ($RES_SIM_400) (396) [ARRY] (3) $FUN_57 = BuildingSystems.Buildings.Geometries.Functions.rotateVector($FUN_56, {0.0, 0.0, 0.1}, -0.017453292519943295 * window.angleDegAzi) ($RES_$AUX_711) (397) [SCAL] (1) zone.surfaces.toConstructionPorts[1].epsilon = zone.toConstructionPorts[1].epsilon ($RES_SIM_401) (398) [SCAL] (1) zone.airvolume.prescribedHeatFlow.Q_flow = $FUN_41 + $FUN_42 ($RES_BND_701) (399) [ARRY] (3) $FUN_58 = BuildingSystems.Buildings.Geometries.Functions.rotateVector({0.5 * window.width, -0.5 * window.height, 0.0}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil) ($RES_$AUX_710) (400) [SCAL] (1) zone.surfaces.toConstructionPorts[1].abs = zone.toConstructionPorts[1].abs ($RES_SIM_402) (401) [SCAL] (1) zone.airvolume.mWatSum_flow.y = $FUN_40 + zone.airvolume.mH2OLiq * (if $SEV_12 then if $SEV_13 then 1.0 - zone.airvolume.phi else if $SEV_14 then 1.0 else 0.999 + sqrt(1e-6 - (1.0 - (1.0 - zone.airvolume.phi) - 0.001 + 0.0014142135623730952) ^ 2.0) else if $SEV_15 then 0.0 else if $SEV_16 then 1.0 - zone.airvolume.phi else 0.001 - sqrt(1e-6 - (1.0 - zone.airvolume.phi - 0.001 + 0.0014142135623730952) ^ 2.0)) ($RES_BND_702) (402) [SCAL] (1) zone.surfaces.toConstructionPorts[1].A = zone.toConstructionPorts[1].A ($RES_SIM_403) (403) [SCAL] (1) zone.heatingLoad.controlError = TSetHeating.k - zone.heatingLoad.addP.u2 ($RES_BND_703) (404) [SCAL] (1) zone.airvolume.airpathPorts[2].m_flow + zone.airpathOut.ports[1].m_flow = 0.0 ($RES_SIM_404) (405) [SCAL] (1) zone.coolingLoad.controlError = TSetCooling.k - zone.coolingLoad.addP.u2 ($RES_BND_704) (406) [SCAL] (1) zone.airpathOut.ports[1].p = zone.airvolume.airpathPorts[2].p ($RES_SIM_405) (407) [SCAL] (1) zone.airvolume.airpathPorts[1].m_flow + zone.airpathIn.ports[1].m_flow = 0.0 ($RES_SIM_406) (408) [SCAL] (1) surface1.toSurfacesPort.heatPortSw.Q_flow + surface1.toAirPort.heatPort.Q_flow + surface1.toSurfacesPort.heatPortLw.Q_flow = -surface1.toConstructionPort.heatPort.Q_flow ($RES_SIM_231) (409) [SCAL] (1) zone.airpathIn.ports[1].p = zone.airvolume.airpathPorts[1].p ($RES_SIM_407) (410) [SCAL] (1) surface1.toConstructionPort.geo.zMean = surface1.toSurfacesPort.zMean ($RES_SIM_232) (411) [SCAL] (1) zone.airpathIn.Xi_in[1] = ambience.weatherDataReader.xAir ($RES_SIM_408) (412) [SCAL] (1) surface1.toConstructionPort.geo.angleDegTil = surface1.toSurfacesPort.angleDegTil ($RES_SIM_233) (413) [SCAL] (1) zone.airvolume.p[1] = zone.pAirMean ($RES_SIM_409) (414) [SCAL] (1) surface1.toConstructionPort.geo.angleDegAzi = surface1.toSurfacesPort.angleDegAzi ($RES_SIM_234) (415) [ARRY] (3) window.position_internal = window.position ($RES_SIM_237) (416) [SCAL] (1) ambience.toSurfacePorts[1].radiationPort_in.angleDegHeightSun = window.radTra1to2.radiationPort_out.angleDegHeightSun ($RES_SIM_320) (417) [SCAL] (1) ambience.toSurfacePorts[1].radiationPort_in.angleDegAziSun = window.radTra1to2.radiationPort_out.angleDegAziSun ($RES_SIM_321) (418) [SCAL] (1) ambience.toSurfacePorts[1].radiationPort_in.IrrDir = window.radTra1to2.radiationPort_in.IrrDir ($RES_SIM_322) (419) [SCAL] (1) ambience.toSurfacePorts[1].radiationPort_in.IrrDif = window.radTra1to2.radiationPort_in.IrrDif ($RES_SIM_323) (420) [SCAL] (1) surface1.toSurfacesPort.heatPortSw.Q_flow + ambience.toSurfacePorts[1].heatPortSw.Q_flow = 0.0 ($RES_SIM_324) (421) [SCAL] (1) ambience.toSurfacePorts[1].heatPortSw.T = surface1.toSurfacesPort.heatPortLw.T ($RES_SIM_325) (422) [SCAL] (1) zone.radiationDistribution.TSurfMean = $FUN_27 / zone.radiationDistribution.ATotal ($RES_SIM_150) (423) [SCAL] (1) surface1.toSurfacesPort.heatPortLw.Q_flow + ambience.toSurfacePorts[1].heatPortLw.Q_flow = 0.0 ($RES_SIM_326) (424) [SCAL] (1) zone.radiationDistribution.J[1] = 5.6703744191844314e-8 * zone.radiationDistribution.toSurfacePorts[1].epsilon * zone.radiationDistribution.toSurfacePorts[1].heatPortLw.T ^ 4.0 + (1.0 - zone.radiationDistribution.toSurfacePorts[1].epsilon) * $FUN_26 ($RES_SIM_151) (425) [ARRY] (3) $FUN_59 = BuildingSystems.Buildings.Geometries.Functions.rotateVector($FUN_58, {0.0, 0.0, 0.1}, -0.017453292519943295 * window.angleDegAzi) ($RES_$AUX_709) (426) [SCAL] (1) ambience.toSurfacePorts[1].heatPortLw.T = surface1.toSurfacesPort.heatPortLw.T ($RES_SIM_327) (427) [SCAL] (1) zone.radiationDistribution.toSurfacePorts[1].heatPortLw.Q_flow = ((zone.radiationDistribution.toSurfacePorts[1].epsilon * zone.radiationDistribution.toSurfacePorts[1].A) / (1.0 - zone.radiationDistribution.toSurfacePorts[1].epsilon)) * (5.6703744191844314e-8 * zone.radiationDistribution.toSurfacePorts[1].heatPortLw.T ^ 4.0 - zone.radiationDistribution.J[1]) - (zone.radiationDistribution.toSurfacePorts[1].A / zone.radiationDistribution.ATotal) * $FUN_25 ($RES_SIM_152) (428) [ARRY] (3) $FUN_60 = BuildingSystems.Buildings.Geometries.Functions.rotateVector({0.5 * window.width, 0.5 * window.height, 0.0}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil) ($RES_$AUX_708) (429) [SCAL] (1) ambience.toSurfacePorts[1].epsilon = window.epsilon_1 ($RES_SIM_328) (430) [SCAL] (1) zone.radiationDistribution.toSurfacePorts[1].heatPortSw.Q_flow = -((zone.radiationDistribution.toSurfacePorts[1].A * zone.radiationDistribution.toSurfacePorts[1].abs) / zone.radiationDistribution.ATotal) * zone.radiationDistribution.Q_flow_Sw ($RES_SIM_153) (431) [ARRY] (3) $FUN_61 = BuildingSystems.Buildings.Geometries.Functions.rotateVector($FUN_60, {0.0, 0.0, 0.1}, -0.017453292519943295 * window.angleDegAzi) ($RES_$AUX_707) (432) [SCAL] (1) ambience.toSurfacePorts[1].angleDegTil = surface1.toSurfacesPort.angleDegTil ($RES_SIM_329) (433) [SCAL] (1) zone.radiationDistribution.toSurfacePorts[1].radiationPort_in.IrrDir = 0.0 ($RES_SIM_154) (434) [ARRY] (3) $FUN_62 = BuildingSystems.Buildings.Geometries.Functions.rotateVector({-0.5 * window.width, 0.5 * window.height, 0.0}, {1.0, 0.0, 0.0}, -0.017453292519943295 * window.angleDegTil) ($RES_$AUX_706) (435) [SCAL] (1) zone.radiationDistribution.toSurfacePorts[1].radiationPort_in.IrrDif = -zone.radiationDistribution.Q_flow_Sw / zone.radiationDistribution.ATotal ($RES_SIM_155) (436) [ARRY] (3) $FUN_63 = BuildingSystems.Buildings.Geometries.Functions.rotateVector($FUN_62, {0.0, 0.0, 0.1}, -0.017453292519943295 * window.angleDegAzi) ($RES_$AUX_705) (437) [SCAL] (1) zone.radiationDistribution.toSurfacePorts[1].radiationPort_in.angleDegInc = 50.0 ($RES_SIM_156) (438) [SCAL] (1) zone.airvolume.x[1] = zone.xAir ($RES_SIM_410) (439) [SCAL] (1) window.toSurfacePort_2.A = window.height * window.width ($RES_SIM_246) (440) [SCAL] (1) window.radTra2to1.radiationPort_out.IrrDif = 0.8 * window.radTra2to1.radiationPort_in.IrrDif * window.radTra2to1.tauDif ($RES_SIM_248) (441) [SCAL] (1) window.radTra2to1.radiationPort_out.IrrDir = 0.8 * (1.0 - control.y) * window.radTra2to1.radiationPort_in.IrrDir * window.radTra2to1.tauBeam ($RES_SIM_249) (442) [ARRY] (2) zone.airvolume.air.dynBal.ports.p = zone.airvolume.air.ports.p ($RES_SIM_501) (443) [SCAL] (1) ambience.toSurfacePorts[1].angleDegAzi = surface1.toSurfacesPort.angleDegAzi ($RES_SIM_330) (444) [SCAL] (1) $SEV_20 = noEvent(zone.airvolume.air.dynBal.medium.X[1] >= (-1e-5)) and noEvent(zone.airvolume.air.dynBal.medium.X[1] <= 1.00001) ($RES_EVT_801) (445) [SCAL] (1) ambience.toSurfacePorts[1].abs = window.abs_1 ($RES_SIM_331) (446) [SCAL] (1) $SEV_21 = ambience.radiation[1].timeSun < 12.0 ($RES_EVT_802) (447) [ARRY] (1) zone.airpathIn.Xi_in = zone.airpathIn.Xi_in_internal ($RES_SIM_507) (448) [SCAL] (1) ambience.toSurfacePorts[1].A = window.toSurfacePort_2.A ($RES_SIM_332) (449) [SCAL] (1) $SEV_22 = ambience.weatherDataReader.weatherData.datRea.y[7] * ambience.weatherDataReader.weatherData.scaleFac[7] > 0.02 ($RES_EVT_803) (450) [SCAL] (1) window.toSurfacePort_1.geo.angleDegTil = window.angleDegTil ($RES_BND_633) (451) [SCAL] (1) $SEV_23 = ambience.weatherDataReader.weatherData.datRea.y[7] * ambience.weatherDataReader.weatherData.scaleFac[7] < (-0.02) ($RES_EVT_804) (452) [SCAL] (1) window.toSurfacePort_1.geo.angleDegAzi = window.angleDegAzi ($RES_BND_634) (453) [SCAL] (1) $SEV_24 = ambience.weatherDataReader.weatherData.datRea.y[6] * ambience.weatherDataReader.weatherData.scaleFac[6] > 0.02 ($RES_EVT_805) (454) [SCAL] (1) window.toSurfacePort_1.geo.zMean = window.position_internal[3] + window.height * $FUN_55 ($RES_BND_635) (455) [SCAL] (1) $SEV_25 = ambience.weatherDataReader.weatherData.datRea.y[6] * ambience.weatherDataReader.weatherData.scaleFac[6] < (-0.02) ($RES_EVT_806) (456) [SCAL] (1) $SEV_26 = ambience.weatherDataReader.weatherData.datRea.y[4] * ambience.weatherDataReader.weatherData.scaleFac[4] > 0.02 ($RES_EVT_807) (457) [SCAL] (1) ambience.weatherDataReader.weatherData.IrrDirHor = ambience.radiation[1].IrrDirHor ($RES_SIM_162) (458) [SCAL] (1) $SEV_27 = ambience.weatherDataReader.weatherData.datRea.y[4] * ambience.weatherDataReader.weatherData.scaleFac[4] < (-0.02) ($RES_EVT_808) (459) [SCAL] (1) ambience.weatherDataReader.weatherData.IrrDifHor = ambience.radiation[1].IrrDifHor ($RES_SIM_163) (460) [ARRY] (3) window.toSurfacePort_1.geo.vertex4 = window.position_internal + $FUN_63 ($RES_BND_638) (461) [SCAL] (1) $SEV_28 = ambience.weatherDataReader.weatherData.datRea.y[2] * ambience.weatherDataReader.weatherData.scaleFac[2] > 0.02 ($RES_EVT_809) (462) [SCAL] (1) ambience.toAirPorts[1].heatPort.T = (273.15 + ambience.weatherDataReader.weatherData.tAirRef) - ambience.gamma * (ambience.toSurfacePorts[1].zMean - ambience.zRefTAir) ($RES_SIM_164) (463) [ARRY] (3) window.toSurfacePort_1.geo.vertex3 = window.position_internal + $FUN_61 ($RES_BND_639) (464) [SCAL] (1) ambience.toAirPorts[1].moisturePort.x = ambience.weatherDataReader.xAir ($RES_SIM_165) (465) [SCAL] (1) ambience.toAirPorts[1].vAir = ambience.weatherDataReader.weatherData.vWindRef * max(0.0, ambience.toSurfacePorts[1].zMean / ambience.zRefvWind) ^ ambience.P ($RES_SIM_166) (466) [SCAL] (1) ambience.toSurfacePorts[1].heatPortLw.Q_flow = 5.6703744191844314e-8 * (ambience.toSurfacePorts[1].heatPortLw.T ^ 4.0 - ambience.TSky ^ 4.0) * ambience.toSurfacePorts[1].epsilon * ambience.toSurfacePorts[1].A ($RES_SIM_168) (467) [SCAL] (1) ambience.toSurfacePorts[1].heatPortSw.Q_flow = -(ambience.radiation[1].radiationPort.IrrDir + ambience.radiation[1].radiationPort.IrrDif) * ambience.toSurfacePorts[1].abs * ambience.toSurfacePorts[1].A ($RES_SIM_169) (468) [SCAL] (1) zone.relRadConCooling.heatPortLw.T = zone.radiationDistribution.heatSourcesPorts[2].T ($RES_SIM_424) (469) [SCAL] (1) zone.relRadConHeating.heatPortLw.T = zone.radiationDistribution.heatSourcesPorts[1].T ($RES_SIM_425) (470) [SCAL] (1) window.radTra2to1.tauBeam = window.radTra2to1.tauDir0 * (if $SEV_36 then 0.0 else if $SEV_37 then 1.0 - ((-1.0) + 1/(if $SEV_38 then 0.0 else if $SEV_39 then $FUN_2 else 0.001 - sqrt(1e-6 - ($FUN_2 - 0.001 + 0.0014142135623730952) ^ 2.0))) * window.radTra2to1.b0 else 0.001 - sqrt(1e-6 - (1.0 - window.radTra2to1.b0 * ((-1.0) + 1/(if $SEV_38 then 0.0 else if $SEV_39 then $FUN_2 else 0.001 - sqrt(1e-6 - ($FUN_2 - 0.001 + 0.0014142135623730952) ^ 2.0))) - 0.001 + 0.0014142135623730952) ^ 2.0)) ($RES_SIM_250) (471) [SCAL] (1) zone.airvolume.T[1] = zone.coolingLoad.addP.u2 ($RES_SIM_426) (472) [SCAL] (1) zone.airvolume.T[1] = zone.heatingLoad.addP.u2 ($RES_SIM_427) (473) [SCAL] (1) window.radTra1to2.radiationPort_out.IrrDif = 0.8 * window.radTra1to2.radiationPort_in.IrrDif * window.radTra1to2.tauDif ($RES_SIM_252) (474) [SCAL] (1) zone.airvolume.T[1] = zone.TAir ($RES_SIM_428) (475) [SCAL] (1) window.radTra1to2.radiationPort_out.IrrDir = 0.8 * (1.0 - control.y) * window.radTra1to2.radiationPort_in.IrrDir * window.radTra1to2.tauBeam ($RES_SIM_253)