Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 100.4 kB / 19.76 MB, free: 1.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 217.5 kB / 23.06 MB, free: 4.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.7 MB / 256.9 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8391/0.8391, allocations: 134 MB / 447.3 MB, free: 9.926 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=168,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=168,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.725e-05, allocations: 2.281 kB / 0.6198 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5877/0.5877, allocations: 178.5 MB / 0.7941 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02561/0.6133, allocations: 14.49 MB / 0.8082 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005228/0.6186, allocations: 121 kB / 0.8084 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00552/0.6241, allocations: 1.314 MB / 0.8096 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.6349, allocations: 2.733 MB / 0.8123 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006874/0.6418, allocations: 2.21 MB / 0.8145 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01106/0.6529, allocations: 8.968 MB / 0.8232 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007982/0.6609, allocations: 3.993 MB / 0.8271 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006298/0.6672, allocations: 3.037 MB / 0.8301 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006146/0.6733, allocations: 2.992 MB / 0.833 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001985/0.6753, allocations: 0.5021 MB / 0.8335 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00689/0.6822, allocations: 1.714 MB / 0.8352 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.01279/0.695, allocations: 9.052 MB / 0.844 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.006375/0.7013, allocations: 5.476 MB / 0.8494 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002274/0.7036, allocations: 336 kB / 0.8497 GB, free: 52 kB / 0.5762 GB Notification: Performance of FrontEnd: time 0.001411/0.705, allocations: 156 kB / 0.8498 GB, free: 15.93 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 (914) * Number of variables: 961 (761) Notification: Performance of [SIM] Bindings: time 0.03211/0.7371, allocations: 22.18 MB / 0.8715 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.004811/0.7419, allocations: 2.59 MB / 0.874 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.0279/0.7698, allocations: 15.39 MB / 0.8891 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of [SIM] Simplify 1: time 0.006915/0.7768, allocations: 2.191 MB / 0.8912 GB, free: 6.359 MB / 0.6231 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.0292/0.806, allocations: 16.23 MB / 0.907 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of [SIM] Simplify 2: time 0.003774/0.8097, allocations: 1.916 MB / 0.9089 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of [SIM] Remove Stream: time 0.002022/0.8118, allocations: 1.146 MB / 0.91 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of [SIM] Detect States: time 0.003617/0.8154, allocations: 2.759 MB / 0.9127 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of [SIM] Events: time 0.001859/0.8172, allocations: 1.083 MB / 0.9138 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of [SIM] Partitioning: time 0.006999/0.8242, allocations: 4.887 MB / 0.9186 GB, free: 9.477 MB / 0.6544 GB Error: Internal error NBResolveSingularities.indexReduction failed because there was not enough state candidates to balance out the constraint equations. Constraint Equations (571/730) ******************************** (1) [SCAL] (1) eqAirTempVDI.TEqAir = eqAirTempVDI.TEqWin[1] * eqAirTempVDI.wfWin[1] + eqAirTempVDI.TEqWall[1] * eqAirTempVDI.wfWall[1] + eqAirTempVDI.TGro * eqAirTempVDI.wfGro ($RES_SIM_47) (2) [SCAL] (1) eqAirTempVDI.delTEqLWWin = (eqAirTempVDI.hRad * (eqAirTempVDI.TBlaSky - eqAirTempVDI.TDryBul)) / (eqAirTempVDI.hRad + eqAirTempVDI.hConWallOut) ($RES_SIM_46) (3) [ARRY] (1) eqAirTempVDI.delTEqSW = (eqAirTempVDI.aExt .* eqAirTempVDI.HSol) / (eqAirTempVDI.hRad + eqAirTempVDI.hConWallOut) ($RES_SIM_45) (4) [ARRY] (1) eqAirTempVDI.TEqWin = eqAirTempVDI.TDryBul .+ eqAirTempVDI.delTEqLWWin * (fill(1.0, 1) - eqAirTempVDI.sunblind) ($RES_SIM_44) (5) [ARRY] (1) eqAirTempVDI.TEqWall = (eqAirTempVDI.TDryBul + eqAirTempVDI.delTEqLWWin) .+ eqAirTempVDI.delTEqSW ($RES_SIM_43) (6) [SCAL] (1) theConRoof.dT = theConRoof.solid.T - eqAirTempVDI.TEqAir ($RES_SIM_41) (7) [SCAL] (1) theConRoof.Q_flow = hConRoof.k * theConRoof.dT ($RES_SIM_38) (8) [SCAL] (1) traSub.y = traSub.offset + (if $SEV_33 then 0.0 else if $SEV_34 then traSub.amplitude else 0.0) ($RES_SIM_33) (9) [SCAL] (1) souAir.ports[1].h_outflow = souAir.h_internal ($RES_SIM_28) (10) [ARRY] (1) souAir.ports[1].C_outflow = souAir.C_in ($RES_SIM_25) (11) [ARRY] (1) souAir.ports[1].Xi_outflow = souAir.X[1:1] ($RES_SIM_24) (12) [SCAL] (1) sinAir.ports[1].p = sinAir.p ($RES_SIM_22) (13) [SCAL] (1) sinAir.ports[1].h_outflow = sinAir.h_internal ($RES_SIM_20) (14) [FOR-] (2) ($RES_BND_1000) (14) [----] for $i1 in 1:2 loop (14) [----] [SCAL] (1) HDifTil[$i1].incAng.incAng.sol_s = sin(HDifTil[$i1].incAng.incAng.solHouAng) ($RES_BND_1001) (14) [----] end for; (15) [FOR-] (2) ($RES_BND_1002) (15) [----] for $i1 in 1:2 loop (15) [----] [SCAL] (1) HDifTil[$i1].incAng.incAng.lat_c = cos(HDifTil[$i1].incAng.incAng.lat) ($RES_BND_1003) (15) [----] end for; (16) [FOR-] (2) ($RES_BND_1004) (16) [----] for $i1 in 1:2 loop (16) [----] [SCAL] (1) HDifTil[$i1].incAng.incAng.lat_s = sin(HDifTil[$i1].incAng.incAng.lat) ($RES_BND_1005) (16) [----] end for; (17) [FOR-] (2) ($RES_BND_1006) (17) [----] for $i1 in 1:2 loop (17) [----] [SCAL] (1) HDirTil[$i1].incAng.incAng.dec_c = cos(HDirTil[$i1].incAng.incAng.decAng) ($RES_BND_1007) (17) [----] end for; (18) [FOR-] (2) ($RES_BND_1008) (18) [----] for $i1 in 1:2 loop (18) [----] [SCAL] (1) HDirTil[$i1].incAng.incAng.dec_s = sin(HDirTil[$i1].incAng.incAng.decAng) ($RES_BND_1009) (18) [----] end for; (19) [ARRY] (1) sinAir.ports[1].C_outflow = sinAir.C ($RES_SIM_16) (20) [ARRY] (1) sinAir.ports[1].Xi_outflow = sinAir.X[1:1] ($RES_SIM_15) (21) [SCAL] (1) traSubAmb.y = traSubAmb.offset + (if $TEV_0 then 0.0 else if $TEV_1 then (traSubAmb.height * (time - traSubAmb.startTime)) / traSubAmb.duration else traSubAmb.height) ($RES_SIM_14) (22) [FOR-] (2) ($RES_BND_1010) (22) [----] for $i1 in 1:2 loop (22) [----] [SCAL] (1) HDirTil[$i1].incAng.incAng.sol_c = cos(HDirTil[$i1].incAng.incAng.solHouAng) ($RES_BND_1011) (22) [----] end for; (23) [FOR-] (2) ($RES_BND_1012) (23) [----] for $i1 in 1:2 loop (23) [----] [SCAL] (1) HDirTil[$i1].incAng.incAng.sol_s = sin(HDirTil[$i1].incAng.incAng.solHouAng) ($RES_BND_1013) (23) [----] end for; (24) [FOR-] (2) ($RES_BND_1014) (24) [----] for $i1 in 1:2 loop (24) [----] [SCAL] (1) HDirTil[$i1].incAng.incAng.lat_c = cos(HDirTil[$i1].incAng.incAng.lat) ($RES_BND_1015) (24) [----] end for; (25) [FOR-] (2) ($RES_BND_1016) (25) [----] for $i1 in 1:2 loop (25) [----] [SCAL] (1) HDirTil[$i1].incAng.incAng.lat_s = sin(HDirTil[$i1].incAng.incAng.lat) ($RES_BND_1017) (25) [----] end for; (26) [SCAL] (1) thermalZoneFourElements.TAir = 273.15 + (thermalZoneFourElements.volAir.hOut_internal - 2.5010145e6 * thermalZoneFourElements.volAir.Xi[1]) / (1006.0 * (1.0 - thermalZoneFourElements.volAir.Xi[1]) + 1860.0 * thermalZoneFourElements.volAir.Xi[1]) ($RES_BND_1018) (27) [SCAL] (1) souAir.h_internal = 1006.0 * ((-273.15) + souAir.T) * (1.0 - souAir.X[1]) + (2.5010145e6 + 1860.0 * ((-273.15) + souAir.T)) * souAir.X[1] ($RES_BND_1026) (28) [SCAL] (1) sinAir.h_internal = 1006.0 * ((-273.15) + sinAir.T) * (1.0 - sinAir.X[1]) + (2.5010145e6 + 1860.0 * ((-273.15) + sinAir.T)) * sinAir.X[1] ($RES_BND_1027) (29) [SCAL] (1) HDifTil[1].briCoe.F2 = HDifTil[1].HDifTil.briCof2 ($RES_SIM_899) (30) [SCAL] (1) HDifTil[2].briCoe.F1 = HDifTil[2].HDifTil.briCof1 ($RES_SIM_898) (31) [SCAL] (1) HDifTil[1].briCoe.F1 = HDifTil[1].HDifTil.briCof1 ($RES_SIM_897) (32) [SCAL] (1) HDifTil[2].HDifTil.HSkyDifTil = HDifTil[2].HSkyDifTil ($RES_SIM_896) (33) [SCAL] (1) HDifTil[2].HDifTil.HSkyDifTil = HDifTil[2].add.u1 ($RES_SIM_895) (34) [SCAL] (1) HDifTil[1].HDifTil.HSkyDifTil = HDifTil[1].HSkyDifTil ($RES_SIM_894) (35) [SCAL] (1) HDifTil[1].HDifTil.HSkyDifTil = HDifTil[1].add.u1 ($RES_SIM_893) (36) [SCAL] (1) HDifTil[2].HDifTil.HGroDifTil = HDifTil[2].HGroDifTil ($RES_SIM_892) (37) [SCAL] (1) HDifTil[2].HDifTil.HGroDifTil = HDifTil[2].add.u2 ($RES_SIM_891) (38) [SCAL] (1) HDifTil[1].HDifTil.HGroDifTil = HDifTil[1].HGroDifTil ($RES_SIM_890) (39) [SCAL] (1) HDifTil[1].HDifTil.HGroDifTil = HDifTil[1].add.u2 ($RES_SIM_889) (40) [SCAL] (1) HDifTil[2].add.y = HDifTil[2].H ($RES_SIM_888) (41) [SCAL] (1) HDifTil[1].add.y = HDifTil[1].H ($RES_SIM_887) (42) [SCAL] (1) HDirTil[2].incAng.incAng.incAng = HDirTil[2].incAng.y ($RES_SIM_886) (43) [SCAL] (1) HDirTil[1].incAng.incAng.incAng = HDirTil[1].incAng.y ($RES_SIM_885) (44) [SCAL] (1) HDirTil[2].incAng.decAng.decAng = HDirTil[2].incAng.incAng.decAng ($RES_SIM_884) (45) [SCAL] (1) HDirTil[1].incAng.decAng.decAng = HDirTil[1].incAng.incAng.decAng ($RES_SIM_883) (46) [SCAL] (1) HDirTil[2].incAng.solHouAng.solHouAng = HDirTil[2].incAng.incAng.solHouAng ($RES_SIM_882) (47) [SCAL] (1) HDirTil[1].incAng.solHouAng.solHouAng = HDirTil[1].incAng.incAng.solHouAng ($RES_SIM_881) (48) [SCAL] (1) HDirTil[2].incAng.y = HDirTil[2].inc ($RES_SIM_880) (49) [SCAL] (1) weaDat.datRea.y[11] = weaDat.conWinDir.u ($RES_SIM_963) (50) [SCAL] (1) HDirTil[2].incAng.y = HDirTil[2].HDirTil.incAng ($RES_SIM_879) (51) [SCAL] (1) weaDat.datRea.y[1] = -(273.15 - eqAirTempVDI.TDryBul) ($RES_SIM_962) (52) [SCAL] (1) HDirTil[1].incAng.y = HDirTil[1].inc ($RES_SIM_878) (53) [SCAL] (1) weaDat.datRea.y[2] = -(273.15 - weaBus.TDewPoi) ($RES_SIM_961) (54) [SCAL] (1) HDirTil[1].incAng.y = HDirTil[1].HDirTil.incAng ($RES_SIM_877) (55) [SCAL] (1) weaDat.conRelHum.u = weaDat.datRea.y[3] ($RES_SIM_960) (56) [SCAL] (1) HDirTil[2].HDirTil.HDirTil = HDirTil[2].H ($RES_SIM_876) (57) [SCAL] (1) HDirTil[1].HDirTil.HDirTil = HDirTil[1].H ($RES_SIM_875) (58) [FOR-] (2) ($RES_SIM_784) (58) [----] for $i1 in 1:2 loop (58) [----] [SCAL] (1) thermalZoneFourElements.volAir.ports[$i1].m_flow - thermalZoneFourElements.ports[$i1].m_flow = 0.0 ($RES_SIM_785) (58) [----] end for; (59) [SCAL] (1) thermalZoneFourElements.volAir.ports[1].C_outflow[1] = thermalZoneFourElements.ports[1].C_outflow[1] ($RES_SIM_783) (60) [SCAL] (1) thermalZoneFourElements.volAir.ports[2].C_outflow[1] = thermalZoneFourElements.ports[2].C_outflow[1] ($RES_SIM_782) (61) [SCAL] (1) thermalZoneFourElements.volAir.ports[1].Xi_outflow[1] = thermalZoneFourElements.ports[1].Xi_outflow[1] ($RES_SIM_781) (62) [SCAL] (1) thermalZoneFourElements.volAir.ports[2].Xi_outflow[1] = thermalZoneFourElements.ports[2].Xi_outflow[1] ($RES_SIM_780) (63) [SCAL] (1) HDifTil[2].incAng.weaBus.cloTim = HDifTil[2].incAng.decAng.nDay ($RES_SIM_693) (64) [SCAL] (1) HDifTil[1].incAng.weaBus.cloTim = HDifTil[1].incAng.decAng.nDay ($RES_SIM_692) (65) [SCAL] (1) HDifTil[2].incAng.weaBus.solTim = HDifTil[2].incAng.solHouAng.solTim ($RES_SIM_691) (66) [SCAL] (1) HDifTil[1].incAng.weaBus.solTim = HDifTil[1].incAng.solHouAng.solTim ($RES_SIM_690) (67) [SCAL] (1) thermalZoneFourElements.volAir.ports[1].h_outflow = thermalZoneFourElements.ports[1].h_outflow ($RES_SIM_779) (68) [FOR-] (2) ($RES_SIM_862) (68) [----] for $i1 in 1:2 loop (68) [----] [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports[$i1].m_flow - thermalZoneFourElements.volAir.ports[$i1].m_flow = 0.0 ($RES_SIM_863) (68) [----] end for; (69) [SCAL] (1) thermalZoneFourElements.volAir.ports[2].h_outflow = thermalZoneFourElements.ports[2].h_outflow ($RES_SIM_778) (70) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports[1].C_outflow[1] = thermalZoneFourElements.volAir.ports[1].C_outflow[1] ($RES_SIM_861) (71) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports[2].C_outflow[1] = thermalZoneFourElements.volAir.ports[2].C_outflow[1] ($RES_SIM_860) (72) [SCAL] (1) thermalZoneFourElements.TRad = thermalZoneFourElements.thermSplitterIntGains.portIn[1].T ($RES_SIM_775) (73) [SCAL] (1) thermalZoneFourElements.thermSplitterIntGains.portIn[1].Q_flow - thermalZoneFourElements.intGainsRad.Q_flow = 0.0 ($RES_SIM_773) (74) [SCAL] (1) HDifTil[2].incAng.weaBus.lat = HDifTil[2].incAng.incAng.lat ($RES_SIM_689) (75) [SCAL] (1) HDifTil[1].incAng.weaBus.lat = HDifTil[1].incAng.incAng.lat ($RES_SIM_688) (76) [SCAL] (1) HDifTil[2].weaBus.solZen = HDifTil[2].incAng.weaBus.solZen ($RES_SIM_687) (77) [FOR-] (2) ($RES_SIM_770) (77) [----] for $i1 in 1:2 loop (77) [----] [SCAL] (1) thermalZoneFourElements.radHeatSol[$i1].port.Q_flow + thermalZoneFourElements.thermSplitterSolRad.portIn[$i1].Q_flow = 0.0 ($RES_SIM_771) (77) [----] end for; (78) [SCAL] (1) HDifTil[2].weaBus.solZen = HDifTil[2].HDifTil.zen ($RES_SIM_686) (79) [SCAL] (1) HDifTil[2].weaBus.solZen = HDifTil[2].briCoe.zen ($RES_SIM_685) (80) [SCAL] (1) HDifTil[2].weaBus.solZen = HDifTil[2].relAirMas.zen ($RES_SIM_684) (81) [SCAL] (1) HDifTil[2].weaBus.solZen = HDifTil[2].skyCle.zen ($RES_SIM_683) (82) [SCAL] (1) HDirTil[2].weaBus.TDewPoi = HDirTil[2].incAng.weaBus.TDewPoi ($RES_SIM_599) (83) [SCAL] (1) HDifTil[1].weaBus.solZen = HDifTil[1].incAng.weaBus.solZen ($RES_SIM_682) (84) [SCAL] (1) HDirTil[2].weaBus.TDryBul = HDirTil[2].incAng.weaBus.TDryBul ($RES_SIM_598) (85) [SCAL] (1) HDifTil[1].weaBus.solZen = HDifTil[1].HDifTil.zen ($RES_SIM_681) (86) [SCAL] (1) HDifTil[1].weaBus.solZen = HDifTil[1].briCoe.zen ($RES_SIM_680) (87) [SCAL] (1) HDirTil[2].weaBus.ceiHei = HDirTil[2].incAng.weaBus.ceiHei ($RES_SIM_596) (88) [SCAL] (1) HDirTil[2].weaBus.cloTim = HDirTil[2].incAng.weaBus.cloTim ($RES_SIM_595) (89) [SCAL] (1) HDirTil[2].weaBus.lat = HDirTil[2].incAng.weaBus.lat ($RES_SIM_594) (90) [SCAL] (1) HDirTil[2].weaBus.nOpa = HDirTil[2].incAng.weaBus.nOpa ($RES_SIM_592) (91) [SCAL] (1) HDirTil[2].weaBus.nTot = HDirTil[2].incAng.weaBus.nTot ($RES_SIM_591) (92) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports[1].Xi_outflow[1] = thermalZoneFourElements.volAir.ports[1].Xi_outflow[1] ($RES_SIM_859) (93) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports[2].Xi_outflow[1] = thermalZoneFourElements.volAir.ports[2].Xi_outflow[1] ($RES_SIM_858) (94) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports[1].h_outflow = thermalZoneFourElements.volAir.ports[1].h_outflow ($RES_SIM_857) (95) [SCAL] (1) weaDat.limCeiHei.u = weaDat.datRea.y[16] ($RES_SIM_940) (96) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports[2].h_outflow = thermalZoneFourElements.volAir.ports[2].h_outflow ($RES_SIM_856) (97) [SCAL] (1) thermalZoneFourElements.extWallRC.thermCapExt[1].T = thermalZoneFourElements.extWallRC.thermResExtRem.port_a.T ($RES_SIM_852) (98) [SCAL] (1) corGDouPan.solarRadWinTrans[1] = thermalZoneFourElements.eConvSol[1].u ($RES_SIM_768) (99) [SCAL] (1) thermalZoneFourElements.extWallRC.thermCapExt[1].T = thermalZoneFourElements.extWallRC.thermResExt[1].port_b.T ($RES_SIM_851) (100) [SCAL] (1) corGDouPan.solarRadWinTrans[1] = thermalZoneFourElements.eRadSol[1].u ($RES_SIM_767) (101) [SCAL] (1) thermalZoneFourElements.resExtWallRoof.port_a.T = thermalZoneFourElements.extWallRC.thermResExt[1].port_a.T ($RES_SIM_850) (102) [SCAL] (1) corGDouPan.solarRadWinTrans[2] = thermalZoneFourElements.eConvSol[2].u ($RES_SIM_766) (103) [SCAL] (1) corGDouPan.solarRadWinTrans[2] = thermalZoneFourElements.eRadSol[2].u ($RES_SIM_765) (104) [SCAL] (1) HDifTil[1].weaBus.solZen = HDifTil[1].relAirMas.zen ($RES_SIM_679) (105) [SCAL] (1) HDifTil[1].weaBus.solZen = HDifTil[1].skyCle.zen ($RES_SIM_678) (106) [SCAL] (1) HDifTil[2].weaBus.HDirNor = HDifTil[2].incAng.weaBus.HDirNor ($RES_SIM_677) (107) [SCAL] (1) HDifTil[2].weaBus.HDirNor = HDifTil[2].skyCle.HDirNor ($RES_SIM_676) (108) [SCAL] (1) HDifTil[1].weaBus.HDirNor = HDifTil[1].incAng.weaBus.HDirNor ($RES_SIM_675) (109) [SCAL] (1) HDifTil[1].weaBus.HDirNor = HDifTil[1].skyCle.HDirNor ($RES_SIM_674) (110) [SCAL] (1) HDifTil[2].weaBus.HDifHor = HDifTil[2].incAng.weaBus.HDifHor ($RES_SIM_673) (111) [SCAL] (1) HDirTil[2].weaBus.relHum = HDirTil[2].incAng.weaBus.relHum ($RES_SIM_589) (112) [SCAL] (1) HDifTil[2].weaBus.HDifHor = HDifTil[2].HDifTil.HDifHor ($RES_SIM_672) (113) [SCAL] (1) HDirTil[2].weaBus.solAlt = HDirTil[2].incAng.weaBus.solAlt ($RES_SIM_588) (114) [SCAL] (1) HDifTil[2].weaBus.HDifHor = HDifTil[2].skyBri.HDifHor ($RES_SIM_671) (115) [SCAL] (1) HDirTil[2].weaBus.solDec = HDirTil[2].incAng.weaBus.solDec ($RES_SIM_587) (116) [SCAL] (1) HDifTil[2].weaBus.HDifHor = HDifTil[2].skyCle.HDifHor ($RES_SIM_670) (117) [SCAL] (1) HDirTil[2].weaBus.solHouAng = HDirTil[2].incAng.weaBus.solHouAng ($RES_SIM_586) (118) [SCAL] (1) HDirTil[2].weaBus.solTim = HDirTil[2].incAng.weaBus.solTim ($RES_SIM_585) (119) [SCAL] (1) HDirTil[2].weaBus.solZen = HDirTil[2].incAng.weaBus.solZen ($RES_SIM_584) (120) [SCAL] (1) HDirTil[2].weaBus.winDir = HDirTil[2].incAng.weaBus.winDir ($RES_SIM_583) (121) [SCAL] (1) weaBus.relHum = HDirTil[2].weaBus.relHum ($RES_SIM_499) (122) [SCAL] (1) HDirTil[2].weaBus.winSpe = HDirTil[2].incAng.weaBus.winSpe ($RES_SIM_582) (123) [SCAL] (1) weaBus.relHum = HDirTil[1].weaBus.relHum ($RES_SIM_498) (124) [SCAL] (1) HDirTil[1].weaBus.HDifHor = HDirTil[1].incAng.weaBus.HDifHor ($RES_SIM_581) (125) [SCAL] (1) weaDat.conTotSkyCov.u = weaDat.datRea.y[13] ($RES_SIM_936) (126) [SCAL] (1) weaBus.relHum = HDifTil[2].weaBus.relHum ($RES_SIM_497) (127) [SCAL] (1) HDirTil[1].weaBus.HGloHor = HDirTil[1].incAng.weaBus.HGloHor ($RES_SIM_580) (128) [SCAL] (1) weaDat.limWinSpe.u = weaDat.datRea.y[12] ($RES_SIM_935) (129) [SCAL] (1) weaBus.relHum = HDifTil[1].weaBus.relHum ($RES_SIM_496) (130) [SCAL] (1) 1.5707963267948966 - weaBus.solZen = HDirTil[2].weaBus.solAlt ($RES_SIM_494) (131) [SCAL] (1) thermalZoneFourElements.extWallRC.thermResExt[1].Q_flow - thermalZoneFourElements.extWallRC.port_a.Q_flow = 0.0 ($RES_SIM_849) (132) [SCAL] (1) weaDat.conOpaSkyCov.u = weaDat.datRea.y[14] ($RES_SIM_932) (133) [SCAL] (1) 1.5707963267948966 - weaBus.solZen = HDirTil[1].weaBus.solAlt ($RES_SIM_493) (134) [SCAL] (1) 1.5707963267948966 - weaBus.solZen = HDifTil[2].weaBus.solAlt ($RES_SIM_492) (135) [SCAL] (1) thermalZoneFourElements.intWallRC.thermResInt[1].port_b.T = thermalZoneFourElements.intWallRC.thermCapInt[1].T ($RES_SIM_847) (136) [SCAL] (1) weaDat.limHorInfRad.u = weaDat.datRea.y[26] ($RES_SIM_930) (137) [SCAL] (1) 1.5707963267948966 - weaBus.solZen = HDifTil[1].weaBus.solAlt ($RES_SIM_491) (138) [SCAL] (1) thermalZoneFourElements.resIntRoof.port_b.T = thermalZoneFourElements.intWallRC.thermResInt[1].port_a.T ($RES_SIM_846) (139) [SCAL] (1) thermalZoneFourElements.intWallRC.thermResInt[1].Q_flow - thermalZoneFourElements.intWallRC.port_a.Q_flow = 0.0 ($RES_SIM_845) (140) [SCAL] (1) thermalZoneFourElements.floorRC.thermCapExt[1].T = thermalZoneFourElements.floorRC.thermResExtRem.port_a.T ($RES_SIM_844) (141) [SCAL] (1) thermalZoneFourElements.floorRC.thermCapExt[1].T = thermalZoneFourElements.floorRC.thermResExt[1].port_b.T ($RES_SIM_843) (142) [SCAL] (1) thermalZoneFourElements.resRoofFloor.port_b.T = thermalZoneFourElements.floorRC.thermResExt[1].port_a.T ($RES_SIM_842) (143) [SCAL] (1) thermalZoneFourElements.floorRC.thermResExt[1].Q_flow - thermalZoneFourElements.floorRC.port_a.Q_flow = 0.0 ($RES_SIM_841) (144) [SCAL] (1) traSub.y = thermalZoneFourElements.C_flow[1] ($RES_SIM_756) (145) [SCAL] (1) sinAir.ports[1].p = thermalZoneFourElements.ports[2].p ($RES_SIM_754) (146) [SCAL] (1) traSubAmb.y = souAir.C_in[1] ($RES_SIM_753) (147) [SCAL] (1) HDifTil[1].weaBus.HDifHor = HDifTil[1].incAng.weaBus.HDifHor ($RES_SIM_669) (148) [SCAL] (1) HDifTil[1].weaBus.HDifHor = HDifTil[1].HDifTil.HDifHor ($RES_SIM_668) (149) [SCAL] (1) HDifTil[1].weaBus.HDifHor = HDifTil[1].skyBri.HDifHor ($RES_SIM_667) (150) [SCAL] (1) intGai.y[1] = perRad.Q_flow ($RES_SIM_750) (151) [SCAL] (1) HDifTil[1].weaBus.HDifHor = HDifTil[1].skyCle.HDifHor ($RES_SIM_666) (152) [SCAL] (1) HDifTil[2].weaBus.HGloHor = HDifTil[2].incAng.weaBus.HGloHor ($RES_SIM_665) (153) [SCAL] (1) HDifTil[2].weaBus.HGloHor = HDifTil[2].HDifTil.HGloHor ($RES_SIM_664) (154) [SCAL] (1) HDifTil[1].weaBus.HGloHor = HDifTil[1].incAng.weaBus.HGloHor ($RES_SIM_663) (155) [SCAL] (1) HDirTil[1].weaBus.HHorIR = HDirTil[1].incAng.weaBus.HHorIR ($RES_SIM_579) (156) [SCAL] (1) HDifTil[1].weaBus.HGloHor = HDifTil[1].HDifTil.HGloHor ($RES_SIM_662) (157) [SCAL] (1) HDirTil[1].weaBus.TBlaSky = HDirTil[1].incAng.weaBus.TBlaSky ($RES_SIM_578) (158) [SCAL] (1) HDifTil[2].weaBus.solTim = HDifTil[2].incAng.weaBus.solTim ($RES_SIM_661) (159) [SCAL] (1) HDirTil[1].weaBus.TDewPoi = HDirTil[1].incAng.weaBus.TDewPoi ($RES_SIM_577) (160) [SCAL] (1) HDifTil[2].weaBus.solTim = HDifTil[2].skyBri.solTim ($RES_SIM_660) (161) [SCAL] (1) HDirTil[1].weaBus.TDryBul = HDirTil[1].incAng.weaBus.TDryBul ($RES_SIM_576) (162) [SCAL] (1) HDirTil[1].weaBus.ceiHei = HDirTil[1].incAng.weaBus.ceiHei ($RES_SIM_574) (163) [SCAL] (1) weaDat.souSelRad.HDifHor_in_internal = weaDat.datRea30Min.y[3] ($RES_SIM_929) (164) [SCAL] (1) HDirTil[1].weaBus.cloTim = HDirTil[1].incAng.weaBus.cloTim ($RES_SIM_573) (165) [SCAL] (1) weaDat.souSelRad.HDirNor_in_internal = weaDat.datRea30Min.y[2] ($RES_SIM_928) (166) [SCAL] (1) weaBus.solDec = HDirTil[2].weaBus.solDec ($RES_SIM_489) (167) [SCAL] (1) HDirTil[1].weaBus.lat = HDirTil[1].incAng.weaBus.lat ($RES_SIM_572) (168) [SCAL] (1) weaBus.solDec = HDirTil[1].weaBus.solDec ($RES_SIM_488) (169) [SCAL] (1) weaBus.solDec = HDifTil[2].weaBus.solDec ($RES_SIM_487) (170) [SCAL] (1) HDirTil[1].weaBus.nOpa = HDirTil[1].incAng.weaBus.nOpa ($RES_SIM_570) (171) [SCAL] (1) weaBus.solDec = HDifTil[1].weaBus.solDec ($RES_SIM_486) (172) [SCAL] (1) weaDat.souSelRad.HGloHor_in_internal = weaDat.datRea30Min.y[1] ($RES_SIM_924) (173) [SCAL] (1) 0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * weaBus.solTim) = HDirTil[2].weaBus.solHouAng ($RES_SIM_484) (174) [SCAL] (1) thermalZoneFourElements.roofRC.thermCapExt[1].T = thermalZoneFourElements.roofRC.thermResExtRem.port_a.T ($RES_SIM_839) (175) [SCAL] (1) 0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * weaBus.solTim) = HDirTil[1].weaBus.solHouAng ($RES_SIM_483) (176) [SCAL] (1) thermalZoneFourElements.roofRC.thermCapExt[1].T = thermalZoneFourElements.roofRC.thermResExt[1].port_b.T ($RES_SIM_838) (177) [SCAL] (1) weaDat.conTimMin.calTim = if weaDat.conTimMin.canRepeatWeatherFile then (weaDat.add30Min.y + weaDat.conTimMin.lenWea) - weaDat.conTimMin.tNext else weaDat.add30Min.y ($RES_SIM_399) (178) [SCAL] (1) 0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * weaBus.solTim) = HDifTil[2].weaBus.solHouAng ($RES_SIM_482) (179) [SCAL] (1) thermalZoneFourElements.roofRC.port_a.T = thermalZoneFourElements.roofRC.thermResExt[1].port_a.T ($RES_SIM_837) (180) [SCAL] (1) 0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * weaBus.solTim) = HDifTil[1].weaBus.solHouAng ($RES_SIM_481) (181) [SCAL] (1) thermalZoneFourElements.roofRC.thermResExt[1].Q_flow - thermalZoneFourElements.roofRC.port_a.Q_flow = 0.0 ($RES_SIM_836) (182) [SCAL] (1) weaDat.conTim.calTim = if weaDat.conTim.canRepeatWeatherFile then (time + weaDat.conTim.lenWea) - weaDat.conTim.tNext else time ($RES_SIM_395) (183) [SCAL] (1) intGai.y[2] = perCon.Q_flow ($RES_SIM_749) (184) [SCAL] (1) thermalZoneFourElements.resRoofWin.port_a.T = thermalZoneFourElements.thermSplitterSolRad.portOut[2].T ($RES_SIM_832) (185) [SCAL] (1) intGai.y[3] = macConv.Q_flow ($RES_SIM_748) (186) [SCAL] (1) thermalZoneFourElements.resRoofWin.port_a.T = thermalZoneFourElements.thermSplitterIntGains.portOut[2].T ($RES_SIM_831) (187) [SCAL] (1) weaDat.eqnTim.eqnTim = 60.0 * (9.87 * sin(2.0 * (0.017261498096647215 * ((-81.0) + 1.1574074074074073e-5 * (86400.0 + time)))) - (1.5 * sin(0.017261498096647215 * ((-81.0) + 1.1574074074074073e-5 * (86400.0 + time))) + 7.53 * cos(0.017261498096647215 * ((-81.0) + 1.1574074074074073e-5 * (86400.0 + time))))) ($RES_SIM_391) (188) [SCAL] (1) weaBus.solTim = (time + weaDat.locTim.diff) + weaDat.eqnTim.eqnTim ($RES_SIM_390) (189) [SCAL] (1) HDirTil[1].H = solRad[1].u1 ($RES_SIM_745) (190) [FOR-] (2) ($RES_BND_998) (190) [----] for $i1 in 1:2 loop (190) [----] [SCAL] (1) HDifTil[$i1].incAng.incAng.sol_c = cos(HDifTil[$i1].incAng.incAng.solHouAng) ($RES_BND_999) (190) [----] end for; (191) [SCAL] (1) HDirTil[1].H = corGDouPan.HDirTil[1] ($RES_SIM_744) (192) [SCAL] (1) HDirTil[2].H = solRad[2].u1 ($RES_SIM_743) (193) [FOR-] (2) ($RES_BND_996) (193) [----] for $i1 in 1:2 loop (193) [----] [SCAL] (1) HDifTil[$i1].incAng.incAng.dec_s = sin(HDifTil[$i1].incAng.incAng.decAng) ($RES_BND_997) (193) [----] end for; (194) [SCAL] (1) HDifTil[1].weaBus.solTim = HDifTil[1].incAng.weaBus.solTim ($RES_SIM_659) (195) [SCAL] (1) HDirTil[2].H = corGDouPan.HDirTil[2] ($RES_SIM_742) (196) [SCAL] (1) HDifTil[1].weaBus.solTim = HDifTil[1].skyBri.solTim ($RES_SIM_658) (197) [FOR-] (2) ($RES_BND_994) (197) [----] for $i1 in 1:2 loop (197) [----] [SCAL] (1) HDifTil[$i1].incAng.incAng.dec_c = cos(HDifTil[$i1].incAng.incAng.decAng) ($RES_BND_995) (197) [----] end for; (198) [SCAL] (1) HDifTil[2].weaBus.alt = HDifTil[2].incAng.weaBus.alt ($RES_SIM_657) (199) [SCAL] (1) HDifTil[2].weaBus.alt = HDifTil[2].relAirMas.alt ($RES_SIM_656) (200) [FOR-] (2) ($RES_BND_992) (200) [----] for $i1 in 1:2 loop (200) [----] [SCAL] (1) HDifTil[$i1].briCoe.d = 0.01 ($RES_BND_993) (200) [----] end for; (201) [SCAL] (1) HDifTil[1].weaBus.alt = HDifTil[1].incAng.weaBus.alt ($RES_SIM_655) (202) [SCAL] (1) weaBus.HHorIR = max(0.0, weaDat.limHorInfRad.u) ($RES_BND_991) (203) [SCAL] (1) HDifTil[1].weaBus.alt = HDifTil[1].relAirMas.alt ($RES_SIM_654) (204) [SCAL] (1) weaBus.winSpe = max(0.0, weaDat.limWinSpe.u) ($RES_BND_990) (205) [SCAL] (1) HDirTil[2].incAng.weaBus.cloTim = HDirTil[2].incAng.decAng.nDay ($RES_SIM_653) (206) [SCAL] (1) HDirTil[1].weaBus.nTot = HDirTil[1].incAng.weaBus.nTot ($RES_SIM_569) (207) [SCAL] (1) HDirTil[1].incAng.weaBus.cloTim = HDirTil[1].incAng.decAng.nDay ($RES_SIM_652) (208) [SCAL] (1) HDirTil[2].incAng.weaBus.solTim = HDirTil[2].incAng.solHouAng.solTim ($RES_SIM_651) (209) [SCAL] (1) HDirTil[1].weaBus.relHum = HDirTil[1].incAng.weaBus.relHum ($RES_SIM_567) (210) [SCAL] (1) HDirTil[1].incAng.weaBus.solTim = HDirTil[1].incAng.solHouAng.solTim ($RES_SIM_650) (211) [SCAL] (1) HDirTil[1].weaBus.solAlt = HDirTil[1].incAng.weaBus.solAlt ($RES_SIM_566) (212) [SCAL] (1) HDirTil[1].weaBus.solDec = HDirTil[1].incAng.weaBus.solDec ($RES_SIM_565) (213) [SCAL] (1) HDirTil[1].weaBus.solHouAng = HDirTil[1].incAng.weaBus.solHouAng ($RES_SIM_564) (214) [SCAL] (1) HDirTil[1].weaBus.solTim = HDirTil[1].incAng.weaBus.solTim ($RES_SIM_563) (215) [SCAL] (1) weaBus.solTim = HDirTil[2].weaBus.solTim ($RES_SIM_479) (216) [SCAL] (1) HDirTil[1].weaBus.solZen = HDirTil[1].incAng.weaBus.solZen ($RES_SIM_562) (217) [SCAL] (1) weaBus.solTim = HDirTil[1].weaBus.solTim ($RES_SIM_478) (218) [SCAL] (1) HDirTil[1].weaBus.winDir = HDirTil[1].incAng.weaBus.winDir ($RES_SIM_561) (219) [SCAL] (1) weaBus.solTim = HDifTil[2].weaBus.solTim ($RES_SIM_477) (220) [SCAL] (1) HDirTil[1].weaBus.winSpe = HDirTil[1].incAng.weaBus.winSpe ($RES_SIM_560) (221) [SCAL] (1) weaBus.solTim = HDifTil[1].weaBus.solTim ($RES_SIM_476) (222) [SCAL] (1) HDifTil[2].incAng.incAng.incAng = HDifTil[2].incAng.y ($RES_SIM_914) (223) [SCAL] (1) HDifTil[1].incAng.incAng.incAng = HDifTil[1].incAng.y ($RES_SIM_913) (224) [SCAL] (1) weaBus.solZen = HDirTil[2].weaBus.solZen ($RES_SIM_474) (225) [SCAL] (1) HDifTil[2].incAng.decAng.decAng = HDifTil[2].incAng.incAng.decAng ($RES_SIM_912) (226) [SCAL] (1) weaBus.solZen = HDirTil[1].weaBus.solZen ($RES_SIM_473) (227) [SCAL] (1) HDifTil[1].incAng.decAng.decAng = HDifTil[1].incAng.incAng.decAng ($RES_SIM_911) (228) [SCAL] (1) weaBus.solZen = HDifTil[2].weaBus.solZen ($RES_SIM_472) (229) [SCAL] (1) HDifTil[2].incAng.solHouAng.solHouAng = HDifTil[2].incAng.incAng.solHouAng ($RES_SIM_910) (230) [SCAL] (1) weaBus.solZen = HDifTil[1].weaBus.solZen ($RES_SIM_471) (231) [SCAL] (1) thermalZoneFourElements.thermSplitterSolRad.portOut[5].T = thermalZoneFourElements.roofRC.port_a.T ($RES_SIM_826) (232) [SCAL] (1) thermalZoneFourElements.thermSplitterSolRad.portOut[5].T = thermalZoneFourElements.thermSplitterIntGains.portOut[5].T ($RES_SIM_825) (233) [SCAL] (1) thermalZoneFourElements.thermSplitterSolRad.portOut[5].T = thermalZoneFourElements.resExtWallRoof.port_b.T ($RES_SIM_824) (234) [SCAL] (1) weaBus.solZen = acos(sin(weaBus.solDec) * sin(weaDat.latitude.latitude) + cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * weaBus.solTim)) * cos(weaDat.latitude.latitude) * cos(weaBus.solDec)) ($RES_SIM_385) (235) [SCAL] (1) thermalZoneFourElements.thermSplitterSolRad.portOut[5].T = thermalZoneFourElements.convRoof.solid.T ($RES_SIM_823) (236) [SCAL] (1) weaBus.solDec = asin(-0.3979486313076103 * cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time))) ($RES_SIM_384) (237) [SCAL] (1) thermalZoneFourElements.thermSplitterSolRad.portOut[5].T = thermalZoneFourElements.resIntRoof.port_a.T ($RES_SIM_822) (238) [SCAL] (1) thermalZoneFourElements.thermSplitterSolRad.portOut[5].T = thermalZoneFourElements.resRoofFloor.port_a.T ($RES_SIM_821) (239) [SCAL] (1) thermalZoneFourElements.thermSplitterSolRad.portOut[5].T = thermalZoneFourElements.resRoofWin.port_b.T ($RES_SIM_820) (240) [FOR-] (2) ($RES_SIM_298) (240) [----] for $i1 in 1:2 loop (240) [----] [SCAL] (1) HDifTil[$i1].incAng.incAng.incAng = acos(((HDifTil[$i1].incAng.incAng.lat_s * HDifTil[$i1].incAng.incAng.dec_c * HDifTil[$i1].incAng.incAng.sol_c - HDifTil[$i1].incAng.incAng.lat_c * HDifTil[$i1].incAng.incAng.dec_s) * cos(HDifTil[$i1].incAng.incAng.azi) + HDifTil[$i1].incAng.incAng.sol_s * sin(HDifTil[$i1].incAng.incAng.azi) * HDifTil[$i1].incAng.incAng.dec_c) * sin(HDifTil[$i1].incAng.incAng.til) + (HDifTil[$i1].incAng.incAng.lat_s * HDifTil[$i1].incAng.incAng.dec_s + HDifTil[$i1].incAng.incAng.lat_c * HDifTil[$i1].incAng.incAng.dec_c * HDifTil[$i1].incAng.incAng.sol_c) * cos(HDifTil[$i1].incAng.incAng.til)) ($RES_SIM_299) (240) [----] end for; (241) [SCAL] (1) weaBus.ceiHei = max(0.0, weaDat.limCeiHei.u) ($RES_BND_989) (242) [FOR-] (2) ($RES_SIM_296) (242) [----] for $i1 in 1:2 loop (242) [----] [SCAL] (1) HDifTil[$i1].add.y = HDifTil[$i1].add.k1 * HDifTil[$i1].add.u1 + HDifTil[$i1].add.k2 * HDifTil[$i1].add.u2 ($RES_SIM_297) (242) [----] end for; (243) [FOR-] (2) ($RES_SIM_294) (243) [----] for $i1 in 1:2 loop (243) [----] [SCAL] (1) HDirTil[$i1].incAng.decAng.decAng = asin(-0.3979486313076103 * cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * HDirTil[$i1].incAng.decAng.nDay))) ($RES_SIM_295) (243) [----] end for; (244) [SCAL] (1) HDirTil[2].incAng.weaBus.lat = HDirTil[2].incAng.incAng.lat ($RES_SIM_649) (245) [SCAL] (1) HDirTil[1].incAng.weaBus.lat = HDirTil[1].incAng.incAng.lat ($RES_SIM_648) (246) [FOR-] (2) ($RES_SIM_292) (246) [----] for $i1 in 1:2 loop (246) [----] [SCAL] (1) HDirTil[$i1].incAng.solHouAng.solHouAng = 0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * HDirTil[$i1].incAng.solHouAng.solTim) ($RES_SIM_293) (246) [----] end for; (247) [SCAL] (1) HDirTil[2].weaBus.HDirNor = HDirTil[2].incAng.weaBus.HDirNor ($RES_SIM_647) (248) [SCAL] (1) HDirTil[2].weaBus.HDirNor = HDirTil[2].HDirTil.HDirNor ($RES_SIM_646) (249) [FOR-] (2) ($RES_SIM_290) (249) [----] for $i1 in 1:2 loop (249) [----] [SCAL] (1) HDirTil[$i1].incAng.incAng.incAng = acos(((HDirTil[$i1].incAng.incAng.lat_s * HDirTil[$i1].incAng.incAng.dec_c * HDirTil[$i1].incAng.incAng.sol_c - HDirTil[$i1].incAng.incAng.lat_c * HDirTil[$i1].incAng.incAng.dec_s) * cos(HDirTil[$i1].incAng.incAng.azi) + HDirTil[$i1].incAng.incAng.sol_s * sin(HDirTil[$i1].incAng.incAng.azi) * HDirTil[$i1].incAng.incAng.dec_c) * sin(HDirTil[$i1].incAng.incAng.til) + (HDirTil[$i1].incAng.incAng.lat_s * HDirTil[$i1].incAng.incAng.dec_s + HDirTil[$i1].incAng.incAng.lat_c * HDirTil[$i1].incAng.incAng.dec_c * HDirTil[$i1].incAng.incAng.sol_c) * cos(HDirTil[$i1].incAng.incAng.til)) ($RES_SIM_291) (249) [----] end for; (250) [SCAL] (1) HDirTil[1].weaBus.HDirNor = HDirTil[1].incAng.weaBus.HDirNor ($RES_SIM_645) (251) [SCAL] (1) HDirTil[1].weaBus.HDirNor = HDirTil[1].HDirTil.HDirNor ($RES_SIM_644) (252) [SCAL] (1) weaBus.HGloHor = HDirTil[2].weaBus.HGloHor ($RES_SIM_643) (253) [SCAL] (1) weaBus.HDifHor = HDirTil[2].weaBus.HDifHor ($RES_SIM_559) (254) [SCAL] (1) weaBus.HGloHor = HDirTil[1].weaBus.HGloHor ($RES_SIM_642) (255) [SCAL] (1) weaBus.HDifHor = HDirTil[1].weaBus.HDifHor ($RES_SIM_558) (256) [SCAL] (1) weaBus.HGloHor = HDifTil[2].weaBus.HGloHor ($RES_SIM_641) (257) [SCAL] (1) weaBus.HDifHor = HDifTil[2].weaBus.HDifHor ($RES_SIM_557) (258) [SCAL] (1) weaBus.HGloHor = HDifTil[1].weaBus.HGloHor ($RES_SIM_640) (259) [SCAL] (1) weaBus.HDifHor = HDifTil[1].weaBus.HDifHor ($RES_SIM_556) (260) [SCAL] (1) weaBus.HDirNor = HDirTil[2].weaBus.HDirNor ($RES_SIM_554) (261) [SCAL] (1) HDifTil[1].incAng.solHouAng.solHouAng = HDifTil[1].incAng.incAng.solHouAng ($RES_SIM_909) (262) [SCAL] (1) weaBus.HDirNor = HDirTil[1].weaBus.HDirNor ($RES_SIM_553) (263) [SCAL] (1) HDifTil[2].relAirMas.relAirMas = HDifTil[2].skyBri.relAirMas ($RES_SIM_908) (264) [SCAL] (1) weaBus.winDir = HDirTil[2].weaBus.winDir ($RES_SIM_469) (265) [SCAL] (1) weaBus.HDirNor = HDifTil[2].weaBus.HDirNor ($RES_SIM_552) (266) [SCAL] (1) HDifTil[1].relAirMas.relAirMas = HDifTil[1].skyBri.relAirMas ($RES_SIM_907) (267) [SCAL] (1) weaBus.winDir = HDirTil[1].weaBus.winDir ($RES_SIM_468) (268) [SCAL] (1) weaBus.HDirNor = HDifTil[1].weaBus.HDirNor ($RES_SIM_551) (269) [SCAL] (1) HDifTil[2].skyBri.skyBri = HDifTil[2].briCoe.skyBri ($RES_SIM_906) (270) [SCAL] (1) weaBus.winDir = HDifTil[2].weaBus.winDir ($RES_SIM_467) (271) [SCAL] (1) HDifTil[1].skyBri.skyBri = HDifTil[1].briCoe.skyBri ($RES_SIM_905) (272) [SCAL] (1) weaBus.winDir = HDifTil[1].weaBus.winDir ($RES_SIM_466) (273) [SCAL] (1) HDifTil[2].skyCle.skyCle = HDifTil[2].briCoe.skyCle ($RES_SIM_904) (274) [SCAL] (1) HDifTil[1].skyCle.skyCle = HDifTil[1].briCoe.skyCle ($RES_SIM_903) (275) [SCAL] (1) weaBus.winSpe = HDirTil[2].weaBus.winSpe ($RES_SIM_464) (276) [SCAL] (1) HDifTil[2].incAng.y = HDifTil[2].HDifTil.incAng ($RES_SIM_902) (277) [SCAL] (1) weaBus.winSpe = HDirTil[1].weaBus.winSpe ($RES_SIM_463) (278) [SCAL] (1) thermalZoneFourElements.resRoofFloor.port_b.T = thermalZoneFourElements.thermSplitterIntGains.portOut[4].T ($RES_SIM_818) (279) [SCAL] (1) HDifTil[1].incAng.y = HDifTil[1].HDifTil.incAng ($RES_SIM_901) (280) [SCAL] (1) weaDat.limTotSkyCov.u = weaDat.conTotSkyCov.k * weaDat.conTotSkyCov.u ($RES_SIM_379) (281) [SCAL] (1) weaBus.winSpe = HDifTil[2].weaBus.winSpe ($RES_SIM_462) (282) [SCAL] (1) HDifTil[2].briCoe.F2 = HDifTil[2].HDifTil.briCof2 ($RES_SIM_900) (283) [SCAL] (1) weaDat.limOpaSkyCov.u = weaDat.conOpaSkyCov.k * weaDat.conOpaSkyCov.u ($RES_SIM_378) (284) [SCAL] (1) weaBus.winSpe = HDifTil[1].weaBus.winSpe ($RES_SIM_461) (285) [SCAL] (1) thermalZoneFourElements.resRoofFloor.port_b.T = thermalZoneFourElements.thermSplitterSolRad.portOut[4].T ($RES_SIM_816) (286) [FOR-] (2) ($RES_SIM_374) (286) [----] for $i1 in 1:2 loop (286) [----] [SCAL] (1) HDifTil[$i1].HDifTil.a = smooth(1, if $SEV_2[$i1] then 0.0 else if $SEV_3[$i1] then cos(HDifTil[$i1].HDifTil.incAng) else 0.5 * cos(HDifTil[$i1].HDifTil.incAng) - 0.25 * cos(HDifTil[$i1].HDifTil.incAng) * ((-3.0) + (cos(HDifTil[$i1].HDifTil.incAng) / (-0.01)) ^ 2.0) * (100.0 * cos(HDifTil[$i1].HDifTil.incAng))) ($RES_SIM_375) (286) [----] end for; (287) [SCAL] (1) thermalZoneFourElements.resIntRoof.port_b.T = thermalZoneFourElements.thermSplitterIntGains.portOut[3].T ($RES_SIM_811) (288) [FOR-] (2) ($RES_SIM_372) (288) [----] for $i1 in 1:2 loop (288) [----] [SCAL] (1) HDifTil[$i1].HDifTil.b = smooth(1, if $SEV_4[$i1] then 0.08715574274765814 else if $SEV_5[$i1] then cos(HDifTil[$i1].HDifTil.zen) else 0.25 * ((-0.08715574274765814) + cos(HDifTil[$i1].HDifTil.zen)) * ((-3.0) + ((0.08715574274765814 - cos(HDifTil[$i1].HDifTil.zen)) / 0.01) ^ 2.0) * (100.0 * (0.08715574274765814 - cos(HDifTil[$i1].HDifTil.zen))) + 0.5 * (0.08715574274765814 + cos(HDifTil[$i1].HDifTil.zen))) ($RES_SIM_373) (288) [----] end for; (289) [SCAL] (1) thermalZoneFourElements.resIntRoof.port_b.T = thermalZoneFourElements.thermSplitterSolRad.portOut[3].T ($RES_SIM_810) (290) [FOR-] (2) ($RES_SIM_288) (290) [----] for $i1 in 1:2 loop (290) [----] [SCAL] (1) HDirTil[$i1].HDirTil.HDirTil = max(0.0, cos(HDirTil[$i1].HDirTil.incAng) * HDirTil[$i1].HDirTil.HDirNor) ($RES_SIM_289) (290) [----] end for; (291) [FOR-] (2) ($RES_SIM_370) (291) [----] for $i1 in 1:2 loop (291) [----] [SCAL] (1) HDifTil[$i1].HDifTil.HSkyDifTil = HDifTil[$i1].HDifTil.HDifHor * ((HDifTil[$i1].HDifTil.a * HDifTil[$i1].HDifTil.briCof1) / HDifTil[$i1].HDifTil.b + 0.5 * (1.0 - HDifTil[$i1].HDifTil.briCof1) * (1.0 + cos(HDifTil[$i1].HDifTil.til)) + HDifTil[$i1].HDifTil.briCof2 * sin(HDifTil[$i1].HDifTil.til)) ($RES_SIM_371) (291) [----] end for; (292) [FOR-] (2) ($RES_SIM_286) (292) [----] for $i1 in 1:2 loop (292) [----] [SCAL] (1) corGDouPan.solarRadWinTrans[$i1] = HDifTil[$i1].HSkyDifTil * corGDouPan.CorG_diff + corGDouPan.HDirTil[$i1] * corGDouPan.CorG_dir[$i1] + HDifTil[$i1].HGroDifTil * corGDouPan.CorG_gr ($RES_SIM_287) (292) [----] end for; (293) [SCAL] (1) eqAirTempVDI.TDryBul = HDirTil[2].weaBus.TDryBul ($RES_SIM_723) (294) [FOR-] (2) ($RES_SIM_284) (294) [----] for $i1 in 1:2 loop (294) [----] [SCAL] (1) corGDouPan.CorG_dir[$i1] = (corGDouPan.Ta2_dir[$i1] + corGDouPan.Qsek2_dir[$i1]) / corGDouPan.g_dir0 ($RES_SIM_285) (294) [----] end for; (295) [SCAL] (1) eqAirTempVDI.TDryBul = HDirTil[1].weaBus.TDryBul ($RES_SIM_722) (296) [SCAL] (1) weaBus.HGloHor = eqAirTempVDI.HSol[1] ($RES_SIM_638) (297) [SCAL] (1) eqAirTempVDI.TDryBul = HDifTil[2].weaBus.TDryBul ($RES_SIM_721) (298) [ARRY] (5) thermalZoneFourElements.thermSplitterIntGains.portOut.Q_flow = -thermalZoneFourElements.thermSplitterIntGains.portIn.Q_flow * transpose(thermalZoneFourElements.thermSplitterIntGains.splitFactor) ($RES_SIM_199) (299) [FOR-] (2) ($RES_SIM_282) (299) [----] for $i1 in 1:2 loop (299) [----] [SCAL] (1) corGDouPan.Ta2_dir[$i1] = corGDouPan.Ta1_dir[$i1] ^ 2.0 / corGDouPan.XN2_dir[$i1] ($RES_SIM_283) (299) [----] end for; (300) [SCAL] (1) HDifTil[2].weaBus.HHorIR = HDifTil[2].incAng.weaBus.HHorIR ($RES_SIM_637) (301) [SCAL] (1) eqAirTempVDI.TDryBul = HDifTil[1].weaBus.TDryBul ($RES_SIM_720) (302) [ARRY] (1) thermalZoneFourElements.thermSplitterIntGains.portIn.T = thermalZoneFourElements.thermSplitterIntGains.portOut.T * thermalZoneFourElements.thermSplitterIntGains.splitFactor ($RES_SIM_198) (303) [SCAL] (1) HDifTil[2].weaBus.TBlaSky = HDifTil[2].incAng.weaBus.TBlaSky ($RES_SIM_636) (304) [ARRY] (5) thermalZoneFourElements.thermSplitterSolRad.portOut.Q_flow = -thermalZoneFourElements.thermSplitterSolRad.portIn.Q_flow * transpose(thermalZoneFourElements.thermSplitterSolRad.splitFactor) ($RES_SIM_197) (305) [FOR-] (2) ($RES_SIM_280) (305) [----] for $i1 in 1:2 loop (305) [----] [SCAL] (1) corGDouPan.Qsek2_dir[$i1] = corGDouPan.Q21_dir[$i1] + corGDouPan.Q22_dir[$i1] ($RES_SIM_281) (305) [----] end for; (306) [SCAL] (1) HDifTil[2].weaBus.TDewPoi = HDifTil[2].incAng.weaBus.TDewPoi ($RES_SIM_635) (307) [ARRY] (2) thermalZoneFourElements.radHeatSol.port.T = thermalZoneFourElements.thermSplitterSolRad.portOut.T * thermalZoneFourElements.thermSplitterSolRad.splitFactor ($RES_SIM_196) (308) [SCAL] (1) HDifTil[2].weaBus.TDryBul = HDifTil[2].incAng.weaBus.TDryBul ($RES_SIM_634) (309) [SCAL] (1) HDifTil[2].weaBus.ceiHei = HDifTil[2].incAng.weaBus.ceiHei ($RES_SIM_633) (310) [SCAL] (1) thermalZoneFourElements.extWallRC.thermCapExt[1].der_T = $DER.thermalZoneFourElements.extWallRC.thermCapExt[1].T ($RES_SIM_194) (311) [SCAL] (1) weaBus.HHorIR = HDirTil[2].weaBus.HHorIR ($RES_SIM_549) (312) [SCAL] (1) HDifTil[2].weaBus.cloTim = HDifTil[2].incAng.weaBus.cloTim ($RES_SIM_632) (313) [SCAL] (1) thermalZoneFourElements.extWallRC.thermCapExt[1].C * $DER.thermalZoneFourElements.extWallRC.thermCapExt[1].T = thermalZoneFourElements.extWallRC.thermCapExt[1].port.Q_flow ($RES_SIM_193) (314) [SCAL] (1) weaBus.HHorIR = HDirTil[1].weaBus.HHorIR ($RES_SIM_548) (315) [SCAL] (1) HDifTil[2].weaBus.lat = HDifTil[2].incAng.weaBus.lat ($RES_SIM_631) (316) [SCAL] (1) thermalZoneFourElements.extWallRC.thermResExt[1].dT = thermalZoneFourElements.extWallRC.thermResExt[1].R * thermalZoneFourElements.extWallRC.thermResExt[1].Q_flow ($RES_SIM_192) (317) [SCAL] (1) weaBus.HHorIR = HDifTil[2].weaBus.HHorIR ($RES_SIM_547) (318) [SCAL] (1) thermalZoneFourElements.extWallRC.thermResExt[1].dT = thermalZoneFourElements.extWallRC.thermResExt[1].port_a.T - thermalZoneFourElements.extWallRC.thermResExt[1].port_b.T ($RES_SIM_191) (319) [SCAL] (1) weaBus.HHorIR = HDifTil[1].weaBus.HHorIR ($RES_SIM_546) (320) [SCAL] (1) weaBus.TDewPoi = HDirTil[2].weaBus.TDewPoi ($RES_SIM_544) (321) [SCAL] (1) weaBus.TDewPoi = HDirTil[1].weaBus.TDewPoi ($RES_SIM_543) (322) [SCAL] (1) weaBus.TDewPoi = HDifTil[2].weaBus.TDewPoi ($RES_SIM_542) (323) [SCAL] (1) $FUN_20 = sum(thermalZoneFourElements.volAir.Xi) ($RES_AUX_1028) (324) [SCAL] (1) weaBus.TDewPoi = HDifTil[1].weaBus.TDewPoi ($RES_SIM_541) (325) [SCAL] (1) -souAir.m_flow = sum(souAir.ports.m_flow) ($RES_AUX_1029) (326) [SCAL] (1) thermalZoneFourElements.extWallRC.thermResExt[1].port_b.Q_flow + theConWall.Q_flow + thermalZoneFourElements.extWallRC.thermCapExt[1].port.Q_flow = 0.0 ($RES_SIM_454) (327) [SCAL] (1) thermalZoneFourElements.intWallRC.thermResInt[1].port_b.Q_flow + thermalZoneFourElements.intWallRC.thermCapInt[1].port.Q_flow = 0.0 ($RES_SIM_452) (328) [FOR-] (2) ($RES_SIM_368) (328) [----] for $i1 in 1:2 loop (328) [----] [SCAL] (1) HDifTil[$i1].HDifTil.HGroDifTil = 0.5 * HDifTil[$i1].HDifTil.rho * HDifTil[$i1].HDifTil.HGloHor * (1.0 - cos(HDifTil[$i1].HDifTil.til)) ($RES_SIM_369) (328) [----] end for; (329) [SCAL] (1) thermalZoneFourElements.floorRC.thermResExt[1].port_b.Q_flow + preTemFloor.port.Q_flow + thermalZoneFourElements.floorRC.thermCapExt[1].port.Q_flow = 0.0 ($RES_SIM_450) (330) [FOR-] (2) ($RES_SIM_366) (330) [----] for $i1 in 1:2 loop (330) [----] [SCAL] (1) HDifTil[$i1].skyCle.tmp1 = 1.040895310738997 * HDifTil[$i1].skyCle.zen ^ 3.0 ($RES_SIM_367) (330) [----] end for; (331) [SCAL] (1) thermalZoneFourElements.resExtWallRoof.port_a.T = thermalZoneFourElements.thermSplitterSolRad.portOut[1].T ($RES_SIM_804) (332) [SCAL] (1) thermalZoneFourElements.resExtWallRoof.port_a.T = thermalZoneFourElements.thermSplitterIntGains.portOut[1].T ($RES_SIM_803) (333) [FOR-] (2) ($RES_SIM_364) (333) [----] for $i1 in 1:2 loop (333) [----] [SCAL] (1) HDifTil[$i1].skyCle.HDifHorBou = smooth(1, if $SEV_6[$i1] then HDifTil[$i1].skyCle.HDifHor else if $SEV_7[$i1] then 5e-5 else 0.25 * (5e-5 - HDifTil[$i1].skyCle.HDifHor) * ((-3.0) + (((-5e-5) + HDifTil[$i1].skyCle.HDifHor) / 2.5e-5) ^ 2.0) * (4e4 * ((-5e-5) + HDifTil[$i1].skyCle.HDifHor)) + 0.5 * (5e-5 + HDifTil[$i1].skyCle.HDifHor)) ($RES_SIM_365) (333) [----] end for; (334) [FOR-] (2) ($RES_SIM_362) (334) [----] for $i1 in 1:2 loop (334) [----] [SCAL] (1) HDifTil[$i1].skyCle.skyCle = $FUN_3[$i1] ($RES_SIM_363) (334) [----] end for; (335) [FOR-] (2) ($RES_SIM_278) (335) [----] for $i1 in 1:2 loop (335) [----] [SCAL] (1) corGDouPan.Q22_dir[$i1] = (corGDouPan.Ta1_dir[$i1] / corGDouPan.XN2_dir[$i1]) * corGDouPan.a1_dir[$i1] * (1.0 - 0.12987012987012986 * corGDouPan.UWin) ($RES_SIM_279) (335) [----] end for; (336) [SCAL] (1) eqAirTempVDI.TBlaSky = HDirTil[2].weaBus.TBlaSky ($RES_SIM_716) (337) [FOR-] (2) ($RES_SIM_360) (337) [----] for $i1 in 1:2 loop (337) [----] [SCAL] (1) HDifTil[$i1].briCoe.b1 = smooth(1, if $SEV_8[$i1] then 1.0 else if $SEV_9[$i1] then 0.0 else if $SEV_10[$i1] then 0.5 - 0.25 * ((-3.0) + ((1.065 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) ^ 2.0) * ((1.065 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) else 0.5) ($RES_SIM_361) (337) [----] end for; (338) [SCAL] (1) eqAirTempVDI.TBlaSky = HDirTil[1].weaBus.TBlaSky ($RES_SIM_715) (339) [FOR-] (2) ($RES_SIM_276) (339) [----] for $i1 in 1:2 loop (339) [----] [SCAL] (1) corGDouPan.Q21_dir[$i1] = 0.04 * corGDouPan.UWin * (1.0 + (corGDouPan.rho_1_dir[$i1] * corGDouPan.Ta1_dir[$i1]) / corGDouPan.XN2_dir[$i1]) * corGDouPan.a1_dir[$i1] ($RES_SIM_277) (339) [----] end for; (340) [SCAL] (1) eqAirTempVDI.TBlaSky = HDifTil[2].weaBus.TBlaSky ($RES_SIM_714) (341) [SCAL] (1) eqAirTempVDI.TBlaSky = HDifTil[1].weaBus.TBlaSky ($RES_SIM_713) (342) [FOR-] (2) ($RES_SIM_274) (342) [----] for $i1 in 1:2 loop (342) [----] [SCAL] (1) corGDouPan.XN2_dir[$i1] = 1.0 - corGDouPan.rho_1_dir[$i1] ^ 2.0 ($RES_SIM_275) (342) [----] end for; (343) [SCAL] (1) HDifTil[2].weaBus.nOpa = HDifTil[2].incAng.weaBus.nOpa ($RES_SIM_629) (344) [SCAL] (1) HDifTil[2].weaBus.nTot = HDifTil[2].incAng.weaBus.nTot ($RES_SIM_628) (345) [SCAL] (1) thermalZoneFourElements.extWallRC.thermResExt[1].port_b.Q_flow = -thermalZoneFourElements.extWallRC.thermResExt[1].Q_flow ($RES_SIM_189) (346) [FOR-] (2) ($RES_SIM_272) (346) [----] for $i1 in 1:2 loop (346) [----] [SCAL] (1) corGDouPan.a1_dir[$i1] = 1.0 - (corGDouPan.rho_1_dir[$i1] + corGDouPan.Ta1_dir[$i1]) ($RES_SIM_273) (346) [----] end for; (347) [SCAL] (1) thermalZoneFourElements.extWallRC.thermResExtRem.dT = thermalZoneFourElements.extWallRC.thermResExtRem.R * theConWall.Q_flow ($RES_SIM_188) (348) [SCAL] (1) HDifTil[2].weaBus.relHum = HDifTil[2].incAng.weaBus.relHum ($RES_SIM_626) (349) [SCAL] (1) thermalZoneFourElements.extWallRC.thermResExtRem.dT = thermalZoneFourElements.extWallRC.thermResExtRem.port_a.T - theConWall.solid.T ($RES_SIM_187) (350) [FOR-] (2) ($RES_SIM_270) (350) [----] for $i1 in 1:2 loop (350) [----] [SCAL] (1) corGDouPan.rho_1_dir[$i1] = corGDouPan.rho_11_dir[$i1] + (corGDouPan.rho_11_dir[$i1] * ((1.0 - corGDouPan.rho_11_dir[$i1]) * corGDouPan.Tai_dir[$i1]) ^ 2.0) / (1.0 - (corGDouPan.rho_11_dir[$i1] * corGDouPan.Tai_dir[$i1]) ^ 2.0) ($RES_SIM_271) (350) [----] end for; (351) [SCAL] (1) HDifTil[2].weaBus.solAlt = HDifTil[2].incAng.weaBus.solAlt ($RES_SIM_625) (352) [SCAL] (1) HDifTil[2].weaBus.solDec = HDifTil[2].incAng.weaBus.solDec ($RES_SIM_624) (353) [SCAL] (1) HDifTil[2].weaBus.solHouAng = HDifTil[2].incAng.weaBus.solHouAng ($RES_SIM_623) (354) [FOR-] (3) ($RES_AUX_1030) (354) [----] for $i1 in 1:3 loop (354) [----] [SCAL] (1) $FUN_18[$i1] = Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer2(intGai.tableID, $i1, time, intGai.nextTimeEventScaled, $TEV_2[$i1]) ($RES_AUX_1031) (354) [----] end for; (355) [SCAL] (1) thermalZoneFourElements.convExtWall.dT = thermalZoneFourElements.resExtWallRoof.port_a.T - thermalZoneFourElements.TAir ($RES_SIM_184) (356) [SCAL] (1) HDifTil[2].weaBus.winDir = HDifTil[2].incAng.weaBus.winDir ($RES_SIM_622) (357) [SCAL] (1) HDifTil[2].weaBus.winSpe = HDifTil[2].incAng.weaBus.winSpe ($RES_SIM_621) (358) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.Hb_flow = sum(thermalZoneFourElements.volAir.dynBal.ports_H_flow) ($RES_AUX_1032) (359) [SCAL] (1) weaDat.altitude.Altitude = HDifTil[2].weaBus.alt ($RES_SIM_537) (360) [SCAL] (1) HDifTil[1].weaBus.HHorIR = HDifTil[1].incAng.weaBus.HHorIR ($RES_SIM_620) (361) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.mb_flow = sum(thermalZoneFourElements.volAir.dynBal.ports.m_flow) ($RES_AUX_1033) (362) [SCAL] (1) thermalZoneFourElements.convExtWall.Q_flow = thermalZoneFourElements.hConExtWall_const.k * thermalZoneFourElements.convExtWall.dT ($RES_SIM_181) (363) [SCAL] (1) weaDat.altitude.Altitude = HDifTil[1].weaBus.alt ($RES_SIM_536) (364) [SCAL] (1) $FUN_15 = sum(thermalZoneFourElements.volAir.dynBal.ports_mC_flow[:, 1]) ($RES_AUX_1034) (365) [SCAL] (1) $FUN_14 = sum(thermalZoneFourElements.volAir.dynBal.ports_mXi_flow[:, 1]) ($RES_AUX_1035) (366) [SCAL] (1) weaBus.ceiHei = HDirTil[2].weaBus.ceiHei ($RES_SIM_534) (367) [SCAL] (1) $FUN_13 = semiLinear(thermalZoneFourElements.volAir.dynBal.ports[2].m_flow, sinAir.ports[1].C_outflow[1], thermalZoneFourElements.volAir.dynBal.ports[2].C_outflow[1]) ($RES_AUX_1036) (368) [SCAL] (1) weaBus.ceiHei = HDirTil[1].weaBus.ceiHei ($RES_SIM_533) (369) [SCAL] (1) $FUN_12 = semiLinear(thermalZoneFourElements.volAir.dynBal.ports[2].m_flow, sinAir.ports[1].Xi_outflow[1], thermalZoneFourElements.volAir.dynBal.ports[2].Xi_outflow[1]) ($RES_AUX_1037) (370) [SCAL] (1) weaBus.ceiHei = HDifTil[2].weaBus.ceiHei ($RES_SIM_532) (371) [SCAL] (1) $FUN_11 = semiLinear(thermalZoneFourElements.volAir.dynBal.ports[2].m_flow, sinAir.ports[1].h_outflow, thermalZoneFourElements.volAir.dynBal.ports[2].h_outflow) ($RES_AUX_1038) (372) [SCAL] (1) weaBus.ceiHei = HDifTil[1].weaBus.ceiHei ($RES_SIM_531) (373) [SCAL] (1) $FUN_10 = semiLinear(thermalZoneFourElements.volAir.dynBal.ports[1].m_flow, souAir.ports[1].C_outflow[1], thermalZoneFourElements.volAir.dynBal.ports[1].C_outflow[1]) ($RES_AUX_1039) (374) [SCAL] (1) thermalZoneFourElements.roofRC.thermResExt[1].port_b.Q_flow + theConRoof.Q_flow + thermalZoneFourElements.roofRC.thermCapExt[1].port.Q_flow = 0.0 ($RES_SIM_447) (375) [SCAL] (1) (thermalZoneFourElements.volAir.heatPort.Q_flow + thermalZoneFourElements.convHeatSol.port.Q_flow) - (thermalZoneFourElements.intGainsConv.Q_flow + thermalZoneFourElements.convExtWall.Q_flow + thermalZoneFourElements.convWin.Q_flow + thermalZoneFourElements.convIntWall.Q_flow + thermalZoneFourElements.convFloor.Q_flow + thermalZoneFourElements.convRoof.Q_flow) = 0.0 ($RES_SIM_445) (376) [SCAL] (1) (thermalZoneFourElements.thermSplitterSolRad.portOut[3].Q_flow + thermalZoneFourElements.intWallRC.port_a.Q_flow + thermalZoneFourElements.convIntWall.Q_flow + thermalZoneFourElements.resIntWallFloor.Q_flow + thermalZoneFourElements.thermSplitterIntGains.portOut[3].Q_flow) - (thermalZoneFourElements.resExtWallIntWall.Q_flow + thermalZoneFourElements.resIntWallWin.Q_flow + thermalZoneFourElements.resIntRoof.Q_flow) = 0.0 ($RES_SIM_444) (377) [SCAL] (1) thermalZoneFourElements.thermSplitterIntGains.portOut[2].Q_flow + thermalZoneFourElements.thermSplitterSolRad.portOut[2].Q_flow + thermalZoneFourElements.convWin.Q_flow + thermalZoneFourElements.resExtWallWin.Q_flow + thermalZoneFourElements.resIntWallWin.Q_flow + thermalZoneFourElements.resFloorWin.Q_flow + thermalZoneFourElements.resRoofWin.Q_flow + theConWin.Q_flow = 0.0 ($RES_SIM_443) (378) [SCAL] (1) (thermalZoneFourElements.thermSplitterSolRad.portOut[5].Q_flow + thermalZoneFourElements.roofRC.port_a.Q_flow + thermalZoneFourElements.convRoof.Q_flow + thermalZoneFourElements.resIntRoof.Q_flow + thermalZoneFourElements.resRoofFloor.Q_flow + thermalZoneFourElements.thermSplitterIntGains.portOut[5].Q_flow) - (thermalZoneFourElements.resRoofWin.Q_flow + thermalZoneFourElements.resExtWallRoof.Q_flow) = 0.0 ($RES_SIM_442) (379) [FOR-] (2) ($RES_SIM_358) (379) [----] for $i1 in 1:2 loop (379) [----] [SCAL] (1) HDifTil[$i1].briCoe.b2 = smooth(1, if $SEV_11[$i1] then 1.0 else if $SEV_12[$i1] then 0.0 else if $SEV_10[$i1] then 0.5 - 0.25 * ((-3.0) + ((1.23 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) ^ 2.0) * ((1.23 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) else 0.5) ($RES_SIM_359) (379) [----] end for; (380) [SCAL] (1) (thermalZoneFourElements.thermSplitterSolRad.portOut[4].Q_flow + thermalZoneFourElements.floorRC.port_a.Q_flow + thermalZoneFourElements.convFloor.Q_flow + thermalZoneFourElements.thermSplitterIntGains.portOut[4].Q_flow) - (thermalZoneFourElements.resExtWallFloor.Q_flow + thermalZoneFourElements.resIntWallFloor.Q_flow + thermalZoneFourElements.resFloorWin.Q_flow + thermalZoneFourElements.resRoofFloor.Q_flow) = 0.0 ($RES_SIM_441) (381) [SCAL] (1) (thermalZoneFourElements.thermSplitterSolRad.portOut[1].Q_flow + thermalZoneFourElements.extWallRC.port_a.Q_flow + thermalZoneFourElements.convExtWall.Q_flow + thermalZoneFourElements.resExtWallIntWall.Q_flow + thermalZoneFourElements.resExtWallFloor.Q_flow + thermalZoneFourElements.resExtWallRoof.Q_flow + thermalZoneFourElements.thermSplitterIntGains.portOut[1].Q_flow) - thermalZoneFourElements.resExtWallWin.Q_flow = 0.0 ($RES_SIM_440) (382) [FOR-] (2) ($RES_SIM_356) (382) [----] for $i1 in 1:2 loop (382) [----] [SCAL] (1) HDifTil[$i1].briCoe.b3 = smooth(1, if $SEV_13[$i1] then 1.0 else if $SEV_14[$i1] then 0.0 else if $SEV_10[$i1] then 0.5 - 0.25 * ((-3.0) + ((1.5 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) ^ 2.0) * ((1.5 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) else 0.5) ($RES_SIM_357) (382) [----] end for; (383) [FOR-] (2) ($RES_SIM_354) (383) [----] for $i1 in 1:2 loop (383) [----] [SCAL] (1) HDifTil[$i1].briCoe.b4 = smooth(1, if $SEV_15[$i1] then 1.0 else if $SEV_16[$i1] then 0.0 else if $SEV_10[$i1] then 0.5 - 0.25 * ((-3.0) + ((1.95 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) ^ 2.0) * ((1.95 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) else 0.5) ($RES_SIM_355) (383) [----] end for; (384) [SCAL] (1) const1.k = eqAirTempVDI.sunblind[1] ($RES_SIM_708) (385) [FOR-] (2) ($RES_SIM_352) (385) [----] for $i1 in 1:2 loop (385) [----] [SCAL] (1) HDifTil[$i1].briCoe.b5 = smooth(1, if $SEV_17[$i1] then 1.0 else if $SEV_18[$i1] then 0.0 else if $SEV_10[$i1] then 0.5 - 0.25 * ((-3.0) + ((2.8 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) ^ 2.0) * ((2.8 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) else 0.5) ($RES_SIM_353) (385) [----] end for; (386) [FOR-] (2) ($RES_SIM_268) (386) [----] for $i1 in 1:2 loop (386) [----] [SCAL] (1) corGDouPan.rho_11_dir[$i1] = corGDouPan.rho_T1_dir[$i1] / (2.0 - corGDouPan.rho_T1_dir[$i1]) ($RES_SIM_269) (386) [----] end for; (387) [FOR-] (2) ($RES_SIM_350) (387) [----] for $i1 in 1:2 loop (387) [----] [SCAL] (1) HDifTil[$i1].briCoe.b6 = smooth(1, if $SEV_19[$i1] then 1.0 else if $SEV_20[$i1] then 0.0 else if $SEV_10[$i1] then 0.5 - 0.25 * ((-3.0) + ((4.5 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) ^ 2.0) * ((4.5 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) else 0.5) ($RES_SIM_351) (387) [----] end for; (388) [FOR-] (2) ($RES_SIM_266) (388) [----] for $i1 in 1:2 loop (388) [----] [SCAL] (1) corGDouPan.rho_T1_dir[$i1] = 1.0 - corGDouPan.Ta_dir[$i1] ($RES_SIM_267) (388) [----] end for; (389) [FOR-] (2) ($RES_SIM_264) (389) [----] for $i1 in 1:2 loop (389) [----] [SCAL] (1) corGDouPan.Ta1_dir[$i1] = corGDouPan.Ta_dir[$i1] * corGDouPan.Tai_dir[$i1] ($RES_SIM_265) (389) [----] end for; (390) [SCAL] (1) HDifTil[1].weaBus.TBlaSky = HDifTil[1].incAng.weaBus.TBlaSky ($RES_SIM_619) (391) [SCAL] (1) HDifTil[1].weaBus.TDewPoi = HDifTil[1].incAng.weaBus.TDewPoi ($RES_SIM_618) (392) [SCAL] (1) thermalZoneFourElements.convWin.dT = thermalZoneFourElements.resRoofWin.port_a.T - thermalZoneFourElements.TAir ($RES_SIM_179) (393) [FOR-] (2) ($RES_SIM_262) (393) [----] for $i1 in 1:2 loop (393) [----] [SCAL] (1) corGDouPan.Tai_dir[$i1] = 0.907 ^ (1.0 / $FUN_7[$i1]) ($RES_SIM_263) (393) [----] end for; (394) [SCAL] (1) HDifTil[1].weaBus.TDryBul = HDifTil[1].incAng.weaBus.TDryBul ($RES_SIM_617) (395) [SCAL] (1) HDifTil[1].weaBus.ceiHei = HDifTil[1].incAng.weaBus.ceiHei ($RES_SIM_616) (396) [FOR-] (2) ($RES_SIM_260) (396) [----] for $i1 in 1:2 loop (396) [----] [SCAL] (1) corGDouPan.Ta_dir[$i1] = (((((corGDouPan.A6 * (57.29577951308232 * HDirTil[$i1].inc) + corGDouPan.A5) * (57.29577951308232 * HDirTil[$i1].inc) + corGDouPan.A4) * (57.29577951308232 * HDirTil[$i1].inc) + corGDouPan.A3) * (57.29577951308232 * HDirTil[$i1].inc) + corGDouPan.A2) * (57.29577951308232 * HDirTil[$i1].inc) + corGDouPan.A1) * (57.29577951308232 * HDirTil[$i1].inc) + corGDouPan.A0 ($RES_SIM_261) (396) [----] end for; (397) [SCAL] (1) HDifTil[1].weaBus.cloTim = HDifTil[1].incAng.weaBus.cloTim ($RES_SIM_615) (398) [SCAL] (1) thermalZoneFourElements.convWin.Q_flow = thermalZoneFourElements.hConWin_const.k * thermalZoneFourElements.convWin.dT ($RES_SIM_176) (399) [SCAL] (1) HDifTil[1].weaBus.lat = HDifTil[1].incAng.weaBus.lat ($RES_SIM_614) (400) [SCAL] (1) $FUN_9 = semiLinear(thermalZoneFourElements.volAir.dynBal.ports[1].m_flow, souAir.ports[1].Xi_outflow[1], thermalZoneFourElements.volAir.dynBal.ports[1].Xi_outflow[1]) ($RES_AUX_1040) (401) [SCAL] (1) time = HDirTil[2].weaBus.cloTim ($RES_SIM_529) (402) [SCAL] (1) HDifTil[1].weaBus.nOpa = HDifTil[1].incAng.weaBus.nOpa ($RES_SIM_612) (403) [SCAL] (1) $FUN_8 = semiLinear(thermalZoneFourElements.volAir.dynBal.ports[1].m_flow, souAir.ports[1].h_outflow, thermalZoneFourElements.volAir.dynBal.ports[1].h_outflow) ($RES_AUX_1041) (404) [FOR-] (2) ($RES_SIM_173) (404) [----] for $i1 in 1:2 loop (404) [----] [SCAL] (1) thermalZoneFourElements.eRadSol[$i1].y = thermalZoneFourElements.eRadSol[$i1].k * thermalZoneFourElements.eRadSol[$i1].u ($RES_SIM_174) (404) [----] end for; (405) [SCAL] (1) time = HDirTil[1].weaBus.cloTim ($RES_SIM_528) (406) [SCAL] (1) HDifTil[1].weaBus.nTot = HDifTil[1].incAng.weaBus.nTot ($RES_SIM_611) (407) [FOR-] (2) ($RES_AUX_1042) (407) [----] for $i1 in 1:2 loop (407) [----] [SCAL] (1) $FUN_7[$i1] = sqrt(1.0 - ($FUN_6[$i1] / 1.515) ^ 2.0) ($RES_AUX_1043) (407) [----] end for; (408) [SCAL] (1) time = HDifTil[2].weaBus.cloTim ($RES_SIM_527) (409) [FOR-] (2) ($RES_SIM_171) (409) [----] for $i1 in 1:2 loop (409) [----] [SCAL] (1) thermalZoneFourElements.eConvSol[$i1].y = thermalZoneFourElements.eConvSol[$i1].k * thermalZoneFourElements.eConvSol[$i1].u ($RES_SIM_172) (409) [----] end for; (410) [SCAL] (1) time = HDifTil[1].weaBus.cloTim ($RES_SIM_526) (411) [FOR-] (2) ($RES_AUX_1044) (411) [----] for $i1 in 1:2 loop (411) [----] [SCAL] (1) $FUN_6[$i1] = sin(HDirTil[$i1].inc) ($RES_AUX_1045) (411) [----] end for; (412) [SCAL] (1) thermalZoneFourElements.resExtWallWin.Q_flow = thermalZoneFourElements.resExtWallWin.G * thermalZoneFourElements.resExtWallWin.dT ($RES_SIM_170) (413) [SCAL] (1) weaDat.latitude.latitude = HDirTil[2].weaBus.lat ($RES_SIM_524) (414) [FOR-] (2) ($RES_AUX_1046) (414) [----] for $i1 in 1:2 loop (414) [----] [SCAL] (1) $FUN_5[$i1] = cos(0.01721420632103996 * (1.0 + 1.1574074074074073e-5 * HDifTil[$i1].skyBri.solTim)) ($RES_AUX_1047) (414) [----] end for; (415) [SCAL] (1) weaDat.latitude.latitude = HDirTil[1].weaBus.lat ($RES_SIM_523) (416) [SCAL] (1) weaDat.latitude.latitude = HDifTil[2].weaBus.lat ($RES_SIM_522) (417) [FOR-] (2) ($RES_AUX_1048) (417) [----] for $i1 in 1:2 loop (417) [----] [SCAL] (1) $FUN_4[$i1] = exp(-1.184e-4 * HDifTil[$i1].relAirMas.alt) ($RES_AUX_1049) (417) [----] end for; (418) [SCAL] (1) weaDat.latitude.latitude = HDifTil[1].weaBus.lat ($RES_SIM_521) (419) [SCAL] (1) perCon.port.Q_flow + macConv.port.Q_flow + thermalZoneFourElements.intGainsConv.Q_flow = 0.0 ($RES_SIM_435) (420) [FOR-] (2) ($RES_SIM_348) (420) [----] for $i1 in 1:2 loop (420) [----] [SCAL] (1) HDifTil[$i1].briCoe.b7 = smooth(1, if $SEV_21[$i1] then 1.0 else if $SEV_22[$i1] then 0.0 else if $SEV_10[$i1] then 0.5 - 0.25 * ((-3.0) + ((6.2 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) ^ 2.0) * ((6.2 - HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) else 0.5) ($RES_SIM_349) (420) [----] end for; (421) [SCAL] (1) souAir.ports[1].m_flow + thermalZoneFourElements.ports[1].m_flow = 0.0 ($RES_SIM_431) (422) [SCAL] (1) sinAir.ports[1].m_flow + thermalZoneFourElements.ports[2].m_flow = 0.0 ($RES_SIM_430) (423) [FOR-] (2) ($RES_SIM_346) (423) [----] for $i1 in 1:2 loop (423) [----] [SCAL] (1) HDifTil[$i1].briCoe.b8 = smooth(1, if $SEV_23[$i1] then 1.0 else if $SEV_24[$i1] then 0.0 else if $SEV_10[$i1] then 0.5 - 0.25 * ((-3.0) + (((-6.2) + HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) ^ 2.0) * (((-6.2) + HDifTil[$i1].briCoe.skyCle) / HDifTil[$i1].briCoe.d) else 0.5) ($RES_SIM_347) (423) [----] end for; (424) [FOR-] (2) ($RES_SIM_344) (424) [----] for $i1 in 1:2 loop (424) [----] [SCAL] (1) HDifTil[$i1].briCoe.a1 = HDifTil[$i1].briCoe.b1 ($RES_SIM_345) (424) [----] end for; (425) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.medium.MM = 1/(55.508435061791985 * thermalZoneFourElements.volAir.dynBal.medium.X[1] + 34.52428788658843 * thermalZoneFourElements.volAir.dynBal.medium.X[2]) ($RES_SIM_259) (426) [FOR-] (2) ($RES_SIM_342) (426) [----] for $i1 in 1:2 loop (426) [----] [SCAL] (1) HDifTil[$i1].briCoe.a2 = HDifTil[$i1].briCoe.b2 - HDifTil[$i1].briCoe.b1 ($RES_SIM_343) (426) [----] end for; (427) [SCAL] (1) thermalZoneFourElements.volAir.hOut_internal = 1006.0 * ((-273.15) - ((-273.15) - thermalZoneFourElements.volAir.dynBal.medium.T_degC)) * thermalZoneFourElements.volAir.dynBal.medium.X[2] + (2.5010145e6 + 1860.0 * ((-273.15) - ((-273.15) - thermalZoneFourElements.volAir.dynBal.medium.T_degC))) * thermalZoneFourElements.volAir.dynBal.medium.X[1] ($RES_SIM_257) (428) [FOR-] (2) ($RES_SIM_340) (428) [----] for $i1 in 1:2 loop (428) [----] [SCAL] (1) HDifTil[$i1].briCoe.a3 = HDifTil[$i1].briCoe.b3 - HDifTil[$i1].briCoe.b2 ($RES_SIM_341) (428) [----] end for; (429) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.medium.R_s = 287.0525368759184 * thermalZoneFourElements.volAir.dynBal.medium.X[2] + 461.5254384056201 * thermalZoneFourElements.volAir.dynBal.medium.X[1] ($RES_SIM_256) (430) [SCAL] (1) HDifTil[1].weaBus.relHum = HDifTil[1].incAng.weaBus.relHum ($RES_SIM_609) (431) [SCAL] (1) HDifTil[1].weaBus.solAlt = HDifTil[1].incAng.weaBus.solAlt ($RES_SIM_608) (432) [SCAL] (1) HDifTil[1].weaBus.solDec = HDifTil[1].incAng.weaBus.solDec ($RES_SIM_607) (433) [SCAL] (1) thermalZoneFourElements.resExtWallWin.dT = thermalZoneFourElements.resRoofWin.port_a.T - thermalZoneFourElements.resExtWallRoof.port_a.T ($RES_SIM_169) (434) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.medium.state.T = -((-273.15) - thermalZoneFourElements.volAir.dynBal.medium.T_degC) ($RES_SIM_252) (435) [SCAL] (1) HDifTil[1].weaBus.solHouAng = HDifTil[1].incAng.weaBus.solHouAng ($RES_SIM_606) (436) [ARRY] (2) thermalZoneFourElements.volAir.dynBal.medium.state.X = thermalZoneFourElements.volAir.dynBal.medium.X ($RES_SIM_251) (437) [SCAL] (1) HDifTil[1].weaBus.winDir = HDifTil[1].incAng.weaBus.winDir ($RES_SIM_605) (438) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.medium.X[1] = thermalZoneFourElements.volAir.Xi[1] ($RES_SIM_250) (439) [SCAL] (1) HDifTil[1].weaBus.winSpe = HDifTil[1].incAng.weaBus.winSpe ($RES_SIM_604) (440) [SCAL] (1) HDirTil[2].weaBus.HDifHor = HDirTil[2].incAng.weaBus.HDifHor ($RES_SIM_603) (441) [FOR-] (2) ($RES_AUX_1050) (441) [----] for $i1 in 1:2 loop (441) [----] [SCAL] (1) $FUN_3[$i1] = IDEAS.Utilities.Math.Functions.smoothLimit(((HDifTil[$i1].skyCle.HDirNor + HDifTil[$i1].skyCle.HDifHorBou) / HDifTil[$i1].skyCle.HDifHorBou + HDifTil[$i1].skyCle.tmp1) / (1.0 + HDifTil[$i1].skyCle.tmp1), 1.0, 8.0, 0.01) ($RES_AUX_1051) (441) [----] end for; (442) [SCAL] (1) HDirTil[2].weaBus.HGloHor = HDirTil[2].incAng.weaBus.HGloHor ($RES_SIM_602) (443) [SCAL] (1) HDirTil[2].weaBus.HHorIR = HDirTil[2].incAng.weaBus.HHorIR ($RES_SIM_601) (444) [FOR-] (3) ($RES_AUX_1052) (444) [----] for $i1 in 1:3 loop (444) [----] [SCAL] (1) $FUN_2[$i1] = Modelica.Blocks.Tables.Internal.getTable1DValue(weaDat.datRea30Min.tableID, $i1, weaDat.conTimMin.calTim) ($RES_AUX_1053) (444) [----] end for; (445) [SCAL] (1) HDirTil[2].weaBus.TBlaSky = HDirTil[2].incAng.weaBus.TBlaSky ($RES_SIM_600) (446) [SCAL] (1) thermalZoneFourElements.sumSolRad.y = thermalZoneFourElements.sumSolRad.k * thermalZoneFourElements.eConvSol.y ($RES_SIM_162) (447) [FOR-] (26) ($RES_AUX_1054) (447) [----] for $i1 in 1:26 loop (447) [----] [SCAL] (1) $FUN_1[$i1] = Modelica.Blocks.Tables.Internal.getTable1DValue(weaDat.datRea.tableID, $i1, weaDat.conTim.calTim) ($RES_AUX_1055) (447) [----] end for; (448) [SCAL] (1) thermalZoneFourElements.intWallRC.thermCapInt[1].der_T = $DER.thermalZoneFourElements.intWallRC.thermCapInt[1].T ($RES_SIM_160) (449) [SCAL] (1) weaBus.nOpa = HDirTil[2].weaBus.nOpa ($RES_SIM_514) (450) [SCAL] (1) weaBus.nOpa = HDirTil[1].weaBus.nOpa ($RES_SIM_513) (451) [SCAL] (1) weaBus.nOpa = HDifTil[2].weaBus.nOpa ($RES_SIM_512) (452) [SCAL] (1) weaBus.nOpa = HDifTil[1].weaBus.nOpa ($RES_SIM_511) (453) [FOR-] (26) ($RES_SIM_427) (453) [----] for $i1 in 1:26 loop (453) [----] [SCAL] (1) weaDat.datRea.y[$i1] = $FUN_1[$i1] ($RES_SIM_428) (453) [----] end for; (454) [SCAL] (1) weaBus.HGloHor = max(0.0, weaDat.souSelRad.HGloHor_in_internal) ($RES_SIM_425) (455) [SCAL] (1) weaBus.HDifHor = max(0.0, weaDat.souSelRad.HDifHor_in_internal) ($RES_SIM_424) (456) [SCAL] (1) weaBus.HDirNor = max(0.0, weaDat.souSelRad.HDirNor_in_internal) ($RES_SIM_423) (457) [FOR-] (2) ($RES_SIM_338) (457) [----] for $i1 in 1:2 loop (457) [----] [SCAL] (1) HDifTil[$i1].briCoe.a4 = HDifTil[$i1].briCoe.b4 - HDifTil[$i1].briCoe.b3 ($RES_SIM_339) (457) [----] end for; (458) [FOR-] (2) ($RES_SIM_336) (458) [----] for $i1 in 1:2 loop (458) [----] [SCAL] (1) HDifTil[$i1].briCoe.a5 = HDifTil[$i1].briCoe.b5 - HDifTil[$i1].briCoe.b4 ($RES_SIM_337) (458) [----] end for; (459) [FOR-] (2) ($RES_SIM_334) (459) [----] for $i1 in 1:2 loop (459) [----] [SCAL] (1) HDifTil[$i1].briCoe.a6 = HDifTil[$i1].briCoe.b6 - HDifTil[$i1].briCoe.b5 ($RES_SIM_335) (459) [----] end for; (460) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.medium.X[2] = 1.0 - thermalZoneFourElements.volAir.dynBal.medium.X[1] ($RES_SIM_249) (461) [FOR-] (2) ($RES_SIM_332) (461) [----] for $i1 in 1:2 loop (461) [----] [SCAL] (1) HDifTil[$i1].briCoe.a7 = HDifTil[$i1].briCoe.b7 - HDifTil[$i1].briCoe.b6 ($RES_SIM_333) (461) [----] end for; (462) [FOR-] (2) ($RES_SIM_330) (462) [----] for $i1 in 1:2 loop (462) [----] [SCAL] (1) HDifTil[$i1].briCoe.a8 = HDifTil[$i1].briCoe.b8 ($RES_SIM_331) (462) [----] end for; (463) [SCAL] (1) thermalZoneFourElements.intWallRC.thermCapInt[1].C * $DER.thermalZoneFourElements.intWallRC.thermCapInt[1].T = thermalZoneFourElements.intWallRC.thermCapInt[1].port.Q_flow ($RES_SIM_159) (464) [ARRY] (1) thermalZoneFourElements.volAir.mXi = thermalZoneFourElements.volAir.m * thermalZoneFourElements.volAir.Xi ($RES_SIM_242) (465) [SCAL] (1) thermalZoneFourElements.intWallRC.thermResInt[1].dT = thermalZoneFourElements.intWallRC.thermResInt[1].R * thermalZoneFourElements.intWallRC.thermResInt[1].Q_flow ($RES_SIM_158) (466) [SCAL] (1) thermalZoneFourElements.volAir.U = thermalZoneFourElements.volAir.m * ((-84437.5) + thermalZoneFourElements.volAir.hOut_internal) ($RES_SIM_241) (467) [SCAL] (1) thermalZoneFourElements.intWallRC.thermResInt[1].dT = thermalZoneFourElements.intWallRC.thermResInt[1].port_a.T - thermalZoneFourElements.intWallRC.thermResInt[1].port_b.T ($RES_SIM_157) (468) [ARRY] (1) thermalZoneFourElements.volAir.mC = thermalZoneFourElements.volAir.m * thermalZoneFourElements.volAir.C ($RES_SIM_240) (469) [SCAL] (1) thermalZoneFourElements.intWallRC.thermResInt[1].port_b.Q_flow = -thermalZoneFourElements.intWallRC.thermResInt[1].Q_flow ($RES_SIM_155) (470) [SCAL] (1) thermalZoneFourElements.convIntWall.dT = thermalZoneFourElements.resIntRoof.port_b.T - thermalZoneFourElements.TAir ($RES_SIM_154) (471) [SCAL] (1) weaBus.nTot = HDirTil[2].weaBus.nTot ($RES_SIM_509) (472) [SCAL] (1) weaBus.nTot = HDirTil[1].weaBus.nTot ($RES_SIM_508) (473) [SCAL] (1) weaBus.nTot = HDifTil[2].weaBus.nTot ($RES_SIM_507) (474) [SCAL] (1) thermalZoneFourElements.convIntWall.Q_flow = thermalZoneFourElements.hConIntWall.k * thermalZoneFourElements.convIntWall.dT ($RES_SIM_151) (475) [SCAL] (1) weaBus.nTot = HDifTil[1].weaBus.nTot ($RES_SIM_506) (476) [SCAL] (1) weaDat.conRelHum.y = weaDat.conRelHum.k * weaDat.conRelHum.u ($RES_SIM_418) (477) [SCAL] (1) weaBus.relHum = min(1.0, max(0.0, weaDat.conRelHum.y)) ($RES_SIM_415) (478) [SCAL] (1) weaBus.nTot = min(1.0, max(0.0, weaDat.limTotSkyCov.u)) ($RES_SIM_414) (479) [SCAL] (1) weaBus.nOpa = min(1.0, max(0.0, weaDat.limOpaSkyCov.u)) ($RES_SIM_413) (480) [SCAL] (1) weaBus.winDir = min(6.283185307179586, max(0.0, 0.017453292519943295 * weaDat.conWinDir.u)) ($RES_SIM_412) (481) [FOR-] (2) ($RES_SIM_328) (481) [----] for $i1 in 1:2 loop (481) [----] [SCAL] (1) HDifTil[$i1].briCoe.F11 = (1.0601591 * HDifTil[$i1].briCoe.a7 + 1.1326077 * HDifTil[$i1].briCoe.a6 + 0.873028 * HDifTil[$i1].briCoe.a5 + 0.5682053 * HDifTil[$i1].briCoe.a4 + 0.3296958 * HDifTil[$i1].briCoe.a3 + 0.1299457 * HDifTil[$i1].briCoe.a2 + 0.677747 * HDifTil[$i1].briCoe.a8) - 0.0083117 * HDifTil[$i1].briCoe.a1 ($RES_SIM_329) (481) [----] end for; (482) [FOR-] (2) ($RES_SIM_326) (482) [----] for $i1 in 1:2 loop (482) [----] [SCAL] (1) HDifTil[$i1].briCoe.F12 = (0.1874525 * HDifTil[$i1].briCoe.a4 + 0.4868735 * HDifTil[$i1].briCoe.a3 + 0.6825954 * HDifTil[$i1].briCoe.a2 + 0.5877285 * HDifTil[$i1].briCoe.a1) - (0.3272588 * HDifTil[$i1].briCoe.a8 + 1.5999137 * HDifTil[$i1].briCoe.a7 + 1.2367284 * HDifTil[$i1].briCoe.a6 + 0.3920403 * HDifTil[$i1].briCoe.a5) ($RES_SIM_327) (482) [----] end for; (483) [FOR-] (2) ($RES_SIM_324) (483) [----] for $i1 in 1:2 loop (483) [----] [SCAL] (1) HDifTil[$i1].briCoe.F13 = -(0.3589221 * HDifTil[$i1].briCoe.a7 + 0.4118494 * HDifTil[$i1].briCoe.a6 + 0.3616149 * HDifTil[$i1].briCoe.a5 + 0.295129 * HDifTil[$i1].briCoe.a4 + 0.2210958 * HDifTil[$i1].briCoe.a3 + 0.1513725 * HDifTil[$i1].briCoe.a2 + 0.0620636 * HDifTil[$i1].briCoe.a1 + 0.2504286 * HDifTil[$i1].briCoe.a8) ($RES_SIM_325) (483) [----] end for; (484) [FOR-] (2) ($RES_SIM_322) (484) [----] for $i1 in 1:2 loop (484) [----] [SCAL] (1) HDifTil[$i1].briCoe.F21 = (0.2642124 * HDifTil[$i1].briCoe.a7 + 0.2877813 * HDifTil[$i1].briCoe.a6 + 0.2255647 * HDifTil[$i1].briCoe.a5 + 0.1088631 * HDifTil[$i1].briCoe.a4 + 0.055414 * HDifTil[$i1].briCoe.a3 + 0.1561313 * HDifTil[$i1].briCoe.a8) - (0.0189325 * HDifTil[$i1].briCoe.a2 + 0.0596012 * HDifTil[$i1].briCoe.a1) ($RES_SIM_323) (484) [----] end for; (485) [FOR-] (2) ($RES_SIM_320) (485) [----] for $i1 in 1:2 loop (485) [----] [SCAL] (1) HDifTil[$i1].briCoe.F22 = (0.065965 * HDifTil[$i1].briCoe.a2 + 0.0721249 * HDifTil[$i1].briCoe.a1) - (1.3765031 * HDifTil[$i1].briCoe.a8 + 1.127234 * HDifTil[$i1].briCoe.a7 + 0.8230357 * HDifTil[$i1].briCoe.a6 + 0.4620442 * HDifTil[$i1].briCoe.a5 + 0.1519229 * HDifTil[$i1].briCoe.a4 + 0.0639588 * HDifTil[$i1].briCoe.a3) ($RES_SIM_321) (485) [----] end for; (486) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports_H_flow[1] = $FUN_8 ($RES_SIM_236) (487) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports_mXi_flow[1, 1] = $FUN_9 ($RES_SIM_235) (488) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports_mC_flow[1, 1] = $FUN_10 ($RES_SIM_234) (489) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports_H_flow[2] = $FUN_11 ($RES_SIM_233) (490) [SCAL] (1) thermalZoneFourElements.resExtWallIntWall.Q_flow = thermalZoneFourElements.resExtWallIntWall.G * thermalZoneFourElements.resExtWallIntWall.dT ($RES_SIM_149) (491) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports_mXi_flow[2, 1] = $FUN_12 ($RES_SIM_232) (492) [SCAL] (1) thermalZoneFourElements.resExtWallIntWall.dT = thermalZoneFourElements.resExtWallRoof.port_a.T - thermalZoneFourElements.resIntRoof.port_b.T ($RES_SIM_148) (493) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports_mC_flow[2, 1] = $FUN_13 ($RES_SIM_231) (494) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.mbXi_flow[1] = $FUN_14 ($RES_SIM_230) (495) [SCAL] (1) thermalZoneFourElements.resIntWallWin.Q_flow = thermalZoneFourElements.resIntWallWin.G * thermalZoneFourElements.resIntWallWin.dT ($RES_SIM_145) (496) [SCAL] (1) thermalZoneFourElements.resIntWallWin.dT = thermalZoneFourElements.resRoofWin.port_a.T - thermalZoneFourElements.resIntRoof.port_b.T ($RES_SIM_144) (497) [SCAL] (1) thermalZoneFourElements.floorRC.thermCapExt[1].der_T = $DER.thermalZoneFourElements.floorRC.thermCapExt[1].T ($RES_SIM_140) (498) [SCAL] (1) eqAirTempVDI.TBlaSky = (weaBus.HHorIR / 5.6703744191844314e-8) ^ 0.25 ($RES_SIM_408) (499) [SCAL] (1) weaDat.add30Min.y = weaDat.add30Min.k1 * weaDat.con30Min.k + weaDat.add30Min.k2 * time ($RES_SIM_406) (500) [FOR-] (2) ($RES_SIM_318) (500) [----] for $i1 in 1:2 loop (500) [----] [SCAL] (1) HDifTil[$i1].briCoe.F23 = (0.1310694 * HDifTil[$i1].briCoe.a7 + 0.0558651 * HDifTil[$i1].briCoe.a6 + 0.0012448 * HDifTil[$i1].briCoe.a5 + 0.2506212 * HDifTil[$i1].briCoe.a8) - (0.0139754 * HDifTil[$i1].briCoe.a4 + 0.0260542 * HDifTil[$i1].briCoe.a3 + 0.0288748 * HDifTil[$i1].briCoe.a2 + 0.0220216 * HDifTil[$i1].briCoe.a1) ($RES_SIM_319) (500) [----] end for; (501) [FOR-] (3) ($RES_SIM_401) (501) [----] for $i1 in 1:3 loop (501) [----] [SCAL] (1) weaDat.datRea30Min.y[$i1] = $FUN_2[$i1] ($RES_SIM_402) (501) [----] end for; (502) [FOR-] (2) ($RES_SIM_316) (502) [----] for $i1 in 1:2 loop (502) [----] [SCAL] (1) HDifTil[$i1].briCoe.F1 = smooth(1, if $SEV_25[$i1] then 0.0 else if $SEV_26[$i1] then HDifTil[$i1].briCoe.F12 * HDifTil[$i1].briCoe.skyBri + HDifTil[$i1].briCoe.F11 + HDifTil[$i1].briCoe.F13 * HDifTil[$i1].briCoe.zen else 0.25 * (HDifTil[$i1].briCoe.F12 * HDifTil[$i1].briCoe.skyBri + HDifTil[$i1].briCoe.F11 + HDifTil[$i1].briCoe.F13 * HDifTil[$i1].briCoe.zen) * ((-3.0) + ((-(HDifTil[$i1].briCoe.zen * HDifTil[$i1].briCoe.F13 + HDifTil[$i1].briCoe.F11 + HDifTil[$i1].briCoe.skyBri * HDifTil[$i1].briCoe.F12)) / 0.01) ^ 2.0) * (100.0 * (-(HDifTil[$i1].briCoe.F12 * HDifTil[$i1].briCoe.skyBri + HDifTil[$i1].briCoe.F11 + HDifTil[$i1].briCoe.F13 * HDifTil[$i1].briCoe.zen))) + 0.5 * (HDifTil[$i1].briCoe.F12 * HDifTil[$i1].briCoe.skyBri + HDifTil[$i1].briCoe.F11 + HDifTil[$i1].briCoe.F13 * HDifTil[$i1].briCoe.zen)) ($RES_SIM_317) (502) [----] end for; (503) [FOR-] (2) ($RES_SIM_314) (503) [----] for $i1 in 1:2 loop (503) [----] [SCAL] (1) HDifTil[$i1].briCoe.F2 = HDifTil[$i1].briCoe.F22 * HDifTil[$i1].briCoe.skyBri + HDifTil[$i1].briCoe.F21 + HDifTil[$i1].briCoe.F23 * HDifTil[$i1].briCoe.zen ($RES_SIM_315) (503) [----] end for; (504) [SCAL] (1) thermalZoneFourElements.volAir.dynBal.mbC_flow[1] = $FUN_15 ($RES_SIM_229) (505) [FOR-] (2) ($RES_SIM_312) (505) [----] for $i1 in 1:2 loop (505) [----] [SCAL] (1) HDifTil[$i1].relAirMas.zenLim = smooth(1, if $SEV_27[$i1] then HDifTil[$i1].relAirMas.zen else if $SEV_28[$i1] then 1.5707963267948966 else 0.25 * (1.5707963267948966 - HDifTil[$i1].relAirMas.zen) * ((-3.0) + ((1.5707963267948966 - HDifTil[$i1].relAirMas.zen) / 0.01) ^ 2.0) * (100.0 * (1.5707963267948966 - HDifTil[$i1].relAirMas.zen)) + 0.5 * (1.5707963267948966 + HDifTil[$i1].relAirMas.zen)) ($RES_SIM_313) (505) [----] end for; (506) [FOR-] (2) ($RES_SIM_310) (506) [----] for $i1 in 1:2 loop (506) [----] [SCAL] (1) HDifTil[$i1].relAirMas.zenDeg = 57.29577951308232 * HDifTil[$i1].relAirMas.zenLim ($RES_SIM_311) (506) [----] end for; (507) [SCAL] (1) $DER.thermalZoneFourElements.volAir.U = thermalZoneFourElements.volAir.dynBal.Hb_flow + thermalZoneFourElements.volAir.heatPort.Q_flow ($RES_SIM_226) (508) [SCAL] (1) $DER.thermalZoneFourElements.volAir.m = thermalZoneFourElements.volAir.dynBal.mb_flow ($RES_SIM_225) (509) [ARRY] (1) $DER.thermalZoneFourElements.volAir.mXi = thermalZoneFourElements.volAir.dynBal.mbXi_flow ($RES_SIM_224) (510) [ARRY] (1) $DER.thermalZoneFourElements.volAir.mC = thermalZoneFourElements.volAir.dynBal.mbC_flow + thermalZoneFourElements.C_flow ($RES_SIM_223) (511) [SCAL] (1) thermalZoneFourElements.floorRC.thermCapExt[1].C * $DER.thermalZoneFourElements.floorRC.thermCapExt[1].T = thermalZoneFourElements.floorRC.thermCapExt[1].port.Q_flow ($RES_SIM_139) (512) [SCAL] (1) thermalZoneFourElements.floorRC.thermResExt[1].dT = thermalZoneFourElements.floorRC.thermResExt[1].R * thermalZoneFourElements.floorRC.thermResExt[1].Q_flow ($RES_SIM_138) (513) [FOR-] (2) ($RES_SIM_221) (513) [----] for $i1 in 1:2 loop (513) [----] [ARRY] (1) thermalZoneFourElements.volAir.dynBal.ports[$i1].C_outflow = thermalZoneFourElements.volAir.C ($RES_SIM_222) (513) [----] end for; (514) [SCAL] (1) thermalZoneFourElements.floorRC.thermResExt[1].dT = thermalZoneFourElements.floorRC.thermResExt[1].port_a.T - thermalZoneFourElements.floorRC.thermResExt[1].port_b.T ($RES_SIM_137) (515) [SCAL] (1) thermalZoneFourElements.floorRC.thermResExt[1].port_b.Q_flow = -thermalZoneFourElements.floorRC.thermResExt[1].Q_flow ($RES_SIM_135) (516) [SCAL] (1) thermalZoneFourElements.floorRC.thermResExtRem.dT = thermalZoneFourElements.floorRC.thermResExtRem.R * preTemFloor.port.Q_flow ($RES_SIM_134) (517) [SCAL] (1) thermalZoneFourElements.floorRC.thermResExtRem.dT = thermalZoneFourElements.floorRC.thermResExtRem.port_a.T - TSoil.k ($RES_SIM_133) (518) [SCAL] (1) thermalZoneFourElements.convFloor.dT = thermalZoneFourElements.resRoofFloor.port_b.T - thermalZoneFourElements.TAir ($RES_SIM_130) (519) [FOR-] (2) ($RES_SIM_308) (519) [----] for $i1 in 1:2 loop (519) [----] [SCAL] (1) HDifTil[$i1].relAirMas.relAirMas = $FUN_4[$i1] / (cos(HDifTil[$i1].relAirMas.zenLim) + 0.15 * (93.9 - HDifTil[$i1].relAirMas.zenDeg) ^ (-1.253)) ($RES_SIM_309) (519) [----] end for; (520) [FOR-] (2) ($RES_SIM_306) (520) [----] for $i1 in 1:2 loop (520) [----] [SCAL] (1) HDifTil[$i1].skyBri.extRadCor = 1.0 + 0.033 * $FUN_5[$i1] ($RES_SIM_307) (520) [----] end for; (521) [FOR-] (2) ($RES_SIM_304) (521) [----] for $i1 in 1:2 loop (521) [----] [SCAL] (1) HDifTil[$i1].skyBri.skyBri = smooth(1, if $SEV_29[$i1] then (7.320108337603397e-4 * HDifTil[$i1].skyBri.relAirMas * HDifTil[$i1].skyBri.HDifHor) / HDifTil[$i1].skyBri.extRadCor else if $SEV_30[$i1] then 1.0 else 0.25 * (1.0 - (7.320108337603397e-4 * HDifTil[$i1].skyBri.relAirMas * HDifTil[$i1].skyBri.HDifHor) / HDifTil[$i1].skyBri.extRadCor) * ((-3.0) + ((1.0 - (7.320108337603397e-4 * HDifTil[$i1].skyBri.HDifHor * HDifTil[$i1].skyBri.relAirMas) / HDifTil[$i1].skyBri.extRadCor) / 0.025) ^ 2.0) * (40.0 * (1.0 - (7.320108337603397e-4 * HDifTil[$i1].skyBri.relAirMas * HDifTil[$i1].skyBri.HDifHor) / HDifTil[$i1].skyBri.extRadCor)) + 0.5 * (1.0 + (7.320108337603397e-4 * HDifTil[$i1].skyBri.relAirMas * HDifTil[$i1].skyBri.HDifHor) / HDifTil[$i1].skyBri.extRadCor)) ($RES_SIM_305) (521) [----] end for; (522) [FOR-] (2) ($RES_SIM_219) (522) [----] for $i1 in 1:2 loop (522) [----] [ARRY] (1) thermalZoneFourElements.volAir.dynBal.ports[$i1].Xi_outflow = thermalZoneFourElements.volAir.Xi ($RES_SIM_220) (522) [----] end for; (523) [FOR-] (2) ($RES_SIM_302) (523) [----] for $i1 in 1:2 loop (523) [----] [SCAL] (1) HDifTil[$i1].incAng.decAng.decAng = asin(-0.3979486313076103 * cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * HDifTil[$i1].incAng.decAng.nDay))) ($RES_SIM_303) (523) [----] end for; (524) [FOR-] (2) ($RES_SIM_217) (524) [----] for $i1 in 1:2 loop (524) [----] [SCAL] (1) thermalZoneFourElements.volAir.dynBal.ports[$i1].h_outflow = thermalZoneFourElements.volAir.hOut_internal ($RES_SIM_218) (524) [----] end for; (525) [FOR-] (2) ($RES_SIM_300) (525) [----] for $i1 in 1:2 loop (525) [----] [SCAL] (1) HDifTil[$i1].incAng.solHouAng.solHouAng = 0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * HDifTil[$i1].incAng.solHouAng.solTim) ($RES_SIM_301) (525) [----] end for; (526) [FOR-] (2) ($RES_SIM_215) (526) [----] for $i1 in 1:2 loop (526) [----] [SCAL] (1) thermalZoneFourElements.ports[$i1].p = 1608.3333333333335 * thermalZoneFourElements.volAir.m ($RES_SIM_216) (526) [----] end for; (527) [SCAL] (1) thermalZoneFourElements.convFloor.Q_flow = thermalZoneFourElements.hConFloor_const.k * thermalZoneFourElements.convFloor.dT ($RES_SIM_127) (528) [SCAL] (1) thermalZoneFourElements.resExtWallFloor.Q_flow = thermalZoneFourElements.resExtWallFloor.G * thermalZoneFourElements.resExtWallFloor.dT ($RES_SIM_125) (529) [SCAL] (1) thermalZoneFourElements.resExtWallFloor.dT = thermalZoneFourElements.resExtWallRoof.port_a.T - thermalZoneFourElements.resRoofFloor.port_b.T ($RES_SIM_124) (530) [SCAL] (1) thermalZoneFourElements.resIntWallFloor.Q_flow = thermalZoneFourElements.resIntWallFloor.G * thermalZoneFourElements.resIntWallFloor.dT ($RES_SIM_121) (531) [SCAL] (1) thermalZoneFourElements.resIntWallFloor.dT = thermalZoneFourElements.resIntRoof.port_b.T - thermalZoneFourElements.resRoofFloor.port_b.T ($RES_SIM_120) (532) [SCAL] (1) thermalZoneFourElements.resWin.dT = -thermalZoneFourElements.resWin.R * theConWin.Q_flow ($RES_SIM_206) (533) [SCAL] (1) thermalZoneFourElements.resWin.dT = theConWin.solid.T - thermalZoneFourElements.resRoofWin.port_a.T ($RES_SIM_205) (534) [SCAL] (1) thermalZoneFourElements.convHeatSol.port.Q_flow = -thermalZoneFourElements.sumSolRad.y * (1.0 + thermalZoneFourElements.convHeatSol.alpha * (thermalZoneFourElements.TAir - thermalZoneFourElements.convHeatSol.T_ref)) ($RES_SIM_202) (535) [SCAL] (1) thermalZoneFourElements.resFloorWin.Q_flow = thermalZoneFourElements.resFloorWin.G * thermalZoneFourElements.resFloorWin.dT ($RES_SIM_117) (536) [FOR-] (2) ($RES_SIM_200) (536) [----] for $i1 in 1:2 loop (536) [----] [SCAL] (1) thermalZoneFourElements.radHeatSol[$i1].port.Q_flow = -thermalZoneFourElements.eRadSol[$i1].y * (1.0 + thermalZoneFourElements.radHeatSol[$i1].alpha * (thermalZoneFourElements.radHeatSol[$i1].port.T - thermalZoneFourElements.radHeatSol[$i1].T_ref)) ($RES_SIM_201) (536) [----] end for; (537) [SCAL] (1) thermalZoneFourElements.resFloorWin.dT = thermalZoneFourElements.resRoofWin.port_a.T - thermalZoneFourElements.resRoofFloor.port_b.T ($RES_SIM_116) (538) [SCAL] (1) thermalZoneFourElements.roofRC.thermCapExt[1].der_T = $DER.thermalZoneFourElements.roofRC.thermCapExt[1].T ($RES_SIM_112) (539) [SCAL] (1) thermalZoneFourElements.roofRC.thermCapExt[1].C * $DER.thermalZoneFourElements.roofRC.thermCapExt[1].T = thermalZoneFourElements.roofRC.thermCapExt[1].port.Q_flow ($RES_SIM_111) (540) [SCAL] (1) thermalZoneFourElements.roofRC.thermResExt[1].dT = thermalZoneFourElements.roofRC.thermResExt[1].R * thermalZoneFourElements.roofRC.thermResExt[1].Q_flow ($RES_SIM_110) (541) [SCAL] (1) thermalZoneFourElements.roofRC.thermResExt[1].dT = thermalZoneFourElements.roofRC.thermResExt[1].port_a.T - thermalZoneFourElements.roofRC.thermResExt[1].port_b.T ($RES_SIM_109) (542) [SCAL] (1) thermalZoneFourElements.roofRC.thermResExt[1].port_b.Q_flow = -thermalZoneFourElements.roofRC.thermResExt[1].Q_flow ($RES_SIM_107) (543) [SCAL] (1) thermalZoneFourElements.roofRC.thermResExtRem.dT = thermalZoneFourElements.roofRC.thermResExtRem.R * theConRoof.Q_flow ($RES_SIM_106) (544) [SCAL] (1) thermalZoneFourElements.roofRC.thermResExtRem.dT = thermalZoneFourElements.roofRC.thermResExtRem.port_a.T - theConRoof.solid.T ($RES_SIM_105) (545) [SCAL] (1) thermalZoneFourElements.convRoof.dT = thermalZoneFourElements.convRoof.solid.T - thermalZoneFourElements.TAir ($RES_SIM_102) (546) [SCAL] (1) thermalZoneFourElements.convRoof.Q_flow = thermalZoneFourElements.hConRoof_const.k * thermalZoneFourElements.convRoof.dT ($RES_SIM_99) (547) [SCAL] (1) thermalZoneFourElements.resIntRoof.Q_flow = thermalZoneFourElements.resIntRoof.G * thermalZoneFourElements.resIntRoof.dT ($RES_SIM_97) (548) [SCAL] (1) thermalZoneFourElements.resIntRoof.dT = thermalZoneFourElements.resIntRoof.port_a.T - thermalZoneFourElements.resIntRoof.port_b.T ($RES_SIM_96) (549) [SCAL] (1) thermalZoneFourElements.resRoofWin.Q_flow = thermalZoneFourElements.resRoofWin.G * thermalZoneFourElements.resRoofWin.dT ($RES_SIM_93) (550) [SCAL] (1) thermalZoneFourElements.resRoofWin.dT = thermalZoneFourElements.resRoofWin.port_a.T - thermalZoneFourElements.resRoofWin.port_b.T ($RES_SIM_92) (551) [SCAL] (1) thermalZoneFourElements.resRoofFloor.Q_flow = thermalZoneFourElements.resRoofFloor.G * thermalZoneFourElements.resRoofFloor.dT ($RES_SIM_89) (552) [SCAL] (1) thermalZoneFourElements.resRoofFloor.dT = thermalZoneFourElements.resRoofFloor.port_a.T - thermalZoneFourElements.resRoofFloor.port_b.T ($RES_SIM_88) (553) [SCAL] (1) thermalZoneFourElements.resExtWallRoof.Q_flow = thermalZoneFourElements.resExtWallRoof.G * thermalZoneFourElements.resExtWallRoof.dT ($RES_SIM_85) (554) [SCAL] (1) thermalZoneFourElements.resExtWallRoof.dT = thermalZoneFourElements.resExtWallRoof.port_a.T - thermalZoneFourElements.resExtWallRoof.port_b.T ($RES_SIM_84) (555) [SCAL] (1) eqAirTemp.delTEqLWWin = (eqAirTemp.hRad * (eqAirTempVDI.TBlaSky - eqAirTempVDI.TDryBul)) / (eqAirTemp.hRad + eqAirTemp.hConWinOut) ($RES_SIM_81) (556) [SCAL] (1) eqAirTemp.TEqAir = eqAirTemp.TEqWall * eqAirTemp.wfWall + eqAirTemp.TGro * eqAirTemp.wfGro ($RES_SIM_80) (557) [SCAL] (1) eqAirTemp.TEqAirWin = eqAirTemp.TEqWin * eqAirTemp.wfWin ($RES_SIM_79) (558) [SCAL] (1) eqAirTemp.delTEqLW = (eqAirTemp.hRad * (eqAirTempVDI.TBlaSky - eqAirTempVDI.TDryBul)) / (eqAirTemp.hRad + eqAirTemp.hConWallOut) ($RES_SIM_78) (559) [ARRY] (2) eqAirTemp.delTEqSW = (eqAirTemp.aExt .* solRad.y) / (eqAirTemp.hRad + eqAirTemp.hConWallOut) ($RES_SIM_77) (560) [ARRY] (2) eqAirTemp.TEqWin = eqAirTempVDI.TDryBul .+ eqAirTemp.delTEqLWWin * (fill(1.0, 2) - const.y) ($RES_SIM_76) (561) [ARRY] (2) eqAirTemp.TEqWall = (eqAirTempVDI.TDryBul + eqAirTemp.delTEqLW) .+ eqAirTemp.delTEqSW ($RES_SIM_75) (562) [FOR-] (2) ($RES_SIM_73) (562) [----] for $i1 in 1:2 loop (562) [----] [SCAL] (1) solRad[$i1].y = solRad[$i1].k1 * solRad[$i1].u1 + solRad[$i1].k2 * HDifTil[$i1].H ($RES_SIM_74) (562) [----] end for; (563) [SCAL] (1) theConWin.dT = theConWin.solid.T - eqAirTemp.TEqAirWin ($RES_SIM_70) (564) [SCAL] (1) theConWin.Q_flow = hConWin.k * theConWin.dT ($RES_SIM_67) (565) [SCAL] (1) theConWall.dT = theConWall.solid.T - eqAirTemp.TEqAir ($RES_SIM_66) (566) [SCAL] (1) theConWall.Q_flow = hConWall.k * theConWall.dT ($RES_SIM_63) (567) [SCAL] (1) -thermalZoneFourElements.intGainsRad.Q_flow = -perRad.Q_flow * (1.0 + perRad.alpha * (thermalZoneFourElements.TRad - perRad.T_ref)) ($RES_SIM_62) (568) [SCAL] (1) perCon.port.Q_flow = -perCon.Q_flow * (1.0 + perCon.alpha * (thermalZoneFourElements.TAir - perCon.T_ref)) ($RES_SIM_61) (569) [FOR-] (3) ($RES_SIM_56) (569) [----] for $i1 in 1:3 loop (569) [----] [SCAL] (1) intGai.y[$i1] = intGai.p_offset[$i1] + $FUN_18[$i1] ($RES_SIM_57) (569) [----] end for; (570) [FOR-] (2) ($RES_SIM_54) (570) [----] for $i1 in 1:2 loop (570) [----] [SCAL] (1) const[$i1].y = const[$i1].k ($RES_SIM_55) (570) [----] end for; (571) [SCAL] (1) macConv.port.Q_flow = -macConv.Q_flow * (1.0 + macConv.alpha * (thermalZoneFourElements.TAir - macConv.T_ref)) ($RES_SIM_53) State Candidate Variables (436/656) ************************************* (1) [ALGB] (2) protected Real[2] HDifTil.briCoe.b4 (2) [ALGB] (2) protected Real[2] HDifTil.HDifTil.incAng (3) [ALGB] (1) Real HDifTil[2].weaBus.TDryBul (4) [ALGB] (1) stream Real[1, 1] sinAir.ports.Xi_outflow (min = {0.0 for $f5 in 1:1, $f6 in 1:1}, max = {1.0 for $f3 in 1:1, $f4 in 1:1}, nominal = {0.1 for $f1 in 1:1, $f2 in 1:1}) (5) [ALGB] (1) flow Real perCon.port.Q_flow (6) [ALGB] (1) Real HDifTil[2].weaBus.ceiHei (7) [ALGB] (2) stream Real[2, 1] thermalZoneFourElements.ports.C_outflow (start = {1.0 for $f1 in 1:1, $f2 in 1:2}, min = {0.0 for $f3 in 1:1, $f4 in 1:2}) (8) [ALGB] (1) protected Real weaDat.add30Min.y (9) [ALGB] (1) protected Real thermalZoneFourElements.convWin.Q_flow (10) [ALGB] (1) protected Real thermalZoneFourElements.resExtWallWin.Q_flow (11) [ALGB] (1) Real weaBus.winDir (12) [ALGB] (1) Real HDirTil[2].incAng.weaBus.nTot (13) [ALGB] (2) protected stream Real[2] thermalZoneFourElements.volAir.dynBal.ports.h_outflow (min = {-1e10 for $f3 in 1:2}, max = {1e10 for $f2 in 1:2}, nominal = {1e6 for $f1 in 1:2}) (14) [ALGB] (1) flow Real thermalZoneFourElements.intGainsRad.Q_flow (15) [ALGB] (1) Real HDirTil[2].incAng.weaBus.ceiHei (16) [ALGB] (2) protected Real[2] HDifTil.skyBri.extRadCor (17) [ALGB] (2) Real[2] corGDouPan.HDirTil (18) [ALGB] (1) Real[1] thermalZoneFourElements.thermSplitterIntGains.portIn.T (start = {288.15 for $f2 in 1:1}, min = {0.0 for $f3 in 1:1}, nominal = {300.0 for $f1 in 1:1}) (19) [ALGB] (1) flow Real thermalZoneFourElements.intGainsConv.Q_flow (20) [ALGB] (2) protected Real[2] HDifTil.skyCle.HDifHor (21) [ALGB] (1) Real[1] sinAir.ports.p (start = {101325.0 for $f2 in 1:1}, min = {0.0 for $f4 in 1:1}, max = {1e8 for $f3 in 1:1}, nominal = {1e5 for $f1 in 1:1}) (22) [ALGB] (26) protected Real[26] weaDat.datRea.y (23) [ALGB] (1) Real HDifTil[2].incAng.weaBus.relHum (24) [ALGB] (1) flow Real[1] thermalZoneFourElements.thermSplitterIntGains.portIn.Q_flow (25) [ALGB] (1) protected Real thermalZoneFourElements.volAir.dynBal.medium.MM (min = 0.001, max = 0.25, nominal = 0.032) (26) [ALGB] (1) Real weaBus.HGloHor (27) [ALGB] (1) Real weaBus.HDirNor (28) [ALGB] (2) protected Real[2] HDifTil.incAng.incAng.decAng (29) [ALGB] (1) protected flow Real[1] thermalZoneFourElements.extWallRC.thermResExt.port_b.Q_flow (30) [ALGB] (1) Real theConWall.Q_flow (31) [ALGB] (2) protected Real[2, 1] thermalZoneFourElements.volAir.dynBal.ports_mXi_flow (32) [ALGB] (3) Real[3] intGai.y (33) [ALGB] (1) protected Real thermalZoneFourElements.sumSolRad.y (34) [ALGB] (1) Real HDifTil[2].weaBus.solHouAng (35) [ALGB] (2) protected Real[2] HDifTil.briCoe.a4 (36) [ALGB] (1) protected Real weaDat.souSelRad.HDirNor_in_internal (37) [ALGB] (1) Real HDifTil[2].incAng.weaBus.TBlaSky (38) [ALGB] (1) protected Real thermalZoneFourElements.resRoofFloor.port_a.T (start = 288.15, min = 0.0, nominal = 300.0) (39) [ALGB] (1) protected Real thermalZoneFourElements.resIntWallWin.Q_flow (40) [ALGB] (1) Real HDifTil[2].incAng.weaBus.HGloHor (41) [ALGB] (1) Real weaBus.ceiHei (42) [ALGB] (2) protected Real[2] thermalZoneFourElements.volAir.dynBal.ports_H_flow (min = {-1e8 for $f3 in 1:2}, max = {1e8 for $f2 in 1:2}, nominal = {1000.0 for $f1 in 1:2}) (43) [ALGB] (2) protected Real[2] HDifTil.add.u2 (44) [ALGB] (2) stream Real[2, 1] thermalZoneFourElements.volAir.ports.Xi_outflow (min = {0.0 for $f5 in 1:1, $f6 in 1:2}, max = {1.0 for $f3 in 1:1, $f4 in 1:2}, nominal = {0.1 for $f1 in 1:1, $f2 in 1:2}) (45) [ALGB] (2) Real[2] const.y (min = {0.0 for $f2 in 1:2}, max = {1.0 for $f1 in 1:2}) (46) [ALGB] (1) protected Real[1] thermalZoneFourElements.intWallRC.thermResInt.Q_flow (47) [ALGB] (1) Real HDirTil[2].weaBus.lat (48) [ALGB] (1) Real HDifTil[2].weaBus.solDec (49) [ALGB] (1) protected Real thermalZoneFourElements.convIntWall.dT (start = 0.0) (50) [ALGB] (2) protected Real[2] HDifTil.incAng.decAng.nDay (51) [ALGB] (1) protected Real thermalZoneFourElements.convIntWall.Q_flow (52) [ALGB] (1) Real HDirTil[2].incAng.weaBus.lat (53) [DER-] (1) Real[1] $DER.thermalZoneFourElements.intWallRC.thermCapInt.T (54) [ALGB] (2) protected Real[2] HDirTil.incAng.solHouAng.solTim (55) [ALGB] (1) protected Real sinAir.h_internal = IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sinAir.Medium.specificEnthalpy(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sinAir.Medium.setState_pTX(sinAir.p, sinAir.T, sinAir.X)) (56) [ALGB] (1) protected Real[1] thermalZoneFourElements.floorRC.thermResExt.port_a.T (start = {288.15 for $f2 in 1:1}, min = {0.0 for $f3 in 1:1}, nominal = {300.0 for $f1 in 1:1}) (57) [ALGB] (1) Real HDirTil[2].weaBus.winSpe (58) [ALGB] (1) protected Real thermalZoneFourElements.volAir.dynBal.mb_flow (59) [ALGB] (1) Real[1] eqAirTempVDI.sunblind (min = {0.0 for $f2 in 1:1}, max = {1.0 for $f1 in 1:1}) (60) [ALGB] (1) Real weaBus.winSpe (61) [ALGB] (1) protected Real thermalZoneFourElements.resRoofFloor.Q_flow (62) [ALGB] (1) Real HDirTil[2].weaBus.ceiHei (63) [ALGB] (2) protected stream Real[2, 1] thermalZoneFourElements.volAir.dynBal.ports.C_outflow (start = {1.0 for $f1 in 1:1, $f2 in 1:2}, min = {0.0 for $f3 in 1:1, $f4 in 1:2}) (64) [ALGB] (1) Real HDifTil[2].incAng.weaBus.HDirNor (65) [ALGB] (1) Real eqAirTempVDI.TDryBul (66) [ALGB] (1) Real HDifTil[2].incAng.weaBus.nTot (67) [ALGB] (1) protected Real thermalZoneFourElements.resRoofFloor.port_b.T (start = 288.15, min = 0.0, nominal = 300.0) (68) [ALGB] (1) protected Real thermalZoneFourElements.roofRC.thermResExtRem.dT (69) [ALGB] (1) protected Real[1] thermalZoneFourElements.extWallRC.thermResExt.port_a.T (start = {288.15 for $f2 in 1:1}, min = {0.0 for $f3 in 1:1}, nominal = {300.0 for $f1 in 1:1}) (70) [ALGB] (1) Real HDirTil[2].incAng.weaBus.cloTim (71) [ALGB] (1) Real weaBus.nTot (72) [ALGB] (1) protected Real[1] thermalZoneFourElements.floorRC.thermResExt.dT (73) [ALGB] (2) protected Real[2] HDirTil.incAng.incAng.lat (74) [ALGB] (1) protected Real thermalZoneFourElements.resRoofWin.dT (75) [ALGB] (2) protected Real[2] thermalZoneFourElements.eConvSol.y (76) [ALGB] (1) Real HDirTil[2].incAng.weaBus.solZen (77) [ALGB] (2) protected Real[2] HDifTil.briCoe.b6 (78) [ALGB] (2) protected Real[2] HDifTil.incAng.incAng.solHouAng (79) [ALGB] (2) flow Real[2] thermalZoneFourElements.ports.m_flow (min = {-1e5 for $f2 in 1:2}, max = {1e5 for $f1 in 1:2}) (80) [ALGB] (2) protected Real[2] HDirTil.incAng.y (81) [ALGB] (1) Real eqAirTempVDI.TBlaSky (82) [ALGB] (5) Real[5] thermalZoneFourElements.thermSplitterIntGains.portOut.T (start = {288.15 for $f2 in 1:5}, min = {0.0 for $f3 in 1:5}, nominal = {300.0 for $f1 in 1:5}) (83) [ALGB] (2) flow Real[2] thermalZoneFourElements.radHeatSol.port.Q_flow (84) [ALGB] (1) Real HDifTil[2].incAng.weaBus.solAlt (85) [ALGB] (2) protected Real[2] HDirTil.incAng.solHouAng.solHouAng (86) [ALGB] (1) Real weaBus.HDifHor (87) [ALGB] (1) protected Real[1] thermalZoneFourElements.floorRC.thermResExt.port_b.T (start = {288.15 for $f2 in 1:1}, min = {0.0 for $f3 in 1:1}, nominal = {300.0 for $f1 in 1:1}) (88) [ALGB] (2) protected flow Real[2] thermalZoneFourElements.volAir.dynBal.ports.m_flow (min = {-1e5 for $f2 in 1:2}, max = {1e5 for $f1 in 1:2}) (89) [STAT] (1) Real[1] thermalZoneFourElements.floorRC.thermCapExt.T (start = {thermalZoneFourElements.floorRC.T_start for $f2 in 1:1}, min = max({0.0 for $f3 in 1:1}, {0.0}), nominal = {300.0 for $f1 in 1:1}) (90) [ALGB] (2) protected Real[2, 1] thermalZoneFourElements.volAir.dynBal.ports_mC_flow (91) [STAT] (1) Real thermalZoneFourElements.volAir.U (92) [ALGB] (2) protected Real[2] HDifTil.briCoe.F22 (93) [DER-] (1) Real $DER.thermalZoneFourElements.volAir.m (94) [ALGB] (2) protected Real[2] HDifTil.briCoe.b1 (95) [ALGB] (2) protected Real[2] corGDouPan.XN2_dir (96) [ALGB] (1) stream Real[1, 1] souAir.ports.C_outflow (start = {1.0 for $f1 in 1:1, $f2 in 1:1}, min = {0.0 for $f3 in 1:1, $f4 in 1:1}) (97) [ALGB] (2) protected Real[2] HDifTil.briCoe.F2 (98) [ALGB] (2) protected Real[2] HDifTil.relAirMas.zenDeg (99) [ALGB] (1) Real HDifTil[2].incAng.weaBus.lat (100) [ALGB] (2) protected Real[2] corGDouPan.Tai_dir (101) [DER-] (1) Real[1] $DER.thermalZoneFourElements.floorRC.thermCapExt.T (102) [ALGB] (1) protected Real thermalZoneFourElements.resIntWallFloor.dT (103) [ALGB] (5) flow Real[5] thermalZoneFourElements.thermSplitterIntGains.portOut.Q_flow (104) [ALGB] (1) Real HDifTil[2].weaBus.winSpe (105) [ALGB] (1) Real weaBus.nOpa (min = 0.0, max = 1.0) (106) [ALGB] (1) Real traSub.y (107) [ALGB] (2) protected Real[2] HDifTil.incAng.decAng.decAng (108) [ALGB] (1) protected Real weaDat.conTimMin.calTim (109) [ALGB] (2) stream Real[2] thermalZoneFourElements.volAir.ports.h_outflow (min = {-1e10 for $f3 in 1:2}, max = {1e10 for $f2 in 1:2}, nominal = {1e6 for $f1 in 1:2}) (110) [ALGB] (1) Real HDirTil[2].incAng.weaBus.HDirNor (111) [ALGB] (2) protected Real[2] HDifTil.briCoe.a2 (112) [ALGB] (2) Real[2] eqAirTemp.delTEqSW (113) [ALGB] (1) Real HDirTil[2].incAng.weaBus.nOpa (114) [ALGB] (2) protected Real[2] corGDouPan.Q21_dir (115) [ALGB] (2) flow Real[2] thermalZoneFourElements.thermSplitterSolRad.portIn.Q_flow (116) [ALGB] (2) protected Real[2] HDifTil.briCoe.F13 (117) [ALGB] (2) protected Real[2] thermalZoneFourElements.volAir.dynBal.medium.X (start = thermalZoneFourElements.volAir.dynBal.X_start, min = {0.0 for $f3 in 1:2}, max = {1.0 for $f2 in 1:2}, nominal = {0.1 for $f1 in 1:2}) (118) [ALGB] (1) protected Real weaDat.conWinDir.u (119) [ALGB] (1) protected Real[1] thermalZoneFourElements.roofRC.thermResExt.port_a.T (start = {288.15 for $f2 in 1:1}, min = {0.0 for $f3 in 1:1}, nominal = {300.0 for $f1 in 1:1}) (120) [ALGB] (1) Real HDifTil[2].incAng.weaBus.cloTim (121) [ALGB] (1) protected Real[1] thermalZoneFourElements.volAir.dynBal.mbXi_flow (122) [ALGB] (1) stream Real[1, 1] souAir.ports.Xi_outflow (min = {0.0 for $f5 in 1:1, $f6 in 1:1}, max = {1.0 for $f3 in 1:1, $f4 in 1:1}, nominal = {0.1 for $f1 in 1:1, $f2 in 1:1}) (123) [ALGB] (5) flow Real[5] thermalZoneFourElements.thermSplitterSolRad.portOut.Q_flow (124) [ALGB] (1) Real HDifTil[2].incAng.weaBus.TDewPoi (125) [ALGB] (1) Real perCon.Q_flow (126) [ALGB] (1) Real HDifTil[2].incAng.weaBus.solZen (127) [ALGB] (1) Real HDifTil[2].weaBus.TBlaSky (128) [ALGB] (2) protected Real[2] corGDouPan.a1_dir (129) [ALGB] (1) protected flow Real[1] thermalZoneFourElements.roofRC.thermResExt.port_b.Q_flow (130) [ALGB] (1) protected Real thermalZoneFourElements.resIntWallWin.dT (start = 0.0) (131) [ALGB] (1) Real eqAirTemp.TEqAirWin (min = 0.0) (132) [ALGB] (1) protected Real[1] thermalZoneFourElements.roofRC.thermResExt.port_b.T (start = {288.15 for $f2 in 1:1}, min = {0.0 for $f3 in 1:1}, nominal = {300.0 for $f1 in 1:1}) (133) [ALGB] (2) protected Real[2] HDifTil.briCoe.a7 (134) [ALGB] (1) Real HDirTil[2].incAng.weaBus.solAlt (135) [ALGB] (1) Real HDirTil[2].weaBus.HHorIR (136) [ALGB] (2) Real[2] corGDouPan.solarRadWinTrans (137) [ALGB] (1) protected Real thermalZoneFourElements.floorRC.thermResExtRem.port_a.T (start = 288.15, min = 0.0, nominal = 300.0) (138) [ALGB] (1) Real HDirTil[2].incAng.weaBus.solDec (139) [ALGB] (2) protected Real[2] HDirTil.incAng.incAng.sol_s = {Modelica.Math.sin(HDirTil[$HDirTil1].incAng.incAng.solHouAng) for $HDirTil1 in 1:2} (140) [ALGB] (2) Real[2] thermalZoneFourElements.radHeatSol.port.T (start = {288.15 for $f2 in 1:2}, min = max({0.0 for $f3 in 1:2}, {0.0 for $f3 in 1:2}), nominal = {300.0 for $f1 in 1:2}) (141) [ALGB] (2) protected Real[2] HDifTil.incAng.incAng.sol_c = {Modelica.Math.cos(HDifTil[$HDifTil1].incAng.incAng.solHouAng) for $HDifTil1 in 1:2} (142) [ALGB] (1) Real[1] thermalZoneFourElements.intWallRC.thermCapInt.der_T (fixed = {true for $f1 in 1:1}, start = {0.0 for $f2 in 1:1}) (143) [ALGB] (2) protected Real[2] HDirTil.incAng.incAng.decAng (144) [ALGB] (1) flow Real macConv.port.Q_flow (145) [ALGB] (2) protected Real[2] HDifTil.relAirMas.relAirMas (146) [ALGB] (1) Real HDifTil[2].incAng.weaBus.TDryBul (147) [ALGB] (1) protected Real weaDat.conTim.calTim (148) [ALGB] (2) Real[2] HDifTil.HSkyDifTil (149) [ALGB] (1) Real theConRoof.solid.T (start = 288.15, min = 0.0, nominal = 300.0) (150) [ALGB] (1) protected Real weaDat.conTotSkyCov.u (151) [ALGB] (2) Real[2] HDifTil.H (152) [ALGB] (1) flow Real[1] thermalZoneFourElements.floorRC.thermCapExt.port.Q_flow (153) [ALGB] (1) protected Real thermalZoneFourElements.resFloorWin.Q_flow (154) [STAT] (1) Real[1] thermalZoneFourElements.extWallRC.thermCapExt.T (start = {thermalZoneFourElements.extWallRC.T_start for $f2 in 1:1}, min = max({0.0 for $f3 in 1:1}, {0.0}), nominal = {300.0 for $f1 in 1:1}) (155) [ALGB] (1) Real[1] eqAirTempVDI.TEqWin (start = {288.15 for $f2 in 1:1}, min = {0.0 for $f3 in 1:1}, nominal = {300.0 for $f1 in 1:1}) (156) [ALGB] (1) protected Real thermalZoneFourElements.resRoofWin.Q_flow (157) [ALGB] (1) protected Real thermalZoneFourElements.floorRC.thermResExtRem.dT (158) [ALGB] (1) Real HDifTil[2].incAng.weaBus.nOpa (159) [ALGB] (1) protected Real[1] thermalZoneFourElements.intWallRC.thermResInt.port_a.T (start = {288.15 for $f2 in 1:1}, min = {0.0 for $f3 in 1:1}, nominal = {300.0 for $f1 in 1:1}) (160) [ALGB] (2) protected Real[2] thermalZoneFourElements.eRadSol.y (161) [ALGB] (1) protected Real weaDat.conRelHum.u (162) [ALGB] (2) protected Real[2] HDifTil.incAng.solHouAng.solTim (163) [ALGB] (2) protected Real[2] corGDouPan.rho_1_dir (164) [ALGB] (1) Real theConRoof.dT (165) [ALGB] (1) protected Real souAir.h_internal = IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.souAir.Medium.specificEnthalpy(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.souAir.Medium.setState_pTX(souAir.p_in_internal, souAir.T, souAir.X)) (166) [ALGB] (1) protected Real thermalZoneFourElements.resFloorWin.dT (167) [ALGB] (1) protected Real thermalZoneFourElements.resIntRoof.Q_flow (168) [ALGB] (2) protected Real[2] corGDouPan.Ta_dir (169) [ALGB] (1) Real HDirTil[2].incAng.weaBus.TDewPoi (170) [ALGB] (2) protected Real[2] HDifTil.relAirMas.alt (171) [ALGB] (2) protected Real[2] HDifTil.briCoe.b3 (172) [ALGB] (2) protected Real[2] corGDouPan.Ta1_dir (173) [ALGB] (1) flow Real thermalZoneFourElements.convHeatSol.port.Q_flow (174) [ALGB] (1) Real HDirTil[2].weaBus.TBlaSky (175) [ALGB] (2) protected Real[2] HDifTil.HDifTil.zen (176) [ALGB] (1) Real eqAirTemp.delTEqLW (177) [ALGB] (2) protected Real[2] thermalZoneFourElements.eConvSol.u (178) [ALGB] (1) flow Real preTemFloor.port.Q_flow (179) [ALGB] (1) Real theConWin.Q_flow (180) [ALGB] (2) protected Real[2] HDifTil.briCoe.zen (181) [ALGB] (2) protected Real[2] HDirTil.incAng.incAng.dec_c = {Modelica.Math.cos(HDirTil[$HDirTil1].incAng.incAng.decAng) for $HDirTil1 in 1:2} (182) [ALGB] (2) protected Real[2] HDifTil.incAng.incAng.dec_s = {Modelica.Math.sin(HDifTil[$HDifTil1].incAng.incAng.decAng) for $HDifTil1 in 1:2} (183) [ALGB] (1) protected Real weaDat.limHorInfRad.u (184) [ALGB] (1) Real HDirTil[2].weaBus.winDir (185) [ALGB] (2) protected Real[2] HDifTil.incAng.incAng.lat (186) [ALGB] (1) Real HDifTil[2].weaBus.HHorIR (187) [ALGB] (1) protected flow Real[1] thermalZoneFourElements.floorRC.thermResExt.port_b.Q_flow (188) [ALGB] (1) Real HDifTil[2].incAng.weaBus.solDec (189) [ALGB] (1) protected Real[1] thermalZoneFourElements.volAir.dynBal.mbC_flow (190) [ALGB] (1) Real theConWin.solid.T (start = 288.15, min = 0.0, nominal = 300.0) (191) [ALGB] (1) protected Real thermalZoneFourElements.resIntRoof.port_a.T (start = 288.15, min = 0.0, nominal = 300.0) (192) [ALGB] (1) Real HDirTil[2].incAng.weaBus.TDryBul (193) [ALGB] (1) protected Real thermalZoneFourElements.convFloor.Q_flow (194) [ALGB] (2) protected Real[2] HDifTil.incAng.solHouAng.solHouAng (195) [ALGB] (1) protected Real weaDat.conOpaSkyCov.u (196) [ALGB] (1) Real HDifTil[2].incAng.weaBus.winDir (197) [ALGB] (2) protected Real[2] HDifTil.relAirMas.zenLim (198) [ALGB] (2) protected Real[2] HDifTil.briCoe.a5 (199) [ALGB] (1) protected Real thermalZoneFourElements.convWin.dT (200) [ALGB] (1) protected Real thermalZoneFourElements.resExtWallFloor.dT (201) [ALGB] (2) Real[2] solRad.y (202) [ALGB] (2) protected Real[2] HDifTil.HDifTil.HSkyDifTil (203) [ALGB] (1) Real[1] thermalZoneFourElements.roofRC.thermCapExt.der_T (fixed = {true for $f1 in 1:1}, start = {0.0 for $f2 in 1:1}) (204) [ALGB] (1) Real HDifTil[2].incAng.weaBus.HHorIR (205) [ALGB] (1) flow Real[1] thermalZoneFourElements.extWallRC.thermCapExt.port.Q_flow (206) [ALGB] (2) protected Real[2] HDifTil.briCoe.skyCle (207) [ALGB] (1) stream Real[1, 1] sinAir.ports.C_outflow (start = {1.0 for $f1 in 1:1, $f2 in 1:1}, min = {0.0 for $f3 in 1:1, $f4 in 1:1}) (208) [ALGB] (1) Real theConWin.dT (209) [ALGB] (1) Real HDifTil[2].weaBus.solAlt (210) [ALGB] (1) Real thermalZoneFourElements.TRad (min = 0.0) (211) [ALGB] (1) protected Real thermalZoneFourElements.convExtWall.Q_flow (212) [ALGB] (1) protected Real thermalZoneFourElements.roofRC.thermResExtRem.port_a.T (start = 288.15, min = 0.0, nominal = 300.0) (213) [ALGB] (2) protected Real[2] HDifTil.skyCle.tmp1 (214) [ALGB] (1) protected Real weaDat.eqnTim.eqnTim (215) [ALGB] (2) protected Real[2] HDifTil.add.u1 (216) [ALGB] (1) Real HDirTil[2].weaBus.cloTim (217) [ALGB] (2) protected Real[2] HDifTil.incAng.incAng.incAng (218) [ALGB] (2) protected Real[2] corGDouPan.rho_11_dir (219) [ALGB] (2) Real[2] solRad.u1 (220) [ALGB] (2) protected Real[2] HDifTil.HDifTil.b (221) [ALGB] (1) Real HDifTil[2].weaBus.alt (222) [ALGB] (1) protected Real thermalZoneFourElements.resExtWallRoof.port_b.T (start = 288.15, min = 0.0, nominal = 300.0) (223) [ALGB] (1) Real HDifTil[2].weaBus.winDir (224) [ALGB] (1) Real eqAirTemp.delTEqLWWin (225) [ALGB] (2) protected Real[2] HDirTil.HDirTil.HDirTil (226) [ALGB] (1) Real[1] thermalZoneFourElements.extWallRC.thermCapExt.der_T (fixed = {true for $f1 in 1:1}, start = {0.0 for $f2 in 1:1}) (227) [ALGB] (1) protected Real thermalZoneFourElements.convRoof.dT (228) [ALGB] (1) protected Real[1] thermalZoneFourElements.extWallRC.thermResExt.dT (229) [ALGB] (2) protected Real[2] corGDouPan.rho_T1_dir (230) [ALGB] (5) Real[5] thermalZoneFourElements.thermSplitterSolRad.portOut.T (start = {288.15 for $f2 in 1:5}, min = {0.0 for $f3 in 1:5}, nominal = {300.0 for $f1 in 1:5}) (231) [ALGB] (2) protected Real[2] HDifTil.briCoe.b5 (232) [ALGB] (1) protected Real thermalZoneFourElements.resIntRoof.dT (233) [ALGB] (3) protected Real[3] weaDat.datRea30Min.y (234) [ALGB] (1) protected Real thermalZoneFourElements.volAir.dynBal.medium.T_degC = Modelica.Units.Conversions.to_degC(-((-273.15) - thermalZoneFourElements.volAir.dynBal.medium.T_degC)) (min = -272.15, max = 9726.85) (235) [ALGB] (2) protected Real[2] HDifTil.HDifTil.briCof2 (236) [ALGB] (1) flow Real[1] souAir.ports.m_flow (min = {-1e60 for $f2 in 1:1}, max = {1e60 for $f1 in 1:1}) (237) [ALGB] (1) Real HDirTil[2].incAng.weaBus.winDir (238) [ALGB] (1) protected Real weaDat.souSelRad.HDifHor_in_internal (239) [ALGB] (2) protected Real[2] HDifTil.incAng.incAng.sol_s = {Modelica.Math.sin(HDifTil[$HDifTil1].incAng.incAng.solHouAng) for $HDifTil1 in 1:2} (240) [ALGB] (2) protected Real[2] HDirTil.incAng.incAng.sol_c = {Modelica.Math.cos(HDirTil[$HDirTil1].incAng.incAng.solHouAng) for $HDirTil1 in 1:2} (241) [ALGB] (1) Real[1] souAir.C_in (242) [ALGB] (1) stream Real[1] souAir.ports.h_outflow (min = {-1e10 for $f3 in 1:1}, max = {1e10 for $f2 in 1:1}, nominal = {1e6 for $f1 in 1:1}) (243) [ALGB] (1) protected Real[1] thermalZoneFourElements.roofRC.thermResExt.Q_flow (244) [ALGB] (1) Real HDirTil[2].incAng.weaBus.HHorIR (245) [ALGB] (1) Real HDirTil[2].weaBus.relHum (246) [ALGB] (1) Real theConRoof.Q_flow (247) [ALGB] (1) protected Real thermalZoneFourElements.volAir.dynBal.Hb_flow (248) [ALGB] (2) protected Real[2] HDifTil.briCoe.skyBri (249) [ALGB] (1) protected Real thermalZoneFourElements.resExtWallIntWall.dT (start = 0.0) (250) [ALGB] (2) protected Real[2] HDifTil.briCoe.b8 (251) [ALGB] (2) protected Real[2] HDifTil.briCoe.F23 (252) [ALGB] (1) Real eqAirTemp.TEqAir (min = 0.0) (253) [ALGB] (2) Real[2] HDirTil.H (254) [ALGB] (2) protected Real[2] HDifTil.HDifTil.a (255) [ALGB] (2) stream Real[2] thermalZoneFourElements.ports.h_outflow (min = {-1e10 for $f3 in 1:2}, max = {1e10 for $f2 in 1:2}, nominal = {1e6 for $f1 in 1:2}) (256) [ALGB] (1) Real HDirTil[2].weaBus.HGloHor (257) [ALGB] (1) Real HDirTil[2].weaBus.solAlt (258) [ALGB] (2) protected Real[2] HDifTil.briCoe.F1 (259) [ALGB] (2) protected Real[2] corGDouPan.Q22_dir (260) [ALGB] (1) protected Real thermalZoneFourElements.resExtWallRoof.Q_flow (261) [ALGB] (1) Real HDifTil[2].incAng.weaBus.alt (262) [STAT] (1) Real thermalZoneFourElements.volAir.m (min = 0.0, max = 5.249999999999999e6) (263) [ALGB] (1) protected Real thermalZoneFourElements.extWallRC.thermResExtRem.port_a.T (start = 288.15, min = 0.0, nominal = 300.0) (264) [ALGB] (1) protected flow Real[1] thermalZoneFourElements.intWallRC.thermResInt.port_b.Q_flow (265) [ALGB] (1) Real weaBus.HHorIR (min = 0.0) (266) [STAT] (1) Real[1] thermalZoneFourElements.volAir.mC (min = max({0.0}, {0.0})) (267) [ALGB] (2) protected Real[2] HDifTil.skyBri.solTim (268) [ALGB] (1) flow Real thermalZoneFourElements.extWallRC.port_a.Q_flow (269) [ALGB] (1) Real HDifTil[2].weaBus.HDirNor (270) [ALGB] (1) Real weaBus.TDewPoi (271) [ALGB] (2) protected Real[2] thermalZoneFourElements.eRadSol.u (272) [ALGB] (1) flow Real thermalZoneFourElements.roofRC.port_a.Q_flow (273) [ALGB] (2) protected Real[2] HDifTil.skyBri.relAirMas (274) [ALGB] (2) protected Real[2] HDirTil.incAng.incAng.lat_s = {Modelica.Math.sin(HDirTil[$HDirTil1].incAng.incAng.lat) for $HDirTil1 in 1:2} (275) [ALGB] (1) protected Real weaDat.limTotSkyCov.u (276) [ALGB] (1) flow Real[1] thermalZoneFourElements.roofRC.thermCapExt.port.Q_flow (277) [ALGB] (2) protected Real[2] corGDouPan.Ta2_dir (278) [ALGB] (2) protected Real[2] HDifTil.incAng.incAng.lat_c = {Modelica.Math.cos(HDifTil[$HDifTil1].incAng.incAng.lat) for $HDifTil1 in 1:2} (279) [ALGB] (2) protected Real[2] HDifTil.briCoe.a3 (280) [ALGB] (1) protected Real thermalZoneFourElements.volAir.dynBal.medium.state.T (start = 293.15, min = 1.0, max = 1e4, nominal = 300.0) (281) [ALGB] (1) Real HDifTil[2].weaBus.cloTim (282) [ALGB] (2) stream Real[2, 1] thermalZoneFourElements.volAir.ports.C_outflow (start = {1.0 for $f1 in 1:1, $f2 in 1:2}, min = {0.0 for $f3 in 1:1, $f4 in 1:2}) (283) [STAT] (1) Real[1] thermalZoneFourElements.volAir.mXi (min = max({0.0}, {0.0})) (284) [ALGB] (1) Real weaBus.solZen (285) [ALGB] (1) Real traSubAmb.y (286) [ALGB] (2) protected Real[2] HDifTil.briCoe.F12 (287) [ALGB] (2) protected Real[2] HDifTil.HDifTil.briCof1 (288) [ALGB] (1) protected Real[1] thermalZoneFourElements.extWallRC.thermResExt.Q_flow (289) [ALGB] (1) protected Real thermalZoneFourElements.convExtWall.dT (start = 0.0) (290) [ALGB] (2) protected Real[2] HDirTil.HDirTil.incAng (291) [ALGB] (1) Real thermalZoneFourElements.roofRC.port_a.T (start = 288.15, min = 0.0, nominal = 300.0) (292) [ALGB] (1) Real HDirTil[2].weaBus.HDifHor (293) [ALGB] (1) protected Real weaDat.souSelRad.HGloHor_in_internal (294) [ALGB] (1) flow Real thermalZoneFourElements.floorRC.port_a.Q_flow (295) [ALGB] (1) Real $FUN_9 (296) [ALGB] (1) Real $FUN_8 (297) [ALGB] (1) Real HDifTil[2].weaBus.nOpa (298) [ALGB] (2) Real[2] $FUN_7 (299) [ALGB] (1) Real HDirTil[2].incAng.weaBus.solTim (300) [ALGB] (2) Real[2] $FUN_6 (301) [ALGB] (2) Real[2] $FUN_5 (302) [ALGB] (1) protected Real thermalZoneFourElements.volAir.hOut_internal (min = -9.99155625e7, max = 1.000844375e8) (303) [ALGB] (2) protected Real[2] HDifTil.incAng.incAng.dec_c = {Modelica.Math.cos(HDifTil[$HDifTil1].incAng.incAng.decAng) for $HDifTil1 in 1:2} (304) [ALGB] (1) Real HDifTil[2].weaBus.TDewPoi (305) [ALGB] (2) Real[2] $FUN_4 (306) [ALGB] (2) protected Real[2] HDirTil.incAng.incAng.dec_s = {Modelica.Math.sin(HDirTil[$HDirTil1].incAng.incAng.decAng) for $HDirTil1 in 1:2} (307) [ALGB] (2) Real[2] $FUN_3 (308) [ALGB] (1) flow Real thermalZoneFourElements.volAir.heatPort.Q_flow (309) [ALGB] (3) Real[3] $FUN_2 (310) [ALGB] (1) protected Real thermalZoneFourElements.convRoof.solid.T (start = 288.15, min = 0.0, nominal = 300.0) (311) [ALGB] (1) Real $FUN_20 (312) [ALGB] (26) Real[26] $FUN_1 (313) [ALGB] (2) protected Real[2] HDifTil.briCoe.a8 (314) [ALGB] (2) Real[2] eqAirTemp.TEqWall (start = {288.15 for $f2 in 1:2}, min = {0.0 for $f3 in 1:2}, nominal = {300.0 for $f1 in 1:2}) (315) [ALGB] (2) protected Real[2] thermalZoneFourElements.volAir.dynBal.medium.state.X (start = {0.01, 0.99}, min = {0.0 for $f3 in 1:2}, max = {1.0 for $f2 in 1:2}, nominal = {0.1 for $f1 in 1:2}) (316) [ALGB] (1) Real perRad.Q_flow (317) [ALGB] (1) Real HDifTil[2].weaBus.relHum (318) [ALGB] (1) protected Real thermalZoneFourElements.resRoofWin.port_a.T (start = 288.15, min = 0.0, nominal = 300.0) (319) [ALGB] (1) Real HDirTil[2].weaBus.nTot (320) [ALGB] (1) protected Real weaDat.conRelHum.y (321) [ALGB] (1) Real[1] eqAirTempVDI.HSol (322) [ALGB] (1) protected Real weaDat.limWinSpe.u (323) [ALGB] (1) Real HDifTil[2].weaBus.HGloHor (324) [ALGB] (2) protected Real[2] HDifTil.briCoe.b7 (325) [ALGB] (3) Real[3] $FUN_18 (326) [ALGB] (2) protected Real[2] HDirTil.HDirTil.HDirNor (327) [ALGB] (2) protected stream Real[2, 1] thermalZoneFourElements.volAir.dynBal.ports.Xi_outflow (min = {0.0 for $f5 in 1:1, $f6 in 1:2}, max = {1.0 for $f3 in 1:1, $f4 in 1:2}, nominal = {0.1 for $f1 in 1:1, $f2 in 1:2}) (328) [ALGB] (1) Real HDirTil[2].incAng.weaBus.solHouAng (329) [ALGB] (1) Real $FUN_15 (330) [ALGB] (1) Real $FUN_14 (331) [ALGB] (1) Real HDifTil[2].weaBus.solTim (332) [ALGB] (1) Real HDirTil[2].weaBus.HDirNor (333) [ALGB] (1) Real $FUN_13 (334) [ALGB] (1) Real $FUN_12 (335) [ALGB] (1) protected Real weaDat.limOpaSkyCov.u (336) [ALGB] (2) protected Real[2] HDifTil.skyBri.HDifHor (337) [ALGB] (1) Real $FUN_11 (338) [ALGB] (1) protected Real thermalZoneFourElements.resRoofWin.port_b.T (start = 288.15, min = 0.0, nominal = 300.0) (339) [ALGB] (1) Real $FUN_10 (340) [ALGB] (2) protected Real[2] HDifTil.skyCle.skyCle (341) [ALGB] (2) protected Real[2] HDifTil.HDifTil.HDifHor (342) [ALGB] (1) protected Real thermalZoneFourElements.resIntRoof.port_b.T (start = 288.15, min = 0.0, nominal = 300.0) (343) [ALGB] (1) Real[1] thermalZoneFourElements.volAir.Xi = thermalZoneFourElements.volAir.Xi (min = max({0.0 for $f2 in 1:1}, {0.0}, {0.0}), max = max({1.0 for $f1 in 1:1}, {1.0}, {1.0})) (344) [ALGB] (1) protected Real thermalZoneFourElements.convRoof.Q_flow (345) [ALGB] (1) protected Real weaDat.limCeiHei.u (346) [ALGB] (2) protected Real[2] HDifTil.skyBri.skyBri (347) [ALGB] (1) protected Real thermalZoneFourElements.resExtWallRoof.port_a.T (start = 288.15, min = 0.0, nominal = 300.0) (348) [ALGB] (1) Real theConWall.solid.T (start = 288.15, min = 0.0, nominal = 300.0) (349) [ALGB] (1) Real HDifTil[2].incAng.weaBus.HDifHor (350) [DER-] (1) Real[1] $DER.thermalZoneFourElements.extWallRC.thermCapExt.T (351) [ALGB] (2) Real[2] HDirTil.inc (352) [ALGB] (2) protected Real[2] HDifTil.briCoe.F21 (353) [ALGB] (2) protected Real[2] HDifTil.briCoe.b2 (354) [ALGB] (1) Real HDifTil[2].weaBus.HDifHor (355) [ALGB] (2) protected Real[2] HDifTil.skyCle.HDifHorBou (356) [ALGB] (1) Real[1] thermalZoneFourElements.floorRC.thermCapExt.der_T (fixed = {true for $f1 in 1:1}, start = {0.0 for $f2 in 1:1}) (357) [DER-] (1) Real[1] $DER.thermalZoneFourElements.volAir.mXi (358) [ALGB] (1) Real HDirTil[2].weaBus.nOpa (359) [ALGB] (1) protected Real[1] thermalZoneFourElements.intWallRC.thermResInt.port_b.T (start = {288.15 for $f2 in 1:1}, min = {0.0 for $f3 in 1:1}, nominal = {300.0 for $f1 in 1:1}) (360) [ALGB] (1) Real HDifTil[2].weaBus.solZen (361) [ALGB] (1) Real HDirTil[2].incAng.weaBus.winSpe (362) [ALGB] (1) Real HDifTil[2].incAng.weaBus.solTim (363) [ALGB] (1) protected Real thermalZoneFourElements.volAir.dynBal.medium.R_s (start = 1000.0, min = 0.0, max = 1e7, nominal = 1000.0) (364) [ALGB] (2) protected Real[2] HDirTil.incAng.incAng.incAng (365) [ALGB] (1) Real HDirTil[2].weaBus.TDewPoi (366) [ALGB] (2) protected Real[2] HDirTil.incAng.decAng.nDay (367) [ALGB] (2) Real[2] HDifTil.HGroDifTil (368) [ALGB] (2) Real[2] eqAirTemp.TEqWin (start = {288.15 for $f2 in 1:2}, min = {0.0 for $f3 in 1:2}, nominal = {300.0 for $f1 in 1:2}) (369) [ALGB] (1) Real theConWall.dT (370) [ALGB] (2) protected Real[2] HDifTil.HDifTil.HGloHor (371) [ALGB] (2) protected Real[2] HDifTil.briCoe.a1 (372) [ALGB] (1) Real weaBus.solDec (373) [ALGB] (1) Real macConv.Q_flow (374) [ALGB] (2) protected Real[2] HDifTil.skyCle.HDirNor (375) [ALGB] (2) protected Real[2] HDifTil.skyCle.zen (376) [ALGB] (1) protected Real thermalZoneFourElements.extWallRC.thermResExtRem.dT (377) [ALGB] (1) flow Real thermalZoneFourElements.intWallRC.port_a.Q_flow (378) [ALGB] (1) protected Real thermalZoneFourElements.convFloor.dT (379) [ALGB] (1) flow Real[1] thermalZoneFourElements.intWallRC.thermCapInt.port.Q_flow (380) [ALGB] (1) protected Real thermalZoneFourElements.resExtWallFloor.Q_flow (381) [ALGB] (1) Real HDifTil[2].weaBus.nTot (382) [ALGB] (1) protected Real thermalZoneFourElements.resIntWallFloor.Q_flow (383) [ALGB] (1) Real[1] eqAirTempVDI.TEqWall (start = {288.15 for $f2 in 1:1}, min = {0.0 for $f3 in 1:1}, nominal = {300.0 for $f1 in 1:1}) (384) [DER-] (1) Real[1] $DER.thermalZoneFourElements.volAir.mC (385) [ALGB] (2) protected Real[2] corGDouPan.Qsek2_dir (386) [ALGB] (1) Real thermalZoneFourElements.TAir (min = 1.0, max = 1e4) (387) [ALGB] (1) Real HDirTil[2].weaBus.TDryBul (388) [ALGB] (1) flow Real[1] sinAir.ports.m_flow (min = {-1e60 for $f2 in 1:1}, max = {1e60 for $f1 in 1:1}) (389) [ALGB] (1) Real[1] eqAirTempVDI.delTEqSW (390) [ALGB] (1) protected Real[1] thermalZoneFourElements.floorRC.thermResExt.Q_flow (391) [ALGB] (1) Real eqAirTempVDI.delTEqLWWin (392) [ALGB] (2) protected Real[2] corGDouPan.CorG_dir (393) [ALGB] (1) Real[1] thermalZoneFourElements.C_flow (394) [ALGB] (1) Real eqAirTempVDI.TEqAir (min = 0.0) (395) [ALGB] (1) Real HDifTil[2].incAng.weaBus.solHouAng (396) [ALGB] (1) stream Real[1] sinAir.ports.h_outflow (min = {-1e10 for $f3 in 1:1}, max = {1e10 for $f2 in 1:1}, nominal = {1e6 for $f1 in 1:1}) (397) [ALGB] (1) Real[1] thermalZoneFourElements.volAir.C = thermalZoneFourElements.volAir.C (start = {1.0 for $f1 in 1:1}, min = max({0.0 for $f2 in 1:1}, {0.0}, {0.0}), nominal = thermalZoneFourElements.volAir.C_nominal) (398) [ALGB] (1) Real HDirTil[2].weaBus.solTim (399) [ALGB] (1) Real HDifTil[2].incAng.weaBus.ceiHei (400) [ALGB] (2) protected Real[2] HDifTil.briCoe.a6 (401) [ALGB] (2) protected Real[2] HDifTil.briCoe.F11 (402) [ALGB] (2) flow Real[2] thermalZoneFourElements.volAir.ports.m_flow (min = {-1e5 for $f2 in 1:2}, max = {1e5 for $f1 in 1:2}) (403) [ALGB] (2) protected Real[2] HDirTil.incAng.incAng.solHouAng (404) [ALGB] (1) Real weaBus.relHum (405) [ALGB] (2) protected Real[2] HDifTil.incAng.y (406) [ALGB] (1) Real HDirTil[2].incAng.weaBus.relHum (407) [ALGB] (1) Real thermalZoneFourElements.resWin.dT (408) [ALGB] (2) protected Real[2] HDifTil.HDifTil.HGroDifTil (409) [ALGB] (1) Real HDirTil[2].incAng.weaBus.HDifHor (410) [ALGB] (2) stream Real[2, 1] thermalZoneFourElements.ports.Xi_outflow (min = {0.0 for $f5 in 1:1, $f6 in 1:2}, max = {1.0 for $f3 in 1:1, $f4 in 1:2}, nominal = {0.1 for $f1 in 1:1, $f2 in 1:2}) (411) [ALGB] (1) protected Real[1] thermalZoneFourElements.extWallRC.thermResExt.port_b.T (start = {288.15 for $f2 in 1:1}, min = {0.0 for $f3 in 1:1}, nominal = {300.0 for $f1 in 1:1}) (412) [ALGB] (2) protected Real[2] HDifTil.incAng.incAng.lat_s = {Modelica.Math.sin(HDifTil[$HDifTil1].incAng.incAng.lat) for $HDifTil1 in 1:2} (413) [ALGB] (1) protected Real thermalZoneFourElements.resExtWallRoof.dT (414) [ALGB] (2) protected Real[2] HDirTil.incAng.incAng.lat_c = {Modelica.Math.cos(HDirTil[$HDirTil1].incAng.incAng.lat) for $HDirTil1 in 1:2} (415) [ALGB] (1) protected Real thermalZoneFourElements.resExtWallWin.dT (416) [ALGB] (1) Real weaBus.solTim (417) [ALGB] (1) Real HDirTil[2].weaBus.solZen (418) [ALGB] (1) Real HDifTil[2].incAng.weaBus.winSpe (419) [ALGB] (1) Real HDirTil[2].weaBus.solHouAng (420) [STAT] (1) Real[1] thermalZoneFourElements.intWallRC.thermCapInt.T (start = {thermalZoneFourElements.intWallRC.T_start for $f2 in 1:1}, min = max({0.0 for $f3 in 1:1}, {0.0}), nominal = {300.0 for $f1 in 1:1}) (421) [ALGB] (1) protected Real thermalZoneFourElements.resRoofFloor.dT (422) [ALGB] (2) protected Real[2] HDifTil.relAirMas.zen (423) [ALGB] (1) Real HDirTil[2].incAng.weaBus.TBlaSky (424) [ALGB] (1) Real HDirTil[2].incAng.weaBus.HGloHor (425) [ALGB] (2) protected Real[2] HDifTil.briCoe.d = {0.01 for $f1 in 1:2} (426) [ALGB] (2) protected Real[2] HDifTil.add.y (427) [ALGB] (2) protected Real[2] HDirTil.incAng.decAng.decAng (428) [DER-] (1) Real $DER.thermalZoneFourElements.volAir.U (429) [ALGB] (2) Real[2] thermalZoneFourElements.ports.p (start = {101325.0 for $f2 in 1:2}, min = max({0.0 for $f4 in 1:2}, {0.0 for $f4 in 1:2}, {0.0 for $f4 in 1:2}), max = max({1e8 for $f3 in 1:2}, {1e8 for $f3 in 1:2}, {1e8 for $f3 in 1:2}), nominal = {1e5 for $f1 in 1:2}) (430) [ALGB] (1) Real HDifTil[2].weaBus.lat (431) [ALGB] (1) protected Real thermalZoneFourElements.resExtWallIntWall.Q_flow (432) [ALGB] (1) Real HDirTil[2].weaBus.solDec (433) [STAT] (1) Real[1] thermalZoneFourElements.roofRC.thermCapExt.T (start = {thermalZoneFourElements.roofRC.T_start for $f2 in 1:1}, min = max({0.0 for $f3 in 1:1}, {0.0}), nominal = {300.0 for $f1 in 1:1}) (434) [ALGB] (1) protected Real[1] thermalZoneFourElements.intWallRC.thermResInt.dT (435) [DER-] (1) Real[1] $DER.thermalZoneFourElements.roofRC.thermCapExt.T (436) [ALGB] (1) protected Real[1] thermalZoneFourElements.roofRC.thermResExt.dT " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.163458255003206] Failed to read output from testmodel.py, exit status != 0: 0.8891962170018815 0.90533568 0.196788816 Calling exit ...