Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Examples.RenewableSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Examples.RenewableSources") translateModel(Buildings.Electrical.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Examples.RenewableSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 107 kB / 16.38 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 194 kB / 17.32 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.3 MB / 0.5496 GB, free: 17.7 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.563e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.04969/0.04973, allocations: 44.8 MB / 0.7166 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.6141/0.6639, allocations: 172.1 MB / 0.8847 GB, free: 34.8 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00922/0.6731, allocations: 155.7 kB / 0.8848 GB, free: 34.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01221/0.6854, allocations: 5.258 MB / 0.89 GB, free: 32.62 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. Notification: Performance of NFTyping.typeBindings: time 0.01781/0.7033, allocations: 5.07 MB / 0.8949 GB, free: 29.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01359/0.7169, allocations: 5.262 MB / 0.9001 GB, free: 26.97 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02196/0.7388, allocations: 13.71 MB / 0.9135 GB, free: 18.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0164/0.7553, allocations: 12 MB / 0.9252 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03872/0.7941, allocations: 8.955 MB / 0.9339 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/0.805, allocations: 5.727 MB / 0.9395 GB, free: 10.66 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.006027/0.8111, allocations: 1.301 MB / 0.9408 GB, free: 9.359 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01062/0.8217, allocations: 3.055 MB / 0.9438 GB, free: 6.305 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.01966/0.8414, allocations: 16.51 MB / 0.9599 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of replaceArrayConstructors: time 0.009554/0.851, allocations: 10.1 MB / 0.9698 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.005902/0.857, allocations: 1.764 MB / 0.9715 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of FrontEnd: time 0.002795/0.8598, allocations: 357.9 kB / 0.9718 GB, free: 9.293 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2462 (2257) * Number of variables: 2462 (2203) Notification: Performance of Bindings: time 0.0776/0.9374, allocations: 52.03 MB / 1.023 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 0.01199/0.9494, allocations: 7.498 MB / 1.03 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of Early Inline: time 0.07911/1.029, allocations: 43.9 MB / 1.073 GB, free: 1.152 MB / 0.795 GB Notification: Performance of simplify1: time 0.007541/1.036, allocations: 3.152 MB / 1.076 GB, free: 14 MB / 0.8106 GB Notification: Performance of Alias: time 0.6429/1.679, allocations: 58.5 MB / 1.133 GB, free: 126.1 MB / 0.8262 GB Notification: Performance of simplify2: time 0.006722/1.686, allocations: 2.336 MB / 1.135 GB, free: 126.1 MB / 0.8262 GB Notification: Performance of Events: time 0.01254/1.698, allocations: 6.987 MB / 1.142 GB, free: 125 MB / 0.8262 GB Notification: Performance of Detect States: time 0.01245/1.711, allocations: 6.946 MB / 1.149 GB, free: 124.6 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.01472/1.726, allocations: 9.865 MB / 1.159 GB, free: 122.4 MB / 0.8262 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency pv1.panel.load.v[2] could not be devided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) pv1.panel.load.S = {pv1.panel.load.v[1] * (-pv1.panel.load.i)[1] + pv1.panel.load.v[2] * (-pv1.panel.load.i)[2], pv1.panel.load.v[2] * (-pv1.panel.load.i)[1] - pv1.panel.load.v[1] * (-pv1.panel.load.i)[2]} ($RES_BND_2218) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (1098/1351) ****************************** (1) [ALGB] (1) protected Real weaDat.limWinSpe.u (2) [ALGB] (1) protected Real pv4.HDifTil.skyCle.tmp1 (3) [ALGB] (1) protected Real line5.line.omega (4) [ALGB] (1) protected Real pv7.HDifTil.skyCle.skyCle (5) [ALGB] (1) protected Real pv4.HDifTil.skyBri.skyBri (6) [ALGB] (2) protected Real[2] line4.line.Vc (start = line4.line.Vc_start, StateSelect = prefer) (7) [ALGB] (1) protected Real pv6.HDifTil.briCoe.F23 (8) [ALGB] (2) Real[2] gri.sou.terminal.v (9) [ALGB] (1) protected Real pv6.HDifTil.briCoe.F22 (10) [ALGB] (1) protected Real pv6.HDifTil.briCoe.F21 (11) [DISS] (1) protected discrete Real pow3.nextTimeEventScaled (fixed = true, start = 0.0) (12) [ALGB] (1) protected Real loa3.load (min = 1e-10, max = 1.0) (13) [ALGB] (2) Real[2] winTur.terminal.v (14) [ALGB] (1) protected Real pv3.HDirTil.incAng.incAng.dec_s = sin(pv3.HDirTil.incAng.decAng.decAng) (15) [ALGB] (2) flow Real[2] gri.sou.terminal.i (start = {0.0 for $i1 in 1:2}) (16) [ALGB] (1) protected Real pv7.HDirTil.incAng.decAng.decAng (17) [ALGB] (2) flow Real[2] winTur.terminal.i (start = {0.0 for $i1 in 1:2}) (18) [ALGB] (1) protected Real pv3.HDirTil.incAng.incAng.dec_c = cos(pv3.HDirTil.incAng.decAng.decAng) (19) [ALGB] (1) protected Real pv5.HDifTil.briCoe.F2 (20) [ALGB] (1) protected Real pv5.HDifTil.briCoe.F1 (21) [ALGB] (1) protected Real pv1.HDifTil.HDifTil.HGroDifTil (22) [DER-] (1) Real $DER.loa1.theRef (23) [ALGB] (1) protected Real pv6.HDifTil.briCoe.F13 (24) [ALGB] (1) protected Real pv6.HDifTil.briCoe.F12 (25) [ALGB] (1) protected Real pv6.HDifTil.briCoe.F11 (26) [ALGB] (2) protected Real[2] line7.line.Vc (start = line7.line.Vc_start, StateSelect = prefer) (27) [ALGB] (1) protected Real line8.line.omega (28) [ALGB] (1) protected Real pv7.HDifTil.HDifTil.incAng (29) [ALGB] (2) flow Real[2] pv7.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (30) [ALGB] (1) protected Real pv6.HDirTil.incAng.decAng.decAng (31) [DISS] (1) protected discrete Real pow2.nextTimeEventScaled (fixed = true, start = 0.0) (32) [ALGB] (2) Real[2] loa6.v = loa6.terminal.v (start = {480.0, 0.0}) (33) [ALGB] (2) Real[2] pv7.panel.load.terminal.v (34) [ALGB] (1) Real[1] line4.terminal_n.theta (35) [ALGB] (1) protected Real weaDat.add30Min.y (36) [ALGB] (2) Real[2] loa6.i = loa6.terminal.i (start = {0.0 for $i1 in 1:2}) (37) [ALGB] (1) protected Real pv5.HDifTil.skyCle.tmp1 (38) [ALGB] (1) protected Real loa6.omega (39) [ALGB] (1) protected Real pv1.G.y (40) [ALGB] (1) protected Real pv4.HDifTil.briCoe.F2 (41) [ALGB] (1) protected Real pv4.HDifTil.briCoe.F1 (42) [ALGB] (2) Real[2] loa6.S = Buildings.Electrical.Examples.RenewableSources.loa6.PhaseSystem.phasePowers_vi(loa6.v, -loa6.i) (43) [ALGB] (1) protected Real loa6.Q = loa6.P * tan(acos(loa6.pf)) (44) [ALGB] (1) Real loa6.P (start = 0.0) (45) [ALGB] (1) protected Real pv2.HDirTil.incAng.decAng.decAng (46) [ALGB] (1) Real[1] loa6.terminal.theta (47) [ALGB] (1) protected Real pv6.HDifTil.skyCle.skyCle (48) [ALGB] (1) protected Real pv4.panel.load.omega (49) [ALGB] (2) protected Real[2] line5.line.terminal_p.v (50) [DER-] (1) Real $DER.winTur.load.theRef (51) [ALGB] (2) Real[2] loa4.v = loa4.terminal.v (start = {480.0, 0.0}) (52) [ALGB] (1) Real sen2.V (53) [ALGB] (2) Real[2] pv5.panel.load.terminal.v (54) [ALGB] (2) protected flow Real[2] line5.line.terminal_p.i (start = {0.0 for $i1 in 1:2}) (55) [ALGB] (2) Real[2] loa4.i = loa4.terminal.i (start = {0.0 for $i1 in 1:2}) (56) [ALGB] (1) Real pv7.panel.load.P (start = 0.0) (57) [ALGB] (1) protected Real pv7.panel.load.Q = pv7.panel.load.P * tan(-acos(pv7.panel.load.pf)) (58) [ALGB] (2) flow Real[2] pv5.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (59) [ALGB] (2) Real[2] pv7.panel.load.S = Buildings.Electrical.Examples.RenewableSources.pv7.panel.load.PhaseSystem.phasePowers_vi(pv7.panel.load.v, -pv7.panel.load.i) (60) [ALGB] (1) protected Real weaDat.conTim.calTim (61) [ALGB] (1) protected Real pv2.HDifTil.relAirMas.relAirMas (62) [ALGB] (2) Real[2] loa4.S = Buildings.Electrical.Examples.RenewableSources.loa4.PhaseSystem.phasePowers_vi(loa4.v, -loa4.i) (63) [ALGB] (1) protected Real loa4.Q = loa4.P * tan(acos(loa4.pf)) (64) [ALGB] (1) Real loa4.P (start = 0.0) (65) [ALGB] (1) protected Real pv3.HDifTil.briCoe.F23 (66) [ALGB] (1) protected Real pv3.HDifTil.briCoe.F22 (67) [ALGB] (1) protected Real pv3.HDifTil.briCoe.F21 (68) [ALGB] (2) Real[2] pv7.panel.load.i = pv7.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (69) [ALGB] (2) flow Real[2] loa6.terminal.i (start = {0.0 for $i1 in 1:2}) (70) [DISS] (1) protected discrete Real pow1.nextTimeEventScaled (fixed = true, start = 0.0) (71) [ALGB] (1) protected Real pv7.HDifTil.relAirMas.zenDeg (72) [ALGB] (2) Real[2] pv7.panel.load.v = pv7.panel.load.terminal.v (start = {480.0, 0.0}) (73) [ALGB] (2) Real[2] loa6.terminal.v (74) [ALGB] (1) protected Real[1] line4.line.terminal_p.theta (75) [ALGB] (1) protected Real pv6.HDifTil.briCoe.b7 (76) [ALGB] (1) protected Real pv6.HDifTil.briCoe.b6 (77) [ALGB] (1) protected Real pv6.HDifTil.briCoe.b5 (78) [ALGB] (1) Real[1] pv6.terminal.theta (79) [ALGB] (1) protected Real pv6.HDifTil.briCoe.b4 (80) [ALGB] (1) protected Real pv6.HDifTil.briCoe.b3 (81) [ALGB] (1) protected Real pv7.HDifTil.HDifTil.a (82) [ALGB] (1) protected Real pv6.HDifTil.briCoe.b2 (83) [ALGB] (1) protected Real pv7.HDifTil.HDifTil.b (84) [ALGB] (2) protected Real[2] line4.line.terminal_p.v (85) [ALGB] (2) protected Real[2] line5.line.terminal_n.v (86) [ALGB] (1) protected Real pv1.HDifTil.HDifTil.a (87) [ALGB] (1) protected Real pv6.HDifTil.incAng.decAng.decAng (88) [ALGB] (1) protected Real pv1.HDifTil.HDifTil.b (89) [ALGB] (2) Real[2] loa2.v = loa2.terminal.v (start = {480.0, 0.0}) (90) [ALGB] (1) Real winTur.load.P (start = 0.0) (91) [ALGB] (1) Real[1] pv4.panel.terminal.theta (92) [ALGB] (1) protected Real winTur.load.Q = winTur.load.P * tan(-acos(winTur.load.pf)) (93) [ALGB] (2) Real[2] winTur.load.S = Buildings.Electrical.Examples.RenewableSources.winTur.load.PhaseSystem.phasePowers_vi(winTur.load.v, -winTur.load.i) (94) [ALGB] (1) protected Real pv3.HDifTil.briCoe.F13 (95) [ALGB] (1) protected Real pv3.HDifTil.briCoe.F12 (96) [ALGB] (1) protected Real pv3.HDifTil.briCoe.F11 (97) [ALGB] (2) protected flow Real[2] line4.line.terminal_p.i (start = {0.0 for $i1 in 1:2}) (98) [DER-] (1) Real $DER.loa2.theRef (99) [ALGB] (1) protected Real pv6.panel.load.omega (100) [ALGB] (2) protected flow Real[2] line5.line.terminal_n.i (start = {0.0 for $i1 in 1:2}) (101) [ALGB] (2) Real[2] loa2.i = loa2.terminal.i (start = {0.0 for $i1 in 1:2}) (102) [ALGB] (1) Real pv2.panel.load.P (start = 0.0) (103) [ALGB] (1) protected Real pv2.panel.load.Q = pv2.panel.load.P * tan(-acos(pv2.panel.load.pf)) (104) [ALGB] (2) Real[2] pv2.panel.load.S = Buildings.Electrical.Examples.RenewableSources.pv2.panel.load.PhaseSystem.phasePowers_vi(pv2.panel.load.v, -pv2.panel.load.i) (105) [ALGB] (1) protected Real pv6.HDifTil.briCoe.a8 (106) [ALGB] (2) Real[2] line2.terminal_p.v (107) [ALGB] (1) protected Real pv6.HDifTil.briCoe.a7 (108) [ALGB] (2) flow Real[2] pv1.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (109) [ALGB] (1) protected Real pv6.HDifTil.briCoe.a6 (110) [ALGB] (1) protected Real pv6.HDifTil.briCoe.a5 (111) [ALGB] (2) Real[2] winTur.load.i = winTur.load.terminal.i (start = {0.0 for $i1 in 1:2}) (112) [ALGB] (1) protected Real pv6.HDifTil.briCoe.a4 (113) [ALGB] (1) protected Real pv6.HDifTil.briCoe.a3 (114) [ALGB] (1) protected Real pv2.G.u2 (115) [ALGB] (1) protected Real pv6.HDifTil.briCoe.a2 (116) [ALGB] (1) protected Real pv2.G.u1 (117) [ALGB] (1) protected Real pv6.HDifTil.briCoe.a1 (118) [ALGB] (1) protected Real line4.line.LossPower (119) [ALGB] (1) protected Real pv6.HDifTil.relAirMas.zenDeg (120) [ALGB] (1) protected Real line7.line.LossPower (121) [ALGB] (2) Real[2] loa2.S = Buildings.Electrical.Examples.RenewableSources.loa2.PhaseSystem.phasePowers_vi(loa2.v, -loa2.i) (122) [ALGB] (2) flow Real[2] line2.terminal_p.i (start = {0.0 for $i1 in 1:2}) (123) [ALGB] (2) flow Real[2] loa3.terminal.i (start = {0.0 for $i1 in 1:2}) (124) [ALGB] (1) protected Real loa2.Q = loa2.P * tan(acos(loa2.pf)) (125) [ALGB] (2) Real[2] pv1.panel.load.terminal.v (126) [ALGB] (1) Real loa2.P (start = 0.0) (127) [ALGB] (2) Real[2] winTur.load.v = winTur.load.terminal.v (start = {480.0, 0.0}) (128) [ALGB] (1) Real gri.P.apparent (129) [ALGB] (2) Real[2] pv2.panel.load.i = pv2.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (130) [ALGB] (1) Real[1] pv6.panel.load.terminal.theta (131) [ALGB] (2) Real[2] loa3.terminal.v (132) [ALGB] (1) protected Real pv1.panel.gain_DCAC.u (133) [ALGB] (1) protected Real pv7.panel.gain_DCAC.u (134) [DER-] (1) Real $DER.line1.line.theRef (135) [ALGB] (1) Real[1] line5.terminal_n.theta (136) [ALGB] (1) Real[1] sen3.term.theta (137) [ALGB] (2) Real[2] pv2.panel.load.v = pv2.panel.load.terminal.v (start = {480.0, 0.0}) (138) [ALGB] (1) protected Real pv2.HDifTil.skyCle.skyCle (139) [ALGB] (1) protected Real pv2.HDifTil.HDifTil.a (140) [ALGB] (2) protected Real[2] line4.line.terminal_n.v (141) [ALGB] (1) protected Real pv2.HDifTil.HDifTil.b (142) [ALGB] (2) protected Real[2] line3.line.Ic (143) [DER-] (1) Real $DER.pv1.panel.load.theRef (144) [ALGB] (1) protected Real[1] line2.line.terminal_n.theta (145) [DER-] (1) Real $DER.pv7.panel.load.theRef (146) [ALGB] (2) protected flow Real[2] line4.line.terminal_n.i (start = {0.0 for $i1 in 1:2}) (147) [ALGB] (1) protected Real weaDat.limOpaSkyCov.u (148) [ALGB] (1) protected Real[1] line8.line.terminal_p.theta (149) [ALGB] (1) protected Real pv7.HDifTil.HDifTil.HSkyDifTil (150) [ALGB] (1) protected Real pv1.HDifTil.incAng.decAng.decAng (151) [ALGB] (3) protected Real[3] weaDat.datRea30Min.y (152) [ALGB] (1) protected Real pv6.G.y (153) [ALGB] (2) Real[2] line2.terminal_n.v (154) [ALGB] (2) Real[2] pv1.terminal.v (155) [ALGB] (2) Real[2] line7.terminal_p.v (156) [ALGB] (1) protected Real pv7.G.u2 (157) [ALGB] (1) protected Real pv7.G.u1 (158) [ALGB] (2) flow Real[2] line2.terminal_n.i (start = {0.0 for $i1 in 1:2}) (159) [ALGB] (1) protected Real weaDat.TBlaSkyCom.epsSky (160) [ALGB] (2) flow Real[2] pv1.terminal.i (start = {0.0 for $i1 in 1:2}) (161) [ALGB] (2) flow Real[2] line7.terminal_p.i (start = {0.0 for $i1 in 1:2}) (162) [ALGB] (2) protected Real[2] line6.line.Ic (163) [ALGB] (1) protected Real pv6.HDifTil.HDifTil.incAng (164) [ALGB] (1) protected Real pv7.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (165) [ALGB] (1) protected Real pv6.HDifTil.HDifTil.HSkyDifTil (166) [ALGB] (1) Real $FUN_190 (167) [ALGB] (1) protected Real pv6.panel.gain_DCAC.u (168) [ALGB] (1) Real sen1.theta (169) [ALGB] (1) protected Real pv7.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (170) [ALGB] (26) protected Real[26] weaDat.datRea.y (171) [ALGB] (1) Real[1] pv7.panel.terminal.theta (172) [ALGB] (1) Real[1] pv5.terminal.theta (173) [ALGB] (1) Real $FUN_189 (174) [DER-] (1) Real $DER.pv6.panel.load.theRef (175) [ALGB] (1) Real $FUN_188 (176) [ALGB] (1) Real $FUN_187 (177) [ALGB] (1) Real $FUN_186 (178) [ALGB] (1) Real $FUN_185 (179) [ALGB] (1) Real $FUN_184 (180) [ALGB] (1) Real $FUN_183 (181) [ALGB] (1) Real $FUN_182 (182) [ALGB] (1) Real $FUN_181 (183) [ALGB] (1) Real $FUN_180 (184) [ALGB] (1) Real pv1.HDifTil.weaBus.solTim (185) [ALGB] (2) Real[2] pv4.terminal.v (186) [ALGB] (1) protected Real pv1.HDirTil.incAng.incAng.dec_c = cos(pv1.HDirTil.incAng.decAng.decAng) (187) [ALGB] (2) flow Real[2] pv2.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (188) [ALGB] (2) Real[2] line7.terminal_n.v (189) [ALGB] (2) flow Real[2] pv4.terminal.i (start = {0.0 for $i1 in 1:2}) (190) [ALGB] (2) Real[2] pv2.panel.load.terminal.v (191) [ALGB] (1) protected Real pv1.HDirTil.incAng.incAng.dec_s = sin(pv1.HDirTil.incAng.decAng.decAng) (192) [ALGB] (2) flow Real[2] line7.terminal_n.i (start = {0.0 for $i1 in 1:2}) (193) [ALGB] (1) Real $FUN_179 (194) [ALGB] (1) Real $FUN_178 (195) [ALGB] (1) Real ERat.u1 (196) [ALGB] (1) Real $FUN_177 (197) [ALGB] (1) Real $FUN_176 (198) [ALGB] (1) protected Real line5.line.LossPower (199) [ALGB] (1) Real $FUN_175 (200) [ALGB] (1) Real $FUN_174 (201) [ALGB] (1) Real[1] pv7.panel.load.terminal.theta (202) [ALGB] (1) Real $FUN_173 (203) [ALGB] (1) protected Real line6.line.LossPower (204) [ALGB] (1) Real $FUN_172 (205) [ALGB] (1) Real $FUN_171 (206) [DER-] (1) Real $DER.loa3.theRef (207) [ALGB] (1) Real $FUN_170 (208) [ALGB] (1) protected Real pv1.HDifTil.skyBri.skyBri (209) [ALGB] (1) protected Real pv3.HDifTil.skyCle.skyCle (210) [DER-] (1) Real $DER.EPro.u1 (211) [ALGB] (1) protected Real weaDat.souSelRad.HGloHor_in_internal (212) [DER-] (1) Real $DER.EPro.u2 (213) [ALGB] (1) protected Real[1] line1.line.terminal_n.theta (214) [ALGB] (1) protected Real pv1.HDifTil.skyCle.HDifHorBou (215) [ALGB] (1) Real $FUN_169 (216) [DISC] (1) Boolean $SEV_199 (217) [ALGB] (1) Real $FUN_168 (218) [DISC] (1) Boolean $SEV_198 (219) [DISC] (1) Boolean $SEV_197 (220) [ALGB] (1) protected Real line6.line.R_actual (221) [DISC] (1) Boolean $SEV_196 (222) [DISC] (1) Boolean $SEV_195 (223) [DISC] (1) Boolean $SEV_194 (224) [DISC] (1) Boolean $SEV_193 (225) [DISC] (1) Boolean $SEV_192 (226) [ALGB] (2) Real[2] pv7.terminal.v (227) [DISC] (1) Boolean $SEV_191 (228) [DISC] (1) Boolean $SEV_190 (229) [ALGB] (1) Real[1] pv4.terminal.theta (230) [ALGB] (2) flow Real[2] pv7.terminal.i (start = {0.0 for $i1 in 1:2}) (231) [ALGB] (1) Real $FUN_159 (232) [DISC] (1) Boolean $SEV_189 (233) [ALGB] (1) Real $FUN_158 (234) [DISC] (1) Boolean $SEV_188 (235) [DISC] (1) Boolean $SEV_187 (236) [DISC] (1) Boolean $SEV_186 (237) [DISC] (1) Boolean $SEV_185 (238) [DISC] (1) Boolean $SEV_184 (239) [DISC] (1) Boolean $SEV_183 (240) [DISC] (1) Boolean $SEV_182 (241) [DISC] (1) Boolean $SEV_181 (242) [DISC] (1) Boolean $SEV_180 (243) [ALGB] (1) protected Real loa4.load (min = 1e-10, max = 1.0) (244) [ALGB] (1) protected Real pv5.HDirTil.incAng.incAng.dec_s = sin(pv5.HDirTil.incAng.decAng.decAng) (245) [ALGB] (1) Real[1] line3.terminal_n.theta (246) [DER-] (1) Real $DER.line3.line.theRef (247) [ALGB] (1) Real[1] line2.terminal_p.theta (248) [ALGB] (2) flow Real[2] pv5.panel.terminal.i (start = {0.0 for $i1 in 1:2}) (249) [ALGB] (1) protected Real pv5.HDirTil.incAng.incAng.dec_c = cos(pv5.HDirTil.incAng.decAng.decAng) (250) [ALGB] (1) Real $FUN_149 (251) [DISC] (1) Boolean $SEV_179 (252) [ALGB] (1) protected Real pv2.HDifTil.HDifTil.HSkyDifTil (253) [ALGB] (1) Real $FUN_148 (254) [DISC] (1) Boolean $SEV_178 (255) [DISC] (1) Boolean $SEV_177 (256) [DISC] (1) Boolean $SEV_176 (257) [ALGB] (1) Real[1] line8.terminal_p.theta (258) [ALGB] (2) Real[2] pv5.panel.terminal.v (259) [DISC] (1) Boolean $SEV_173 (260) [DISC] (1) Boolean $SEV_172 (261) [ALGB] (1) protected Real loa5.omega (262) [DISC] (1) Boolean $SEV_171 (263) [DISC] (1) Boolean $SEV_170 (264) [ALGB] (1) protected Real pv2.HDifTil.incAng.decAng.decAng (265) [ALGB] (1) Real gri.P.cosPhi (266) [ALGB] (1) protected Real pv3.HDifTil.HDifTil.HSkyDifTil (267) [ALGB] (1) protected Real pv5.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (268) [ALGB] (1) Real $FUN_139 (269) [DISC] (1) Boolean $SEV_169 (270) [ALGB] (1) Real $FUN_138 (271) [DISC] (1) Boolean $SEV_168 (272) [DISC] (1) Boolean $SEV_167 (273) [DISC] (1) Boolean $SEV_166 (274) [DISC] (1) Boolean $SEV_165 (275) [DISC] (1) Boolean $SEV_164 (276) [DISC] (1) Boolean $SEV_163 (277) [DISC] (1) Boolean $SEV_162 (278) [DISC] (1) Boolean $SEV_161 (279) [ALGB] (1) protected Real pv2.panel.load.omega (280) [DISC] (1) Boolean $SEV_160 (281) [ALGB] (1) protected Real pv5.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (282) [ALGB] (1) Real line1.VoltageLosses = abs(Buildings.Electrical.Examples.RenewableSources.line1.PhaseSystem_p.systemVoltage(line1.terminal_p.v) - Buildings.Electrical.Examples.RenewableSources.line1.PhaseSystem_n.systemVoltage(line1.terminal_n.v)) / Buildings.Utilities.Math.Functions.smoothMax(Buildings.Electrical.Examples.RenewableSources.line1.PhaseSystem_p.systemVoltage(line1.terminal_p.v), Buildings.Electrical.Examples.RenewableSources.line1.PhaseSystem_n.systemVoltage(line1.terminal_n.v), 1.0) (283) [ALGB] (1) Real $FUN_129 (284) [DISC] (1) Boolean $SEV_159 (285) [ALGB] (1) Real $FUN_128 (286) [DISC] (1) Boolean $SEV_158 (287) [DISC] (1) Boolean $SEV_157 (288) [DISC] (1) Boolean $SEV_156 (289) [DISC] (1) Boolean $SEV_155 (290) [DISC] (1) Boolean $SEV_154 (291) [DISC] (1) Boolean $SEV_153 (292) [DISC] (1) Boolean $SEV_152 (293) [DISC] (1) Boolean $SEV_151 (294) [DISC] (1) Boolean $SEV_150 (295) [DER-] (1) Real $DER.loa4.theRef (296) [ALGB] (1) protected Real pv2.G.y (297) [ALGB] (1) protected Real pv7.HDifTil.skyBri.skyBri (298) [ALGB] (1) protected Real pv7.HDifTil.skyCle.tmp1 (299) [ALGB] (1) protected Real pv2.HDifTil.skyCle.HDifHorBou (300) [ALGB] (1) Real $FUN_119 (301) [ALGB] (1) Real $FUN_118 (302) [DISC] (1) Boolean $SEV_147 (303) [DISC] (1) Boolean $SEV_146 (304) [ALGB] (1) Real[1] gri.terminal.theta (305) [ALGB] (1) protected Real weaDat.souSelRad.HDifHor_in_internal (306) [DISC] (1) Boolean $SEV_145 (307) [ALGB] (1) protected Real[1] line7.line.terminal_n.theta (308) [DISC] (1) Boolean $SEV_144 (309) [DISC] (1) Boolean $SEV_143 (310) [DISC] (1) Boolean $SEV_142 (311) [DISC] (1) Boolean $SEV_141 (312) [DISC] (1) Boolean $SEV_140 (313) [ALGB] (1) protected Real[1] line3.line.terminal_p.theta (314) [ALGB] (1) Real pv6.panel.load.P (start = 0.0) (315) [ALGB] (1) protected Real pv6.panel.load.Q = pv6.panel.load.P * tan(-acos(pv6.panel.load.pf)) (316) [ALGB] (2) Real[2] pv6.panel.load.S = Buildings.Electrical.Examples.RenewableSources.pv6.panel.load.PhaseSystem.phasePowers_vi(pv6.panel.load.v, -pv6.panel.load.i) (317) [ALGB] (1) Real pv1.HDifTil.weaBus.nTot (318) [ALGB] (1) Real $FUN_109 (319) [DISC] (1) Boolean $SEV_139 (320) [ALGB] (1) Real $FUN_108 (321) [DISC] (1) Boolean $SEV_138 (322) [DISC] (1) Boolean $SEV_137 (323) [DISC] (1) Boolean $SEV_136 (324) [DISC] (1) Boolean $SEV_135 (325) [DISC] (1) Boolean $SEV_134 (326) [DISC] (1) Boolean $SEV_133 (327) [DISC] (1) Boolean $SEV_132 (328) [ALGB] (1) protected Real pv1.HDifTil.relAirMas.zenDeg (329) [ALGB] (2) Real[2] pv6.panel.load.i = pv6.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (330) [DISC] (1) Boolean $SEV_131 (331) [DISC] (1) Boolean $SEV_130 (332) [ALGB] (1) protected Real pv6.HDifTil.incAng.incAng.dec_c = cos(pv6.HDifTil.incAng.decAng.decAng) (333) [ALGB] (2) Real[2] pv6.panel.load.v = pv6.panel.load.terminal.v (start = {480.0, 0.0}) (334) [ALGB] (1) protected Real pv6.HDifTil.incAng.incAng.dec_s = sin(pv6.HDifTil.incAng.decAng.decAng) (335) [ALGB] (1) Real[1] line6.terminal_n.theta (336) [DISC] (1) Boolean $SEV_129 (337) [DISC] (1) Boolean $SEV_128 (338) [DISC] (1) Boolean $SEV_127 (339) [DISS] (1) protected discrete Real pow5.nextTimeEventScaled (fixed = true, start = 0.0) (340) [DISC] (1) Boolean $SEV_126 (341) [DISC] (1) Boolean $SEV_125 (342) [DISC] (1) Boolean $SEV_124 (343) [DISC] (1) Boolean $SEV_121 (344) [DISC] (1) Boolean $SEV_120 (345) [ALGB] (1) protected Real line3.line.omega (346) [ALGB] (1) protected Real weaDat.conWinDir.u (347) [ALGB] (1) Real pv1.panel.load.P (start = 0.0) (348) [ALGB] (1) protected Real pv1.panel.load.Q = pv1.panel.load.P * tan(-acos(pv1.panel.load.pf)) (349) [ALGB] (1) protected Real pv5.HDifTil.relAirMas.relAirMas (350) [ALGB] (2) Real[2] pv1.panel.load.S = Buildings.Electrical.Examples.RenewableSources.pv1.panel.load.PhaseSystem.phasePowers_vi(pv1.panel.load.v, -pv1.panel.load.i) (351) [ALGB] (2) Real[2] line3.terminal_p.v (352) [ALGB] (1) protected Real pv3.HDirTil.incAng.decAng.decAng (353) [ALGB] (1) protected Real pv2.HDifTil.relAirMas.zenDeg (354) [ALGB] (1) protected Real pv2.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (355) [ALGB] (1) protected Real pv3.G.u2 (356) [ALGB] (1) protected Real pv3.G.u1 (357) [ALGB] (1) protected Real pv2.HDifTil.skyCle.tmp1 (358) [DISC] (1) Boolean $SEV_119 (359) [DISC] (1) Boolean $SEV_118 (360) [DISC] (1) Boolean $SEV_117 (361) [DISC] (1) Boolean $SEV_116 (362) [ALGB] (2) flow Real[2] line3.terminal_p.i (start = {0.0 for $i1 in 1:2}) (363) [DISC] (1) Boolean $SEV_115 (364) [DISC] (1) Boolean $SEV_114 (365) [DISC] (1) Boolean $SEV_113 (366) [DISC] (1) Boolean $SEV_112 (367) [ALGB] (1) Real[1] pv6.panel.terminal.theta (368) [ALGB] (1) protected Real pv2.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (369) [DISC] (1) Boolean $SEV_111 (370) [DISC] (1) Boolean $SEV_110 (371) [ALGB] (2) Real[2] pv1.panel.load.i = pv1.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (372) [ALGB] (1) protected Real pv7.HDifTil.relAirMas.relAirMas (373) [ALGB] (1) protected Real pv6.HDifTil.skyBri.skyBri (374) [ALGB] (2) Real[2] gri.sou.S = Buildings.Electrical.Examples.RenewableSources.gri.sou.PhaseSystem.phasePowers_vi(gri.sou.terminal.v, gri.sou.terminal.i) (375) [ALGB] (2) Real[2] pv1.panel.load.v = pv1.panel.load.terminal.v (start = {480.0, 0.0}) (376) [ALGB] (2) protected Real[2] line3.line.Vc (start = line3.line.Vc_start, StateSelect = prefer) (377) [ALGB] (1) Real pv1.HDifTil.weaBus.ceiHei (378) [ALGB] (1) protected Real pv3.HDifTil.incAng.incAng.dec_c = cos(pv3.HDifTil.incAng.decAng.decAng) (379) [DISC] (1) Boolean $SEV_109 (380) [DISC] (1) Boolean $SEV_108 (381) [DISC] (1) Boolean $SEV_107 (382) [DISC] (1) Boolean $SEV_106 (383) [ALGB] (1) protected Real[1] line6.line.terminal_n.theta (384) [DISC] (1) Boolean $SEV_105 (385) [ALGB] (1) Real[1] pow6.y (386) [DISC] (1) Boolean $SEV_104 (387) [DISC] (1) Boolean $SEV_103 (388) [ALGB] (1) protected Real pv5.HDirTil.incAng.decAng.decAng (389) [DISC] (1) Boolean $SEV_102 (390) [ALGB] (1) protected Real line6.line.omega (391) [DISC] (1) Boolean $SEV_101 (392) [DISS] (1) protected discrete Real pow7.nextTimeEventScaled (fixed = true, start = 0.0) (393) [DISC] (1) Boolean $SEV_100 (394) [ALGB] (1) protected Real pv5.panel.gain_DCAC.u (395) [ALGB] (1) protected Real pv3.HDifTil.incAng.incAng.dec_s = sin(pv3.HDifTil.incAng.decAng.decAng) (396) [ALGB] (1) protected Real pv2.HDifTil.HDifTil.incAng (397) [DER-] (1) Real $DER.loa5.theRef (398) [ALGB] (2) Real[2] line3.terminal_n.v (399) [ALGB] (2) Real[2] line8.terminal_p.v (400) [ALGB] (2) protected Real[2] line6.line.Vc (start = line6.line.Vc_start, StateSelect = prefer) (401) [ALGB] (1) protected Real pv7.HDifTil.briCoe.a1 (402) [ALGB] (1) protected Real pv7.HDifTil.briCoe.a2 (403) [ALGB] (1) protected Real pv7.HDifTil.briCoe.a3 (404) [ALGB] (1) protected Real pv1.HDifTil.briCoe.a1 (405) [ALGB] (1) protected Real pv7.HDifTil.briCoe.a4 (406) [ALGB] (2) flow Real[2] line3.terminal_n.i (start = {0.0 for $i1 in 1:2}) (407) [ALGB] (1) protected Real pv1.HDifTil.briCoe.a2 (408) [ALGB] (1) protected Real pv7.HDifTil.briCoe.a5 (409) [ALGB] (1) protected Real pv1.HDifTil.briCoe.a3 (410) [ALGB] (1) protected Real pv7.HDifTil.briCoe.a6 (411) [ALGB] (2) flow Real[2] line8.terminal_p.i (start = {0.0 for $i1 in 1:2}) (412) [ALGB] (1) protected Real pv1.HDifTil.briCoe.a4 (413) [ALGB] (1) protected Real pv7.HDifTil.briCoe.a7 (414) [ALGB] (1) protected Real pv1.HDifTil.briCoe.a5 (415) [ALGB] (1) protected Real pv7.HDifTil.briCoe.a8 (416) [ALGB] (1) protected Real pv1.HDifTil.briCoe.a6 (417) [ALGB] (1) protected Real pv1.HDifTil.briCoe.a7 (418) [ALGB] (1) protected Real pv1.HDifTil.briCoe.a8 (419) [ALGB] (1) protected Real pv7.G.y (420) [ALGB] (1) protected Real pv5.HDifTil.HDifTil.HGroDifTil (421) [ALGB] (1) protected Real line1.line.LossPower (422) [ALGB] (2) protected flow Real[2] line3.line.terminal_n.i (start = {0.0 for $i1 in 1:2}) (423) [ALGB] (1) Real line2.VoltageLosses = abs(Buildings.Electrical.Examples.RenewableSources.line2.PhaseSystem_p.systemVoltage(line2.terminal_p.v) - Buildings.Electrical.Examples.RenewableSources.line2.PhaseSystem_n.systemVoltage(line2.terminal_n.v)) / Buildings.Utilities.Math.Functions.smoothMax(Buildings.Electrical.Examples.RenewableSources.line2.PhaseSystem_p.systemVoltage(line2.terminal_p.v), Buildings.Electrical.Examples.RenewableSources.line2.PhaseSystem_n.systemVoltage(line2.terminal_n.v), 1.0) (424) [ALGB] (1) protected Real pv1.HDifTil.skyCle.HDifHor (425) [ALGB] (1) protected Real pv7.HDifTil.briCoe.b2 (426) [ALGB] (2) protected Real[2] line3.line.terminal_n.v (427) [ALGB] (1) protected Real pv6.HDifTil.HDifTil.b (428) [ALGB] (1) protected Real pv7.HDifTil.briCoe.b3 (429) [ALGB] (1) protected Real pv6.HDifTil.HDifTil.a (430) [ALGB] (1) protected Real pv7.HDifTil.briCoe.b4 (431) [ALGB] (1) protected Real pv1.HDifTil.briCoe.b2 (432) [ALGB] (1) protected Real pv7.HDifTil.briCoe.b5 (433) [ALGB] (1) protected Real pv1.HDifTil.briCoe.b3 (434) [ALGB] (1) protected Real pv7.HDifTil.briCoe.b6 (435) [ALGB] (1) Real[1] pow4.y (436) [ALGB] (1) protected Real pv1.HDifTil.briCoe.b4 (437) [ALGB] (1) protected Real pv7.HDifTil.briCoe.b7 (438) [ALGB] (1) protected Real pv1.HDifTil.briCoe.b5 (439) [ALGB] (1) protected Real pv1.HDifTil.briCoe.b6 (440) [ALGB] (1) protected Real pv1.HDifTil.briCoe.b7 (441) [ALGB] (1) protected Real pv4.HDifTil.HDifTil.HGroDifTil (442) [DISS] (1) protected discrete Real pow4.nextTimeEvent (fixed = true, start = 0.0) (443) [ALGB] (1) Real $FUN_9 (444) [ALGB] (4) Real[2, 2] $FUN_8 (445) [ALGB] (4) Real[2, 2] $FUN_7 (446) [ALGB] (4) Real[2, 2] $FUN_6 (447) [ALGB] (4) Real[2, 2] $FUN_5 (448) [ALGB] (4) Real[2, 2] $FUN_4 (449) [ALGB] (4) Real[2, 2] $FUN_3 (450) [ALGB] (4) Real[2, 2] $FUN_2 (451) [ALGB] (2) Real[2] line8.terminal_n.v (452) [ALGB] (1) protected Real pv2.HDifTil.briCoe.a1 (453) [ALGB] (1) protected Real pv2.HDifTil.briCoe.a2 (454) [ALGB] (1) protected Real pv2.HDifTil.briCoe.a3 (455) [ALGB] (1) protected Real pv2.HDifTil.briCoe.a4 (456) [ALGB] (2) flow Real[2] line8.terminal_n.i (start = {0.0 for $i1 in 1:2}) (457) [ALGB] (1) protected Real pv2.HDifTil.briCoe.a5 (458) [ALGB] (1) protected Real pv2.HDifTil.briCoe.a6 (459) [ALGB] (1) protected Real pv2.HDifTil.briCoe.a7 (460) [ALGB] (1) protected Real pv2.HDifTil.briCoe.a8 (461) [ALGB] (1) protected Real pv4.HDirTil.incAng.incAng.dec_s = sin(pv4.HDirTil.incAng.decAng.decAng) (462) [ALGB] (2) Real[2] pv3.panel.terminal.v (463) [ALGB] (1) protected Real pv1.HDifTil.skyCle.zen (464) [ALGB] (2) protected flow Real[2] line3.line.terminal_p.i (start = {0.0 for $i1 in 1:2}) (465) [ALGB] (2) flow Real[2] pv3.panel.terminal.i (start = {0.0 for $i1 in 1:2}) (466) [ALGB] (1) protected Real pv4.HDirTil.incAng.incAng.dec_c = cos(pv4.HDirTil.incAng.decAng.decAng) (467) [ALGB] (1) protected Real pv2.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (468) [ALGB] (2) protected Real[2] line3.line.terminal_p.v (469) [ALGB] (1) protected Real pv2.HDifTil.briCoe.b2 (470) [ALGB] (1) protected Real pv2.HDifTil.briCoe.b3 (471) [ALGB] (2) flow Real[2] pv1.panel.terminal.i (start = {0.0 for $i1 in 1:2}) (472) [ALGB] (1) protected Real pv2.HDifTil.briCoe.b4 (473) [ALGB] (1) Real[1] pow2.y (474) [ALGB] (1) protected Real pv2.HDifTil.briCoe.b5 (475) [ALGB] (1) protected Real pv2.HDifTil.briCoe.b6 (476) [ALGB] (1) protected Real pv2.HDifTil.briCoe.b7 (477) [ALGB] (1) protected Real pv2.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (478) [ALGB] (1) protected Real pv3.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (479) [ALGB] (1) Real[1] line4.terminal_p.theta (480) [ALGB] (2) flow Real[2] pv7.panel.terminal.i (start = {0.0 for $i1 in 1:2}) (481) [ALGB] (2) Real[2] pv1.panel.terminal.v (482) [ALGB] (1) protected Real pv6.HDifTil.skyCle.HDifHorBou (483) [ALGB] (2) Real[2] pv7.panel.terminal.v (484) [ALGB] (1) protected Real pv3.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (485) [ALGB] (1) protected Real loa4.omega (486) [ALGB] (1) protected Real weaDat.conRelHum.u (487) [ALGB] (1) protected Real pv5.HDifTil.briCoe.F11 (488) [ALGB] (1) protected Real pv5.HDifTil.briCoe.F12 (489) [ALGB] (1) protected Real pv5.HDifTil.briCoe.F13 (490) [ALGB] (1) protected Real weaDat.conRelHum.y (491) [ALGB] (1) protected Real line5.line.R_actual (492) [ALGB] (1) protected Real pv4.HDifTil.briCoe.F11 (493) [ALGB] (1) protected Real pv4.HDifTil.briCoe.F12 (494) [ALGB] (1) protected Real pv4.HDifTil.briCoe.F13 (495) [ALGB] (1) protected Real loa5.load (min = 1e-10, max = 1.0) (496) [ALGB] (1) protected Real pv4.HDifTil.incAng.decAng.decAng (497) [DER-] (1) Real $DER.loa6.theRef (498) [ALGB] (1) protected Real pv1.HDifTil.skyCle.HGloHor (499) [ALGB] (1) protected Real line2.line.LossPower (500) [ALGB] (2) flow Real[2] loa5.terminal.i (start = {0.0 for $i1 in 1:2}) (501) [ALGB] (1) protected Real pv1.HDifTil.incAng.incAng.dec_s = sin(pv1.HDifTil.incAng.decAng.decAng) (502) [ALGB] (1) protected Real pv5.HDifTil.briCoe.F21 (503) [ALGB] (1) Real line7.VoltageLosses = abs(Buildings.Electrical.Examples.RenewableSources.line7.PhaseSystem_p.systemVoltage(line7.terminal_p.v) - Buildings.Electrical.Examples.RenewableSources.line7.PhaseSystem_n.systemVoltage(line7.terminal_n.v)) / Buildings.Utilities.Math.Functions.smoothMax(Buildings.Electrical.Examples.RenewableSources.line7.PhaseSystem_p.systemVoltage(line7.terminal_p.v), Buildings.Electrical.Examples.RenewableSources.line7.PhaseSystem_n.systemVoltage(line7.terminal_n.v), 1.0) (504) [ALGB] (1) protected Real pv5.HDifTil.briCoe.F22 (505) [ALGB] (1) protected Real pv5.HDifTil.briCoe.F23 (506) [ALGB] (2) flow Real[2] sen1.term.i (start = {0.0 for $i1 in 1:2}) (507) [ALGB] (2) Real[2] loa5.terminal.v (508) [ALGB] (1) protected Real pv4.HDifTil.briCoe.F21 (509) [ALGB] (1) protected Real pv4.HDifTil.briCoe.F22 (510) [ALGB] (1) protected Real pv1.HDifTil.incAng.incAng.dec_c = cos(pv1.HDifTil.incAng.decAng.decAng) (511) [ALGB] (1) protected Real pv4.HDifTil.briCoe.F23 (512) [DER-] (1) Real $DER.line2.line.theRef (513) [ALGB] (2) Real[2] sen1.term.v (514) [ALGB] (1) protected Real pv1.HDirTil.incAng.decAng.decAng (515) [ALGB] (1) protected Real pv3.HDifTil.briCoe.F1 (516) [ALGB] (1) protected Real pv3.HDifTil.briCoe.F2 (517) [ALGB] (1) Real[1] pv1.terminal.theta (518) [ALGB] (1) Real pv1.HDifTil.weaBus.winDir (519) [ALGB] (2) protected Real[2] line2.line.Ic (520) [ALGB] (1) protected Real pv3.HDifTil.relAirMas.relAirMas (521) [ALGB] (2) flow Real[2] loa2.terminal.i (start = {0.0 for $i1 in 1:2}) (522) [ALGB] (1) protected Real[1] line4.line.terminal_n.theta (523) [ALGB] (2) Real[2] loa2.terminal.v (524) [ALGB] (1) protected Real pv3.HDifTil.HDifTil.incAng (525) [ALGB] (1) Real[1] sen2.term.theta (526) [DISC] (1) Boolean $SEV_9 (527) [ALGB] (1) protected Real pv4.HDifTil.incAng.incAng.dec_s = sin(pv4.HDifTil.incAng.decAng.decAng) (528) [ALGB] (1) protected Real pv7.HDifTil.skyCle.HDifHorBou (529) [ALGB] (2) protected Real[2] line5.line.Ic (530) [ALGB] (1) protected Real pv4.HDifTil.incAng.incAng.dec_c = cos(pv4.HDifTil.incAng.decAng.decAng) (531) [ALGB] (1) Real[1] pv3.panel.load.terminal.theta (532) [ALGB] (1) protected Real weaDat.TBlaSkyCom.TBlaSky (533) [ALGB] (1) protected Real line3.line.LossPower (534) [ALGB] (1) protected Real pv3.G.y (535) [ALGB] (2) Real[2] pv2.terminal.v (536) [ALGB] (1) protected Real pv6.HDifTil.relAirMas.relAirMas (537) [ALGB] (1) Real pv5.panel.load.P (start = 0.0) (538) [ALGB] (1) protected Real pv5.panel.load.Q = pv5.panel.load.P * tan(-acos(pv5.panel.load.pf)) (539) [ALGB] (1) Real[1] loa1.terminal.theta (540) [ALGB] (2) Real[2] pv5.panel.load.S = Buildings.Electrical.Examples.RenewableSources.pv5.panel.load.PhaseSystem.phasePowers_vi(pv5.panel.load.v, -pv5.panel.load.i) (541) [ALGB] (2) flow Real[2] pv2.terminal.i (start = {0.0 for $i1 in 1:2}) (542) [ALGB] (1) protected Real weaDat.conTimMin.calTim (543) [ALGB] (2) protected Real[2] line8.line.Ic (544) [ALGB] (1) Real[1] pv5.panel.terminal.theta (545) [DER-] (1) Real $DER.line7.line.theRef (546) [ALGB] (2) Real[2] pv5.panel.load.i = pv5.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (547) [ALGB] (1) Real[1] pv7.terminal.theta (548) [ALGB] (1) protected Real winTur.load.omega (549) [ALGB] (1) Real winTur.vWin (550) [ALGB] (2) Real[2] pv5.panel.load.v = pv5.panel.load.terminal.v (start = {480.0, 0.0}) (551) [ALGB] (1) protected Real[1] winTur.per.y (552) [DER-] (1) Real $DER.loa7.theRef (553) [ALGB] (1) protected Real line8.line.R_actual (554) [ALGB] (2) Real[2] pv5.terminal.v (555) [ALGB] (2) flow Real[2] sen2.term.i (start = {0.0 for $i1 in 1:2}) (556) [ALGB] (2) Real[2] loa7.v = loa7.terminal.v (start = {480.0, 0.0}) (557) [ALGB] (2) flow Real[2] pv5.terminal.i (start = {0.0 for $i1 in 1:2}) (558) [ALGB] (2) Real[2] line4.terminal_p.v (559) [ALGB] (2) Real[2] sen2.term.v (560) [ALGB] (1) protected Real pv7.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (561) [ALGB] (1) protected Real pv4.G.u2 (562) [ALGB] (1) protected Real pv4.G.u1 (563) [ALGB] (2) Real[2] loa7.i = loa7.terminal.i (start = {0.0 for $i1 in 1:2}) (564) [ALGB] (1) protected Real pv6.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (565) [ALGB] (2) flow Real[2] line4.terminal_p.i (start = {0.0 for $i1 in 1:2}) (566) [ALGB] (1) protected Real pv7.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (567) [ALGB] (1) protected Real pv6.HDifTil.briCoe.F2 (568) [ALGB] (1) protected Real pv6.HDifTil.briCoe.F1 (569) [ALGB] (2) Real[2] loa7.S = Buildings.Electrical.Examples.RenewableSources.loa7.PhaseSystem.phasePowers_vi(loa7.v, -loa7.i) (570) [ALGB] (1) protected Real pv6.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (571) [ALGB] (1) protected Real loa7.Q = loa7.P * tan(acos(loa7.pf)) (572) [ALGB] (1) Real loa7.P (start = 0.0) (573) [ALGB] (1) Real[1] loa7.terminal.theta (574) [ALGB] (1) Real[1] pv4.panel.load.terminal.theta (575) [ALGB] (1) protected Real pv7.HDirTil.incAng.incAng.dec_c = cos(pv7.HDirTil.incAng.decAng.decAng) (576) [ALGB] (2) Real[2] loa5.v = loa5.terminal.v (start = {480.0, 0.0}) (577) [ALGB] (1) Real sen3.V (578) [ALGB] (2) Real[2] line4.terminal_n.v (579) [ALGB] (1) protected Real winTur.gain.u (580) [ALGB] (1) protected Real pv7.HDirTil.incAng.incAng.dec_s = sin(pv7.HDirTil.incAng.decAng.decAng) (581) [ALGB] (2) Real[2] loa5.i = loa5.terminal.i (start = {0.0 for $i1 in 1:2}) (582) [ALGB] (1) Real pv1.HDifTil.weaBus.relHum (583) [ALGB] (1) Real[1] pv2.panel.load.terminal.theta (584) [ALGB] (1) Real[1] pv2.panel.terminal.theta (585) [ALGB] (2) flow Real[2] line4.terminal_n.i (start = {0.0 for $i1 in 1:2}) (586) [ALGB] (2) Real[2] loa5.S = Buildings.Electrical.Examples.RenewableSources.loa5.PhaseSystem.phasePowers_vi(loa5.v, -loa5.i) (587) [ALGB] (1) protected Real loa5.Q = loa5.P * tan(acos(loa5.pf)) (588) [ALGB] (1) Real loa5.P (start = 0.0) (589) [ALGB] (2) Real[2] pv4.panel.terminal.v (590) [ALGB] (1) Real[1] line7.terminal_p.theta (591) [ALGB] (2) flow Real[2] pv4.panel.terminal.i (start = {0.0 for $i1 in 1:2}) (592) [ALGB] (1) Real[1] line1.terminal_p.theta (593) [ALGB] (1) protected Real pv5.HDifTil.briCoe.b7 (594) [ALGB] (1) protected Real pv5.HDifTil.briCoe.b6 (595) [ALGB] (1) protected Real pv5.HDifTil.briCoe.b5 (596) [ALGB] (1) protected Real pv5.HDifTil.briCoe.b4 (597) [ALGB] (1) protected Real pv5.HDifTil.briCoe.b3 (598) [ALGB] (1) protected Real pv2.HDifTil.HDifTil.HGroDifTil (599) [ALGB] (1) protected Real pv5.HDifTil.briCoe.b2 (600) [ALGB] (1) protected Real[1] line5.line.terminal_n.theta (601) [ALGB] (2) protected Real[2] line6.line.terminal_p.v (602) [ALGB] (2) Real[2] loa3.v = loa3.terminal.v (start = {480.0, 0.0}) (603) [ALGB] (1) Real[1] pv1.panel.terminal.theta (604) [ALGB] (1) Real sen1.V (605) [ALGB] (1) protected Real winTur.cor.vLoc (606) [DER-] (1) Real $DER.line5.line.theRef (607) [ALGB] (1) protected Real pv4.HDifTil.HDifTil.incAng (608) [ALGB] (2) protected flow Real[2] line6.line.terminal_p.i (start = {0.0 for $i1 in 1:2}) (609) [ALGB] (2) flow Real[2] pv6.panel.terminal.i (start = {0.0 for $i1 in 1:2}) (610) [ALGB] (2) Real[2] loa3.i = loa3.terminal.i (start = {0.0 for $i1 in 1:2}) (611) [ALGB] (1) Real[1] line3.terminal_p.theta (612) [ALGB] (1) protected Real pv5.HDifTil.skyBri.skyBri (613) [ALGB] (1) protected Real weaDat.TBlaSkyCom.nOpa10 (min = 0.0, max = 10.0) (614) [ALGB] (1) protected Real pv5.HDifTil.briCoe.a8 (615) [ALGB] (1) protected Real pv5.HDifTil.briCoe.a7 (616) [ALGB] (1) protected Real pv3.HDifTil.HDifTil.HGroDifTil (617) [ALGB] (1) protected Real pv5.HDifTil.briCoe.a6 (618) [ALGB] (1) protected Real pv5.HDifTil.briCoe.a5 (619) [ALGB] (2) Real[2] pv6.panel.terminal.v (620) [ALGB] (1) Real[1] gri.sou.terminal.theta (621) [ALGB] (1) protected Real pv5.HDifTil.briCoe.a4 (622) [ALGB] (1) protected Real pv5.HDifTil.briCoe.a3 (623) [ALGB] (1) protected Real loa1.load (min = 1e-10, max = 1.0) (624) [ALGB] (1) protected Real pv5.HDifTil.briCoe.a2 (625) [ALGB] (1) protected Real pv5.HDifTil.briCoe.a1 (626) [ALGB] (2) flow Real[2] sen3.term.i (start = {0.0 for $i1 in 1:2}) (627) [ALGB] (1) protected Real loa3.omega (628) [ALGB] (2) Real[2] loa3.S = Buildings.Electrical.Examples.RenewableSources.loa3.PhaseSystem.phasePowers_vi(loa3.v, -loa3.i) (629) [ALGB] (1) protected Real loa3.Q = loa3.P * tan(acos(loa3.pf)) (630) [ALGB] (1) Real loa3.P (start = 0.0) (631) [ALGB] (1) Real pv1.HDifTil.weaBus.HHorIR (632) [ALGB] (1) protected Real pv3.HDifTil.skyCle.tmp1 (633) [ALGB] (2) Real[2] sen3.term.v (634) [ALGB] (1) protected Real pv4.HDifTil.briCoe.b7 (635) [ALGB] (1) protected Real pv4.HDifTil.briCoe.b6 (636) [ALGB] (1) protected Real pv4.HDifTil.briCoe.b5 (637) [ALGB] (1) protected Real pv4.HDifTil.briCoe.b4 (638) [ALGB] (1) protected Real pv4.HDifTil.briCoe.b3 (639) [ALGB] (1) protected Real pv4.HDifTil.briCoe.b2 (640) [ALGB] (1) protected Real pv3.HDifTil.HDifTil.a (641) [DER-] (1) Real $DER.ERat.u2 (642) [ALGB] (1) protected Real pv3.HDifTil.HDifTil.b (643) [ALGB] (2) protected Real[2] line6.line.terminal_n.v (644) [ALGB] (2) Real[2] loa1.v = loa1.terminal.v (start = {480.0, 0.0}) (645) [ALGB] (1) protected Real pv5.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (646) [DISS] (1) protected discrete Real pow4.nextTimeEventScaled (fixed = true, start = 0.0) (647) [ALGB] (1) Real[1] winTur.terminal.theta (648) [ALGB] (2) protected flow Real[2] line6.line.terminal_n.i (start = {0.0 for $i1 in 1:2}) (649) [ALGB] (1) protected Real pv1.HDirTil.HDirTil.incAng (650) [ALGB] (2) Real[2] loa1.i = loa1.terminal.i (start = {0.0 for $i1 in 1:2}) (651) [ALGB] (1) protected Real pv5.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (652) [ALGB] (1) protected Real pv4.HDifTil.briCoe.a8 (653) [ALGB] (1) protected Real line1.line.omega (654) [ALGB] (1) protected Real pv4.HDifTil.briCoe.a7 (655) [ALGB] (1) protected Real pv4.HDifTil.briCoe.a6 (656) [ALGB] (1) protected Real pv4.HDifTil.briCoe.a5 (657) [ALGB] (1) protected Real pv4.HDifTil.briCoe.a4 (658) [ALGB] (1) protected Real pv4.HDifTil.briCoe.a3 (659) [ALGB] (1) protected Real pv7.HDirTil.HDirTil.incAng (660) [ALGB] (1) protected Real pv4.HDifTil.briCoe.a2 (661) [ALGB] (1) protected Real pv4.HDifTil.briCoe.a1 (662) [ALGB] (1) protected Real loa6.load (min = 1e-10, max = 1.0) (663) [ALGB] (2) Real[2] loa1.S = Buildings.Electrical.Examples.RenewableSources.loa1.PhaseSystem.phasePowers_vi(loa1.v, -loa1.i) (664) [ALGB] (1) protected Real loa1.Q = loa1.P * tan(acos(loa1.pf)) (665) [ALGB] (1) Real loa1.P (start = 0.0) (666) [ALGB] (1) protected Real pv5.HDifTil.skyCle.HDifHorBou (667) [ALGB] (1) Real line4.VoltageLosses = abs(Buildings.Electrical.Examples.RenewableSources.line4.PhaseSystem_p.systemVoltage(line4.terminal_p.v) - Buildings.Electrical.Examples.RenewableSources.line4.PhaseSystem_n.systemVoltage(line4.terminal_n.v)) / Buildings.Utilities.Math.Functions.smoothMax(Buildings.Electrical.Examples.RenewableSources.line4.PhaseSystem_p.systemVoltage(line4.terminal_p.v), Buildings.Electrical.Examples.RenewableSources.line4.PhaseSystem_n.systemVoltage(line4.terminal_n.v), 1.0) (668) [ALGB] (1) protected Real pv2.panel.gain_DCAC.u (669) [ALGB] (1) protected Real weaDat.conTDryBul.u (670) [DISS] (1) protected discrete Real pow6.nextTimeEvent (fixed = true, start = 0.0) (671) [DER-] (1) Real $DER.pv2.panel.load.theRef (672) [ALGB] (1) protected Real line2.line.R_actual (673) [DER-] (1) Real $DER.pv5.panel.load.theRef (674) [DISS] (1) protected discrete Real pow2.nextTimeEvent (fixed = true, start = 0.0) (675) [ALGB] (1) protected Real pv6.HDifTil.skyCle.tmp1 (676) [ALGB] (1) protected Real line4.line.omega (677) [ALGB] (2) protected Real[2] line2.line.Vc (start = line2.line.Vc_start, StateSelect = prefer) (678) [ALGB] (1) Real EWin.u (679) [ALGB] (1) Real ERat.y (680) [ALGB] (1) protected Real pv1.HDifTil.HDifTil.HSkyDifTil (681) [ALGB] (2) protected Real[2] line5.line.Vc (start = line5.line.Vc_start, StateSelect = prefer) (682) [ALGB] (1) protected Real line7.line.omega (683) [DISC] (1) Boolean $TEV_6 (684) [DISC] (1) Boolean $TEV_5 (685) [DISC] (1) Boolean $TEV_4 (686) [DISC] (1) Boolean $TEV_3 (687) [ALGB] (1) protected Real weaDat.conOpaSkyCov.u (688) [DISC] (1) Boolean $TEV_2 (689) [DISC] (1) Boolean $TEV_1 (690) [DISC] (1) Boolean $TEV_0 (691) [ALGB] (1) protected Real pv4.HDifTil.relAirMas.relAirMas (692) [ALGB] (1) Real pv4.panel.load.P (start = 0.0) (693) [DISS] (1) protected discrete Real pow1.nextTimeEvent (fixed = true, start = 0.0) (694) [ALGB] (1) protected Real pv4.panel.load.Q = pv4.panel.load.P * tan(-acos(pv4.panel.load.pf)) (695) [ALGB] (1) protected Real line3.line.R_actual (696) [ALGB] (2) Real[2] pv4.panel.load.S = Buildings.Electrical.Examples.RenewableSources.pv4.panel.load.PhaseSystem.phasePowers_vi(pv4.panel.load.v, -pv4.panel.load.i) (697) [DISS] (1) protected discrete Real pow5.nextTimeEvent (fixed = true, start = 0.0) (698) [ALGB] (2) protected Real[2] line8.line.Vc (start = line8.line.Vc_start, StateSelect = prefer) (699) [DISS] (1) protected discrete Real pow6.nextTimeEventScaled (fixed = true, start = 0.0) (700) [ALGB] (1) protected Real pv4.G.y (701) [ALGB] (2) Real[2] pv4.panel.load.i = pv4.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (702) [ALGB] (1) Real line5.VoltageLosses = abs(Buildings.Electrical.Examples.RenewableSources.line5.PhaseSystem_p.systemVoltage(line5.terminal_p.v) - Buildings.Electrical.Examples.RenewableSources.line5.PhaseSystem_n.systemVoltage(line5.terminal_n.v)) / Buildings.Utilities.Math.Functions.smoothMax(Buildings.Electrical.Examples.RenewableSources.line5.PhaseSystem_p.systemVoltage(line5.terminal_p.v), Buildings.Electrical.Examples.RenewableSources.line5.PhaseSystem_n.systemVoltage(line5.terminal_n.v), 1.0) (703) [ALGB] (1) protected Real pv7.HDifTil.incAng.decAng.decAng (704) [ALGB] (1) protected Real pv5.HDifTil.HDifTil.incAng (705) [ALGB] (2) Real[2] pv4.panel.load.v = pv4.panel.load.terminal.v (start = {480.0, 0.0}) (706) [ALGB] (1) protected Real pv5.HDifTil.HDifTil.HSkyDifTil (707) [ALGB] (1) protected Real pv2.HDifTil.incAng.incAng.dec_c = cos(pv2.HDifTil.incAng.decAng.decAng) (708) [ALGB] (1) protected Real pv1.HDifTil.skyCle.tmp1 (709) [DISS] (1) protected discrete Real weaDat.conTimMin.tNext (fixed = true, start = 0.0) (710) [ALGB] (1) protected Real weaDat.eqnTim.eqnTim (711) [ALGB] (1) Real gri.P.real (712) [ALGB] (1) Real $FUN_99 (713) [ALGB] (1) Real $FUN_98 (714) [ALGB] (1) Real $FUN_97 (715) [ALGB] (1) protected Real pv2.HDifTil.incAng.incAng.dec_s = sin(pv2.HDifTil.incAng.decAng.decAng) (716) [ALGB] (1) Real[1] pv3.panel.terminal.theta (717) [DISC] (1) Boolean $SEV_99 (718) [ALGB] (1) Real $FUN_95 (719) [DISC] (1) Boolean $SEV_98 (720) [ALGB] (1) Real $FUN_93 (721) [ALGB] (1) Real $FUN_92 (722) [DISC] (1) Boolean $SEV_95 (723) [ALGB] (1) Real $FUN_91 (724) [DISC] (1) Boolean $SEV_94 (725) [ALGB] (1) Real $FUN_90 (726) [DISC] (1) Boolean $SEV_93 (727) [DISC] (1) Boolean $SEV_92 (728) [DISC] (1) Boolean $SEV_91 (729) [DISC] (1) Boolean $SEV_90 (730) [ALGB] (1) protected Real pv4.HDifTil.HDifTil.HSkyDifTil (731) [ALGB] (1) protected Real pv4.HDirTil.incAng.decAng.decAng (732) [DISC] (1) Boolean $SEV_264 (733) [ALGB] (2) Real[2] line5.terminal_p.v (734) [DISC] (1) Boolean $SEV_263 (735) [DISC] (1) Boolean $SEV_262 (736) [ALGB] (1) protected Real pv4.HDifTil.skyCle.skyCle (737) [DISC] (1) Boolean $SEV_261 (738) [ALGB] (1) protected Real pv1.HDifTil.relAirMas.relAirMas (739) [DISC] (1) Boolean $SEV_260 (740) [ALGB] (1) protected Real pv5.G.u2 (741) [ALGB] (1) protected Real pv5.G.u1 (742) [ALGB] (1) Real $FUN_89 (743) [ALGB] (2) flow Real[2] line5.terminal_p.i (start = {0.0 for $i1 in 1:2}) (744) [ALGB] (1) Real $FUN_88 (745) [ALGB] (1) Real $FUN_87 (746) [ALGB] (4) Real[2, 2] $FUN_86 (747) [DISC] (1) Boolean $SEV_89 (748) [ALGB] (1) Real $FUN_85 (749) [DISC] (1) Boolean $SEV_88 (750) [DISC] (1) Boolean $SEV_87 (751) [ALGB] (1) protected Real pv5.panel.load.omega (752) [DISC] (1) Boolean $SEV_86 (753) [ALGB] (1) Real $FUN_82 (754) [DISC] (1) Boolean $SEV_85 (755) [DISC] (1) Boolean $SEV_84 (756) [DISC] (1) Boolean $SEV_83 (757) [DISC] (1) Boolean $SEV_82 (758) [DISC] (1) Boolean $SEV_81 (759) [DISC] (1) Boolean $SEV_80 (760) [ALGB] (2) Real[2] pv3.panel.load.terminal.v (761) [DISC] (1) Boolean $SEV_259 (762) [ALGB] (1) protected Real pv2.HDirTil.HDirTil.incAng (763) [DISC] (1) Boolean $SEV_258 (764) [DISC] (1) Boolean $SEV_257 (765) [ALGB] (2) flow Real[2] loa7.terminal.i (start = {0.0 for $i1 in 1:2}) (766) [DISC] (1) Boolean $SEV_256 (767) [DISC] (1) Boolean $SEV_255 (768) [DISC] (1) Boolean $SEV_254 (769) [DISC] (1) Boolean $SEV_253 (770) [DISC] (1) Boolean $SEV_252 (771) [DISC] (1) Boolean $SEV_251 (772) [DISC] (1) Boolean $SEV_250 (773) [ALGB] (2) flow Real[2] pv3.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (774) [ALGB] (2) Real[2] loa7.terminal.v (775) [ALGB] (1) protected Real pv6.HDirTil.HDirTil.incAng (776) [ALGB] (1) Real $FUN_79 (777) [ALGB] (1) Real $FUN_78 (778) [DISC] (1) Boolean $SEV_79 (779) [ALGB] (1) Real $FUN_76 (780) [ALGB] (1) Real $FUN_75 (781) [DISC] (1) Boolean $SEV_78 (782) [ALGB] (1) Real $FUN_74 (783) [DISC] (1) Boolean $SEV_77 (784) [DISC] (1) Boolean $SEV_76 (785) [DISC] (1) Boolean $SEV_75 (786) [ALGB] (2) Real[2] pv2.panel.terminal.v (787) [ALGB] (1) Real $FUN_71 (788) [DISC] (1) Boolean $SEV_74 (789) [ALGB] (1) Real[1] line5.terminal_p.theta (790) [DISC] (1) Boolean $SEV_73 (791) [DISC] (1) Boolean $SEV_72 (792) [DISC] (1) Boolean $SEV_249 (793) [DISC] (1) Boolean $SEV_244 (794) [ALGB] (2) flow Real[2] pv2.panel.terminal.i (start = {0.0 for $i1 in 1:2}) (795) [ALGB] (2) Real[2] line5.terminal_n.v (796) [DISC] (1) Boolean $SEV_242 (797) [DISC] (1) Boolean $SEV_240 (798) [ALGB] (1) protected Real[1] line2.line.terminal_p.theta (799) [ALGB] (2) Real[2] gri.terminal.v (800) [ALGB] (2) flow Real[2] line5.terminal_n.i (start = {0.0 for $i1 in 1:2}) (801) [ALGB] (1) Real $FUN_68 (802) [ALGB] (1) protected Real[1] line8.line.terminal_n.theta (803) [ALGB] (1) Real $FUN_67 (804) [ALGB] (1) protected Real pv1.HDifTil.HDifTil.incAng (805) [DISC] (1) Boolean $SEV_69 (806) [ALGB] (1) Real $FUN_65 (807) [DISC] (1) Boolean $SEV_68 (808) [ALGB] (1) Real $FUN_64 (809) [DISC] (1) Boolean $SEV_67 (810) [ALGB] (1) Real $FUN_63 (811) [DISC] (1) Boolean $SEV_66 (812) [DISC] (1) Boolean $SEV_65 (813) [DISC] (1) Boolean $SEV_64 (814) [ALGB] (2) flow Real[2] gri.terminal.i (start = {0.0 for $i1 in 1:2}) (815) [ALGB] (1) Real $FUN_60 (816) [DISC] (1) Boolean $SEV_63 (817) [ALGB] (1) protected Real pv3.HDifTil.skyCle.HDifHorBou (818) [DISC] (1) Boolean $SEV_62 (819) [DISC] (1) Boolean $SEV_61 (820) [DISC] (1) Boolean $SEV_60 (821) [ALGB] (2) flow Real[2] loa4.terminal.i (start = {0.0 for $i1 in 1:2}) (822) [DISC] (1) Boolean $SEV_238 (823) [ALGB] (1) protected Real pv1.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (824) [DISC] (1) Boolean $SEV_236 (825) [DISC] (1) Boolean $SEV_231 (826) [ALGB] (2) Real[2] loa4.terminal.v (827) [ALGB] (1) protected Real pv1.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (828) [ALGB] (2) protected Real[2] line1.line.Ic (829) [ALGB] (1) Real $FUN_57 (830) [ALGB] (1) protected Real loa2.omega (831) [ALGB] (1) Real $FUN_56 (832) [DISC] (1) Boolean $SEV_59 (833) [ALGB] (1) protected Real pv4.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (834) [DISC] (1) Boolean $SEV_58 (835) [ALGB] (1) protected Real pv7.HDifTil.HDifTil.HGroDifTil (836) [ALGB] (1) Real $FUN_54 (837) [DISC] (1) Boolean $SEV_57 (838) [ALGB] (1) Real $FUN_53 (839) [DISC] (1) Boolean $SEV_56 (840) [ALGB] (1) Real $FUN_52 (841) [DISC] (1) Boolean $SEV_55 (842) [DISC] (1) Boolean $SEV_54 (843) [DISC] (1) Boolean $SEV_53 (844) [DISC] (1) Boolean $SEV_52 (845) [DISC] (1) Boolean $SEV_51 (846) [ALGB] (1) protected Real weaDat.limHorInfRad.u (847) [DISC] (1) Boolean $SEV_50 (848) [ALGB] (1) Real[1] loa4.terminal.theta (849) [ALGB] (1) Real sen3.theta (850) [DISC] (1) Boolean $SEV_229 (851) [DISC] (1) Boolean $SEV_225 (852) [DISC] (1) Boolean $SEV_224 (853) [ALGB] (1) protected Real pv4.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (854) [DISC] (1) Boolean $SEV_223 (855) [DISC] (1) Boolean $SEV_222 (856) [DISC] (1) Boolean $SEV_221 (857) [DISC] (1) Boolean $SEV_220 (858) [ALGB] (1) protected Real pv2.HDirTil.incAng.incAng.dec_c = cos(pv2.HDirTil.incAng.decAng.decAng) (859) [ALGB] (1) protected Real pv3.HDifTil.relAirMas.zenDeg (860) [ALGB] (1) Real line8.VoltageLosses = abs(Buildings.Electrical.Examples.RenewableSources.line8.PhaseSystem_p.systemVoltage(line8.terminal_p.v) - Buildings.Electrical.Examples.RenewableSources.line8.PhaseSystem_n.systemVoltage(line8.terminal_n.v)) / Buildings.Utilities.Math.Functions.smoothMax(Buildings.Electrical.Examples.RenewableSources.line8.PhaseSystem_p.systemVoltage(line8.terminal_p.v), Buildings.Electrical.Examples.RenewableSources.line8.PhaseSystem_n.systemVoltage(line8.terminal_n.v), 1.0) (861) [ALGB] (1) Real $FUN_49 (862) [ALGB] (1) protected Real pv6.HDifTil.HDifTil.HGroDifTil (863) [ALGB] (1) Real $FUN_46 (864) [DISC] (1) Boolean $SEV_49 (865) [ALGB] (1) Real $FUN_45 (866) [DISC] (1) Boolean $SEV_48 (867) [DISC] (1) Boolean $SEV_47 (868) [ALGB] (1) Real $FUN_43 (869) [DISC] (1) Boolean $SEV_46 (870) [ALGB] (1) Real $FUN_42 (871) [DISC] (1) Boolean $SEV_45 (872) [ALGB] (1) protected Real pv2.HDirTil.incAng.incAng.dec_s = sin(pv2.HDirTil.incAng.decAng.decAng) (873) [DER-] (1) Real $DER.line8.line.theRef (874) [ALGB] (2) flow Real[2] loa1.terminal.i (start = {0.0 for $i1 in 1:2}) (875) [ALGB] (1) Real $FUN_41 (876) [DISC] (1) Boolean $SEV_44 (877) [DISC] (1) Boolean $SEV_43 (878) [ALGB] (1) protected Real loa2.load (min = 1e-10, max = 1.0) (879) [ALGB] (2) protected Real[2] line4.line.Ic (880) [DISC] (1) Boolean $SEV_42 (881) [DISC] (1) Boolean $SEV_219 (882) [DISC] (1) Boolean $SEV_218 (883) [DISC] (1) Boolean $SEV_217 (884) [DISC] (1) Boolean $SEV_216 (885) [DISC] (1) Boolean $SEV_215 (886) [DISC] (1) Boolean $SEV_214 (887) [ALGB] (2) Real[2] loa1.terminal.v (888) [DISC] (1) Boolean $SEV_213 (889) [DISC] (1) Boolean $SEV_212 (890) [ALGB] (1) Real[1] loa3.terminal.theta (891) [DISC] (1) Boolean $SEV_211 (892) [DISC] (1) Boolean $SEV_210 (893) [ALGB] (1) Real[1] sen1.term.theta (894) [ALGB] (1) protected Real pv3.HDifTil.incAng.decAng.decAng (895) [ALGB] (1) Real $FUN_38 (896) [DISC] (1) Boolean $SEV_39 (897) [ALGB] (1) Real $FUN_35 (898) [ALGB] (1) Real $FUN_34 (899) [DER-] (1) Real $DER.line6.line.theRef (900) [ALGB] (1) Real $FUN_32 (901) [ALGB] (1) Real $FUN_31 (902) [DER-] (1) Real $DER.pv3.panel.load.theRef (903) [ALGB] (1) Real $FUN_30 (904) [ALGB] (1) protected Real pv4.HDifTil.relAirMas.zenDeg (905) [DISC] (1) Boolean $SEV_209 (906) [DISC] (1) Boolean $SEV_208 (907) [DISC] (1) Boolean $SEV_207 (908) [DISC] (1) Boolean $SEV_206 (909) [ALGB] (2) protected Real[2] line7.line.Ic (910) [DISC] (1) Boolean $SEV_205 (911) [ALGB] (1) Real[1] pow7.y (912) [DISC] (1) Boolean $SEV_204 (913) [ALGB] (1) Real ELoa.u (914) [DISC] (1) Boolean $SEV_203 (915) [DISC] (1) Boolean $SEV_202 (916) [ALGB] (1) protected Real pv1.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (917) [ALGB] (1) protected Real[1] line1.line.terminal_p.theta (918) [ALGB] (1) protected Real pv3.panel.gain_DCAC.u (919) [ALGB] (2) Real[2] pv3.terminal.v (920) [ALGB] (1) Real $FUN_27 (921) [ALGB] (1) Real $FUN_24 (922) [DISC] (1) Boolean $SEV_27 (923) [ALGB] (1) Real $FUN_23 (924) [DISC] (1) Boolean $SEV_26 (925) [ALGB] (1) protected Real pv4.HDifTil.skyCle.HDifHorBou (926) [ALGB] (1) Real $FUN_21 (927) [DISC] (1) Boolean $SEV_24 (928) [ALGB] (1) Real $FUN_20 (929) [ALGB] (2) flow Real[2] pv3.terminal.i (start = {0.0 for $i1 in 1:2}) (930) [ALGB] (1) protected Real pv1.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (931) [ALGB] (1) protected Real line7.line.R_actual (932) [DISC] (1) Boolean $SEV_21 (933) [ALGB] (1) protected Real loa7.load (min = 1e-10, max = 1.0) (934) [ALGB] (1) protected Real pv5.HDifTil.relAirMas.zenDeg (935) [ALGB] (2) flow Real[2] pv4.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (936) [ALGB] (1) Real $FUN_19 (937) [ALGB] (1) Real $FUN_16 (938) [ALGB] (2) protected flow Real[2] line7.line.terminal_n.i (start = {0.0 for $i1 in 1:2}) (939) [ALGB] (1) protected Real pv5.HDifTil.incAng.incAng.dec_s = sin(pv5.HDifTil.incAng.decAng.decAng) (940) [ALGB] (2) protected flow Real[2] line1.line.terminal_n.i (start = {0.0 for $i1 in 1:2}) (941) [ALGB] (1) Real $FUN_13 (942) [ALGB] (1) Real $FUN_12 (943) [DISC] (1) Boolean $SEV_15 (944) [ALGB] (1) Real[1] pv3.terminal.theta (945) [DISC] (1) Boolean $SEV_14 (946) [DER-] (1) Real $DER.pv4.panel.load.theRef (947) [ALGB] (1) Real pv1.HDifTil.weaBus.solDec (948) [ALGB] (1) Real $FUN_10 (949) [DISC] (1) Boolean $SEV_13 (950) [ALGB] (2) Real[2] pv4.panel.load.terminal.v (951) [DISC] (1) Boolean $SEV_12 (952) [ALGB] (1) Real[1] winTur.load.terminal.theta (953) [DISC] (1) Boolean $SEV_11 (954) [DISC] (1) Boolean $SEV_10 (955) [ALGB] (2) protected Real[2] line7.line.terminal_n.v (956) [ALGB] (1) protected Real pv5.HDifTil.HDifTil.b (957) [ALGB] (1) protected Real pv5.HDifTil.HDifTil.a (958) [ALGB] (2) protected Real[2] line1.line.terminal_n.v (959) [ALGB] (1) protected Real pv5.HDifTil.incAng.incAng.dec_c = cos(pv5.HDifTil.incAng.decAng.decAng) (960) [ALGB] (1) Real[1] pow5.y (961) [ALGB] (1) Real[1] line2.terminal_n.theta (962) [ALGB] (1) protected Real pv2.HDifTil.skyBri.skyBri (963) [ALGB] (2) Real[2] pv6.terminal.v (964) [ALGB] (1) Real[1] loa5.terminal.theta (965) [ALGB] (1) protected Real pv4.panel.gain_DCAC.u (966) [ALGB] (1) Real[1] line8.terminal_n.theta (967) [ALGB] (1) protected Real pv5.HDifTil.skyCle.skyCle (968) [ALGB] (1) protected Real loa7.omega (969) [ALGB] (1) protected Real weaDat.conTotSkyCov.u (970) [ALGB] (2) flow Real[2] pv6.terminal.i (start = {0.0 for $i1 in 1:2}) (971) [ALGB] (1) protected Real pv4.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (972) [ALGB] (1) protected Real pv3.HDirTil.HDirTil.incAng (973) [ALGB] (1) protected Real pv3.HDifTil.briCoe.a1 (974) [ALGB] (1) protected Real pv3.HDifTil.briCoe.a2 (975) [ALGB] (1) protected Real pv3.HDifTil.briCoe.a3 (976) [ALGB] (1) protected Real pv3.HDifTil.briCoe.a4 (977) [ALGB] (1) protected Real pv3.HDifTil.briCoe.a5 (978) [ALGB] (1) protected Real pv3.HDifTil.briCoe.a6 (979) [ALGB] (1) protected Real pv3.HDifTil.briCoe.a7 (980) [ALGB] (1) protected Real pv3.HDifTil.briCoe.a8 (981) [ALGB] (1) protected Real pv5.HDirTil.HDirTil.incAng (982) [ALGB] (1) protected Real pv4.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (983) [ALGB] (1) protected Real weaDat.limCeiHei.u (984) [ALGB] (1) Real[1] loa2.terminal.theta (985) [ALGB] (2) protected flow Real[2] line8.line.terminal_n.i (start = {0.0 for $i1 in 1:2}) (986) [ALGB] (2) protected flow Real[2] line7.line.terminal_p.i (start = {0.0 for $i1 in 1:2}) (987) [ALGB] (2) protected flow Real[2] line2.line.terminal_n.i (start = {0.0 for $i1 in 1:2}) (988) [ALGB] (2) protected flow Real[2] line1.line.terminal_p.i (start = {0.0 for $i1 in 1:2}) (989) [ALGB] (1) protected Real pv3.panel.load.omega (990) [ALGB] (2) protected Real[2] line8.line.terminal_n.v (991) [ALGB] (1) protected Real pv4.HDifTil.HDifTil.b (992) [ALGB] (2) protected Real[2] line7.line.terminal_p.v (993) [ALGB] (1) protected Real pv4.HDifTil.HDifTil.a (994) [ALGB] (2) protected Real[2] line2.line.terminal_n.v (995) [ALGB] (1) protected Real pv2.HDifTil.briCoe.F11 (996) [ALGB] (2) protected Real[2] line1.line.terminal_p.v (997) [ALGB] (1) protected Real pv2.HDifTil.briCoe.F12 (998) [ALGB] (1) protected Real pv3.HDifTil.briCoe.b2 (999) [ALGB] (1) protected Real pv2.HDifTil.briCoe.F13 (1000) [ALGB] (1) protected Real pv3.HDifTil.briCoe.b3 (1001) [ALGB] (1) protected Real pv3.HDifTil.briCoe.b4 (1002) [ALGB] (1) Real[1] pow3.y (1003) [ALGB] (1) protected Real pv3.HDifTil.briCoe.b5 (1004) [ALGB] (1) protected Real pv3.HDifTil.briCoe.b6 (1005) [ALGB] (1) protected Real pv3.HDifTil.briCoe.b7 (1006) [ALGB] (1) protected Real pv1.HDifTil.briCoe.F11 (1007) [ALGB] (1) protected Real pv1.HDifTil.briCoe.F12 (1008) [ALGB] (1) Real gri.P.phi (1009) [ALGB] (1) protected Real pv1.HDifTil.briCoe.F13 (1010) [ALGB] (1) protected Real pv2.HDifTil.briCoe.F21 (1011) [ALGB] (1) protected Real pv2.HDifTil.briCoe.F22 (1012) [ALGB] (1) protected Real pv2.HDifTil.briCoe.F23 (1013) [ALGB] (1) protected Real pv6.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (1014) [ALGB] (1) Real pv3.panel.load.P (start = 0.0) (1015) [ALGB] (1) protected Real pv3.panel.load.Q = pv3.panel.load.P * tan(-acos(pv3.panel.load.pf)) (1016) [ALGB] (2) Real[2] pv3.panel.load.S = Buildings.Electrical.Examples.RenewableSources.pv3.panel.load.PhaseSystem.phasePowers_vi(pv3.panel.load.v, -pv3.panel.load.i) (1017) [ALGB] (2) Real[2] line1.terminal_p.v (1018) [DER-] (1) Real $DER.line4.line.theRef (1019) [ALGB] (1) protected Real pv1.G.u2 (1020) [ALGB] (1) protected Real pv1.HDifTil.briCoe.F21 (1021) [ALGB] (1) protected Real pv1.G.u1 (1022) [ALGB] (1) protected Real pv1.HDifTil.briCoe.F22 (1023) [ALGB] (1) protected Real pv1.HDifTil.briCoe.F23 (1024) [ALGB] (1) Real[1] pv1.panel.load.terminal.theta (1025) [ALGB] (1) protected Real[1] line7.line.terminal_p.theta (1026) [ALGB] (1) protected Real pv6.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (1027) [ALGB] (2) flow Real[2] line1.terminal_p.i (start = {0.0 for $i1 in 1:2}) (1028) [ALGB] (2) protected flow Real[2] line8.line.terminal_p.i (start = {0.0 for $i1 in 1:2}) (1029) [ALGB] (2) protected flow Real[2] line2.line.terminal_p.i (start = {0.0 for $i1 in 1:2}) (1030) [ALGB] (1) protected Real[1] line3.line.terminal_n.theta (1031) [ALGB] (1) Real line6.VoltageLosses = abs(Buildings.Electrical.Examples.RenewableSources.line6.PhaseSystem_p.systemVoltage(line6.terminal_p.v) - Buildings.Electrical.Examples.RenewableSources.line6.PhaseSystem_n.systemVoltage(line6.terminal_n.v)) / Buildings.Utilities.Math.Functions.smoothMax(Buildings.Electrical.Examples.RenewableSources.line6.PhaseSystem_p.systemVoltage(line6.terminal_p.v), Buildings.Electrical.Examples.RenewableSources.line6.PhaseSystem_n.systemVoltage(line6.terminal_n.v), 1.0) (1032) [ALGB] (2) Real[2] pv3.panel.load.i = pv3.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (1033) [DISS] (1) protected discrete Real weaDat.conTim.tNext (fixed = true, start = 0.0) (1034) [ALGB] (1) protected Real weaDat.conTDewPoi.u (1035) [ALGB] (2) protected Real[2] line8.line.terminal_p.v (1036) [ALGB] (2) protected Real[2] line2.line.terminal_p.v (1037) [ALGB] (1) protected Real pv1.panel.load.omega (1038) [ALGB] (1) protected Real pv1.HDifTil.skyCle.skyCle (1039) [ALGB] (1) Real[1] pv2.terminal.theta (1040) [ALGB] (1) Real[1] pow1.y (1041) [ALGB] (1) protected Real pv3.HDifTil.skyBri.skyBri (1042) [ALGB] (2) Real[2] pv3.panel.load.v = pv3.panel.load.terminal.v (start = {480.0, 0.0}) (1043) [ALGB] (1) protected Real pv7.HDifTil.incAng.incAng.dec_c = cos(pv7.HDifTil.incAng.decAng.decAng) (1044) [ALGB] (1) protected Real pv5.G.y (1045) [ALGB] (1) Real[1] pv5.panel.load.terminal.theta (1046) [ALGB] (1) protected Real pv7.panel.load.omega (1047) [ALGB] (1) protected Real line4.line.R_actual (1048) [ALGB] (1) protected Real pv6.HDirTil.incAng.incAng.dec_c = cos(pv6.HDirTil.incAng.decAng.decAng) (1049) [ALGB] (1) Real pv1.HDifTil.weaBus.HDirNor (1050) [ALGB] (1) protected Real pv7.HDifTil.incAng.incAng.dec_s = sin(pv7.HDifTil.incAng.decAng.decAng) (1051) [ALGB] (1) protected Real pv7.HDifTil.briCoe.F1 (1052) [ALGB] (1) protected Real pv7.HDifTil.briCoe.F2 (1053) [ALGB] (1) protected Real pv1.HDifTil.briCoe.F1 (1054) [ALGB] (1) protected Real pv1.HDifTil.briCoe.F2 (1055) [ALGB] (1) protected Real pv6.HDirTil.incAng.incAng.dec_s = sin(pv6.HDirTil.incAng.decAng.decAng) (1056) [ALGB] (2) Real[2] line1.terminal_n.v (1057) [ALGB] (1) protected Real line8.line.LossPower (1058) [ALGB] (2) Real[2] line6.terminal_p.v (1059) [ALGB] (1) Real[1] line6.terminal_p.theta (1060) [ALGB] (1) protected Real pv6.G.u2 (1061) [ALGB] (1) protected Real pv6.G.u1 (1062) [ALGB] (1) protected Real pv3.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (1063) [ALGB] (1) Real[1] line7.terminal_n.theta (1064) [ALGB] (2) flow Real[2] line1.terminal_n.i (start = {0.0 for $i1 in 1:2}) (1065) [ALGB] (2) Real[2] winTur.load.terminal.v (1066) [ALGB] (2) flow Real[2] line6.terminal_p.i (start = {0.0 for $i1 in 1:2}) (1067) [ALGB] (1) Real[1] line1.terminal_n.theta (1068) [ALGB] (1) protected Real pv3.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) (1069) [ALGB] (1) Real PSol.y (1070) [ALGB] (1) protected Real pv5.HDifTil.incAng.decAng.decAng (1071) [ALGB] (2) flow Real[2] winTur.load.terminal.i (start = {0.0 for $i1 in 1:2}) (1072) [ALGB] (1) protected Real weaDat.TBlaSkyCom.TDewPoiK (start = 288.15, min = 0.0, nominal = 300.0) (1073) [ALGB] (7) Real[7] PSol.u (1074) [ALGB] (1) protected Real[1] line5.line.terminal_p.theta (1075) [ALGB] (1) protected Real pv7.HDifTil.briCoe.F11 (1076) [ALGB] (1) protected Real pv7.HDifTil.briCoe.F12 (1077) [ALGB] (1) protected Real pv7.HDifTil.briCoe.F13 (1078) [ALGB] (1) protected Real weaDat.limTotSkyCov.u (1079) [ALGB] (1) protected Real pv2.HDifTil.briCoe.F1 (1080) [ALGB] (1) protected Real pv2.HDifTil.briCoe.F2 (1081) [ALGB] (2) flow Real[2] pv6.panel.load.terminal.i (start = {0.0 for $i1 in 1:2}) (1082) [ALGB] (2) Real[2] line6.terminal_n.v (1083) [ALGB] (1) protected Real loa1.omega (1084) [ALGB] (1) protected Real line2.line.omega (1085) [ALGB] (1) protected Real pv7.HDifTil.briCoe.F21 (1086) [ALGB] (1) protected Real pv7.HDifTil.briCoe.F22 (1087) [ALGB] (1) protected Real pv7.HDifTil.briCoe.F23 (1088) [DISS] (1) protected discrete Real pow3.nextTimeEvent (fixed = true, start = 0.0) (1089) [ALGB] (1) protected Real[1] line6.line.terminal_p.theta (1090) [ALGB] (1) protected Real line1.line.R_actual (1091) [DISS] (1) protected discrete Real pow7.nextTimeEvent (fixed = true, start = 0.0) (1092) [ALGB] (1) Real sen2.theta (1093) [ALGB] (2) Real[2] pv6.panel.load.terminal.v (1094) [ALGB] (2) flow Real[2] line6.terminal_n.i (start = {0.0 for $i1 in 1:2}) (1095) [ALGB] (1) Real line3.VoltageLosses = abs(Buildings.Electrical.Examples.RenewableSources.line3.PhaseSystem_p.systemVoltage(line3.terminal_p.v) - Buildings.Electrical.Examples.RenewableSources.line3.PhaseSystem_n.systemVoltage(line3.terminal_n.v)) / Buildings.Utilities.Math.Functions.smoothMax(Buildings.Electrical.Examples.RenewableSources.line3.PhaseSystem_p.systemVoltage(line3.terminal_p.v), Buildings.Electrical.Examples.RenewableSources.line3.PhaseSystem_n.systemVoltage(line3.terminal_n.v), 1.0) (1096) [ALGB] (2) protected Real[2] line1.line.Vc (start = line1.line.Vc_start, StateSelect = prefer) (1097) [ALGB] (1) protected Real pv4.HDirTil.HDirTil.incAng (1098) [ALGB] (1) protected Real weaDat.souSelRad.HDirNor_in_internal System Equations (1152/1351) ****************************** (1) [SCAL] (1) pv7.HDifTil.incAng.incAng.dec_s = sin(pv7.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2437) (2) [SCAL] (1) pv7.HDifTil.incAng.incAng.dec_c = cos(pv7.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2436) (3) [SCAL] (1) $FUN_108 = acos(pv7.panel.load.pf) ($RES_$AUX_2435) (4) [SCAL] (1) $FUN_109 = tan(-$FUN_108) ($RES_$AUX_2434) (5) [SCAL] (1) pv6.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2433) (6) [SCAL] (1) pv6.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2432) (7) [SCAL] (1) pv6.HDirTil.incAng.incAng.dec_s = sin(pv6.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2431) (8) [SCAL] (1) pv6.HDirTil.incAng.incAng.dec_c = cos(pv6.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2430) (9) [SCAL] (1) pv1.HDifTil.weaBus.solTim = (time + weaDat.locTim.diff) + weaDat.eqnTim.eqnTim ($RES_SIM_74) (10) [SCAL] (1) weaDat.eqnTim.eqnTim = 60.0 * (9.87 * $FUN_88 - (1.5 * $FUN_89 + 7.53 * $FUN_90)) ($RES_SIM_75) (11) [SCAL] (1) weaDat.conTim.calTim = if weaDat.conTim.canRepeatWeatherFile then (time + weaDat.conTim.lenWea) - weaDat.conTim.tNext else time ($RES_SIM_79) (12) [SCAL] (1) $SEV_94 = (-$FUN_64) > 0.01 ($RES_EVT_2909) (13) [SCAL] (1) $SEV_93 = 0.08715574274765814 - $FUN_65 < (-0.01) ($RES_EVT_2908) (14) [SCAL] (1) $SEV_92 = 0.08715574274765814 - $FUN_65 > 0.01 ($RES_EVT_2907) (15) [SCAL] (1) $SEV_91 = 1.065 - pv6.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2906) (16) [SCAL] (1) $SEV_90 = 1.065 - pv6.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2905) (17) [SCAL] (1) $SEV_89 = 1.23 - pv6.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2904) (18) [SCAL] (1) $SEV_88 = 1.23 - pv6.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2903) (19) [SCAL] (1) $SEV_87 = 1.5 - pv6.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2902) (20) [SCAL] (1) $SEV_86 = 1.5 - pv6.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2901) (21) [SCAL] (1) $SEV_85 = 1.95 - pv6.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2900) (22) [SCAL] (1) pv6.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2429) (23) [SCAL] (1) pv6.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2428) (24) [SCAL] (1) pv6.HDifTil.incAng.incAng.dec_s = sin(pv6.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2427) (25) [SCAL] (1) pv1.panel.load.Q = pv1.panel.load.P * $FUN_169 ($RES_BND_2219) (26) [SCAL] (1) pv6.HDifTil.incAng.incAng.dec_c = cos(pv6.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2426) (27) [ARRY] (2) pv1.panel.load.S = {pv1.panel.load.v[1] * (-pv1.panel.load.i)[1] + pv1.panel.load.v[2] * (-pv1.panel.load.i)[2], pv1.panel.load.v[2] * (-pv1.panel.load.i)[1] - pv1.panel.load.v[1] * (-pv1.panel.load.i)[2]} ($RES_BND_2218) (28) [SCAL] (1) $FUN_118 = acos(pv6.panel.load.pf) ($RES_$AUX_2425) (29) [ARRY] (2) pv1.panel.load.i = pv1.panel.load.terminal.i ($RES_BND_2217) (30) [SCAL] (1) $FUN_119 = tan(-$FUN_118) ($RES_$AUX_2424) (31) [ARRY] (2) pv1.panel.load.v = pv1.panel.load.terminal.v ($RES_BND_2216) (32) [WHEN] (1)when {initial(), $SEV_21} then (32) [----] weaDat.conTim.tNext := if weaDat.conTim.canRepeatWeatherFile then integer(time / weaDat.conTim.lenWea) * weaDat.conTim.lenWea + weaDat.conTim.lenWea else time (32) [----] end when; (33) [SCAL] (1) pv5.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2423) (34) [SCAL] (1) pv1.panel.gain_DCAC.u = pv1.panel.eta * pv1.panel.A * pv1.panel.fAct * pv1.G.y ($RES_BND_2215) (35) [SCAL] (1) pv5.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2422) (36) [SCAL] (1) pv5.HDirTil.incAng.incAng.dec_s = sin(pv5.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2421) (37) [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_83) (38) [SCAL] (1) pv5.HDirTil.incAng.incAng.dec_c = cos(pv5.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2420) (39) [SCAL] (1) line7.VoltageLosses = $FUN_170 / smooth(1, if $SEV_251 then line7.terminal_p.v / (line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) else if $SEV_252 then line7.terminal_n.v / (line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) else 0.25 * (line7.terminal_n.v / (line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) - line7.terminal_p.v / (line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25)) * ((-3.0) + (line7.terminal_p.v / ((line7.terminal_p.v * line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line7.terminal_p.v) - line7.terminal_n.v / ((line7.terminal_n.v * line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line7.terminal_n.v)) ^ 2.0) * (line7.terminal_p.v / (line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line7.terminal_n.v / (line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25)) + 0.5 * (line7.terminal_p.v / (line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) + line7.terminal_n.v / (line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25))) ($RES_BND_2212) (40) [WHEN] (1)when {initial(), $SEV_24} then (40) [----] weaDat.conTimMin.tNext := if weaDat.conTimMin.canRepeatWeatherFile then integer(weaDat.add30Min.y / weaDat.conTimMin.lenWea) * weaDat.conTimMin.lenWea + weaDat.conTimMin.lenWea else time (40) [----] end when; (41) [FOR-] (3) ($RES_SIM_85) (41) [----] for $i1 in 1:3 loop (41) [----] [SCAL] (1) weaDat.datRea30Min.y[$i1] = Modelica.Blocks.Tables.Internal.getTable1DValue(weaDat.datRea30Min.tableID, $i1, weaDat.conTimMin.calTim) ($RES_SIM_86) (41) [----] end for; (42) [SCAL] (1) pv5.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2419) (43) [SCAL] (1) pv5.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2418) (44) [SCAL] (1) pv5.HDifTil.incAng.incAng.dec_s = sin(pv5.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2417) (45) [SCAL] (1) pv5.HDifTil.incAng.incAng.dec_c = cos(pv5.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2416) (46) [SCAL] (1) line6.VoltageLosses = $FUN_171 / smooth(1, if $SEV_253 then line6.terminal_p.v / (line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) else if $SEV_254 then line6.terminal_n.v / (line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) else 0.25 * (line6.terminal_n.v / (line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) - line6.terminal_p.v / (line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25)) * ((-3.0) + (line6.terminal_p.v / ((line6.terminal_p.v * line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line6.terminal_p.v) - line6.terminal_n.v / ((line6.terminal_n.v * line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line6.terminal_n.v)) ^ 2.0) * (line6.terminal_p.v / (line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line6.terminal_n.v / (line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25)) + 0.5 * (line6.terminal_p.v / (line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) + line6.terminal_n.v / (line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25))) ($RES_BND_2208) (47) [SCAL] (1) $FUN_128 = acos(pv5.panel.load.pf) ($RES_$AUX_2415) (48) [SCAL] (1) $FUN_129 = tan(-$FUN_128) ($RES_$AUX_2414) (49) [SCAL] (1) loa7.Q = loa7.P * $FUN_173 ($RES_BND_2206) (50) [SCAL] (1) weaDat.add30Min.y = weaDat.add30Min.k1 * weaDat.con30Min.k + weaDat.add30Min.k2 * time ($RES_SIM_90) (51) [SCAL] (1) pv4.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2413) (52) [ARRY] (2) loa7.S = {loa7.v[1] * (-loa7.i)[1] + loa7.v[2] * (-loa7.i)[2], loa7.v[2] * (-loa7.i)[1] - loa7.v[1] * (-loa7.i)[2]} ($RES_BND_2205) (53) [SCAL] (1) pv4.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2412) (54) [ARRY] (2) loa7.i = loa7.terminal.i ($RES_BND_2204) (55) [SCAL] (1) weaDat.TBlaSkyCom.TBlaSky = (273.15 + weaDat.conTDryBul.u) * weaDat.TBlaSkyCom.epsSky ^ 0.25 ($RES_SIM_92) (56) [SCAL] (1) pv4.HDirTil.incAng.incAng.dec_s = sin(pv4.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2411) (57) [ARRY] (2) loa7.v = loa7.terminal.v ($RES_BND_2203) (58) [SCAL] (1) weaDat.TBlaSkyCom.epsSky = (0.787 + 0.764 * $FUN_87) * ((1.0 + 0.0224 * weaDat.TBlaSkyCom.nOpa10 + 2.8e-4 * weaDat.TBlaSkyCom.nOpa10 ^ 3.0) - 0.0035 * weaDat.TBlaSkyCom.nOpa10 ^ 2.0) ($RES_SIM_93) (59) [SCAL] (1) pv4.HDirTil.incAng.incAng.dec_c = cos(pv4.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2410) (60) [SCAL] (1) loa6.Q = loa6.P * $FUN_175 ($RES_BND_2202) (61) [ARRY] (2) loa6.S = {loa6.v[1] * (-loa6.i)[1] + loa6.v[2] * (-loa6.i)[2], loa6.v[2] * (-loa6.i)[1] - loa6.v[1] * (-loa6.i)[2]} ($RES_BND_2201) (62) [SCAL] (1) weaDat.TBlaSkyCom.TDewPoiK = smooth(1, if $SEV_26 then 273.15 + weaDat.conTDryBul.u else if $SEV_27 then 273.15 + weaDat.conTDewPoi.u else 0.25 * ((273.15 + weaDat.conTDewPoi.u) - (273.15 + weaDat.conTDryBul.u)) * ((-3.0) + (((273.15 + weaDat.conTDewPoi.u) - (273.15 + weaDat.conTDryBul.u)) / 0.1) ^ 2.0) * (10.0 * ((273.15 + weaDat.conTDewPoi.u) - (273.15 + weaDat.conTDryBul.u))) + 0.5 * ((273.15 + weaDat.conTDryBul.u) + (273.15 + weaDat.conTDewPoi.u))) ($RES_SIM_95) (63) [ARRY] (2) loa6.i = loa6.terminal.i ($RES_BND_2200) (64) [SCAL] (1) pv1.HDifTil.weaBus.winDir = min(6.283185307179586, max(0.0, 0.017453292519943295 * weaDat.conWinDir.u)) ($RES_SIM_96) (65) [SCAL] (1) 0.1 * weaDat.TBlaSkyCom.nOpa10 = min(1.0, max(0.0, weaDat.limOpaSkyCov.u)) ($RES_SIM_97) (66) [SCAL] (1) pv1.HDifTil.weaBus.nTot = min(1.0, max(0.0, weaDat.limTotSkyCov.u)) ($RES_SIM_98) (67) [SCAL] (1) pv1.HDifTil.weaBus.relHum = min(1.0, max(0.0, weaDat.conRelHum.y)) ($RES_SIM_99) (68) [SCAL] (1) pv4.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2409) (69) [SCAL] (1) pv4.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2408) (70) [SCAL] (1) pv4.HDifTil.incAng.incAng.dec_s = sin(pv4.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2407) (71) [SCAL] (1) pv4.HDifTil.incAng.incAng.dec_c = cos(pv4.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2406) (72) [SCAL] (1) $FUN_138 = acos(pv4.panel.load.pf) ($RES_$AUX_2405) (73) [SCAL] (1) $FUN_139 = tan(-$FUN_138) ($RES_$AUX_2404) (74) [SCAL] (1) pv3.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2403) (75) [SCAL] (1) pv3.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2402) (76) [SCAL] (1) pv3.HDirTil.incAng.incAng.dec_s = sin(pv3.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2401) (77) [SCAL] (1) pv3.HDirTil.incAng.incAng.dec_c = cos(pv3.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2400) (78) [SCAL] (1) pv5.terminal.theta[1] = loa5.terminal.theta[1] ($RES_SIM_1699) (79) [ARRY] (1) pv6.terminal.theta = pv6.panel.terminal.theta ($RES_SIM_1878) (80) [SCAL] (1) pv5.terminal.v[1] = line5.terminal_p.v[1] ($RES_SIM_1698) (81) [ARRY] (2) pv6.terminal.v = pv6.panel.terminal.v ($RES_SIM_1877) (82) [SCAL] (1) pv5.terminal.v[1] = line6.terminal_n.v[1] ($RES_SIM_1697) (83) [SCAL] (1) pv5.terminal.v[1] = loa5.terminal.v[1] ($RES_SIM_1696) (84) [FOR-] (2) ($RES_SIM_1875) (84) [----] for $i1 in 1:2 loop (84) [----] [SCAL] (1) pv6.panel.terminal.i[$i1] - pv6.terminal.i[$i1] = 0.0 ($RES_SIM_1876) (84) [----] end for; (85) [SCAL] (1) pv5.terminal.v[2] = line5.terminal_p.v[2] ($RES_SIM_1695) (86) [SCAL] (1) pv5.terminal.v[2] = line6.terminal_n.v[2] ($RES_SIM_1694) (87) [SCAL] (1) pv5.terminal.v[2] = loa5.terminal.v[2] ($RES_SIM_1693) (88) [SCAL] (1) line6.terminal_n.i[1] + pv5.terminal.i[1] + line5.terminal_p.i[1] + loa5.terminal.i[1] = 0.0 ($RES_SIM_1692) (89) [SCAL] (1) line6.terminal_n.i[2] + pv5.terminal.i[2] + line5.terminal_p.i[2] + loa5.terminal.i[2] = 0.0 ($RES_SIM_1691) (90) [ARRY] (1) pv7.panel.load.terminal.theta = pv7.panel.terminal.theta ($RES_SIM_1870) (91) [SCAL] (1) pv6.terminal.theta[1] = loa6.terminal.theta[1] ($RES_SIM_1690) (92) [SCAL] (1) pv6.G.y = pv6.G.k1 * pv6.G.u1 + pv6.G.k2 * pv6.G.u2 ($RES_SIM_200) (93) [SCAL] (1) pv6.G.u2 = max(0.0, $FUN_74 * pv1.HDifTil.weaBus.HDirNor) ($RES_SIM_201) (94) [SCAL] (1) pv6.HDifTil.skyBri.skyBri = smooth(1, if $SEV_72 then 7.31528895391368e-4 * pv6.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor else if $SEV_73 then 1.0 else 0.25 * (1.0 - 7.31528895391368e-4 * pv6.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + ((1.0 - 7.31528895391368e-4 * pv1.HDifTil.skyCle.HDifHor * pv6.HDifTil.relAirMas.relAirMas) / 0.025) ^ 2.0) * (40.0 * (1.0 - 7.31528895391368e-4 * pv6.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (1.0 + 7.31528895391368e-4 * pv6.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_208) (95) [SCAL] (1) pv6.HDifTil.relAirMas.relAirMas = 1/($FUN_67 + 0.15 * (93.9 - pv6.HDifTil.relAirMas.zenDeg) ^ (-1.253)) ($RES_SIM_209) (96) [ARRY] (2) pv7.panel.load.terminal.v = pv7.panel.terminal.v ($RES_SIM_1869) (97) [SCAL] (1) pv6.terminal.theta[1] = line6.terminal_p.theta[1] ($RES_SIM_1689) (98) [SCAL] (1) pv6.terminal.theta[1] = line7.terminal_n.theta[1] ($RES_SIM_1688) (99) [FOR-] (2) ($RES_SIM_1867) (99) [----] for $i1 in 1:2 loop (99) [----] [SCAL] (1) pv7.panel.load.terminal.i[$i1] - pv7.panel.terminal.i[$i1] = 0.0 ($RES_SIM_1868) (99) [----] end for; (100) [SCAL] (1) pv6.terminal.v[1] = loa6.terminal.v[1] ($RES_SIM_1687) (101) [SCAL] (1) pv6.terminal.v[1] = line6.terminal_p.v[1] ($RES_SIM_1686) (102) [SCAL] (1) pv6.terminal.v[1] = line7.terminal_n.v[1] ($RES_SIM_1685) (103) [SCAL] (1) pv6.terminal.v[2] = loa6.terminal.v[2] ($RES_SIM_1684) (104) [SCAL] (1) pv6.terminal.v[2] = line6.terminal_p.v[2] ($RES_SIM_1683) (105) [SCAL] (1) pv6.terminal.v[2] = line7.terminal_n.v[2] ($RES_SIM_1682) (106) [SCAL] (1) sen2.term.theta[1] = line4.terminal_p.theta[1] ($RES_SIM_1681) (107) [SCAL] (1) sen2.term.theta[1] = pv4.terminal.theta[1] ($RES_SIM_1680) (108) [SCAL] (1) 0.017453292519943295 * pv6.HDifTil.relAirMas.zenDeg = smooth(1, if $SEV_44 then pv1.HDifTil.skyCle.zen else if $SEV_45 then 1.5707963267948966 else 0.25 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen) * ((-3.0) + ((1.5707963267948966 - pv1.HDifTil.skyCle.zen) / 0.01) ^ 2.0) * (100.0 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen)) + 0.5 * (1.5707963267948966 + pv1.HDifTil.skyCle.zen)) ($RES_SIM_211) (109) [SCAL] (1) pv6.HDifTil.briCoe.F2 = pv6.HDifTil.briCoe.F22 * pv6.HDifTil.skyBri.skyBri + pv6.HDifTil.briCoe.F21 + pv6.HDifTil.briCoe.F23 * pv1.HDifTil.skyCle.zen ($RES_SIM_212) (110) [SCAL] (1) pv6.HDifTil.briCoe.F1 = smooth(1, if $SEV_74 then 0.0 else if $SEV_75 then pv6.HDifTil.briCoe.F12 * pv6.HDifTil.skyBri.skyBri + pv6.HDifTil.briCoe.F11 + pv6.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen else 0.25 * (pv6.HDifTil.briCoe.F12 * pv6.HDifTil.skyBri.skyBri + pv6.HDifTil.briCoe.F11 + pv6.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) * ((-3.0) + ((-(pv1.HDifTil.skyCle.zen * pv6.HDifTil.briCoe.F13 + pv6.HDifTil.briCoe.F11 + pv6.HDifTil.skyBri.skyBri * pv6.HDifTil.briCoe.F12)) / 0.01) ^ 2.0) * (100.0 * (-(pv6.HDifTil.briCoe.F12 * pv6.HDifTil.skyBri.skyBri + pv6.HDifTil.briCoe.F11 + pv6.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen))) + 0.5 * (pv6.HDifTil.briCoe.F12 * pv6.HDifTil.skyBri.skyBri + pv6.HDifTil.briCoe.F11 + pv6.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen)) ($RES_SIM_213) (111) [SCAL] (1) pv6.HDifTil.briCoe.F23 = (0.1310694 * pv6.HDifTil.briCoe.a7 + 0.0558651 * pv6.HDifTil.briCoe.a6 + 0.0012448 * pv6.HDifTil.briCoe.a5 + 0.2506212 * pv6.HDifTil.briCoe.a8) - (0.0139754 * pv6.HDifTil.briCoe.a4 + 0.0260542 * pv6.HDifTil.briCoe.a3 + 0.0288748 * pv6.HDifTil.briCoe.a2 + 0.0220216 * pv6.HDifTil.briCoe.a1) ($RES_SIM_214) (112) [SCAL] (1) pv6.HDifTil.briCoe.F22 = (0.065965 * pv6.HDifTil.briCoe.a2 + 0.0721249 * pv6.HDifTil.briCoe.a1) - (1.3765031 * pv6.HDifTil.briCoe.a8 + 1.127234 * pv6.HDifTil.briCoe.a7 + 0.8230357 * pv6.HDifTil.briCoe.a6 + 0.4620442 * pv6.HDifTil.briCoe.a5 + 0.1519229 * pv6.HDifTil.briCoe.a4 + 0.0639588 * pv6.HDifTil.briCoe.a3) ($RES_SIM_215) (113) [SCAL] (1) pv6.HDifTil.briCoe.F21 = (0.2642124 * pv6.HDifTil.briCoe.a7 + 0.2877813 * pv6.HDifTil.briCoe.a6 + 0.2255647 * pv6.HDifTil.briCoe.a5 + 0.1088631 * pv6.HDifTil.briCoe.a4 + 0.055414 * pv6.HDifTil.briCoe.a3 + 0.1561313 * pv6.HDifTil.briCoe.a8) - (0.0189325 * pv6.HDifTil.briCoe.a2 + 0.0596012 * pv6.HDifTil.briCoe.a1) ($RES_SIM_216) (114) [SCAL] (1) pv6.HDifTil.briCoe.F13 = -(0.3589221 * pv6.HDifTil.briCoe.a7 + 0.4118494 * pv6.HDifTil.briCoe.a6 + 0.3616149 * pv6.HDifTil.briCoe.a5 + 0.295129 * pv6.HDifTil.briCoe.a4 + 0.2210958 * pv6.HDifTil.briCoe.a3 + 0.1513725 * pv6.HDifTil.briCoe.a2 + 0.0620636 * pv6.HDifTil.briCoe.a1 + 0.2504286 * pv6.HDifTil.briCoe.a8) ($RES_SIM_217) (115) [SCAL] (1) pv6.HDifTil.briCoe.F12 = (0.1874525 * pv6.HDifTil.briCoe.a4 + 0.4868735 * pv6.HDifTil.briCoe.a3 + 0.6825954 * pv6.HDifTil.briCoe.a2 + 0.5877285 * pv6.HDifTil.briCoe.a1) - (0.3272588 * pv6.HDifTil.briCoe.a8 + 1.5999137 * pv6.HDifTil.briCoe.a7 + 1.2367284 * pv6.HDifTil.briCoe.a6 + 0.3920403 * pv6.HDifTil.briCoe.a5) ($RES_SIM_218) (116) [SCAL] (1) pv6.HDifTil.briCoe.F11 = (1.0601591 * pv6.HDifTil.briCoe.a7 + 1.1326077 * pv6.HDifTil.briCoe.a6 + 0.873028 * pv6.HDifTil.briCoe.a5 + 0.5682053 * pv6.HDifTil.briCoe.a4 + 0.3296958 * pv6.HDifTil.briCoe.a3 + 0.1299457 * pv6.HDifTil.briCoe.a2 + 0.677747 * pv6.HDifTil.briCoe.a8) - 0.0083117 * pv6.HDifTil.briCoe.a1 ($RES_SIM_219) (117) [SCAL] (1) sen2.term.theta[1] = loa4.terminal.theta[1] ($RES_SIM_1679) (118) [SCAL] (1) sen2.term.v[1] = line4.terminal_p.v[1] ($RES_SIM_1678) (119) [SCAL] (1) sen2.term.v[1] = pv4.terminal.v[1] ($RES_SIM_1677) (120) [SCAL] (1) sen2.term.v[1] = loa4.terminal.v[1] ($RES_SIM_1676) (121) [SCAL] (1) sen2.term.v[2] = line4.terminal_p.v[2] ($RES_SIM_1675) (122) [SCAL] (1) sen2.term.v[2] = pv4.terminal.v[2] ($RES_SIM_1674) (123) [SCAL] (1) sen2.term.v[2] = loa4.terminal.v[2] ($RES_SIM_1673) (124) [SCAL] (1) pv4.terminal.i[1] + sen2.term.i[1] + line4.terminal_p.i[1] + loa4.terminal.i[1] = 0.0 ($RES_SIM_1672) (125) [SCAL] (1) pv4.terminal.i[2] + sen2.term.i[2] + line4.terminal_p.i[2] + loa4.terminal.i[2] = 0.0 ($RES_SIM_1671) (126) [SCAL] (1) line7.terminal_p.theta[1] = line8.terminal_n.theta[1] ($RES_SIM_1670) (127) [SCAL] (1) pv3.HDifTil.briCoe.b7 = smooth(1, if $SEV_156 then 1.0 else if $SEV_157 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((6.2 - pv3.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (6.2 - pv3.HDifTil.skyCle.skyCle))) ($RES_SIM_400) (128) [SCAL] (1) pv6.HDifTil.briCoe.a7 = pv6.HDifTil.briCoe.b7 - pv6.HDifTil.briCoe.b6 ($RES_SIM_221) (129) [SCAL] (1) pv3.HDifTil.briCoe.b6 = smooth(1, if $SEV_158 then 1.0 else if $SEV_159 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((4.5 - pv3.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (4.5 - pv3.HDifTil.skyCle.skyCle))) ($RES_SIM_401) (130) [SCAL] (1) pv6.HDifTil.briCoe.a6 = pv6.HDifTil.briCoe.b6 - pv6.HDifTil.briCoe.b5 ($RES_SIM_222) (131) [SCAL] (1) pv3.HDifTil.briCoe.b5 = smooth(1, if $SEV_160 then 1.0 else if $SEV_161 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((2.8 - pv3.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (2.8 - pv3.HDifTil.skyCle.skyCle))) ($RES_SIM_402) (132) [SCAL] (1) pv6.HDifTil.briCoe.a5 = pv6.HDifTil.briCoe.b5 - pv6.HDifTil.briCoe.b4 ($RES_SIM_223) (133) [SCAL] (1) pv3.HDifTil.briCoe.b4 = smooth(1, if $SEV_162 then 1.0 else if $SEV_163 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.95 - pv3.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.95 - pv3.HDifTil.skyCle.skyCle))) ($RES_SIM_403) (134) [SCAL] (1) pv6.HDifTil.briCoe.a4 = pv6.HDifTil.briCoe.b4 - pv6.HDifTil.briCoe.b3 ($RES_SIM_224) (135) [SCAL] (1) pv3.HDifTil.briCoe.b3 = smooth(1, if $SEV_164 then 1.0 else if $SEV_165 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.5 - pv3.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.5 - pv3.HDifTil.skyCle.skyCle))) ($RES_SIM_404) (136) [SCAL] (1) pv6.HDifTil.briCoe.a3 = pv6.HDifTil.briCoe.b3 - pv6.HDifTil.briCoe.b2 ($RES_SIM_225) (137) [SCAL] (1) pv3.HDifTil.briCoe.b2 = smooth(1, if $SEV_166 then 1.0 else if $SEV_167 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.23 - pv3.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.23 - pv3.HDifTil.skyCle.skyCle))) ($RES_SIM_405) (138) [SCAL] (1) pv6.HDifTil.briCoe.a2 = pv6.HDifTil.briCoe.b2 - pv6.HDifTil.briCoe.a1 ($RES_SIM_226) (139) [SCAL] (1) pv3.HDifTil.briCoe.a1 = smooth(1, if $SEV_168 then 1.0 else if $SEV_169 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.065 - pv3.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.065 - pv3.HDifTil.skyCle.skyCle))) ($RES_SIM_406) (140) [SCAL] (1) pv6.HDifTil.briCoe.a8 = smooth(1, if $SEV_76 then 1.0 else if $SEV_77 then 0.0 else 0.5 - 0.25 * ((-3.0) + (((-6.2) + pv6.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * ((-6.2) + pv6.HDifTil.skyCle.skyCle))) ($RES_SIM_228) (141) [SCAL] (1) pv3.HDifTil.skyCle.HDifHorBou = smooth(1, if $SEV_64 then pv1.HDifTil.skyCle.HDifHor else if $SEV_65 then 5e-5 else 0.25 * (5e-5 - pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + (((-5e-5) + pv1.HDifTil.skyCle.HDifHor) / 2.5e-5) ^ 2.0) * (4e4 * ((-5e-5) + pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (5e-5 + pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_408) (142) [SCAL] (1) pv6.HDifTil.briCoe.b7 = smooth(1, if $SEV_78 then 1.0 else if $SEV_79 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((6.2 - pv6.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (6.2 - pv6.HDifTil.skyCle.skyCle))) ($RES_SIM_229) (143) [SCAL] (1) pv3.HDifTil.skyCle.tmp1 = 1.040895310738997 * pv1.HDifTil.skyCle.zen ^ 3.0 ($RES_SIM_409) (144) [SCAL] (1) line7.terminal_p.theta[1] = pv7.terminal.theta[1] ($RES_SIM_1669) (145) [SCAL] (1) line7.terminal_p.theta[1] = loa7.terminal.theta[1] ($RES_SIM_1668) (146) [SCAL] (1) line7.terminal_p.v[1] = line8.terminal_n.v[1] ($RES_SIM_1667) (147) [SCAL] (1) line7.terminal_p.v[1] = pv7.terminal.v[1] ($RES_SIM_1666) (148) [SCAL] (1) line7.terminal_p.v[1] = loa7.terminal.v[1] ($RES_SIM_1665) (149) [ARRY] (1) pv7.terminal.theta = pv7.panel.terminal.theta ($RES_SIM_1844) (150) [SCAL] (1) line7.terminal_p.v[2] = line8.terminal_n.v[2] ($RES_SIM_1664) (151) [ARRY] (2) pv7.terminal.v = pv7.panel.terminal.v ($RES_SIM_1843) (152) [SCAL] (1) line7.terminal_p.v[2] = pv7.terminal.v[2] ($RES_SIM_1663) (153) [SCAL] (1) line7.terminal_p.v[2] = loa7.terminal.v[2] ($RES_SIM_1662) (154) [FOR-] (2) ($RES_SIM_1841) (154) [----] for $i1 in 1:2 loop (154) [----] [SCAL] (1) pv7.panel.terminal.i[$i1] - pv7.terminal.i[$i1] = 0.0 ($RES_SIM_1842) (154) [----] end for; (155) [SCAL] (1) line8.terminal_n.i[1] + loa7.terminal.i[1] + line7.terminal_p.i[1] + pv7.terminal.i[1] = 0.0 ($RES_SIM_1661) (156) [SCAL] (1) line8.terminal_n.i[2] + loa7.terminal.i[2] + line7.terminal_p.i[2] + pv7.terminal.i[2] = 0.0 ($RES_SIM_1660) (157) [SCAL] (1) pv6.HDifTil.briCoe.b6 = smooth(1, if $SEV_80 then 1.0 else if $SEV_81 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((4.5 - pv6.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (4.5 - pv6.HDifTil.skyCle.skyCle))) ($RES_SIM_230) (158) [SCAL] (1) pv3.HDifTil.HDifTil.HGroDifTil = 0.030153689607046508 * pv3.HDifTil.HDifTil.rho * pv1.HDifTil.skyCle.HGloHor ($RES_SIM_410) (159) [SCAL] (1) pv6.HDifTil.briCoe.b5 = smooth(1, if $SEV_82 then 1.0 else if $SEV_83 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((2.8 - pv6.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (2.8 - pv6.HDifTil.skyCle.skyCle))) ($RES_SIM_231) (160) [SCAL] (1) pv3.HDifTil.HDifTil.HSkyDifTil = pv1.HDifTil.skyCle.HDifHor * ((pv3.HDifTil.HDifTil.a * pv3.HDifTil.briCoe.F1) / pv3.HDifTil.HDifTil.b + 0.9698463103929535 * (1.0 - pv3.HDifTil.briCoe.F1) + 0.3420201433256726 * pv3.HDifTil.briCoe.F2) ($RES_SIM_411) (161) [SCAL] (1) pv6.HDifTil.briCoe.b4 = smooth(1, if $SEV_84 then 1.0 else if $SEV_85 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.95 - pv6.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.95 - pv6.HDifTil.skyCle.skyCle))) ($RES_SIM_232) (162) [SCAL] (1) pv3.HDifTil.HDifTil.b = smooth(1, if $SEV_170 then 0.08715574274765814 else if $SEV_171 then $FUN_32 else 0.25 * ((-0.08715574274765814) + $FUN_32) * ((-3.0) + ((0.08715574274765814 - $FUN_32) / 0.01) ^ 2.0) * (100.0 * (0.08715574274765814 - $FUN_32)) + 0.5 * (0.08715574274765814 + $FUN_32)) ($RES_SIM_412) (163) [SCAL] (1) pv6.HDifTil.briCoe.b3 = smooth(1, if $SEV_86 then 1.0 else if $SEV_87 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.5 - pv6.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.5 - pv6.HDifTil.skyCle.skyCle))) ($RES_SIM_233) (164) [SCAL] (1) pv3.HDifTil.HDifTil.a = smooth(1, if $SEV_172 then 0.0 else if $SEV_173 then $FUN_31 else 0.5 * $FUN_31 - 0.25 * $FUN_31 * ((-3.0) + ($FUN_31 / (-0.01)) ^ 2.0) * (100.0 * $FUN_31)) ($RES_SIM_413) (165) [SCAL] (1) pv6.HDifTil.briCoe.b2 = smooth(1, if $SEV_88 then 1.0 else if $SEV_89 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.23 - pv6.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.23 - pv6.HDifTil.skyCle.skyCle))) ($RES_SIM_234) (166) [SCAL] (1) pv3.G.u1 = pv3.HDifTil.add.k1 * pv3.HDifTil.HDifTil.HSkyDifTil + pv3.HDifTil.add.k2 * pv3.HDifTil.HDifTil.HGroDifTil ($RES_SIM_414) (167) [SCAL] (1) pv6.HDifTil.briCoe.a1 = smooth(1, if $SEV_90 then 1.0 else if $SEV_91 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.065 - pv6.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.065 - pv6.HDifTil.skyCle.skyCle))) ($RES_SIM_235) (168) [SCAL] (1) pv3.panel.load.P = pv3.panel.gain_DCAC.k * pv3.panel.gain_DCAC.u ($RES_SIM_416) (169) [SCAL] (1) pv6.HDifTil.skyCle.HDifHorBou = smooth(1, if $SEV_64 then pv1.HDifTil.skyCle.HDifHor else if $SEV_65 then 5e-5 else 0.25 * (5e-5 - pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + (((-5e-5) + pv1.HDifTil.skyCle.HDifHor) / 2.5e-5) ^ 2.0) * (4e4 * ((-5e-5) + pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (5e-5 + pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_237) (170) [SCAL] (1) pv6.HDifTil.skyCle.tmp1 = 1.040895310738997 * pv1.HDifTil.skyCle.zen ^ 3.0 ($RES_SIM_238) (171) [SCAL] (1) pv6.HDifTil.HDifTil.HGroDifTil = 0.04684610648167453 * pv6.HDifTil.HDifTil.rho * pv1.HDifTil.skyCle.HGloHor ($RES_SIM_239) (172) [SCAL] (1) sen3.term.theta[1] = line8.terminal_p.theta[1] ($RES_SIM_1659) (173) [SCAL] (1) sen3.term.theta[1] = winTur.terminal.theta[1] ($RES_SIM_1658) (174) [SCAL] (1) sen3.term.v[1] = line8.terminal_p.v[1] ($RES_SIM_1657) (175) [ARRY] (1) winTur.load.terminal.theta = winTur.terminal.theta ($RES_SIM_1836) (176) [SCAL] (1) sen3.term.v[1] = winTur.terminal.v[1] ($RES_SIM_1656) (177) [ARRY] (2) winTur.load.terminal.v = winTur.terminal.v ($RES_SIM_1835) (178) [SCAL] (1) sen3.term.v[2] = line8.terminal_p.v[2] ($RES_SIM_1655) (179) [SCAL] (1) sen3.term.v[2] = winTur.terminal.v[2] ($RES_SIM_1654) (180) [FOR-] (2) ($RES_SIM_1833) (180) [----] for $i1 in 1:2 loop (180) [----] [SCAL] (1) winTur.load.terminal.i[$i1] - winTur.terminal.i[$i1] = 0.0 ($RES_SIM_1834) (180) [----] end for; (181) [SCAL] (1) sen3.term.i[1] + line8.terminal_p.i[1] + winTur.terminal.i[1] = 0.0 ($RES_SIM_1653) (182) [SCAL] (1) sen3.term.i[2] + line8.terminal_p.i[2] + winTur.terminal.i[2] = 0.0 ($RES_SIM_1652) (183) [SCAL] (1) -1.0000000001 * (1e-10 - loa2.load) = pow2.y[1] ($RES_SIM_1651) (184) [SCAL] (1) pow1.y[1] = -1.0000000001 * (1e-10 - loa1.load) ($RES_SIM_1650) (185) [SCAL] (1) pv6.HDifTil.HDifTil.HSkyDifTil = pv1.HDifTil.skyCle.HDifHor * ((pv6.HDifTil.HDifTil.a * pv6.HDifTil.briCoe.F1) / pv6.HDifTil.HDifTil.b + 0.9531538935183255 * (1.0 - pv6.HDifTil.briCoe.F1) + 0.4226182617406973 * pv6.HDifTil.briCoe.F2) ($RES_SIM_240) (186) [SCAL] (1) pv6.HDifTil.HDifTil.b = smooth(1, if $SEV_92 then 0.08715574274765814 else if $SEV_93 then $FUN_65 else 0.25 * ((-0.08715574274765814) + $FUN_65) * ((-3.0) + ((0.08715574274765814 - $FUN_65) / 0.01) ^ 2.0) * (100.0 * (0.08715574274765814 - $FUN_65)) + 0.5 * (0.08715574274765814 + $FUN_65)) ($RES_SIM_241) (187) [SCAL] (1) loa5.theRef = loa5.terminal.theta[1] ($RES_SIM_600) (188) [SCAL] (1) pv6.HDifTil.HDifTil.a = smooth(1, if $SEV_94 then 0.0 else if $SEV_95 then $FUN_64 else 0.5 * $FUN_64 - 0.25 * $FUN_64 * ((-3.0) + ($FUN_64 / (-0.01)) ^ 2.0) * (100.0 * $FUN_64)) ($RES_SIM_242) (189) [SCAL] (1) pv6.G.u1 = pv6.HDifTil.add.k1 * pv6.HDifTil.HDifTil.HSkyDifTil + pv6.HDifTil.add.k2 * pv6.HDifTil.HDifTil.HGroDifTil ($RES_SIM_243) (190) [SCAL] (1) line5.line.R_actual = ((line5.line.M + ((-273.15) + line5.TCable)) * line5.line.R) / (line5.line.M + ((-273.15) + line5.line.T_ref)) ($RES_SIM_603) (191) [SCAL] (1) pv3.panel.load.i[2] = -homotopy((pv3.panel.load.v[2] * pv3.panel.load.P - pv3.panel.load.v[1] * pv3.panel.load.Q) / (pv3.panel.load.v[1] ^ 2.0 + pv3.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_424) (192) [SCAL] (1) pv6.panel.load.P = pv6.panel.gain_DCAC.k * pv6.panel.gain_DCAC.u ($RES_SIM_245) (193) [SCAL] (1) pv3.panel.load.i[1] = -homotopy((pv3.panel.load.v[2] * pv3.panel.load.Q + pv3.panel.load.v[1] * pv3.panel.load.P) / (pv3.panel.load.v[1] ^ 2.0 + pv3.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_425) (194) [ARRY] (1) line5.line.terminal_p.theta = line5.line.terminal_n.theta ($RES_SIM_605) (195) [SCAL] (1) pv3.panel.load.omega = $DER.pv3.panel.load.theRef ($RES_SIM_426) (196) [SCAL] (1) line5.line.LossPower = (0.5 * line5.line.R_actual) * (line5.line.terminal_p.i[1] ^ 2.0 + line5.line.terminal_p.i[2] ^ 2.0) + (0.5 * line5.line.R_actual) * (line5.line.terminal_n.i[1] ^ 2.0 + line5.line.terminal_n.i[2] ^ 2.0) ($RES_SIM_606) (197) [SCAL] (1) pv3.panel.load.theRef = pv3.panel.load.terminal.theta[1] ($RES_SIM_427) (198) [ARRY] (2) line5.line.Vc = 0.5 .* (line5.line.terminal_p.v + line5.line.terminal_n.v) ($RES_SIM_607) (199) [SCAL] (1) pv2.G.y = pv2.G.k1 * pv2.G.u1 + pv2.G.k2 * pv2.G.u2 ($RES_SIM_428) (200) [ARRY] (2) (0.5 * line5.line.L) * line5.line.omega * {-line5.line.terminal_n.i[2], line5.line.terminal_n.i[1]} + line5.line.terminal_n.i * $FUN_6 = line5.line.terminal_n.v - line5.line.Vc ($RES_SIM_608) (201) [SCAL] (1) pv2.G.u2 = max(0.0, $FUN_30 * pv1.HDifTil.weaBus.HDirNor) ($RES_SIM_429) (202) [ARRY] (2) (0.5 * line5.line.L) * line5.line.omega * {-line5.line.terminal_p.i[2], line5.line.terminal_p.i[1]} + line5.line.terminal_p.i * $FUN_6 = line5.line.terminal_p.v - line5.line.Vc ($RES_SIM_609) (203) [ARRY] (1) line6.line.terminal_n.theta = line6.terminal_n.theta ($RES_SIM_2094) (204) [ARRY] (2) line6.line.terminal_n.v = line6.terminal_n.v ($RES_SIM_2093) (205) [FOR-] (2) ($RES_SIM_2091) (205) [----] for $i1 in 1:2 loop (205) [----] [SCAL] (1) line6.line.terminal_n.i[$i1] - line6.terminal_n.i[$i1] = 0.0 ($RES_SIM_2092) (205) [----] end for; (206) [ARRY] (1) line6.terminal_p.theta = line6.line.terminal_p.theta ($RES_SIM_2090) (207) [SCAL] (1) winTur.per.y[1] = winTur.gain.u ($RES_SIM_1829) (208) [SCAL] (1) -1.0000000001 * (1e-10 - loa3.load) = pow3.y[1] ($RES_SIM_1649) (209) [SCAL] (1) -1.0000000001 * (1e-10 - loa4.load) = pow4.y[1] ($RES_SIM_1648) (210) [SCAL] (1) -1.0000000001 * (1e-10 - loa5.load) = pow5.y[1] ($RES_SIM_1647) (211) [SCAL] (1) -1.0000000001 * (1e-10 - loa6.load) = pow6.y[1] ($RES_SIM_1646) (212) [ARRY] (1) line8.line.terminal_n.theta = line8.terminal_n.theta ($RES_SIM_1825) (213) [SCAL] (1) -1.0000000001 * (1e-10 - loa7.load) = pow7.y[1] ($RES_SIM_1645) (214) [ARRY] (2) line8.line.terminal_n.v = line8.terminal_n.v ($RES_SIM_1824) (215) [SCAL] (1) pv1.panel.load.P = PSol.u[1] ($RES_SIM_1643) (216) [FOR-] (2) ($RES_SIM_1822) (216) [----] for $i1 in 1:2 loop (216) [----] [SCAL] (1) line8.line.terminal_n.i[$i1] - line8.terminal_n.i[$i1] = 0.0 ($RES_SIM_1823) (216) [----] end for; (217) [SCAL] (1) PSol.u[2] = pv2.panel.load.P ($RES_SIM_1642) (218) [ARRY] (1) line8.terminal_p.theta = line8.line.terminal_p.theta ($RES_SIM_1821) (219) [SCAL] (1) PSol.u[3] = pv3.panel.load.P ($RES_SIM_1641) (220) [ARRY] (2) line8.terminal_p.v = line8.line.terminal_p.v ($RES_SIM_1820) (221) [SCAL] (1) PSol.u[4] = pv4.panel.load.P ($RES_SIM_1640) (222) [ARRY] (2) line5.line.terminal_p.i + line5.line.terminal_n.i = line5.line.Ic ($RES_SIM_610) (223) [SCAL] (1) line5.line.omega = $DER.line5.line.theRef ($RES_SIM_611) (224) [SCAL] (1) pv6.panel.load.i[2] = -homotopy((pv6.panel.load.v[2] * pv6.panel.load.P - pv6.panel.load.v[1] * pv6.panel.load.Q) / (pv6.panel.load.v[1] ^ 2.0 + pv6.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_253) (225) [SCAL] (1) line5.line.theRef = line5.line.terminal_p.theta[1] ($RES_SIM_612) (226) [SCAL] (1) pv6.panel.load.i[1] = -homotopy((pv6.panel.load.v[2] * pv6.panel.load.Q + pv6.panel.load.v[1] * pv6.panel.load.P) / (pv6.panel.load.v[1] ^ 2.0 + pv6.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_254) (227) [SCAL] (1) pv6.panel.load.omega = $DER.pv6.panel.load.theRef ($RES_SIM_255) (228) [SCAL] (1) pv6.panel.load.theRef = pv6.panel.load.terminal.theta[1] ($RES_SIM_256) (229) [ARRY] (2) line6.terminal_p.v = line6.line.terminal_p.v ($RES_SIM_2089) (230) [SCAL] (1) pv2.HDifTil.skyBri.skyBri = smooth(1, if $SEV_176 then 7.31528895391368e-4 * pv2.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor else if $SEV_177 then 1.0 else 0.25 * (1.0 - 7.31528895391368e-4 * pv2.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + ((1.0 - 7.31528895391368e-4 * pv1.HDifTil.skyCle.HDifHor * pv2.HDifTil.relAirMas.relAirMas) / 0.025) ^ 2.0) * (40.0 * (1.0 - 7.31528895391368e-4 * pv2.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (1.0 + 7.31528895391368e-4 * pv2.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_436) (231) [SCAL] (1) pv5.G.y = pv5.G.k1 * pv5.G.u1 + pv5.G.k2 * pv5.G.u2 ($RES_SIM_257) (232) [SCAL] (1) line4.line.R_actual = ((line4.line.M + ((-273.15) + line4.TCable)) * line4.line.R) / (line4.line.M + ((-273.15) + line4.line.T_ref)) ($RES_SIM_616) (233) [SCAL] (1) pv2.HDifTil.relAirMas.relAirMas = 1/($FUN_23 + 0.15 * (93.9 - pv2.HDifTil.relAirMas.zenDeg) ^ (-1.253)) ($RES_SIM_437) (234) [SCAL] (1) pv5.G.u2 = max(0.0, $FUN_63 * pv1.HDifTil.weaBus.HDirNor) ($RES_SIM_258) (235) [FOR-] (2) ($RES_SIM_2087) (235) [----] for $i1 in 1:2 loop (235) [----] [SCAL] (1) line6.line.terminal_p.i[$i1] - line6.terminal_p.i[$i1] = 0.0 ($RES_SIM_2088) (235) [----] end for; (236) [ARRY] (1) line4.line.terminal_p.theta = line4.line.terminal_n.theta ($RES_SIM_618) (237) [SCAL] (1) 0.017453292519943295 * pv2.HDifTil.relAirMas.zenDeg = smooth(1, if $SEV_44 then pv1.HDifTil.skyCle.zen else if $SEV_45 then 1.5707963267948966 else 0.25 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen) * ((-3.0) + ((1.5707963267948966 - pv1.HDifTil.skyCle.zen) / 0.01) ^ 2.0) * (100.0 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen)) + 0.5 * (1.5707963267948966 + pv1.HDifTil.skyCle.zen)) ($RES_SIM_439) (238) [SCAL] (1) line4.line.LossPower = (0.5 * line4.line.R_actual) * (line4.line.terminal_p.i[1] ^ 2.0 + line4.line.terminal_p.i[2] ^ 2.0) + (0.5 * line4.line.R_actual) * (line4.line.terminal_n.i[1] ^ 2.0 + line4.line.terminal_n.i[2] ^ 2.0) ($RES_SIM_619) (239) [ARRY] (1) line7.line.terminal_n.theta = line7.terminal_n.theta ($RES_SIM_2084) (240) [ARRY] (2) line7.line.terminal_n.v = line7.terminal_n.v ($RES_SIM_2083) (241) [FOR-] (2) ($RES_SIM_2081) (241) [----] for $i1 in 1:2 loop (241) [----] [SCAL] (1) line7.line.terminal_n.i[$i1] - line7.terminal_n.i[$i1] = 0.0 ($RES_SIM_2082) (241) [----] end for; (242) [ARRY] (1) line7.terminal_p.theta = line7.line.terminal_p.theta ($RES_SIM_2080) (243) [SCAL] (1) PSol.u[5] = pv5.panel.load.P ($RES_SIM_1639) (244) [FOR-] (2) ($RES_SIM_1818) (244) [----] for $i1 in 1:2 loop (244) [----] [SCAL] (1) line8.line.terminal_p.i[$i1] - line8.terminal_p.i[$i1] = 0.0 ($RES_SIM_1819) (244) [----] end for; (245) [SCAL] (1) PSol.u[6] = pv6.panel.load.P ($RES_SIM_1637) (246) [SCAL] (1) PSol.u[7] = pv7.panel.load.P ($RES_SIM_1636) (247) [SCAL] (1) pv2.HDifTil.briCoe.F2 = pv2.HDifTil.briCoe.F22 * pv2.HDifTil.skyBri.skyBri + pv2.HDifTil.briCoe.F21 + pv2.HDifTil.briCoe.F23 * pv1.HDifTil.skyCle.zen ($RES_SIM_440) (248) [ARRY] (2) line4.line.Vc = 0.5 .* (line4.line.terminal_p.v + line4.line.terminal_n.v) ($RES_SIM_620) (249) [SCAL] (1) pv2.HDifTil.briCoe.F1 = smooth(1, if $SEV_178 then 0.0 else if $SEV_179 then pv2.HDifTil.briCoe.F12 * pv2.HDifTil.skyBri.skyBri + pv2.HDifTil.briCoe.F11 + pv2.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen else 0.25 * (pv2.HDifTil.briCoe.F12 * pv2.HDifTil.skyBri.skyBri + pv2.HDifTil.briCoe.F11 + pv2.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) * ((-3.0) + ((-(pv1.HDifTil.skyCle.zen * pv2.HDifTil.briCoe.F13 + pv2.HDifTil.briCoe.F11 + pv2.HDifTil.skyBri.skyBri * pv2.HDifTil.briCoe.F12)) / 0.01) ^ 2.0) * (100.0 * (-(pv2.HDifTil.briCoe.F12 * pv2.HDifTil.skyBri.skyBri + pv2.HDifTil.briCoe.F11 + pv2.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen))) + 0.5 * (pv2.HDifTil.briCoe.F12 * pv2.HDifTil.skyBri.skyBri + pv2.HDifTil.briCoe.F11 + pv2.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen)) ($RES_SIM_441) (250) [ARRY] (2) (0.5 * line4.line.L) * line4.line.omega * {-line4.line.terminal_n.i[2], line4.line.terminal_n.i[1]} + line4.line.terminal_n.i * $FUN_5 = line4.line.terminal_n.v - line4.line.Vc ($RES_SIM_621) (251) [SCAL] (1) pv2.HDifTil.briCoe.F23 = (0.1310694 * pv2.HDifTil.briCoe.a7 + 0.0558651 * pv2.HDifTil.briCoe.a6 + 0.0012448 * pv2.HDifTil.briCoe.a5 + 0.2506212 * pv2.HDifTil.briCoe.a8) - (0.0139754 * pv2.HDifTil.briCoe.a4 + 0.0260542 * pv2.HDifTil.briCoe.a3 + 0.0288748 * pv2.HDifTil.briCoe.a2 + 0.0220216 * pv2.HDifTil.briCoe.a1) ($RES_SIM_442) (252) [ARRY] (2) (0.5 * line4.line.L) * line4.line.omega * {-line4.line.terminal_p.i[2], line4.line.terminal_p.i[1]} + line4.line.terminal_p.i * $FUN_5 = line4.line.terminal_p.v - line4.line.Vc ($RES_SIM_622) (253) [SCAL] (1) pv2.HDifTil.briCoe.F22 = (0.065965 * pv2.HDifTil.briCoe.a2 + 0.0721249 * pv2.HDifTil.briCoe.a1) - (1.3765031 * pv2.HDifTil.briCoe.a8 + 1.127234 * pv2.HDifTil.briCoe.a7 + 0.8230357 * pv2.HDifTil.briCoe.a6 + 0.4620442 * pv2.HDifTil.briCoe.a5 + 0.1519229 * pv2.HDifTil.briCoe.a4 + 0.0639588 * pv2.HDifTil.briCoe.a3) ($RES_SIM_443) (254) [ARRY] (2) line4.line.terminal_p.i + line4.line.terminal_n.i = line4.line.Ic ($RES_SIM_623) (255) [SCAL] (1) pv2.HDifTil.briCoe.F21 = (0.2642124 * pv2.HDifTil.briCoe.a7 + 0.2877813 * pv2.HDifTil.briCoe.a6 + 0.2255647 * pv2.HDifTil.briCoe.a5 + 0.1088631 * pv2.HDifTil.briCoe.a4 + 0.055414 * pv2.HDifTil.briCoe.a3 + 0.1561313 * pv2.HDifTil.briCoe.a8) - (0.0189325 * pv2.HDifTil.briCoe.a2 + 0.0596012 * pv2.HDifTil.briCoe.a1) ($RES_SIM_444) (256) [SCAL] (1) pv5.HDifTil.skyBri.skyBri = smooth(1, if $SEV_98 then 7.31528895391368e-4 * pv5.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor else if $SEV_99 then 1.0 else 0.25 * (1.0 - 7.31528895391368e-4 * pv5.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + ((1.0 - 7.31528895391368e-4 * pv1.HDifTil.skyCle.HDifHor * pv5.HDifTil.relAirMas.relAirMas) / 0.025) ^ 2.0) * (40.0 * (1.0 - 7.31528895391368e-4 * pv5.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (1.0 + 7.31528895391368e-4 * pv5.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_265) (257) [SCAL] (1) line4.line.omega = $DER.line4.line.theRef ($RES_SIM_624) (258) [SCAL] (1) pv2.HDifTil.briCoe.F13 = -(0.3589221 * pv2.HDifTil.briCoe.a7 + 0.4118494 * pv2.HDifTil.briCoe.a6 + 0.3616149 * pv2.HDifTil.briCoe.a5 + 0.295129 * pv2.HDifTil.briCoe.a4 + 0.2210958 * pv2.HDifTil.briCoe.a3 + 0.1513725 * pv2.HDifTil.briCoe.a2 + 0.0620636 * pv2.HDifTil.briCoe.a1 + 0.2504286 * pv2.HDifTil.briCoe.a8) ($RES_SIM_445) (259) [SCAL] (1) pv5.HDifTil.relAirMas.relAirMas = 1/($FUN_56 + 0.15 * (93.9 - pv5.HDifTil.relAirMas.zenDeg) ^ (-1.253)) ($RES_SIM_266) (260) [ARRY] (2) line7.terminal_p.v = line7.line.terminal_p.v ($RES_SIM_2079) (261) [SCAL] (1) line4.line.theRef = line4.line.terminal_p.theta[1] ($RES_SIM_625) (262) [SCAL] (1) pv2.HDifTil.briCoe.F12 = (0.1874525 * pv2.HDifTil.briCoe.a4 + 0.4868735 * pv2.HDifTil.briCoe.a3 + 0.6825954 * pv2.HDifTil.briCoe.a2 + 0.5877285 * pv2.HDifTil.briCoe.a1) - (0.3272588 * pv2.HDifTil.briCoe.a8 + 1.5999137 * pv2.HDifTil.briCoe.a7 + 1.2367284 * pv2.HDifTil.briCoe.a6 + 0.3920403 * pv2.HDifTil.briCoe.a5) ($RES_SIM_446) (263) [SCAL] (1) pv2.HDifTil.briCoe.F11 = (1.0601591 * pv2.HDifTil.briCoe.a7 + 1.1326077 * pv2.HDifTil.briCoe.a6 + 0.873028 * pv2.HDifTil.briCoe.a5 + 0.5682053 * pv2.HDifTil.briCoe.a4 + 0.3296958 * pv2.HDifTil.briCoe.a3 + 0.1299457 * pv2.HDifTil.briCoe.a2 + 0.677747 * pv2.HDifTil.briCoe.a8) - 0.0083117 * pv2.HDifTil.briCoe.a1 ($RES_SIM_447) (264) [SCAL] (1) 0.017453292519943295 * pv5.HDifTil.relAirMas.zenDeg = smooth(1, if $SEV_44 then pv1.HDifTil.skyCle.zen else if $SEV_45 then 1.5707963267948966 else 0.25 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen) * ((-3.0) + ((1.5707963267948966 - pv1.HDifTil.skyCle.zen) / 0.01) ^ 2.0) * (100.0 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen)) + 0.5 * (1.5707963267948966 + pv1.HDifTil.skyCle.zen)) ($RES_SIM_268) (265) [FOR-] (2) ($RES_SIM_2077) (265) [----] for $i1 in 1:2 loop (265) [----] [SCAL] (1) line7.line.terminal_p.i[$i1] - line7.terminal_p.i[$i1] = 0.0 ($RES_SIM_2078) (265) [----] end for; (266) [SCAL] (1) pv5.HDifTil.briCoe.F2 = pv5.HDifTil.briCoe.F22 * pv5.HDifTil.skyBri.skyBri + pv5.HDifTil.briCoe.F21 + pv5.HDifTil.briCoe.F23 * pv1.HDifTil.skyCle.zen ($RES_SIM_269) (267) [SCAL] (1) pv2.HDifTil.briCoe.a7 = pv2.HDifTil.briCoe.b7 - pv2.HDifTil.briCoe.b6 ($RES_SIM_449) (268) [SCAL] (1) line3.line.R_actual = ((line3.line.M + ((-273.15) + line3.TCable)) * line3.line.R) / (line3.line.M + ((-273.15) + line3.line.T_ref)) ($RES_SIM_629) (269) [ARRY] (1) pv1.panel.load.terminal.theta = pv1.panel.terminal.theta ($RES_SIM_2074) (270) [ARRY] (2) pv1.panel.load.terminal.v = pv1.panel.terminal.v ($RES_SIM_2073) (271) [FOR-] (2) ($RES_SIM_2071) (271) [----] for $i1 in 1:2 loop (271) [----] [SCAL] (1) pv1.panel.load.terminal.i[$i1] - pv1.panel.terminal.i[$i1] = 0.0 ($RES_SIM_2072) (271) [----] end for; (272) [SCAL] (1) pv5.HDifTil.briCoe.F1 = smooth(1, if $SEV_100 then 0.0 else if $SEV_101 then pv5.HDifTil.briCoe.F12 * pv5.HDifTil.skyBri.skyBri + pv5.HDifTil.briCoe.F11 + pv5.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen else 0.25 * (pv5.HDifTil.briCoe.F12 * pv5.HDifTil.skyBri.skyBri + pv5.HDifTil.briCoe.F11 + pv5.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) * ((-3.0) + ((-(pv1.HDifTil.skyCle.zen * pv5.HDifTil.briCoe.F13 + pv5.HDifTil.briCoe.F11 + pv5.HDifTil.skyBri.skyBri * pv5.HDifTil.briCoe.F12)) / 0.01) ^ 2.0) * (100.0 * (-(pv5.HDifTil.briCoe.F12 * pv5.HDifTil.skyBri.skyBri + pv5.HDifTil.briCoe.F11 + pv5.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen))) + 0.5 * (pv5.HDifTil.briCoe.F12 * pv5.HDifTil.skyBri.skyBri + pv5.HDifTil.briCoe.F11 + pv5.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen)) ($RES_SIM_270) (273) [SCAL] (1) pv2.HDifTil.briCoe.a6 = pv2.HDifTil.briCoe.b6 - pv2.HDifTil.briCoe.b5 ($RES_SIM_450) (274) [SCAL] (1) pv5.HDifTil.briCoe.F23 = (0.1310694 * pv5.HDifTil.briCoe.a7 + 0.0558651 * pv5.HDifTil.briCoe.a6 + 0.0012448 * pv5.HDifTil.briCoe.a5 + 0.2506212 * pv5.HDifTil.briCoe.a8) - (0.0139754 * pv5.HDifTil.briCoe.a4 + 0.0260542 * pv5.HDifTil.briCoe.a3 + 0.0288748 * pv5.HDifTil.briCoe.a2 + 0.0220216 * pv5.HDifTil.briCoe.a1) ($RES_SIM_271) (275) [SCAL] (1) pv2.HDifTil.briCoe.a5 = pv2.HDifTil.briCoe.b5 - pv2.HDifTil.briCoe.b4 ($RES_SIM_451) (276) [SCAL] (1) pv5.HDifTil.briCoe.F22 = (0.065965 * pv5.HDifTil.briCoe.a2 + 0.0721249 * pv5.HDifTil.briCoe.a1) - (1.3765031 * pv5.HDifTil.briCoe.a8 + 1.127234 * pv5.HDifTil.briCoe.a7 + 0.8230357 * pv5.HDifTil.briCoe.a6 + 0.4620442 * pv5.HDifTil.briCoe.a5 + 0.1519229 * pv5.HDifTil.briCoe.a4 + 0.0639588 * pv5.HDifTil.briCoe.a3) ($RES_SIM_272) (277) [ARRY] (1) line3.line.terminal_p.theta = line3.line.terminal_n.theta ($RES_SIM_631) (278) [SCAL] (1) pv2.HDifTil.briCoe.a4 = pv2.HDifTil.briCoe.b4 - pv2.HDifTil.briCoe.b3 ($RES_SIM_452) (279) [SCAL] (1) pv5.HDifTil.briCoe.F21 = (0.2642124 * pv5.HDifTil.briCoe.a7 + 0.2877813 * pv5.HDifTil.briCoe.a6 + 0.2255647 * pv5.HDifTil.briCoe.a5 + 0.1088631 * pv5.HDifTil.briCoe.a4 + 0.055414 * pv5.HDifTil.briCoe.a3 + 0.1561313 * pv5.HDifTil.briCoe.a8) - (0.0189325 * pv5.HDifTil.briCoe.a2 + 0.0596012 * pv5.HDifTil.briCoe.a1) ($RES_SIM_273) (280) [SCAL] (1) line3.line.LossPower = (0.5 * line3.line.R_actual) * (line3.line.terminal_p.i[1] ^ 2.0 + line3.line.terminal_p.i[2] ^ 2.0) + (0.5 * line3.line.R_actual) * (line3.line.terminal_n.i[1] ^ 2.0 + line3.line.terminal_n.i[2] ^ 2.0) ($RES_SIM_632) (281) [SCAL] (1) pv2.HDifTil.briCoe.a3 = pv2.HDifTil.briCoe.b3 - pv2.HDifTil.briCoe.b2 ($RES_SIM_453) (282) [SCAL] (1) pv5.HDifTil.briCoe.F13 = -(0.3589221 * pv5.HDifTil.briCoe.a7 + 0.4118494 * pv5.HDifTil.briCoe.a6 + 0.3616149 * pv5.HDifTil.briCoe.a5 + 0.295129 * pv5.HDifTil.briCoe.a4 + 0.2210958 * pv5.HDifTil.briCoe.a3 + 0.1513725 * pv5.HDifTil.briCoe.a2 + 0.0620636 * pv5.HDifTil.briCoe.a1 + 0.2504286 * pv5.HDifTil.briCoe.a8) ($RES_SIM_274) (283) [ARRY] (2) line3.line.Vc = 0.5 .* (line3.line.terminal_p.v + line3.line.terminal_n.v) ($RES_SIM_633) (284) [SCAL] (1) pv2.HDifTil.briCoe.a2 = pv2.HDifTil.briCoe.b2 - pv2.HDifTil.briCoe.a1 ($RES_SIM_454) (285) [SCAL] (1) pv5.HDifTil.briCoe.F12 = (0.1874525 * pv5.HDifTil.briCoe.a4 + 0.4868735 * pv5.HDifTil.briCoe.a3 + 0.6825954 * pv5.HDifTil.briCoe.a2 + 0.5877285 * pv5.HDifTil.briCoe.a1) - (0.3272588 * pv5.HDifTil.briCoe.a8 + 1.5999137 * pv5.HDifTil.briCoe.a7 + 1.2367284 * pv5.HDifTil.briCoe.a6 + 0.3920403 * pv5.HDifTil.briCoe.a5) ($RES_SIM_275) (286) [ARRY] (2) (0.5 * line3.line.L) * line3.line.omega * {-line3.line.terminal_n.i[2], line3.line.terminal_n.i[1]} + line3.line.terminal_n.i * $FUN_4 = line3.line.terminal_n.v - line3.line.Vc ($RES_SIM_634) (287) [SCAL] (1) pv5.HDifTil.briCoe.F11 = (1.0601591 * pv5.HDifTil.briCoe.a7 + 1.1326077 * pv5.HDifTil.briCoe.a6 + 0.873028 * pv5.HDifTil.briCoe.a5 + 0.5682053 * pv5.HDifTil.briCoe.a4 + 0.3296958 * pv5.HDifTil.briCoe.a3 + 0.1299457 * pv5.HDifTil.briCoe.a2 + 0.677747 * pv5.HDifTil.briCoe.a8) - 0.0083117 * pv5.HDifTil.briCoe.a1 ($RES_SIM_276) (288) [ARRY] (2) (0.5 * line3.line.L) * line3.line.omega * {-line3.line.terminal_p.i[2], line3.line.terminal_p.i[1]} + line3.line.terminal_p.i * $FUN_4 = line3.line.terminal_p.v - line3.line.Vc ($RES_SIM_635) (289) [SCAL] (1) pv2.HDifTil.briCoe.a8 = smooth(1, if $SEV_180 then 1.0 else if $SEV_181 then 0.0 else 0.5 - 0.25 * ((-3.0) + (((-6.2) + pv2.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * ((-6.2) + pv2.HDifTil.skyCle.skyCle))) ($RES_SIM_456) (290) [ARRY] (2) line3.line.terminal_p.i + line3.line.terminal_n.i = line3.line.Ic ($RES_SIM_636) (291) [SCAL] (1) pv2.HDifTil.briCoe.b7 = smooth(1, if $SEV_182 then 1.0 else if $SEV_183 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((6.2 - pv2.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (6.2 - pv2.HDifTil.skyCle.skyCle))) ($RES_SIM_457) (292) [SCAL] (1) pv5.HDifTil.briCoe.a7 = pv5.HDifTil.briCoe.b7 - pv5.HDifTil.briCoe.b6 ($RES_SIM_278) (293) [SCAL] (1) line3.line.omega = $DER.line3.line.theRef ($RES_SIM_637) (294) [SCAL] (1) pv2.HDifTil.briCoe.b6 = smooth(1, if $SEV_184 then 1.0 else if $SEV_185 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((4.5 - pv2.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (4.5 - pv2.HDifTil.skyCle.skyCle))) ($RES_SIM_458) (295) [SCAL] (1) pv5.HDifTil.briCoe.a6 = pv5.HDifTil.briCoe.b6 - pv5.HDifTil.briCoe.b5 ($RES_SIM_279) (296) [SCAL] (1) line3.line.theRef = line3.line.terminal_p.theta[1] ($RES_SIM_638) (297) [SCAL] (1) pv2.HDifTil.briCoe.b5 = smooth(1, if $SEV_186 then 1.0 else if $SEV_187 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((2.8 - pv2.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (2.8 - pv2.HDifTil.skyCle.skyCle))) ($RES_SIM_459) (298) [SCAL] (1) $SEV_84 = 1.95 - pv6.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2899) (299) [SCAL] (1) $SEV_83 = 2.8 - pv6.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2898) (300) [SCAL] (1) $SEV_82 = 2.8 - pv6.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2897) (301) [SCAL] (1) $SEV_81 = 4.5 - pv6.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2896) (302) [SCAL] (1) pv5.HDifTil.briCoe.a5 = pv5.HDifTil.briCoe.b5 - pv5.HDifTil.briCoe.b4 ($RES_SIM_280) (303) [SCAL] (1) $SEV_80 = 4.5 - pv6.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2895) (304) [SCAL] (1) pv2.HDifTil.briCoe.b4 = smooth(1, if $SEV_188 then 1.0 else if $SEV_189 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.95 - pv2.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.95 - pv2.HDifTil.skyCle.skyCle))) ($RES_SIM_460) (305) [SCAL] (1) pv5.HDifTil.briCoe.a4 = pv5.HDifTil.briCoe.b4 - pv5.HDifTil.briCoe.b3 ($RES_SIM_281) (306) [SCAL] (1) $SEV_79 = 6.2 - pv6.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2894) (307) [SCAL] (1) pv2.HDifTil.briCoe.b3 = smooth(1, if $SEV_190 then 1.0 else if $SEV_191 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.5 - pv2.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.5 - pv2.HDifTil.skyCle.skyCle))) ($RES_SIM_461) (308) [SCAL] (1) pv5.HDifTil.briCoe.a3 = pv5.HDifTil.briCoe.b3 - pv5.HDifTil.briCoe.b2 ($RES_SIM_282) (309) [SCAL] (1) $SEV_78 = 6.2 - pv6.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2893) (310) [SCAL] (1) pv2.HDifTil.briCoe.b2 = smooth(1, if $SEV_192 then 1.0 else if $SEV_193 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.23 - pv2.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.23 - pv2.HDifTil.skyCle.skyCle))) ($RES_SIM_462) (311) [SCAL] (1) pv5.HDifTil.briCoe.a2 = pv5.HDifTil.briCoe.b2 - pv5.HDifTil.briCoe.a1 ($RES_SIM_283) (312) [SCAL] (1) $SEV_77 = (-6.2) + pv6.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2892) (313) [SCAL] (1) line2.line.R_actual = ((line2.line.M + ((-273.15) + line2.TCable)) * line2.line.R) / (line2.line.M + ((-273.15) + line2.line.T_ref)) ($RES_SIM_642) (314) [SCAL] (1) pv2.HDifTil.briCoe.a1 = smooth(1, if $SEV_194 then 1.0 else if $SEV_195 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.065 - pv2.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.065 - pv2.HDifTil.skyCle.skyCle))) ($RES_SIM_463) (315) [SCAL] (1) $SEV_76 = (-6.2) + pv6.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2891) (316) [SCAL] (1) pv5.HDifTil.briCoe.a8 = smooth(1, if $SEV_102 then 1.0 else if $SEV_103 then 0.0 else 0.5 - 0.25 * ((-3.0) + (((-6.2) + pv5.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * ((-6.2) + pv5.HDifTil.skyCle.skyCle))) ($RES_SIM_285) (317) [SCAL] (1) $SEV_75 = -(pv6.HDifTil.briCoe.F12 * pv6.HDifTil.skyBri.skyBri + pv6.HDifTil.briCoe.F11 + pv6.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) < (-0.01) ($RES_EVT_2890) (318) [ARRY] (1) line2.line.terminal_p.theta = line2.line.terminal_n.theta ($RES_SIM_644) (319) [SCAL] (1) pv2.HDifTil.skyCle.HDifHorBou = smooth(1, if $SEV_64 then pv1.HDifTil.skyCle.HDifHor else if $SEV_65 then 5e-5 else 0.25 * (5e-5 - pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + (((-5e-5) + pv1.HDifTil.skyCle.HDifHor) / 2.5e-5) ^ 2.0) * (4e4 * ((-5e-5) + pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (5e-5 + pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_465) (320) [SCAL] (1) pv5.HDifTil.briCoe.b7 = smooth(1, if $SEV_104 then 1.0 else if $SEV_105 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((6.2 - pv5.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (6.2 - pv5.HDifTil.skyCle.skyCle))) ($RES_SIM_286) (321) [SCAL] (1) line2.line.LossPower = (0.5 * line2.line.R_actual) * (line2.line.terminal_p.i[1] ^ 2.0 + line2.line.terminal_p.i[2] ^ 2.0) + (0.5 * line2.line.R_actual) * (line2.line.terminal_n.i[1] ^ 2.0 + line2.line.terminal_n.i[2] ^ 2.0) ($RES_SIM_645) (322) [SCAL] (1) pv2.HDifTil.skyCle.tmp1 = 1.040895310738997 * pv1.HDifTil.skyCle.zen ^ 3.0 ($RES_SIM_466) (323) [SCAL] (1) pv5.HDifTil.briCoe.b6 = smooth(1, if $SEV_106 then 1.0 else if $SEV_107 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((4.5 - pv5.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (4.5 - pv5.HDifTil.skyCle.skyCle))) ($RES_SIM_287) (324) [ARRY] (2) line2.line.Vc = 0.5 .* (line2.line.terminal_p.v + line2.line.terminal_n.v) ($RES_SIM_646) (325) [SCAL] (1) pv2.HDifTil.HDifTil.HGroDifTil = 0.06698729810778098 * pv2.HDifTil.HDifTil.rho * pv1.HDifTil.skyCle.HGloHor ($RES_SIM_467) (326) [SCAL] (1) pv5.HDifTil.briCoe.b5 = smooth(1, if $SEV_108 then 1.0 else if $SEV_109 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((2.8 - pv5.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (2.8 - pv5.HDifTil.skyCle.skyCle))) ($RES_SIM_288) (327) [ARRY] (2) (0.5 * line2.line.L) * line2.line.omega * {-line2.line.terminal_n.i[2], line2.line.terminal_n.i[1]} + line2.line.terminal_n.i * $FUN_3 = line2.line.terminal_n.v - line2.line.Vc ($RES_SIM_647) (328) [SCAL] (1) pv2.HDifTil.HDifTil.HSkyDifTil = pv1.HDifTil.skyCle.HDifHor * ((pv2.HDifTil.HDifTil.a * pv2.HDifTil.briCoe.F1) / pv2.HDifTil.HDifTil.b + 0.933012701892219 * (1.0 - pv2.HDifTil.briCoe.F1) + 0.500000000000001 * pv2.HDifTil.briCoe.F2) ($RES_SIM_468) (329) [SCAL] (1) pv5.HDifTil.briCoe.b4 = smooth(1, if $SEV_110 then 1.0 else if $SEV_111 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.95 - pv5.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.95 - pv5.HDifTil.skyCle.skyCle))) ($RES_SIM_289) (330) [ARRY] (2) (0.5 * line2.line.L) * line2.line.omega * {-line2.line.terminal_p.i[2], line2.line.terminal_p.i[1]} + line2.line.terminal_p.i * $FUN_3 = line2.line.terminal_p.v - line2.line.Vc ($RES_SIM_648) (331) [SCAL] (1) pv2.HDifTil.HDifTil.b = smooth(1, if $SEV_196 then 0.08715574274765814 else if $SEV_197 then $FUN_21 else 0.25 * ((-0.08715574274765814) + $FUN_21) * ((-3.0) + ((0.08715574274765814 - $FUN_21) / 0.01) ^ 2.0) * (100.0 * (0.08715574274765814 - $FUN_21)) + 0.5 * (0.08715574274765814 + $FUN_21)) ($RES_SIM_469) (332) [ARRY] (2) line2.line.terminal_p.i + line2.line.terminal_n.i = line2.line.Ic ($RES_SIM_649) (333) [SCAL] (1) $SEV_74 = -(pv6.HDifTil.briCoe.F12 * pv6.HDifTil.skyBri.skyBri + pv6.HDifTil.briCoe.F11 + pv6.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) > 0.01 ($RES_EVT_2889) (334) [SCAL] (1) $SEV_73 = 1.0 - 7.31528895391368e-4 * pv6.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor < (-0.025) ($RES_EVT_2888) (335) [SCAL] (1) $SEV_72 = 1.0 - 7.31528895391368e-4 * pv6.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor > 0.025 ($RES_EVT_2887) (336) [SCAL] (1) pv5.HDifTil.briCoe.b3 = smooth(1, if $SEV_112 then 1.0 else if $SEV_113 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.5 - pv5.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.5 - pv5.HDifTil.skyCle.skyCle))) ($RES_SIM_290) (337) [SCAL] (1) pv2.HDifTil.HDifTil.a = smooth(1, if $SEV_198 then 0.0 else if $SEV_199 then $FUN_20 else 0.5 * $FUN_20 - 0.25 * $FUN_20 * ((-3.0) + ($FUN_20 / (-0.01)) ^ 2.0) * (100.0 * $FUN_20)) ($RES_SIM_470) (338) [SCAL] (1) pv5.HDifTil.briCoe.b2 = smooth(1, if $SEV_114 then 1.0 else if $SEV_115 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.23 - pv5.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.23 - pv5.HDifTil.skyCle.skyCle))) ($RES_SIM_291) (339) [SCAL] (1) $SEV_69 = (-$FUN_75) < (-0.01) ($RES_EVT_2884) (340) [SCAL] (1) line2.line.omega = $DER.line2.line.theRef ($RES_SIM_650) (341) [SCAL] (1) pv2.G.u1 = pv2.HDifTil.add.k1 * pv2.HDifTil.HDifTil.HSkyDifTil + pv2.HDifTil.add.k2 * pv2.HDifTil.HDifTil.HGroDifTil ($RES_SIM_471) (342) [SCAL] (1) pv5.HDifTil.briCoe.a1 = smooth(1, if $SEV_116 then 1.0 else if $SEV_117 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.065 - pv5.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.065 - pv5.HDifTil.skyCle.skyCle))) ($RES_SIM_292) (343) [SCAL] (1) $SEV_68 = (-$FUN_75) > 0.01 ($RES_EVT_2883) (344) [SCAL] (1) line2.line.theRef = line2.line.terminal_p.theta[1] ($RES_SIM_651) (345) [SCAL] (1) $SEV_67 = 0.08715574274765814 - $FUN_76 < (-0.01) ($RES_EVT_2882) (346) [SCAL] (1) pv2.panel.load.P = pv2.panel.gain_DCAC.k * pv2.panel.gain_DCAC.u ($RES_SIM_473) (347) [SCAL] (1) pv5.HDifTil.skyCle.HDifHorBou = smooth(1, if $SEV_64 then pv1.HDifTil.skyCle.HDifHor else if $SEV_65 then 5e-5 else 0.25 * (5e-5 - pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + (((-5e-5) + pv1.HDifTil.skyCle.HDifHor) / 2.5e-5) ^ 2.0) * (4e4 * ((-5e-5) + pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (5e-5 + pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_294) (348) [SCAL] (1) $SEV_66 = 0.08715574274765814 - $FUN_76 > 0.01 ($RES_EVT_2881) (349) [SCAL] (1) pv5.HDifTil.skyCle.tmp1 = 1.040895310738997 * pv1.HDifTil.skyCle.zen ^ 3.0 ($RES_SIM_295) (350) [SCAL] (1) $SEV_65 = (-5e-5) + pv1.HDifTil.skyCle.HDifHor < (-2.5e-5) ($RES_EVT_2880) (351) [SCAL] (1) pv5.HDifTil.HDifTil.HGroDifTil = 0.09042397785550543 * pv5.HDifTil.HDifTil.rho * pv1.HDifTil.skyCle.HGloHor ($RES_SIM_296) (352) [SCAL] (1) line1.line.R_actual = ((line1.line.M + ((-273.15) + line1.TCable)) * line1.line.R) / (line1.line.M + ((-273.15) + line1.line.T_ref)) ($RES_SIM_655) (353) [SCAL] (1) pv5.HDifTil.HDifTil.HSkyDifTil = pv1.HDifTil.skyCle.HDifHor * ((pv5.HDifTil.HDifTil.a * pv5.HDifTil.briCoe.F1) / pv5.HDifTil.HDifTil.b + 0.9095760221444946 * (1.0 - pv5.HDifTil.briCoe.F1) + 0.5735764363510498 * pv5.HDifTil.briCoe.F2) ($RES_SIM_297) (354) [ARRY] (1) pv1.terminal.theta = pv1.panel.terminal.theta ($RES_SIM_2048) (355) [SCAL] (1) pv5.HDifTil.HDifTil.b = smooth(1, if $SEV_118 then 0.08715574274765814 else if $SEV_119 then $FUN_54 else 0.25 * ((-0.08715574274765814) + $FUN_54) * ((-3.0) + ((0.08715574274765814 - $FUN_54) / 0.01) ^ 2.0) * (100.0 * (0.08715574274765814 - $FUN_54)) + 0.5 * (0.08715574274765814 + $FUN_54)) ($RES_SIM_298) (356) [ARRY] (2) pv1.terminal.v = pv1.panel.terminal.v ($RES_SIM_2047) (357) [ARRY] (1) line1.line.terminal_p.theta = line1.line.terminal_n.theta ($RES_SIM_657) (358) [SCAL] (1) pv5.HDifTil.HDifTil.a = smooth(1, if $SEV_120 then 0.0 else if $SEV_121 then $FUN_53 else 0.5 * $FUN_53 - 0.25 * $FUN_53 * ((-3.0) + ($FUN_53 / (-0.01)) ^ 2.0) * (100.0 * $FUN_53)) ($RES_SIM_299) (359) [SCAL] (1) line1.line.LossPower = (0.5 * line1.line.R_actual) * (line1.line.terminal_p.i[1] ^ 2.0 + line1.line.terminal_p.i[2] ^ 2.0) + (0.5 * line1.line.R_actual) * (line1.line.terminal_n.i[1] ^ 2.0 + line1.line.terminal_n.i[2] ^ 2.0) ($RES_SIM_658) (360) [FOR-] (2) ($RES_SIM_2045) (360) [----] for $i1 in 1:2 loop (360) [----] [SCAL] (1) pv1.panel.terminal.i[$i1] - pv1.terminal.i[$i1] = 0.0 ($RES_SIM_2046) (360) [----] end for; (361) [ARRY] (2) line1.line.Vc = 0.5 .* (line1.line.terminal_p.v + line1.line.terminal_n.v) ($RES_SIM_659) (362) [ARRY] (2) loa6.v = loa6.terminal.v ($RES_BND_2199) (363) [SCAL] (1) loa5.Q = loa5.P * $FUN_177 ($RES_BND_2198) (364) [ARRY] (2) loa5.S = {loa5.v[1] * (-loa5.i)[1] + loa5.v[2] * (-loa5.i)[2], loa5.v[2] * (-loa5.i)[1] - loa5.v[1] * (-loa5.i)[2]} ($RES_BND_2197) (365) [ARRY] (1) pv2.panel.load.terminal.theta = pv2.panel.terminal.theta ($RES_SIM_2040) (366) [ARRY] (2) loa5.i = loa5.terminal.i ($RES_BND_2196) (367) [ARRY] (2) loa5.v = loa5.terminal.v ($RES_BND_2195) (368) [SCAL] (1) line5.VoltageLosses = $FUN_178 / smooth(1, if $SEV_255 then line5.terminal_p.v / (line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) else if $SEV_256 then line5.terminal_n.v / (line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) else 0.25 * (line5.terminal_n.v / (line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) - line5.terminal_p.v / (line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25)) * ((-3.0) + (line5.terminal_p.v / ((line5.terminal_p.v * line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line5.terminal_p.v) - line5.terminal_n.v / ((line5.terminal_n.v * line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line5.terminal_n.v)) ^ 2.0) * (line5.terminal_p.v / (line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line5.terminal_n.v / (line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25)) + 0.5 * (line5.terminal_p.v / (line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) + line5.terminal_n.v / (line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25))) ($RES_BND_2192) (369) [SCAL] (1) $SEV_64 = (-5e-5) + pv1.HDifTil.skyCle.HDifHor > 2.5e-5 ($RES_EVT_2879) (370) [SCAL] (1) $SEV_63 = 1.065 - pv7.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2878) (371) [SCAL] (1) $SEV_62 = 1.065 - pv7.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2877) (372) [SCAL] (1) $SEV_61 = 1.23 - pv7.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2876) (373) [SCAL] (1) $SEV_60 = 1.23 - pv7.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2875) (374) [SCAL] (1) $SEV_59 = 1.5 - pv7.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2874) (375) [ARRY] (2) (0.5 * line1.line.L) * line1.line.omega * {-line1.line.terminal_n.i[2], line1.line.terminal_n.i[1]} + line1.line.terminal_n.i * $FUN_2 = line1.line.terminal_n.v - line1.line.Vc ($RES_SIM_660) (376) [SCAL] (1) pv2.panel.load.i[2] = -homotopy((pv2.panel.load.v[2] * pv2.panel.load.P - pv2.panel.load.v[1] * pv2.panel.load.Q) / (pv2.panel.load.v[1] ^ 2.0 + pv2.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_481) (377) [SCAL] (1) $SEV_58 = 1.5 - pv7.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2873) (378) [ARRY] (2) (0.5 * line1.line.L) * line1.line.omega * {-line1.line.terminal_p.i[2], line1.line.terminal_p.i[1]} + line1.line.terminal_p.i * $FUN_2 = line1.line.terminal_p.v - line1.line.Vc ($RES_SIM_661) (379) [SCAL] (1) pv2.panel.load.i[1] = -homotopy((pv2.panel.load.v[2] * pv2.panel.load.Q + pv2.panel.load.v[1] * pv2.panel.load.P) / (pv2.panel.load.v[1] ^ 2.0 + pv2.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_482) (380) [SCAL] (1) $SEV_57 = 1.95 - pv7.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2872) (381) [ARRY] (2) line1.line.terminal_p.i + line1.line.terminal_n.i = line1.line.Ic ($RES_SIM_662) (382) [SCAL] (1) pv2.panel.load.omega = $DER.pv2.panel.load.theRef ($RES_SIM_483) (383) [SCAL] (1) $SEV_56 = 1.95 - pv7.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2871) (384) [SCAL] (1) line1.line.omega = $DER.line1.line.theRef ($RES_SIM_663) (385) [SCAL] (1) pv2.panel.load.theRef = pv2.panel.load.terminal.theta[1] ($RES_SIM_484) (386) [SCAL] (1) $SEV_55 = 2.8 - pv7.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2870) (387) [SCAL] (1) line1.line.theRef = line1.line.terminal_p.theta[1] ($RES_SIM_664) (388) [SCAL] (1) pv1.G.y = pv1.G.k1 * pv1.G.u1 + pv1.G.k2 * pv1.G.u2 ($RES_SIM_485) (389) [ARRY] (2) pv2.panel.load.terminal.v = pv2.panel.terminal.v ($RES_SIM_2039) (390) [SCAL] (1) pv1.G.u2 = max(0.0, $FUN_19 * pv1.HDifTil.weaBus.HDirNor) ($RES_SIM_486) (391) [SCAL] (1) loa4.P = loa4.P_nominal * loa4.load ($RES_SIM_666) (392) [FOR-] (2) ($RES_SIM_2037) (392) [----] for $i1 in 1:2 loop (392) [----] [SCAL] (1) pv2.panel.load.terminal.i[$i1] - pv2.panel.terminal.i[$i1] = 0.0 ($RES_SIM_2038) (392) [----] end for; (393) [SCAL] (1) pv3.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2399) (394) [SCAL] (1) pv3.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2398) (395) [SCAL] (1) pv3.HDifTil.incAng.incAng.dec_s = sin(pv3.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2397) (396) [SCAL] (1) pv3.HDifTil.incAng.incAng.dec_c = cos(pv3.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2396) (397) [SCAL] (1) line4.VoltageLosses = $FUN_179 / smooth(1, if $SEV_257 then line4.terminal_p.v / (line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) else if $SEV_258 then line4.terminal_n.v / (line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) else 0.25 * (line4.terminal_n.v / (line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) - line4.terminal_p.v / (line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25)) * ((-3.0) + (line4.terminal_p.v / ((line4.terminal_p.v * line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line4.terminal_p.v) - line4.terminal_n.v / ((line4.terminal_n.v * line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line4.terminal_n.v)) ^ 2.0) * (line4.terminal_p.v / (line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line4.terminal_n.v / (line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25)) + 0.5 * (line4.terminal_p.v / (line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) + line4.terminal_n.v / (line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25))) ($RES_BND_2188) (398) [SCAL] (1) $FUN_148 = acos(pv3.panel.load.pf) ($RES_$AUX_2395) (399) [SCAL] (1) $FUN_149 = tan(-$FUN_148) ($RES_$AUX_2394) (400) [SCAL] (1) pv2.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2393) (401) [SCAL] (1) pv2.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2392) (402) [SCAL] (1) line3.VoltageLosses = $FUN_180 / smooth(1, if $SEV_259 then line3.terminal_p.v / (line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) else if $SEV_260 then line3.terminal_n.v / (line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) else 0.25 * (line3.terminal_n.v / (line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) - line3.terminal_p.v / (line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25)) * ((-3.0) + (line3.terminal_p.v / ((line3.terminal_p.v * line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line3.terminal_p.v) - line3.terminal_n.v / ((line3.terminal_n.v * line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line3.terminal_n.v)) ^ 2.0) * (line3.terminal_p.v / (line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line3.terminal_n.v / (line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25)) + 0.5 * (line3.terminal_p.v / (line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) + line3.terminal_n.v / (line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25))) ($RES_BND_2184) (403) [SCAL] (1) pv2.HDirTil.incAng.incAng.dec_s = sin(pv2.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2391) (404) [SCAL] (1) pv2.HDirTil.incAng.incAng.dec_c = cos(pv2.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2390) (405) [SCAL] (1) line2.VoltageLosses = $FUN_181 / smooth(1, if $SEV_261 then line2.terminal_p.v / (line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) else if $SEV_262 then line2.terminal_n.v / (line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) else 0.25 * (line2.terminal_n.v / (line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) - line2.terminal_p.v / (line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25)) * ((-3.0) + (line2.terminal_p.v / ((line2.terminal_p.v * line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line2.terminal_p.v) - line2.terminal_n.v / ((line2.terminal_n.v * line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line2.terminal_n.v)) ^ 2.0) * (line2.terminal_p.v / (line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line2.terminal_n.v / (line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25)) + 0.5 * (line2.terminal_p.v / (line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) + line2.terminal_n.v / (line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25))) ($RES_BND_2180) (406) [SCAL] (1) $SEV_54 = 2.8 - pv7.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2869) (407) [SCAL] (1) $SEV_53 = 4.5 - pv7.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2868) (408) [SCAL] (1) $SEV_52 = 4.5 - pv7.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2867) (409) [SCAL] (1) $SEV_51 = 6.2 - pv7.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2866) (410) [SCAL] (1) $SEV_50 = 6.2 - pv7.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2865) (411) [SCAL] (1) $SEV_49 = (-6.2) + pv7.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2864) (412) [SCAL] (1) $SEV_48 = (-6.2) + pv7.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2863) (413) [SCAL] (1) $SEV_47 = -(pv7.HDifTil.briCoe.F12 * pv7.HDifTil.skyBri.skyBri + pv7.HDifTil.briCoe.F11 + pv7.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) < (-0.01) ($RES_EVT_2862) (414) [SCAL] (1) pv1.HDifTil.skyBri.skyBri = smooth(1, if $SEV_202 then 7.31528895391368e-4 * pv1.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor else if $SEV_203 then 1.0 else 0.25 * (1.0 - 7.31528895391368e-4 * pv1.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + ((1.0 - 7.31528895391368e-4 * pv1.HDifTil.skyCle.HDifHor * pv1.HDifTil.relAirMas.relAirMas) / 0.025) ^ 2.0) * (40.0 * (1.0 - 7.31528895391368e-4 * pv1.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (1.0 + 7.31528895391368e-4 * pv1.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_493) (415) [SCAL] (1) $SEV_46 = -(pv7.HDifTil.briCoe.F12 * pv7.HDifTil.skyBri.skyBri + pv7.HDifTil.briCoe.F11 + pv7.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) > 0.01 ($RES_EVT_2861) (416) [SCAL] (1) loa4.i[2] = -homotopy((loa4.v[2] * loa4.P - loa4.v[1] * loa4.Q) / (loa4.v[1] ^ 2.0 + loa4.v[2] ^ 2.0), 0.0) ($RES_SIM_673) (417) [SCAL] (1) pv1.HDifTil.relAirMas.relAirMas = 1/($FUN_12 + 0.15 * (93.9 - pv1.HDifTil.relAirMas.zenDeg) ^ (-1.253)) ($RES_SIM_494) (418) [SCAL] (1) $SEV_45 = 1.5707963267948966 - pv1.HDifTil.skyCle.zen < (-0.01) ($RES_EVT_2860) (419) [SCAL] (1) loa4.i[1] = -homotopy((loa4.v[2] * loa4.Q + loa4.v[1] * loa4.P) / (loa4.v[1] ^ 2.0 + loa4.v[2] ^ 2.0), 0.0) ($RES_SIM_674) (420) [SCAL] (1) loa4.omega = $DER.loa4.theRef ($RES_SIM_675) (421) [SCAL] (1) 0.017453292519943295 * pv1.HDifTil.relAirMas.zenDeg = smooth(1, if $SEV_44 then pv1.HDifTil.skyCle.zen else if $SEV_45 then 1.5707963267948966 else 0.25 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen) * ((-3.0) + ((1.5707963267948966 - pv1.HDifTil.skyCle.zen) / 0.01) ^ 2.0) * (100.0 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen)) + 0.5 * (1.5707963267948966 + pv1.HDifTil.skyCle.zen)) ($RES_SIM_496) (422) [SCAL] (1) loa4.theRef = loa4.terminal.theta[1] ($RES_SIM_676) (423) [SCAL] (1) pv1.HDifTil.briCoe.F2 = pv1.HDifTil.briCoe.F22 * pv1.HDifTil.skyBri.skyBri + pv1.HDifTil.briCoe.F21 + pv1.HDifTil.briCoe.F23 * pv1.HDifTil.skyCle.zen ($RES_SIM_497) (424) [SCAL] (1) loa3.P = loa3.P_nominal * loa3.load ($RES_SIM_677) (425) [SCAL] (1) pv1.HDifTil.briCoe.F1 = smooth(1, if $SEV_204 then 0.0 else if $SEV_205 then pv1.HDifTil.briCoe.F12 * pv1.HDifTil.skyBri.skyBri + pv1.HDifTil.briCoe.F11 + pv1.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen else 0.25 * (pv1.HDifTil.briCoe.F12 * pv1.HDifTil.skyBri.skyBri + pv1.HDifTil.briCoe.F11 + pv1.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) * ((-3.0) + ((-(pv1.HDifTil.skyCle.zen * pv1.HDifTil.briCoe.F13 + pv1.HDifTil.briCoe.F11 + pv1.HDifTil.skyBri.skyBri * pv1.HDifTil.briCoe.F12)) / 0.01) ^ 2.0) * (100.0 * (-(pv1.HDifTil.briCoe.F12 * pv1.HDifTil.skyBri.skyBri + pv1.HDifTil.briCoe.F11 + pv1.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen))) + 0.5 * (pv1.HDifTil.briCoe.F12 * pv1.HDifTil.skyBri.skyBri + pv1.HDifTil.briCoe.F11 + pv1.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen)) ($RES_SIM_498) (426) [SCAL] (1) pv1.HDifTil.briCoe.F23 = (0.1310694 * pv1.HDifTil.briCoe.a7 + 0.0558651 * pv1.HDifTil.briCoe.a6 + 0.0012448 * pv1.HDifTil.briCoe.a5 + 0.2506212 * pv1.HDifTil.briCoe.a8) - (0.0139754 * pv1.HDifTil.briCoe.a4 + 0.0260542 * pv1.HDifTil.briCoe.a3 + 0.0288748 * pv1.HDifTil.briCoe.a2 + 0.0220216 * pv1.HDifTil.briCoe.a1) ($RES_SIM_499) (427) [SCAL] (1) pv2.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2389) (428) [SCAL] (1) pv2.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2388) (429) [SCAL] (1) pv2.HDifTil.incAng.incAng.dec_s = sin(pv2.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2387) (430) [SCAL] (1) pv2.HDifTil.incAng.incAng.dec_c = cos(pv2.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2386) (431) [SCAL] (1) $FUN_158 = acos(pv2.panel.load.pf) ($RES_$AUX_2385) (432) [SCAL] (1) $FUN_159 = tan(-$FUN_158) ($RES_$AUX_2384) (433) [SCAL] (1) line1.VoltageLosses = $FUN_182 / smooth(1, if $SEV_263 then line1.terminal_p.v / (line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) else if $SEV_264 then line1.terminal_n.v / (line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) else 0.25 * (line1.terminal_n.v / (line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) - line1.terminal_p.v / (line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25)) * ((-3.0) + (line1.terminal_p.v / ((line1.terminal_p.v * line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line1.terminal_p.v) - line1.terminal_n.v / ((line1.terminal_n.v * line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line1.terminal_n.v)) ^ 2.0) * (line1.terminal_p.v / (line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line1.terminal_n.v / (line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25)) + 0.5 * (line1.terminal_p.v / (line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) + line1.terminal_n.v / (line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25))) ($RES_BND_2176) (434) [SCAL] (1) pv1.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2383) (435) [SCAL] (1) pv1.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2382) (436) [SCAL] (1) loa4.Q = loa4.P * $FUN_184 ($RES_BND_2174) (437) [SCAL] (1) pv1.HDirTil.incAng.incAng.dec_s = sin(pv1.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2381) (438) [ARRY] (2) loa4.S = {loa4.v[1] * (-loa4.i)[1] + loa4.v[2] * (-loa4.i)[2], loa4.v[2] * (-loa4.i)[1] - loa4.v[1] * (-loa4.i)[2]} ($RES_BND_2173) (439) [SCAL] (1) ELoa.u = PLoa_nominal * (pow7.y[1] + pow5.y[1] + pow3.y[1] + pow1.y[1] + pow2.y[1] + pow4.y[1] + pow6.y[1]) ($RES_BND_2352) (440) [SCAL] (1) pv1.HDirTil.incAng.incAng.dec_c = cos(pv1.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2380) (441) [ARRY] (2) loa4.i = loa4.terminal.i ($RES_BND_2172) (442) [SCAL] (1) pv1.HDifTil.weaBus.HHorIR = max(0.0, weaDat.limHorInfRad.u) ($RES_BND_2351) (443) [ARRY] (2) loa4.v = loa4.terminal.v ($RES_BND_2171) (444) [SCAL] (1) winTur.vWin = max(0.0, weaDat.limWinSpe.u) ($RES_BND_2350) (445) [SCAL] (1) loa3.Q = loa3.P * $FUN_186 ($RES_BND_2170) (446) [SCAL] (1) $SEV_44 = 1.5707963267948966 - pv1.HDifTil.skyCle.zen > 0.01 ($RES_EVT_2859) (447) [SCAL] (1) $SEV_43 = 1.0 - 7.31528895391368e-4 * pv7.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor < (-0.025) ($RES_EVT_2858) (448) [SCAL] (1) $SEV_42 = 1.0 - 7.31528895391368e-4 * pv7.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor > 0.025 ($RES_EVT_2857) (449) [SCAL] (1) $SEV_39 = line8.line.R_actual >= 0.0 ($RES_EVT_2854) (450) [SCAL] (1) loa3.i[2] = -homotopy((loa3.v[2] * loa3.P - loa3.v[1] * loa3.Q) / (loa3.v[1] ^ 2.0 + loa3.v[2] ^ 2.0), 0.0) ($RES_SIM_684) (451) [SCAL] (1) loa3.i[1] = -homotopy((loa3.v[2] * loa3.Q + loa3.v[1] * loa3.P) / (loa3.v[1] ^ 2.0 + loa3.v[2] ^ 2.0), 0.0) ($RES_SIM_685) (452) [SCAL] (1) loa3.omega = $DER.loa3.theRef ($RES_SIM_686) (453) [SCAL] (1) loa3.theRef = loa3.terminal.theta[1] ($RES_SIM_687) (454) [SCAL] (1) loa2.P = loa2.P_nominal * loa2.load ($RES_SIM_688) (455) [SCAL] (1) pv1.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2379) (456) [ARRY] (1) pv2.terminal.theta = pv2.panel.terminal.theta ($RES_SIM_2014) (457) [SCAL] (1) pv1.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2378) (458) [SCAL] (1) pv1.HDifTil.weaBus.ceiHei = max(0.0, weaDat.limCeiHei.u) ($RES_BND_2349) (459) [ARRY] (2) pv2.terminal.v = pv2.panel.terminal.v ($RES_SIM_2013) (460) [SCAL] (1) pv1.HDifTil.incAng.incAng.dec_s = sin(pv1.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2377) (461) [ARRY] (2) loa3.S = {loa3.v[1] * (-loa3.i)[1] + loa3.v[2] * (-loa3.i)[2], loa3.v[2] * (-loa3.i)[1] - loa3.v[1] * (-loa3.i)[2]} ($RES_BND_2169) (462) [SCAL] (1) pv1.HDifTil.incAng.incAng.dec_c = cos(pv1.HDifTil.incAng.decAng.decAng) ($RES_$AUX_2376) (463) [ARRY] (2) loa3.i = loa3.terminal.i ($RES_BND_2168) (464) [FOR-] (2) ($RES_SIM_2011) (464) [----] for $i1 in 1:2 loop (464) [----] [SCAL] (1) pv2.panel.terminal.i[$i1] - pv2.terminal.i[$i1] = 0.0 ($RES_SIM_2012) (464) [----] end for; (465) [SCAL] (1) $FUN_168 = acos(pv1.panel.load.pf) ($RES_$AUX_2375) (466) [ARRY] (2) loa3.v = loa3.terminal.v ($RES_BND_2167) (467) [SCAL] (1) line8.VoltageLosses = $FUN_97 / smooth(1, if $SEV_249 then line8.terminal_p.v / (line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) else if $SEV_250 then line8.terminal_n.v / (line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) else 0.25 * (line8.terminal_n.v / (line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) - line8.terminal_p.v / (line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25)) * ((-3.0) + (line8.terminal_p.v / ((line8.terminal_p.v * line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line8.terminal_p.v) - line8.terminal_n.v / ((line8.terminal_n.v * line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line8.terminal_n.v)) ^ 2.0) * (line8.terminal_p.v / (line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line8.terminal_n.v / (line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25)) + 0.5 * (line8.terminal_p.v / (line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) + line8.terminal_n.v / (line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25))) ($RES_BND_2346) (468) [SCAL] (1) $FUN_169 = tan(-$FUN_168) ($RES_$AUX_2374) (469) [SCAL] (1) loa2.Q = loa2.P * $FUN_188 ($RES_BND_2166) (470) [SCAL] (1) $FUN_170 = abs(line7.terminal_p.v / ((line7.terminal_p.v * line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line7.terminal_p.v) - line7.terminal_n.v / ((line7.terminal_n.v * line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line7.terminal_n.v)) ($RES_$AUX_2373) (471) [ARRY] (2) loa2.S = {loa2.v[1] * (-loa2.i)[1] + loa2.v[2] * (-loa2.i)[2], loa2.v[2] * (-loa2.i)[1] - loa2.v[1] * (-loa2.i)[2]} ($RES_BND_2165) (472) [SCAL] (1) winTur.load.Q = winTur.load.P * $FUN_99 ($RES_BND_2344) (473) [SCAL] (1) $FUN_171 = abs(line6.terminal_p.v / ((line6.terminal_p.v * line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line6.terminal_p.v) - line6.terminal_n.v / ((line6.terminal_n.v * line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line6.terminal_n.v)) ($RES_$AUX_2372) (474) [ARRY] (2) loa2.i = loa2.terminal.i ($RES_BND_2164) (475) [ARRY] (2) winTur.load.S = {winTur.load.v[1] * (-winTur.load.i)[1] + winTur.load.v[2] * (-winTur.load.i)[2], winTur.load.v[2] * (-winTur.load.i)[1] - winTur.load.v[1] * (-winTur.load.i)[2]} ($RES_BND_2343) (476) [SCAL] (1) $FUN_172 = acos(loa7.pf) ($RES_$AUX_2371) (477) [ARRY] (2) loa2.v = loa2.terminal.v ($RES_BND_2163) (478) [ARRY] (2) winTur.load.i = winTur.load.terminal.i ($RES_BND_2342) (479) [SCAL] (1) $FUN_173 = tan($FUN_172) ($RES_$AUX_2370) (480) [SCAL] (1) loa1.Q = loa1.P * $FUN_190 ($RES_BND_2162) (481) [ARRY] (2) winTur.load.v = winTur.load.terminal.v ($RES_BND_2341) (482) [ARRY] (2) loa1.S = {loa1.v[1] * (-loa1.i)[1] + loa1.v[2] * (-loa1.i)[2], loa1.v[2] * (-loa1.i)[1] - loa1.v[1] * (-loa1.i)[2]} ($RES_BND_2161) (483) [ARRY] (2) loa1.i = loa1.terminal.i ($RES_BND_2160) (484) [SCAL] (1) $SEV_27 = (273.15 + weaDat.conTDewPoi.u) - (273.15 + weaDat.conTDryBul.u) < (-0.1) ($RES_EVT_2842) (485) [SCAL] (1) $SEV_26 = (273.15 + weaDat.conTDewPoi.u) - (273.15 + weaDat.conTDryBul.u) > 0.1 ($RES_EVT_2841) (486) [SCAL] (1) loa2.i[2] = -homotopy((loa2.v[2] * loa2.P - loa2.v[1] * loa2.Q) / (loa2.v[1] ^ 2.0 + loa2.v[2] ^ 2.0), 0.0) ($RES_SIM_695) (487) [SCAL] (1) loa2.i[1] = -homotopy((loa2.v[2] * loa2.Q + loa2.v[1] * loa2.P) / (loa2.v[1] ^ 2.0 + loa2.v[2] ^ 2.0), 0.0) ($RES_SIM_696) (488) [SCAL] (1) loa2.omega = $DER.loa2.theRef ($RES_SIM_697) (489) [ARRY] (1) pv3.panel.load.terminal.theta = pv3.panel.terminal.theta ($RES_SIM_2006) (490) [SCAL] (1) loa2.theRef = loa2.terminal.theta[1] ($RES_SIM_698) (491) [ARRY] (2) pv3.panel.load.terminal.v = pv3.panel.terminal.v ($RES_SIM_2005) (492) [SCAL] (1) loa1.P = loa1.P_nominal * loa1.load ($RES_SIM_699) (493) [SCAL] (1) $FUN_174 = acos(loa6.pf) ($RES_$AUX_2369) (494) [SCAL] (1) $FUN_175 = tan($FUN_174) ($RES_$AUX_2368) (495) [FOR-] (2) ($RES_SIM_2003) (495) [----] for $i1 in 1:2 loop (495) [----] [SCAL] (1) pv3.panel.load.terminal.i[$i1] - pv3.panel.terminal.i[$i1] = 0.0 ($RES_SIM_2004) (495) [----] end for; (496) [SCAL] (1) $FUN_176 = acos(loa5.pf) ($RES_$AUX_2367) (497) [ARRY] (2) loa1.v = loa1.terminal.v ($RES_BND_2159) (498) [SCAL] (1) $FUN_177 = tan($FUN_176) ($RES_$AUX_2366) (499) [SCAL] (1) gri.P.phi = atan2(gri.sou.terminal.v[2], gri.sou.terminal.v[1]) - atan2((-gri.sou.terminal.i)[2], (-gri.sou.terminal.i)[1]) ($RES_BND_2158) (500) [SCAL] (1) $FUN_178 = abs(line5.terminal_p.v / ((line5.terminal_p.v * line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line5.terminal_p.v) - line5.terminal_n.v / ((line5.terminal_n.v * line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line5.terminal_n.v)) ($RES_$AUX_2365) (501) [ARRY] (2) gri.sou.S = {gri.sou.terminal.v[1] * gri.sou.terminal.i[1] + gri.sou.terminal.v[2] * gri.sou.terminal.i[2], gri.sou.terminal.v[2] * gri.sou.terminal.i[1] - gri.sou.terminal.v[1] * gri.sou.terminal.i[2]} ($RES_BND_2157) (502) [SCAL] (1) $FUN_179 = abs(line4.terminal_p.v / ((line4.terminal_p.v * line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line4.terminal_p.v) - line4.terminal_n.v / ((line4.terminal_n.v * line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line4.terminal_n.v)) ($RES_$AUX_2364) (503) [SCAL] (1) $FUN_180 = abs(line3.terminal_p.v / ((line3.terminal_p.v * line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line3.terminal_p.v) - line3.terminal_n.v / ((line3.terminal_n.v * line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line3.terminal_n.v)) ($RES_$AUX_2363) (504) [SCAL] (1) gri.P.cosPhi = cos(gri.P.phi) ($RES_$AUX_2542) (505) [SCAL] (1) $FUN_181 = abs(line2.terminal_p.v / ((line2.terminal_p.v * line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line2.terminal_p.v) - line2.terminal_n.v / ((line2.terminal_n.v * line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line2.terminal_n.v)) ($RES_$AUX_2362) (506) [ARRY] (4) $FUN_2 = diagonal(fill(1.0, 2) .* line1.line.R_actual / 2.0) ($RES_$AUX_2541) (507) [SCAL] (1) $FUN_182 = abs(line1.terminal_p.v / ((line1.terminal_p.v * line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line1.terminal_p.v) - line1.terminal_n.v / ((line1.terminal_n.v * line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line1.terminal_n.v)) ($RES_$AUX_2361) (508) [ARRY] (4) $FUN_3 = diagonal(fill(1.0, 2) .* line2.line.R_actual / 2.0) ($RES_$AUX_2540) (509) [SCAL] (1) $FUN_183 = acos(loa4.pf) ($RES_$AUX_2360) (510) [SCAL] (1) $SEV_24 = weaDat.conTimMin.canRepeatWeatherFile and weaDat.add30Min.y > $PRE.weaDat.conTimMin.tNext ($RES_EVT_2839) (511) [SCAL] (1) $SEV_21 = weaDat.conTim.canRepeatWeatherFile and time > $PRE.weaDat.conTim.tNext ($RES_EVT_2836) (512) [SCAL] (1) $SEV_15 = time >= $PRE.pow1.nextTimeEvent ($RES_EVT_2830) (513) [ARRY] (4) $FUN_4 = diagonal(fill(1.0, 2) .* line3.line.R_actual / 2.0) ($RES_$AUX_2539) (514) [SCAL] (1) $FUN_184 = tan($FUN_183) ($RES_$AUX_2359) (515) [ARRY] (4) $FUN_5 = diagonal(fill(1.0, 2) .* line4.line.R_actual / 2.0) ($RES_$AUX_2538) (516) [SCAL] (1) $FUN_185 = acos(loa3.pf) ($RES_$AUX_2358) (517) [ARRY] (4) $FUN_6 = diagonal(fill(1.0, 2) .* line5.line.R_actual / 2.0) ($RES_$AUX_2537) (518) [SCAL] (1) $FUN_186 = tan($FUN_185) ($RES_$AUX_2357) (519) [ARRY] (4) $FUN_7 = diagonal(fill(1.0, 2) .* line6.line.R_actual / 2.0) ($RES_$AUX_2536) (520) [SCAL] (1) $FUN_187 = acos(loa2.pf) ($RES_$AUX_2356) (521) [ARRY] (4) $FUN_8 = diagonal(fill(1.0, 2) .* line7.line.R_actual / 2.0) ($RES_$AUX_2535) (522) [SCAL] (1) pv7.panel.load.Q = pv7.panel.load.P * $FUN_109 ($RES_BND_2327) (523) [SCAL] (1) $FUN_188 = tan($FUN_187) ($RES_$AUX_2355) (524) [SCAL] (1) $FUN_9 = cos(pv1.HDifTil.HDifTil.incAng) ($RES_$AUX_2534) (525) [ARRY] (2) pv7.panel.load.S = {pv7.panel.load.v[1] * (-pv7.panel.load.i)[1] + pv7.panel.load.v[2] * (-pv7.panel.load.i)[2], pv7.panel.load.v[2] * (-pv7.panel.load.i)[1] - pv7.panel.load.v[1] * (-pv7.panel.load.i)[2]} ($RES_BND_2326) (526) [SCAL] (1) $FUN_189 = acos(loa1.pf) ($RES_$AUX_2354) (527) [SCAL] (1) $FUN_10 = cos(pv1.HDifTil.skyCle.zen) ($RES_$AUX_2533) (528) [ARRY] (2) pv7.panel.load.i = pv7.panel.load.terminal.i ($RES_BND_2325) (529) [SCAL] (1) $FUN_190 = tan($FUN_189) ($RES_$AUX_2353) (530) [SCAL] (1) pv1.HDifTil.skyCle.skyCle = Buildings.Utilities.Math.Functions.smoothLimit((pv1.HDifTil.skyCle.HGloHor / pv1.HDifTil.skyCle.HDifHorBou + pv1.HDifTil.skyCle.tmp1) / (1.0 + pv1.HDifTil.skyCle.tmp1), 1.0, 8.0, 0.01) ($RES_$AUX_2532) (531) [ARRY] (2) pv7.panel.load.v = pv7.panel.load.terminal.v ($RES_BND_2324) (532) [SCAL] (1) $FUN_12 = cos(0.017453292519943295 * pv1.HDifTil.relAirMas.zenDeg) ($RES_$AUX_2531) (533) [SCAL] (1) pv7.panel.gain_DCAC.u = pv7.panel.eta * pv7.panel.A * pv7.panel.fAct * pv7.G.y ($RES_BND_2323) (534) [SCAL] (1) $FUN_13 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2530) (535) [SCAL] (1) $SEV_14 = time >= $PRE.pow2.nextTimeEvent ($RES_EVT_2829) (536) [SCAL] (1) $SEV_13 = time >= $PRE.pow3.nextTimeEvent ($RES_EVT_2828) (537) [SCAL] (1) $SEV_12 = time >= $PRE.pow4.nextTimeEvent ($RES_EVT_2827) (538) [SCAL] (1) $SEV_11 = time >= $PRE.pow5.nextTimeEvent ($RES_EVT_2826) (539) [SCAL] (1) $SEV_10 = time >= $PRE.pow6.nextTimeEvent ($RES_EVT_2825) (540) [SCAL] (1) $SEV_9 = time >= $PRE.pow7.nextTimeEvent ($RES_EVT_2824) (541) [SCAL] (1) pv1.HDifTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_13) ($RES_$AUX_2529) (542) [SCAL] (1) pv1.HDifTil.HDifTil.incAng = acos(0.866025403784438 * (0.7920766142499671 * pv1.HDifTil.incAng.incAng.sol_c * pv1.HDifTil.incAng.incAng.dec_c + 0.6104216879816025 * pv1.HDifTil.incAng.incAng.dec_s) + 0.500000000000001 * (0.6104216879816025 * pv1.HDifTil.incAng.incAng.sol_c * pv1.HDifTil.incAng.incAng.dec_c - 0.7920766142499671 * pv1.HDifTil.incAng.incAng.dec_s)) ($RES_$AUX_2528) (543) [SCAL] (1) $FUN_16 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2527) (544) [SCAL] (1) pv1.HDirTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_16) ($RES_$AUX_2526) (545) [SCAL] (1) pv1.HDirTil.HDirTil.incAng = acos(0.866025403784438 * (0.7920766142499671 * pv1.HDirTil.incAng.incAng.sol_c * pv1.HDirTil.incAng.incAng.dec_c + 0.6104216879816025 * pv1.HDirTil.incAng.incAng.dec_s) + 0.500000000000001 * (0.6104216879816025 * pv1.HDirTil.incAng.incAng.sol_c * pv1.HDirTil.incAng.incAng.dec_c - 0.7920766142499671 * pv1.HDirTil.incAng.incAng.dec_s)) ($RES_$AUX_2525) (546) [SCAL] (1) $FUN_19 = cos(pv1.HDirTil.HDirTil.incAng) ($RES_$AUX_2524) (547) [SCAL] (1) $FUN_20 = cos(pv2.HDifTil.HDifTil.incAng) ($RES_$AUX_2523) (548) [SCAL] (1) $FUN_21 = cos(pv1.HDifTil.skyCle.zen) ($RES_$AUX_2522) (549) [SCAL] (1) pv2.HDifTil.skyCle.skyCle = Buildings.Utilities.Math.Functions.smoothLimit((pv1.HDifTil.skyCle.HGloHor / pv2.HDifTil.skyCle.HDifHorBou + pv2.HDifTil.skyCle.tmp1) / (1.0 + pv2.HDifTil.skyCle.tmp1), 1.0, 8.0, 0.01) ($RES_$AUX_2521) (550) [SCAL] (1) $FUN_23 = cos(0.017453292519943295 * pv2.HDifTil.relAirMas.zenDeg) ($RES_$AUX_2520) (551) [SCAL] (1) $TEV_6 = $PRE.pow1.nextTimeEventScaled ($RES_EVT_2814) (552) [SCAL] (1) $TEV_5 = $PRE.pow2.nextTimeEventScaled ($RES_EVT_2813) (553) [SCAL] (1) $TEV_4 = $PRE.pow3.nextTimeEventScaled ($RES_EVT_2812) (554) [SCAL] (1) $TEV_3 = $PRE.pow4.nextTimeEventScaled ($RES_EVT_2811) (555) [SCAL] (1) $TEV_2 = $PRE.pow5.nextTimeEventScaled ($RES_EVT_2810) (556) [SCAL] (1) $FUN_24 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2519) (557) [SCAL] (1) pv2.HDifTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_24) ($RES_$AUX_2518) (558) [SCAL] (1) pv2.HDifTil.HDifTil.incAng = acos(0.866025403784438 * (0.7920766142499671 * pv2.HDifTil.incAng.incAng.sol_c * pv2.HDifTil.incAng.incAng.dec_c + 0.6104216879816025 * pv2.HDifTil.incAng.incAng.dec_s) + 0.500000000000001 * (6.123233995736766e-17 * (0.6104216879816025 * pv2.HDifTil.incAng.incAng.sol_c * pv2.HDifTil.incAng.incAng.dec_c - 0.7920766142499671 * pv2.HDifTil.incAng.incAng.dec_s) - pv2.HDifTil.incAng.incAng.dec_c * pv2.HDifTil.incAng.incAng.sol_s)) ($RES_$AUX_2517) (559) [SCAL] (1) pv6.panel.load.Q = pv6.panel.load.P * $FUN_119 ($RES_BND_2309) (560) [SCAL] (1) $FUN_27 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2516) (561) [ARRY] (2) pv6.panel.load.S = {pv6.panel.load.v[1] * (-pv6.panel.load.i)[1] + pv6.panel.load.v[2] * (-pv6.panel.load.i)[2], pv6.panel.load.v[2] * (-pv6.panel.load.i)[1] - pv6.panel.load.v[1] * (-pv6.panel.load.i)[2]} ($RES_BND_2308) (562) [SCAL] (1) pv2.HDirTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_27) ($RES_$AUX_2515) (563) [ARRY] (2) pv6.panel.load.i = pv6.panel.load.terminal.i ($RES_BND_2307) (564) [SCAL] (1) pv2.HDirTil.HDirTil.incAng = acos(0.866025403784438 * (0.7920766142499671 * pv2.HDirTil.incAng.incAng.sol_c * pv2.HDirTil.incAng.incAng.dec_c + 0.6104216879816025 * pv2.HDirTil.incAng.incAng.dec_s) + 0.500000000000001 * (6.123233995736766e-17 * (0.6104216879816025 * pv2.HDirTil.incAng.incAng.sol_c * pv2.HDirTil.incAng.incAng.dec_c - 0.7920766142499671 * pv2.HDirTil.incAng.incAng.dec_s) - pv2.HDirTil.incAng.incAng.dec_c * pv2.HDirTil.incAng.incAng.sol_s)) ($RES_$AUX_2514) (565) [ARRY] (2) pv6.panel.load.v = pv6.panel.load.terminal.v ($RES_BND_2306) (566) [SCAL] (1) $SEV_264 = line1.terminal_p.v / (line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line1.terminal_n.v / (line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) < (-1.0) ($RES_EVT_3079) (567) [SCAL] (1) $FUN_30 = cos(pv2.HDirTil.HDirTil.incAng) ($RES_$AUX_2513) (568) [SCAL] (1) pv6.panel.gain_DCAC.u = pv6.panel.eta * pv6.panel.A * pv6.panel.fAct * pv6.G.y ($RES_BND_2305) (569) [SCAL] (1) $SEV_263 = line1.terminal_p.v / (line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v * (line1.terminal_p.v * line1.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line1.terminal_n.v / (line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v * (line1.terminal_n.v * line1.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) > 1.0 ($RES_EVT_3078) (570) [SCAL] (1) $FUN_31 = cos(pv3.HDifTil.HDifTil.incAng) ($RES_$AUX_2512) (571) [SCAL] (1) $SEV_262 = line2.terminal_p.v / (line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line2.terminal_n.v / (line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) < (-1.0) ($RES_EVT_3077) (572) [SCAL] (1) $FUN_32 = cos(pv1.HDifTil.skyCle.zen) ($RES_$AUX_2511) (573) [SCAL] (1) $SEV_261 = line2.terminal_p.v / (line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v * (line2.terminal_p.v * line2.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line2.terminal_n.v / (line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v * (line2.terminal_n.v * line2.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) > 1.0 ($RES_EVT_3076) (574) [SCAL] (1) pv3.HDifTil.skyCle.skyCle = Buildings.Utilities.Math.Functions.smoothLimit((pv1.HDifTil.skyCle.HGloHor / pv3.HDifTil.skyCle.HDifHorBou + pv3.HDifTil.skyCle.tmp1) / (1.0 + pv3.HDifTil.skyCle.tmp1), 1.0, 8.0, 0.01) ($RES_$AUX_2510) (575) [SCAL] (1) $SEV_260 = line3.terminal_p.v / (line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line3.terminal_n.v / (line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) < (-1.0) ($RES_EVT_3075) (576) [SCAL] (1) $SEV_259 = line3.terminal_p.v / (line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v * (line3.terminal_p.v * line3.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line3.terminal_n.v / (line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v * (line3.terminal_n.v * line3.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) > 1.0 ($RES_EVT_3074) (577) [SCAL] (1) $SEV_258 = line4.terminal_p.v / (line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line4.terminal_n.v / (line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) < (-1.0) ($RES_EVT_3073) (578) [SCAL] (1) $SEV_257 = line4.terminal_p.v / (line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v * (line4.terminal_p.v * line4.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line4.terminal_n.v / (line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v * (line4.terminal_n.v * line4.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) > 1.0 ($RES_EVT_3072) (579) [SCAL] (1) $SEV_256 = line5.terminal_p.v / (line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line5.terminal_n.v / (line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) < (-1.0) ($RES_EVT_3071) (580) [SCAL] (1) $SEV_255 = line5.terminal_p.v / (line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v * (line5.terminal_p.v * line5.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line5.terminal_n.v / (line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v * (line5.terminal_n.v * line5.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) > 1.0 ($RES_EVT_3070) (581) [SCAL] (1) $TEV_1 = $PRE.pow6.nextTimeEventScaled ($RES_EVT_2809) (582) [SCAL] (1) $TEV_0 = $PRE.pow7.nextTimeEventScaled ($RES_EVT_2808) (583) [SCAL] (1) $FUN_34 = cos(0.017453292519943295 * pv3.HDifTil.relAirMas.zenDeg) ($RES_$AUX_2509) (584) [SCAL] (1) $FUN_35 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2508) (585) [SCAL] (1) pv3.HDifTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_35) ($RES_$AUX_2507) (586) [SCAL] (1) pv3.HDifTil.HDifTil.incAng = acos(0.939692620785907 * (0.7920766142499671 * pv3.HDifTil.incAng.incAng.sol_c * pv3.HDifTil.incAng.incAng.dec_c + 0.6104216879816025 * pv3.HDifTil.incAng.incAng.dec_s) + 0.3420201433256726 * (pv3.HDifTil.incAng.incAng.dec_c * pv3.HDifTil.incAng.incAng.sol_s + 6.123233995736766e-17 * (0.6104216879816025 * pv3.HDifTil.incAng.incAng.sol_c * pv3.HDifTil.incAng.incAng.dec_c - 0.7920766142499671 * pv3.HDifTil.incAng.incAng.dec_s))) ($RES_$AUX_2506) (587) [SCAL] (1) $FUN_38 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2505) (588) [SCAL] (1) pv3.HDirTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_38) ($RES_$AUX_2504) (589) [SCAL] (1) $SEV_254 = line6.terminal_p.v / (line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line6.terminal_n.v / (line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) < (-1.0) ($RES_EVT_3069) (590) [SCAL] (1) pv3.HDirTil.HDirTil.incAng = acos(0.939692620785907 * (0.7920766142499671 * pv3.HDirTil.incAng.incAng.sol_c * pv3.HDirTil.incAng.incAng.dec_c + 0.6104216879816025 * pv3.HDirTil.incAng.incAng.dec_s) + 0.3420201433256726 * (pv3.HDirTil.incAng.incAng.dec_c * pv3.HDirTil.incAng.incAng.sol_s + 6.123233995736766e-17 * (0.6104216879816025 * pv3.HDirTil.incAng.incAng.sol_c * pv3.HDirTil.incAng.incAng.dec_c - 0.7920766142499671 * pv3.HDirTil.incAng.incAng.dec_s))) ($RES_$AUX_2503) (591) [SCAL] (1) $SEV_253 = line6.terminal_p.v / (line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v * (line6.terminal_p.v * line6.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line6.terminal_n.v / (line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v * (line6.terminal_n.v * line6.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) > 1.0 ($RES_EVT_3068) (592) [SCAL] (1) $FUN_41 = cos(pv3.HDirTil.HDirTil.incAng) ($RES_$AUX_2502) (593) [SCAL] (1) $SEV_252 = line7.terminal_p.v / (line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line7.terminal_n.v / (line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) < (-1.0) ($RES_EVT_3067) (594) [SCAL] (1) $FUN_42 = cos(pv4.HDifTil.HDifTil.incAng) ($RES_$AUX_2501) (595) [SCAL] (1) $SEV_251 = line7.terminal_p.v / (line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v * (line7.terminal_p.v * line7.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line7.terminal_n.v / (line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v * (line7.terminal_n.v * line7.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) > 1.0 ($RES_EVT_3066) (596) [SCAL] (1) $FUN_43 = cos(pv1.HDifTil.skyCle.zen) ($RES_$AUX_2500) (597) [SCAL] (1) $SEV_250 = line8.terminal_p.v / (line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line8.terminal_n.v / (line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) < (-1.0) ($RES_EVT_3065) (598) [SCAL] (1) $SEV_249 = line8.terminal_p.v / (line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25) - line8.terminal_n.v / (line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25) > 1.0 ($RES_EVT_3064) (599) [SCAL] (1) $SEV_244 = line1.line.R_actual >= 0.0 ($RES_EVT_3059) (600) [SCAL] (1) $SEV_242 = line2.line.R_actual >= 0.0 ($RES_EVT_3057) (601) [SCAL] (1) $SEV_240 = line3.line.R_actual >= 0.0 ($RES_EVT_3055) (602) [SCAL] (1) $SEV_238 = line4.line.R_actual >= 0.0 ($RES_EVT_3053) (603) [SCAL] (1) $SEV_236 = line5.line.R_actual >= 0.0 ($RES_EVT_3051) (604) [SCAL] (1) $SEV_231 = line6.line.R_actual >= 0.0 ($RES_EVT_3046) (605) [SCAL] (1) $SEV_229 = line7.line.R_actual >= 0.0 ($RES_EVT_3044) (606) [SCAL] (1) $SEV_225 = (-$FUN_9) < (-0.01) ($RES_EVT_3040) (607) [SCAL] (1) $SEV_224 = (-$FUN_9) > 0.01 ($RES_EVT_3039) (608) [SCAL] (1) $SEV_223 = 0.08715574274765814 - $FUN_10 < (-0.01) ($RES_EVT_3038) (609) [SCAL] (1) $SEV_222 = 0.08715574274765814 - $FUN_10 > 0.01 ($RES_EVT_3037) (610) [SCAL] (1) $SEV_221 = 1.065 - pv1.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3036) (611) [SCAL] (1) $SEV_220 = 1.065 - pv1.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_3035) (612) [SCAL] (1) $SEV_219 = 1.23 - pv1.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3034) (613) [SCAL] (1) $SEV_218 = 1.23 - pv1.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_3033) (614) [SCAL] (1) $SEV_217 = 1.5 - pv1.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3032) (615) [SCAL] (1) $SEV_216 = 1.5 - pv1.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_3031) (616) [SCAL] (1) $SEV_215 = 1.95 - pv1.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3030) (617) [SCAL] (1) $SEV_214 = 1.95 - pv1.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_3029) (618) [SCAL] (1) $SEV_213 = 2.8 - pv1.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3028) (619) [SCAL] (1) $SEV_212 = 2.8 - pv1.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_3027) (620) [SCAL] (1) $SEV_211 = 4.5 - pv1.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3026) (621) [SCAL] (1) $SEV_210 = 4.5 - pv1.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_3025) (622) [SCAL] (1) $SEV_209 = 6.2 - pv1.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3024) (623) [SCAL] (1) $SEV_208 = 6.2 - pv1.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_3023) (624) [SCAL] (1) $SEV_207 = (-6.2) + pv1.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3022) (625) [SCAL] (1) $SEV_206 = (-6.2) + pv1.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_3021) (626) [SCAL] (1) $SEV_205 = -(pv1.HDifTil.briCoe.F12 * pv1.HDifTil.skyBri.skyBri + pv1.HDifTil.briCoe.F11 + pv1.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) < (-0.01) ($RES_EVT_3020) (627) [SCAL] (1) $SEV_204 = -(pv1.HDifTil.briCoe.F12 * pv1.HDifTil.skyBri.skyBri + pv1.HDifTil.briCoe.F11 + pv1.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) > 0.01 ($RES_EVT_3019) (628) [SCAL] (1) $SEV_203 = 1.0 - 7.31528895391368e-4 * pv1.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor < (-0.025) ($RES_EVT_3018) (629) [SCAL] (1) $SEV_202 = 1.0 - 7.31528895391368e-4 * pv1.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor > 0.025 ($RES_EVT_3017) (630) [SCAL] (1) $SEV_199 = (-$FUN_20) < (-0.01) ($RES_EVT_3014) (631) [SCAL] (1) $SEV_198 = (-$FUN_20) > 0.01 ($RES_EVT_3013) (632) [SCAL] (1) $SEV_197 = 0.08715574274765814 - $FUN_21 < (-0.01) ($RES_EVT_3012) (633) [SCAL] (1) $SEV_196 = 0.08715574274765814 - $FUN_21 > 0.01 ($RES_EVT_3011) (634) [SCAL] (1) $SEV_195 = 1.065 - pv2.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3010) (635) [SCAL] (1) $SEV_194 = 1.065 - pv2.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_3009) (636) [SCAL] (1) $SEV_193 = 1.23 - pv2.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3008) (637) [SCAL] (1) $SEV_192 = 1.23 - pv2.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_3007) (638) [SCAL] (1) $SEV_191 = 1.5 - pv2.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3006) (639) [SCAL] (1) $SEV_190 = 1.5 - pv2.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_3005) (640) [SCAL] (1) $SEV_189 = 1.95 - pv2.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3004) (641) [SCAL] (1) $SEV_188 = 1.95 - pv2.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_3003) (642) [SCAL] (1) $SEV_187 = 2.8 - pv2.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3002) (643) [SCAL] (1) $SEV_186 = 2.8 - pv2.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_3001) (644) [SCAL] (1) $SEV_185 = 4.5 - pv2.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_3000) (645) [ARRY] (1) pv3.terminal.theta = pv3.panel.terminal.theta ($RES_SIM_1980) (646) [ARRY] (2) pv3.terminal.v = pv3.panel.terminal.v ($RES_SIM_1979) (647) [FOR-] (2) ($RES_SIM_1977) (647) [----] for $i1 in 1:2 loop (647) [----] [SCAL] (1) pv3.panel.terminal.i[$i1] - pv3.terminal.i[$i1] = 0.0 ($RES_SIM_1978) (647) [----] end for; (648) [ARRY] (1) pv4.panel.load.terminal.theta = pv4.panel.terminal.theta ($RES_SIM_1972) (649) [ARRY] (2) pv4.panel.load.terminal.v = pv4.panel.terminal.v ($RES_SIM_1971) (650) [SCAL] (1) weaDat.datRea.y[11] = weaDat.conWinDir.u ($RES_SIM_1791) (651) [SCAL] (1) weaDat.datRea.y[1] = weaDat.conTDryBul.u ($RES_SIM_1790) (652) [SCAL] (1) weaDat.conRelHum.y = weaDat.conRelHum.k * weaDat.conRelHum.u ($RES_SIM_102) (653) [SCAL] (1) pv1.HDifTil.weaBus.HDirNor = max(0.0, weaDat.souSelRad.HDirNor_in_internal) ($RES_SIM_107) (654) [SCAL] (1) pv1.HDifTil.skyCle.HDifHor = max(0.0, weaDat.souSelRad.HDifHor_in_internal) ($RES_SIM_108) (655) [SCAL] (1) pv1.HDifTil.skyCle.HGloHor = max(0.0, weaDat.souSelRad.HGloHor_in_internal) ($RES_SIM_109) (656) [FOR-] (2) ($RES_SIM_1969) (656) [----] for $i1 in 1:2 loop (656) [----] [SCAL] (1) pv4.panel.load.terminal.i[$i1] - pv4.panel.terminal.i[$i1] = 0.0 ($RES_SIM_1970) (656) [----] end for; (657) [SCAL] (1) weaDat.datRea.y[2] = weaDat.conTDewPoi.u ($RES_SIM_1789) (658) [SCAL] (1) weaDat.conRelHum.u = weaDat.datRea.y[3] ($RES_SIM_1788) (659) [FOR-] (26) ($RES_SIM_111) (659) [----] for $i1 in 1:26 loop (659) [----] [SCAL] (1) weaDat.datRea.y[$i1] = Modelica.Blocks.Tables.Internal.getTable1DValue(weaDat.datRea.tableID, $i1, weaDat.conTim.calTim) ($RES_SIM_112) (659) [----] end for; (660) [SCAL] (1) line8.line.R_actual = ((line8.line.M + ((-273.15) + line8.TCable)) * line8.line.R) / (line8.line.M + ((-273.15) + line8.line.T_ref)) ($RES_SIM_116) (661) [ARRY] (1) line8.line.terminal_p.theta = line8.line.terminal_n.theta ($RES_SIM_118) (662) [SCAL] (1) line8.line.LossPower = (0.5 * line8.line.R_actual) * (line8.line.terminal_p.i[1] ^ 2.0 + line8.line.terminal_p.i[2] ^ 2.0) + (0.5 * line8.line.R_actual) * (line8.line.terminal_n.i[1] ^ 2.0 + line8.line.terminal_n.i[2] ^ 2.0) ($RES_SIM_119) (663) [ARRY] (2) line8.line.Vc = 0.5 .* (line8.line.terminal_p.v + line8.line.terminal_n.v) ($RES_SIM_120) (664) [SCAL] (1) pv5.G.u1 = pv5.HDifTil.add.k1 * pv5.HDifTil.HDifTil.HSkyDifTil + pv5.HDifTil.add.k2 * pv5.HDifTil.HDifTil.HGroDifTil ($RES_SIM_300) (665) [ARRY] (2) (0.5 * line8.line.L) * line8.line.omega * {-line8.line.terminal_n.i[2], line8.line.terminal_n.i[1]} + line8.line.terminal_n.i * $FUN_86 = line8.line.terminal_n.v - line8.line.Vc ($RES_SIM_121) (666) [ARRY] (2) (0.5 * line8.line.L) * line8.line.omega * {-line8.line.terminal_p.i[2], line8.line.terminal_p.i[1]} + line8.line.terminal_p.i * $FUN_86 = line8.line.terminal_p.v - line8.line.Vc ($RES_SIM_122) (667) [SCAL] (1) pv5.panel.load.P = pv5.panel.gain_DCAC.k * pv5.panel.gain_DCAC.u ($RES_SIM_302) (668) [ARRY] (2) line8.line.terminal_p.i + line8.line.terminal_n.i = line8.line.Ic ($RES_SIM_123) (669) [SCAL] (1) line8.line.omega = $DER.line8.line.theRef ($RES_SIM_124) (670) [SCAL] (1) line8.line.theRef = line8.line.terminal_p.theta[1] ($RES_SIM_125) (671) [SCAL] (1) winTur.load.P = winTur.gain_DCAC.k * EWin.u ($RES_SIM_128) (672) [SCAL] (1) weaDat.limCeiHei.u = weaDat.datRea.y[16] ($RES_SIM_1768) (673) [ARRY] (1) pv4.terminal.theta = pv4.panel.terminal.theta ($RES_SIM_1946) (674) [ARRY] (2) pv4.terminal.v = pv4.panel.terminal.v ($RES_SIM_1945) (675) [SCAL] (1) weaDat.conTotSkyCov.u = weaDat.datRea.y[13] ($RES_SIM_1764) (676) [FOR-] (2) ($RES_SIM_1943) (676) [----] for $i1 in 1:2 loop (676) [----] [SCAL] (1) pv4.panel.terminal.i[$i1] - pv4.terminal.i[$i1] = 0.0 ($RES_SIM_1944) (676) [----] end for; (677) [SCAL] (1) weaDat.limWinSpe.u = weaDat.datRea.y[12] ($RES_SIM_1763) (678) [SCAL] (1) weaDat.conOpaSkyCov.u = weaDat.datRea.y[14] ($RES_SIM_1760) (679) [SCAL] (1) pv5.panel.load.i[2] = -homotopy((pv5.panel.load.v[2] * pv5.panel.load.P - pv5.panel.load.v[1] * pv5.panel.load.Q) / (pv5.panel.load.v[1] ^ 2.0 + pv5.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_310) (680) [SCAL] (1) pv5.panel.load.i[1] = -homotopy((pv5.panel.load.v[2] * pv5.panel.load.Q + pv5.panel.load.v[1] * pv5.panel.load.P) / (pv5.panel.load.v[1] ^ 2.0 + pv5.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_311) (681) [SCAL] (1) pv5.panel.load.omega = $DER.pv5.panel.load.theRef ($RES_SIM_312) (682) [SCAL] (1) pv5.panel.load.theRef = pv5.panel.load.terminal.theta[1] ($RES_SIM_313) (683) [SCAL] (1) pv4.G.y = pv4.G.k1 * pv4.G.u1 + pv4.G.k2 * pv4.G.u2 ($RES_SIM_314) (684) [SCAL] (1) pv4.G.u2 = max(0.0, $FUN_52 * pv1.HDifTil.weaBus.HDirNor) ($RES_SIM_315) (685) [SCAL] (1) winTur.load.i[2] = -homotopy((winTur.load.v[2] * winTur.load.P - winTur.load.v[1] * winTur.load.Q) / (winTur.load.v[1] ^ 2.0 + winTur.load.v[2] ^ 2.0), 0.0) ($RES_SIM_136) (686) [SCAL] (1) winTur.load.i[1] = -homotopy((winTur.load.v[2] * winTur.load.Q + winTur.load.v[1] * winTur.load.P) / (winTur.load.v[1] ^ 2.0 + winTur.load.v[2] ^ 2.0), 0.0) ($RES_SIM_137) (687) [SCAL] (1) winTur.load.omega = $DER.winTur.load.theRef ($RES_SIM_138) (688) [SCAL] (1) winTur.load.theRef = winTur.load.terminal.theta[1] ($RES_SIM_139) (689) [ARRY] (1) pv5.panel.load.terminal.theta = pv5.panel.terminal.theta ($RES_SIM_1938) (690) [SCAL] (1) weaDat.limHorInfRad.u = weaDat.datRea.y[26] ($RES_SIM_1758) (691) [ARRY] (2) pv5.panel.load.terminal.v = pv5.panel.terminal.v ($RES_SIM_1937) (692) [SCAL] (1) weaDat.souSelRad.HDifHor_in_internal = weaDat.datRea30Min.y[3] ($RES_SIM_1757) (693) [SCAL] (1) weaDat.souSelRad.HDirNor_in_internal = weaDat.datRea30Min.y[2] ($RES_SIM_1756) (694) [FOR-] (2) ($RES_SIM_1935) (694) [----] for $i1 in 1:2 loop (694) [----] [SCAL] (1) pv5.panel.load.terminal.i[$i1] - pv5.panel.terminal.i[$i1] = 0.0 ($RES_SIM_1936) (694) [----] end for; (695) [SCAL] (1) weaDat.souSelRad.HGloHor_in_internal = weaDat.datRea30Min.y[1] ($RES_SIM_1752) (696) [SCAL] (1) winTur.cor.vLoc = winTur.vWin * (winTur.cor.h / winTur.cor.hRef) ^ winTur.cor.n ($RES_SIM_140) (697) [SCAL] (1) EWin.u = winTur.gain.k * winTur.gain.u ($RES_SIM_141) (698) [SCAL] (1) pv1.HDifTil.briCoe.F22 = (0.065965 * pv1.HDifTil.briCoe.a2 + 0.0721249 * pv1.HDifTil.briCoe.a1) - (1.3765031 * pv1.HDifTil.briCoe.a8 + 1.127234 * pv1.HDifTil.briCoe.a7 + 0.8230357 * pv1.HDifTil.briCoe.a6 + 0.4620442 * pv1.HDifTil.briCoe.a5 + 0.1519229 * pv1.HDifTil.briCoe.a4 + 0.0639588 * pv1.HDifTil.briCoe.a3) ($RES_SIM_500) (699) [SCAL] (1) winTur.per.y[1] = Modelica.Blocks.Tables.Internal.getTable1DValue(winTur.per.tableID, 1, winTur.cor.vLoc) ($RES_SIM_142) (700) [SCAL] (1) pv1.HDifTil.briCoe.F21 = (0.2642124 * pv1.HDifTil.briCoe.a7 + 0.2877813 * pv1.HDifTil.briCoe.a6 + 0.2255647 * pv1.HDifTil.briCoe.a5 + 0.1088631 * pv1.HDifTil.briCoe.a4 + 0.055414 * pv1.HDifTil.briCoe.a3 + 0.1561313 * pv1.HDifTil.briCoe.a8) - (0.0189325 * pv1.HDifTil.briCoe.a2 + 0.0596012 * pv1.HDifTil.briCoe.a1) ($RES_SIM_501) (701) [SCAL] (1) pv4.HDifTil.skyBri.skyBri = smooth(1, if $SEV_124 then 7.31528895391368e-4 * pv4.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor else if $SEV_125 then 1.0 else 0.25 * (1.0 - 7.31528895391368e-4 * pv4.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + ((1.0 - 7.31528895391368e-4 * pv1.HDifTil.skyCle.HDifHor * pv4.HDifTil.relAirMas.relAirMas) / 0.025) ^ 2.0) * (40.0 * (1.0 - 7.31528895391368e-4 * pv4.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (1.0 + 7.31528895391368e-4 * pv4.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_322) (702) [SCAL] (1) pv7.G.y = pv7.G.k1 * pv7.G.u1 + pv7.G.k2 * pv7.G.u2 ($RES_SIM_143) (703) [SCAL] (1) pv1.HDifTil.briCoe.F13 = -(0.3589221 * pv1.HDifTil.briCoe.a7 + 0.4118494 * pv1.HDifTil.briCoe.a6 + 0.3616149 * pv1.HDifTil.briCoe.a5 + 0.295129 * pv1.HDifTil.briCoe.a4 + 0.2210958 * pv1.HDifTil.briCoe.a3 + 0.1513725 * pv1.HDifTil.briCoe.a2 + 0.0620636 * pv1.HDifTil.briCoe.a1 + 0.2504286 * pv1.HDifTil.briCoe.a8) ($RES_SIM_502) (704) [SCAL] (1) pv4.HDifTil.relAirMas.relAirMas = 1/($FUN_45 + 0.15 * (93.9 - pv4.HDifTil.relAirMas.zenDeg) ^ (-1.253)) ($RES_SIM_323) (705) [SCAL] (1) pv7.G.u2 = max(0.0, $FUN_85 * pv1.HDifTil.weaBus.HDirNor) ($RES_SIM_144) (706) [SCAL] (1) pv1.HDifTil.briCoe.F12 = (0.1874525 * pv1.HDifTil.briCoe.a4 + 0.4868735 * pv1.HDifTil.briCoe.a3 + 0.6825954 * pv1.HDifTil.briCoe.a2 + 0.5877285 * pv1.HDifTil.briCoe.a1) - (0.3272588 * pv1.HDifTil.briCoe.a8 + 1.5999137 * pv1.HDifTil.briCoe.a7 + 1.2367284 * pv1.HDifTil.briCoe.a6 + 0.3920403 * pv1.HDifTil.briCoe.a5) ($RES_SIM_503) (707) [SCAL] (1) pv1.HDifTil.briCoe.F11 = (1.0601591 * pv1.HDifTil.briCoe.a7 + 1.1326077 * pv1.HDifTil.briCoe.a6 + 0.873028 * pv1.HDifTil.briCoe.a5 + 0.5682053 * pv1.HDifTil.briCoe.a4 + 0.3296958 * pv1.HDifTil.briCoe.a3 + 0.1299457 * pv1.HDifTil.briCoe.a2 + 0.677747 * pv1.HDifTil.briCoe.a8) - 0.0083117 * pv1.HDifTil.briCoe.a1 ($RES_SIM_504) (708) [SCAL] (1) 0.017453292519943295 * pv4.HDifTil.relAirMas.zenDeg = smooth(1, if $SEV_44 then pv1.HDifTil.skyCle.zen else if $SEV_45 then 1.5707963267948966 else 0.25 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen) * ((-3.0) + ((1.5707963267948966 - pv1.HDifTil.skyCle.zen) / 0.01) ^ 2.0) * (100.0 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen)) + 0.5 * (1.5707963267948966 + pv1.HDifTil.skyCle.zen)) ($RES_SIM_325) (709) [SCAL] (1) pv4.HDifTil.briCoe.F2 = pv4.HDifTil.briCoe.F22 * pv4.HDifTil.skyBri.skyBri + pv4.HDifTil.briCoe.F21 + pv4.HDifTil.briCoe.F23 * pv1.HDifTil.skyCle.zen ($RES_SIM_326) (710) [SCAL] (1) pv1.HDifTil.briCoe.a7 = pv1.HDifTil.briCoe.b7 - pv1.HDifTil.briCoe.b6 ($RES_SIM_506) (711) [SCAL] (1) pv4.HDifTil.briCoe.F1 = smooth(1, if $SEV_126 then 0.0 else if $SEV_127 then pv4.HDifTil.briCoe.F12 * pv4.HDifTil.skyBri.skyBri + pv4.HDifTil.briCoe.F11 + pv4.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen else 0.25 * (pv4.HDifTil.briCoe.F12 * pv4.HDifTil.skyBri.skyBri + pv4.HDifTil.briCoe.F11 + pv4.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) * ((-3.0) + ((-(pv1.HDifTil.skyCle.zen * pv4.HDifTil.briCoe.F13 + pv4.HDifTil.briCoe.F11 + pv4.HDifTil.skyBri.skyBri * pv4.HDifTil.briCoe.F12)) / 0.01) ^ 2.0) * (100.0 * (-(pv4.HDifTil.briCoe.F12 * pv4.HDifTil.skyBri.skyBri + pv4.HDifTil.briCoe.F11 + pv4.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen))) + 0.5 * (pv4.HDifTil.briCoe.F12 * pv4.HDifTil.skyBri.skyBri + pv4.HDifTil.briCoe.F11 + pv4.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen)) ($RES_SIM_327) (712) [SCAL] (1) pv1.HDifTil.briCoe.a6 = pv1.HDifTil.briCoe.b6 - pv1.HDifTil.briCoe.b5 ($RES_SIM_507) (713) [SCAL] (1) pv4.HDifTil.briCoe.F23 = (0.1310694 * pv4.HDifTil.briCoe.a7 + 0.0558651 * pv4.HDifTil.briCoe.a6 + 0.0012448 * pv4.HDifTil.briCoe.a5 + 0.2506212 * pv4.HDifTil.briCoe.a8) - (0.0139754 * pv4.HDifTil.briCoe.a4 + 0.0260542 * pv4.HDifTil.briCoe.a3 + 0.0288748 * pv4.HDifTil.briCoe.a2 + 0.0220216 * pv4.HDifTil.briCoe.a1) ($RES_SIM_328) (714) [SCAL] (1) pv1.HDifTil.briCoe.a5 = pv1.HDifTil.briCoe.b5 - pv1.HDifTil.briCoe.b4 ($RES_SIM_508) (715) [SCAL] (1) pv4.HDifTil.briCoe.F22 = (0.065965 * pv4.HDifTil.briCoe.a2 + 0.0721249 * pv4.HDifTil.briCoe.a1) - (1.3765031 * pv4.HDifTil.briCoe.a8 + 1.127234 * pv4.HDifTil.briCoe.a7 + 0.8230357 * pv4.HDifTil.briCoe.a6 + 0.4620442 * pv4.HDifTil.briCoe.a5 + 0.1519229 * pv4.HDifTil.briCoe.a4 + 0.0639588 * pv4.HDifTil.briCoe.a3) ($RES_SIM_329) (716) [SCAL] (1) pv1.HDifTil.briCoe.a4 = pv1.HDifTil.briCoe.b4 - pv1.HDifTil.briCoe.b3 ($RES_SIM_509) (717) [ARRY] (1) gri.terminal.theta = line1.terminal_n.theta ($RES_SIM_1744) (718) [ARRY] (2) gri.terminal.v = line1.terminal_n.v ($RES_SIM_1743) (719) [FOR-] (2) ($RES_SIM_1741) (719) [----] for $i1 in 1:2 loop (719) [----] [SCAL] (1) gri.terminal.i[$i1] + line1.terminal_n.i[$i1] = 0.0 ($RES_SIM_1742) (719) [----] end for; (720) [SCAL] (1) sen1.term.theta[1] = line1.terminal_p.theta[1] ($RES_SIM_1740) (721) [SCAL] (1) pv4.HDifTil.briCoe.F21 = (0.2642124 * pv4.HDifTil.briCoe.a7 + 0.2877813 * pv4.HDifTil.briCoe.a6 + 0.2255647 * pv4.HDifTil.briCoe.a5 + 0.1088631 * pv4.HDifTil.briCoe.a4 + 0.055414 * pv4.HDifTil.briCoe.a3 + 0.1561313 * pv4.HDifTil.briCoe.a8) - (0.0189325 * pv4.HDifTil.briCoe.a2 + 0.0596012 * pv4.HDifTil.briCoe.a1) ($RES_SIM_330) (722) [SCAL] (1) pv7.HDifTil.skyBri.skyBri = smooth(1, if $SEV_42 then 7.31528895391368e-4 * pv7.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor else if $SEV_43 then 1.0 else 0.25 * (1.0 - 7.31528895391368e-4 * pv7.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + ((1.0 - 7.31528895391368e-4 * pv1.HDifTil.skyCle.HDifHor * pv7.HDifTil.relAirMas.relAirMas) / 0.025) ^ 2.0) * (40.0 * (1.0 - 7.31528895391368e-4 * pv7.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (1.0 + 7.31528895391368e-4 * pv7.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_151) (723) [SCAL] (1) pv1.HDifTil.briCoe.a3 = pv1.HDifTil.briCoe.b3 - pv1.HDifTil.briCoe.b2 ($RES_SIM_510) (724) [SCAL] (1) pv4.HDifTil.briCoe.F13 = -(0.3589221 * pv4.HDifTil.briCoe.a7 + 0.4118494 * pv4.HDifTil.briCoe.a6 + 0.3616149 * pv4.HDifTil.briCoe.a5 + 0.295129 * pv4.HDifTil.briCoe.a4 + 0.2210958 * pv4.HDifTil.briCoe.a3 + 0.1513725 * pv4.HDifTil.briCoe.a2 + 0.0620636 * pv4.HDifTil.briCoe.a1 + 0.2504286 * pv4.HDifTil.briCoe.a8) ($RES_SIM_331) (725) [SCAL] (1) pv7.HDifTil.relAirMas.relAirMas = 1/($FUN_78 + 0.15 * (93.9 - pv7.HDifTil.relAirMas.zenDeg) ^ (-1.253)) ($RES_SIM_152) (726) [SCAL] (1) pv1.HDifTil.briCoe.a2 = pv1.HDifTil.briCoe.b2 - pv1.HDifTil.briCoe.a1 ($RES_SIM_511) (727) [SCAL] (1) pv4.HDifTil.briCoe.F12 = (0.1874525 * pv4.HDifTil.briCoe.a4 + 0.4868735 * pv4.HDifTil.briCoe.a3 + 0.6825954 * pv4.HDifTil.briCoe.a2 + 0.5877285 * pv4.HDifTil.briCoe.a1) - (0.3272588 * pv4.HDifTil.briCoe.a8 + 1.5999137 * pv4.HDifTil.briCoe.a7 + 1.2367284 * pv4.HDifTil.briCoe.a6 + 0.3920403 * pv4.HDifTil.briCoe.a5) ($RES_SIM_332) (728) [SCAL] (1) pv4.HDifTil.briCoe.F11 = (1.0601591 * pv4.HDifTil.briCoe.a7 + 1.1326077 * pv4.HDifTil.briCoe.a6 + 0.873028 * pv4.HDifTil.briCoe.a5 + 0.5682053 * pv4.HDifTil.briCoe.a4 + 0.3296958 * pv4.HDifTil.briCoe.a3 + 0.1299457 * pv4.HDifTil.briCoe.a2 + 0.677747 * pv4.HDifTil.briCoe.a8) - 0.0083117 * pv4.HDifTil.briCoe.a1 ($RES_SIM_333) (729) [SCAL] (1) 0.017453292519943295 * pv7.HDifTil.relAirMas.zenDeg = smooth(1, if $SEV_44 then pv1.HDifTil.skyCle.zen else if $SEV_45 then 1.5707963267948966 else 0.25 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen) * ((-3.0) + ((1.5707963267948966 - pv1.HDifTil.skyCle.zen) / 0.01) ^ 2.0) * (100.0 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen)) + 0.5 * (1.5707963267948966 + pv1.HDifTil.skyCle.zen)) ($RES_SIM_154) (730) [SCAL] (1) pv1.HDifTil.briCoe.a8 = smooth(1, if $SEV_206 then 1.0 else if $SEV_207 then 0.0 else 0.5 - 0.25 * ((-3.0) + (((-6.2) + pv1.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * ((-6.2) + pv1.HDifTil.skyCle.skyCle))) ($RES_SIM_513) (731) [SCAL] (1) pv7.HDifTil.briCoe.F2 = pv7.HDifTil.briCoe.F22 * pv7.HDifTil.skyBri.skyBri + pv7.HDifTil.briCoe.F21 + pv7.HDifTil.briCoe.F23 * pv1.HDifTil.skyCle.zen ($RES_SIM_155) (732) [SCAL] (1) pv1.HDifTil.briCoe.b7 = smooth(1, if $SEV_208 then 1.0 else if $SEV_209 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((6.2 - pv1.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (6.2 - pv1.HDifTil.skyCle.skyCle))) ($RES_SIM_514) (733) [SCAL] (1) pv4.HDifTil.briCoe.a7 = pv4.HDifTil.briCoe.b7 - pv4.HDifTil.briCoe.b6 ($RES_SIM_335) (734) [SCAL] (1) pv7.HDifTil.briCoe.F1 = smooth(1, if $SEV_46 then 0.0 else if $SEV_47 then pv7.HDifTil.briCoe.F12 * pv7.HDifTil.skyBri.skyBri + pv7.HDifTil.briCoe.F11 + pv7.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen else 0.25 * (pv7.HDifTil.briCoe.F12 * pv7.HDifTil.skyBri.skyBri + pv7.HDifTil.briCoe.F11 + pv7.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) * ((-3.0) + ((-(pv1.HDifTil.skyCle.zen * pv7.HDifTil.briCoe.F13 + pv7.HDifTil.briCoe.F11 + pv7.HDifTil.skyBri.skyBri * pv7.HDifTil.briCoe.F12)) / 0.01) ^ 2.0) * (100.0 * (-(pv7.HDifTil.briCoe.F12 * pv7.HDifTil.skyBri.skyBri + pv7.HDifTil.briCoe.F11 + pv7.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen))) + 0.5 * (pv7.HDifTil.briCoe.F12 * pv7.HDifTil.skyBri.skyBri + pv7.HDifTil.briCoe.F11 + pv7.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen)) ($RES_SIM_156) (735) [SCAL] (1) pv1.HDifTil.briCoe.b6 = smooth(1, if $SEV_210 then 1.0 else if $SEV_211 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((4.5 - pv1.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (4.5 - pv1.HDifTil.skyCle.skyCle))) ($RES_SIM_515) (736) [SCAL] (1) pv4.HDifTil.briCoe.a6 = pv4.HDifTil.briCoe.b6 - pv4.HDifTil.briCoe.b5 ($RES_SIM_336) (737) [SCAL] (1) pv7.HDifTil.briCoe.F23 = (0.1310694 * pv7.HDifTil.briCoe.a7 + 0.0558651 * pv7.HDifTil.briCoe.a6 + 0.0012448 * pv7.HDifTil.briCoe.a5 + 0.2506212 * pv7.HDifTil.briCoe.a8) - (0.0139754 * pv7.HDifTil.briCoe.a4 + 0.0260542 * pv7.HDifTil.briCoe.a3 + 0.0288748 * pv7.HDifTil.briCoe.a2 + 0.0220216 * pv7.HDifTil.briCoe.a1) ($RES_SIM_157) (738) [SCAL] (1) pv1.HDifTil.briCoe.b5 = smooth(1, if $SEV_212 then 1.0 else if $SEV_213 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((2.8 - pv1.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (2.8 - pv1.HDifTil.skyCle.skyCle))) ($RES_SIM_516) (739) [SCAL] (1) pv4.HDifTil.briCoe.a5 = pv4.HDifTil.briCoe.b5 - pv4.HDifTil.briCoe.b4 ($RES_SIM_337) (740) [SCAL] (1) pv7.HDifTil.briCoe.F22 = (0.065965 * pv7.HDifTil.briCoe.a2 + 0.0721249 * pv7.HDifTil.briCoe.a1) - (1.3765031 * pv7.HDifTil.briCoe.a8 + 1.127234 * pv7.HDifTil.briCoe.a7 + 0.8230357 * pv7.HDifTil.briCoe.a6 + 0.4620442 * pv7.HDifTil.briCoe.a5 + 0.1519229 * pv7.HDifTil.briCoe.a4 + 0.0639588 * pv7.HDifTil.briCoe.a3) ($RES_SIM_158) (741) [SCAL] (1) pv1.HDifTil.briCoe.b4 = smooth(1, if $SEV_214 then 1.0 else if $SEV_215 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.95 - pv1.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.95 - pv1.HDifTil.skyCle.skyCle))) ($RES_SIM_517) (742) [SCAL] (1) pv4.HDifTil.briCoe.a4 = pv4.HDifTil.briCoe.b4 - pv4.HDifTil.briCoe.b3 ($RES_SIM_338) (743) [SCAL] (1) pv7.HDifTil.briCoe.F21 = (0.2642124 * pv7.HDifTil.briCoe.a7 + 0.2877813 * pv7.HDifTil.briCoe.a6 + 0.2255647 * pv7.HDifTil.briCoe.a5 + 0.1088631 * pv7.HDifTil.briCoe.a4 + 0.055414 * pv7.HDifTil.briCoe.a3 + 0.1561313 * pv7.HDifTil.briCoe.a8) - (0.0189325 * pv7.HDifTil.briCoe.a2 + 0.0596012 * pv7.HDifTil.briCoe.a1) ($RES_SIM_159) (744) [SCAL] (1) pv1.HDifTil.briCoe.b3 = smooth(1, if $SEV_216 then 1.0 else if $SEV_217 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.5 - pv1.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.5 - pv1.HDifTil.skyCle.skyCle))) ($RES_SIM_518) (745) [SCAL] (1) pv4.HDifTil.briCoe.a3 = pv4.HDifTil.briCoe.b3 - pv4.HDifTil.briCoe.b2 ($RES_SIM_339) (746) [SCAL] (1) pv1.HDifTil.briCoe.b2 = smooth(1, if $SEV_218 then 1.0 else if $SEV_219 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.23 - pv1.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.23 - pv1.HDifTil.skyCle.skyCle))) ($RES_SIM_519) (747) [SCAL] (1) sen1.term.theta[1] = pv1.terminal.theta[1] ($RES_SIM_1739) (748) [SCAL] (1) sen1.term.theta[1] = line5.terminal_n.theta[1] ($RES_SIM_1738) (749) [SCAL] (1) sen1.term.theta[1] = line2.terminal_n.theta[1] ($RES_SIM_1737) (750) [SCAL] (1) sen1.term.theta[1] = loa1.terminal.theta[1] ($RES_SIM_1736) (751) [SCAL] (1) sen1.term.v[1] = line1.terminal_p.v[1] ($RES_SIM_1735) (752) [SCAL] (1) sen1.term.v[1] = pv1.terminal.v[1] ($RES_SIM_1734) (753) [SCAL] (1) sen1.term.v[1] = line5.terminal_n.v[1] ($RES_SIM_1733) (754) [ARRY] (1) pv5.terminal.theta = pv5.panel.terminal.theta ($RES_SIM_1912) (755) [SCAL] (1) sen1.term.v[1] = line2.terminal_n.v[1] ($RES_SIM_1732) (756) [ARRY] (2) pv5.terminal.v = pv5.panel.terminal.v ($RES_SIM_1911) (757) [SCAL] (1) sen1.term.v[1] = loa1.terminal.v[1] ($RES_SIM_1731) (758) [SCAL] (1) sen1.term.v[2] = line1.terminal_p.v[2] ($RES_SIM_1730) (759) [SCAL] (1) pv7.HDifTil.briCoe.F13 = -(0.3589221 * pv7.HDifTil.briCoe.a7 + 0.4118494 * pv7.HDifTil.briCoe.a6 + 0.3616149 * pv7.HDifTil.briCoe.a5 + 0.295129 * pv7.HDifTil.briCoe.a4 + 0.2210958 * pv7.HDifTil.briCoe.a3 + 0.1513725 * pv7.HDifTil.briCoe.a2 + 0.0620636 * pv7.HDifTil.briCoe.a1 + 0.2504286 * pv7.HDifTil.briCoe.a8) ($RES_SIM_160) (760) [SCAL] (1) pv4.HDifTil.briCoe.a2 = pv4.HDifTil.briCoe.b2 - pv4.HDifTil.briCoe.a1 ($RES_SIM_340) (761) [SCAL] (1) pv7.HDifTil.briCoe.F12 = (0.1874525 * pv7.HDifTil.briCoe.a4 + 0.4868735 * pv7.HDifTil.briCoe.a3 + 0.6825954 * pv7.HDifTil.briCoe.a2 + 0.5877285 * pv7.HDifTil.briCoe.a1) - (0.3272588 * pv7.HDifTil.briCoe.a8 + 1.5999137 * pv7.HDifTil.briCoe.a7 + 1.2367284 * pv7.HDifTil.briCoe.a6 + 0.3920403 * pv7.HDifTil.briCoe.a5) ($RES_SIM_161) (762) [SCAL] (1) pv1.HDifTil.briCoe.a1 = smooth(1, if $SEV_220 then 1.0 else if $SEV_221 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.065 - pv1.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.065 - pv1.HDifTil.skyCle.skyCle))) ($RES_SIM_520) (763) [SCAL] (1) pv7.HDifTil.briCoe.F11 = (1.0601591 * pv7.HDifTil.briCoe.a7 + 1.1326077 * pv7.HDifTil.briCoe.a6 + 0.873028 * pv7.HDifTil.briCoe.a5 + 0.5682053 * pv7.HDifTil.briCoe.a4 + 0.3296958 * pv7.HDifTil.briCoe.a3 + 0.1299457 * pv7.HDifTil.briCoe.a2 + 0.677747 * pv7.HDifTil.briCoe.a8) - 0.0083117 * pv7.HDifTil.briCoe.a1 ($RES_SIM_162) (764) [SCAL] (1) pv4.HDifTil.briCoe.a8 = smooth(1, if $SEV_128 then 1.0 else if $SEV_129 then 0.0 else 0.5 - 0.25 * ((-3.0) + (((-6.2) + pv4.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * ((-6.2) + pv4.HDifTil.skyCle.skyCle))) ($RES_SIM_342) (765) [SCAL] (1) pv1.HDifTil.skyCle.HDifHorBou = smooth(1, if $SEV_64 then pv1.HDifTil.skyCle.HDifHor else if $SEV_65 then 5e-5 else 0.25 * (5e-5 - pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + (((-5e-5) + pv1.HDifTil.skyCle.HDifHor) / 2.5e-5) ^ 2.0) * (4e4 * ((-5e-5) + pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (5e-5 + pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_522) (766) [SCAL] (1) pv4.HDifTil.briCoe.b7 = smooth(1, if $SEV_130 then 1.0 else if $SEV_131 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((6.2 - pv4.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (6.2 - pv4.HDifTil.skyCle.skyCle))) ($RES_SIM_343) (767) [SCAL] (1) pv7.HDifTil.briCoe.a7 = pv7.HDifTil.briCoe.b7 - pv7.HDifTil.briCoe.b6 ($RES_SIM_164) (768) [SCAL] (1) pv1.HDifTil.skyCle.tmp1 = 1.040895310738997 * pv1.HDifTil.skyCle.zen ^ 3.0 ($RES_SIM_523) (769) [SCAL] (1) pv4.HDifTil.briCoe.b6 = smooth(1, if $SEV_132 then 1.0 else if $SEV_133 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((4.5 - pv4.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (4.5 - pv4.HDifTil.skyCle.skyCle))) ($RES_SIM_344) (770) [SCAL] (1) pv7.HDifTil.briCoe.a6 = pv7.HDifTil.briCoe.b6 - pv7.HDifTil.briCoe.b5 ($RES_SIM_165) (771) [SCAL] (1) pv1.HDifTil.HDifTil.HGroDifTil = 0.06698729810778098 * pv1.HDifTil.HDifTil.rho * pv1.HDifTil.skyCle.HGloHor ($RES_SIM_524) (772) [SCAL] (1) pv4.HDifTil.briCoe.b5 = smooth(1, if $SEV_134 then 1.0 else if $SEV_135 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((2.8 - pv4.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (2.8 - pv4.HDifTil.skyCle.skyCle))) ($RES_SIM_345) (773) [SCAL] (1) pv7.HDifTil.briCoe.a5 = pv7.HDifTil.briCoe.b5 - pv7.HDifTil.briCoe.b4 ($RES_SIM_166) (774) [SCAL] (1) pv1.HDifTil.HDifTil.HSkyDifTil = pv1.HDifTil.skyCle.HDifHor * ((pv1.HDifTil.HDifTil.a * pv1.HDifTil.briCoe.F1) / pv1.HDifTil.HDifTil.b + 0.933012701892219 * (1.0 - pv1.HDifTil.briCoe.F1) + 0.500000000000001 * pv1.HDifTil.briCoe.F2) ($RES_SIM_525) (775) [SCAL] (1) pv4.HDifTil.briCoe.b4 = smooth(1, if $SEV_136 then 1.0 else if $SEV_137 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.95 - pv4.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.95 - pv4.HDifTil.skyCle.skyCle))) ($RES_SIM_346) (776) [SCAL] (1) pv7.HDifTil.briCoe.a4 = pv7.HDifTil.briCoe.b4 - pv7.HDifTil.briCoe.b3 ($RES_SIM_167) (777) [SCAL] (1) pv1.HDifTil.HDifTil.b = smooth(1, if $SEV_222 then 0.08715574274765814 else if $SEV_223 then $FUN_10 else 0.25 * ((-0.08715574274765814) + $FUN_10) * ((-3.0) + ((0.08715574274765814 - $FUN_10) / 0.01) ^ 2.0) * (100.0 * (0.08715574274765814 - $FUN_10)) + 0.5 * (0.08715574274765814 + $FUN_10)) ($RES_SIM_526) (778) [SCAL] (1) pv4.HDifTil.briCoe.b3 = smooth(1, if $SEV_138 then 1.0 else if $SEV_139 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.5 - pv4.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.5 - pv4.HDifTil.skyCle.skyCle))) ($RES_SIM_347) (779) [SCAL] (1) pv7.HDifTil.briCoe.a3 = pv7.HDifTil.briCoe.b3 - pv7.HDifTil.briCoe.b2 ($RES_SIM_168) (780) [SCAL] (1) loa1.i[2] = -homotopy((loa1.v[2] * loa1.P - loa1.v[1] * loa1.Q) / (loa1.v[1] ^ 2.0 + loa1.v[2] ^ 2.0), 0.0) ($RES_SIM_706) (781) [SCAL] (1) pv1.HDifTil.HDifTil.a = smooth(1, if $SEV_224 then 0.0 else if $SEV_225 then $FUN_9 else 0.5 * $FUN_9 - 0.25 * $FUN_9 * ((-3.0) + ($FUN_9 / (-0.01)) ^ 2.0) * (100.0 * $FUN_9)) ($RES_SIM_527) (782) [SCAL] (1) pv4.HDifTil.briCoe.b2 = smooth(1, if $SEV_140 then 1.0 else if $SEV_141 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.23 - pv4.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.23 - pv4.HDifTil.skyCle.skyCle))) ($RES_SIM_348) (783) [SCAL] (1) pv7.HDifTil.briCoe.a2 = pv7.HDifTil.briCoe.b2 - pv7.HDifTil.briCoe.a1 ($RES_SIM_169) (784) [SCAL] (1) loa1.i[1] = -homotopy((loa1.v[2] * loa1.Q + loa1.v[1] * loa1.P) / (loa1.v[1] ^ 2.0 + loa1.v[2] ^ 2.0), 0.0) ($RES_SIM_707) (785) [SCAL] (1) pv1.G.u1 = pv1.HDifTil.add.k1 * pv1.HDifTil.HDifTil.HSkyDifTil + pv1.HDifTil.add.k2 * pv1.HDifTil.HDifTil.HGroDifTil ($RES_SIM_528) (786) [SCAL] (1) pv4.HDifTil.briCoe.a1 = smooth(1, if $SEV_142 then 1.0 else if $SEV_143 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.065 - pv4.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.065 - pv4.HDifTil.skyCle.skyCle))) ($RES_SIM_349) (787) [SCAL] (1) loa1.omega = $DER.loa1.theRef ($RES_SIM_708) (788) [SCAL] (1) loa1.theRef = loa1.terminal.theta[1] ($RES_SIM_709) (789) [FOR-] (2) ($RES_SIM_1909) (789) [----] for $i1 in 1:2 loop (789) [----] [SCAL] (1) pv5.panel.terminal.i[$i1] - pv5.terminal.i[$i1] = 0.0 ($RES_SIM_1910) (789) [----] end for; (790) [SCAL] (1) sen1.term.v[2] = pv1.terminal.v[2] ($RES_SIM_1729) (791) [SCAL] (1) sen1.term.v[2] = line5.terminal_n.v[2] ($RES_SIM_1728) (792) [SCAL] (1) sen1.term.v[2] = line2.terminal_n.v[2] ($RES_SIM_1727) (793) [SCAL] (1) sen1.term.v[2] = loa1.terminal.v[2] ($RES_SIM_1726) (794) [SCAL] (1) line2.terminal_n.i[1] + line5.terminal_n.i[1] + pv1.terminal.i[1] + sen1.term.i[1] + line1.terminal_p.i[1] + loa1.terminal.i[1] = 0.0 ($RES_SIM_1725) (795) [ARRY] (1) pv6.panel.load.terminal.theta = pv6.panel.terminal.theta ($RES_SIM_1904) (796) [SCAL] (1) line2.terminal_n.i[2] + line5.terminal_n.i[2] + pv1.terminal.i[2] + sen1.term.i[2] + line1.terminal_p.i[2] + loa1.terminal.i[2] = 0.0 ($RES_SIM_1724) (797) [ARRY] (2) pv6.panel.load.terminal.v = pv6.panel.terminal.v ($RES_SIM_1903) (798) [SCAL] (1) line2.terminal_p.theta[1] = pv2.terminal.theta[1] ($RES_SIM_1723) (799) [SCAL] (1) line2.terminal_p.theta[1] = line3.terminal_n.theta[1] ($RES_SIM_1722) (800) [FOR-] (2) ($RES_SIM_1901) (800) [----] for $i1 in 1:2 loop (800) [----] [SCAL] (1) pv6.panel.load.terminal.i[$i1] - pv6.panel.terminal.i[$i1] = 0.0 ($RES_SIM_1902) (800) [----] end for; (801) [SCAL] (1) line2.terminal_p.theta[1] = loa2.terminal.theta[1] ($RES_SIM_1721) (802) [SCAL] (1) line2.terminal_p.v[1] = pv2.terminal.v[1] ($RES_SIM_1720) (803) [SCAL] (1) pv7.HDifTil.briCoe.a8 = smooth(1, if $SEV_48 then 1.0 else if $SEV_49 then 0.0 else 0.5 - 0.25 * ((-3.0) + (((-6.2) + pv7.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * ((-6.2) + pv7.HDifTil.skyCle.skyCle))) ($RES_SIM_171) (804) [SCAL] (1) pv1.panel.load.P = pv1.panel.gain_DCAC.k * pv1.panel.gain_DCAC.u ($RES_SIM_530) (805) [SCAL] (1) pv4.HDifTil.skyCle.HDifHorBou = smooth(1, if $SEV_64 then pv1.HDifTil.skyCle.HDifHor else if $SEV_65 then 5e-5 else 0.25 * (5e-5 - pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + (((-5e-5) + pv1.HDifTil.skyCle.HDifHor) / 2.5e-5) ^ 2.0) * (4e4 * ((-5e-5) + pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (5e-5 + pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_351) (806) [SCAL] (1) pv7.HDifTil.briCoe.b7 = smooth(1, if $SEV_50 then 1.0 else if $SEV_51 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((6.2 - pv7.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (6.2 - pv7.HDifTil.skyCle.skyCle))) ($RES_SIM_172) (807) [SCAL] (1) pv4.HDifTil.skyCle.tmp1 = 1.040895310738997 * pv1.HDifTil.skyCle.zen ^ 3.0 ($RES_SIM_352) (808) [SCAL] (1) pv7.HDifTil.briCoe.b6 = smooth(1, if $SEV_52 then 1.0 else if $SEV_53 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((4.5 - pv7.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (4.5 - pv7.HDifTil.skyCle.skyCle))) ($RES_SIM_173) (809) [SCAL] (1) pv4.HDifTil.HDifTil.HGroDifTil = 0.06698729810778098 * pv4.HDifTil.HDifTil.rho * pv1.HDifTil.skyCle.HGloHor ($RES_SIM_353) (810) [SCAL] (1) pv7.HDifTil.briCoe.b5 = smooth(1, if $SEV_54 then 1.0 else if $SEV_55 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((2.8 - pv7.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (2.8 - pv7.HDifTil.skyCle.skyCle))) ($RES_SIM_174) (811) [SCAL] (1) gri.P.apparent = (gri.sou.S[1] ^ 2.0 + gri.sou.S[2] ^ 2.0) / ((gri.sou.S[2] ^ 2.0 + gri.sou.S[1] ^ 2.0) * (gri.sou.S[2] ^ 2.0 + gri.sou.S[1] ^ 2.0) + 1e-4) ^ 0.25 ($RES_SIM_712) (812) [SCAL] (1) pv4.HDifTil.HDifTil.HSkyDifTil = pv1.HDifTil.skyCle.HDifHor * ((pv4.HDifTil.HDifTil.a * pv4.HDifTil.briCoe.F1) / pv4.HDifTil.HDifTil.b + 0.933012701892219 * (1.0 - pv4.HDifTil.briCoe.F1) + 0.500000000000001 * pv4.HDifTil.briCoe.F2) ($RES_SIM_354) (813) [SCAL] (1) pv7.HDifTil.briCoe.b4 = smooth(1, if $SEV_56 then 1.0 else if $SEV_57 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.95 - pv7.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.95 - pv7.HDifTil.skyCle.skyCle))) ($RES_SIM_175) (814) [SCAL] (1) gri.P.real = -gri.sou.S[1] ($RES_SIM_713) (815) [SCAL] (1) pv4.HDifTil.HDifTil.b = smooth(1, if $SEV_144 then 0.08715574274765814 else if $SEV_145 then $FUN_43 else 0.25 * ((-0.08715574274765814) + $FUN_43) * ((-3.0) + ((0.08715574274765814 - $FUN_43) / 0.01) ^ 2.0) * (100.0 * (0.08715574274765814 - $FUN_43)) + 0.5 * (0.08715574274765814 + $FUN_43)) ($RES_SIM_355) (816) [SCAL] (1) pv7.HDifTil.briCoe.b3 = smooth(1, if $SEV_58 then 1.0 else if $SEV_59 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.5 - pv7.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.5 - pv7.HDifTil.skyCle.skyCle))) ($RES_SIM_176) (817) [ARRY] (2) gri.sou.terminal.v = {480.0 * cos(gri.sou.phiSou), 480.0 * sin(gri.sou.phiSou)} ($RES_SIM_714) (818) [SCAL] (1) pv4.HDifTil.HDifTil.a = smooth(1, if $SEV_146 then 0.0 else if $SEV_147 then $FUN_42 else 0.5 * $FUN_42 - 0.25 * $FUN_42 * ((-3.0) + ($FUN_42 / (-0.01)) ^ 2.0) * (100.0 * $FUN_42)) ($RES_SIM_356) (819) [SCAL] (1) pv7.HDifTil.briCoe.b2 = smooth(1, if $SEV_60 then 1.0 else if $SEV_61 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.23 - pv7.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.23 - pv7.HDifTil.skyCle.skyCle))) ($RES_SIM_177) (820) [SCAL] (1) pv4.G.u1 = pv4.HDifTil.add.k1 * pv4.HDifTil.HDifTil.HSkyDifTil + pv4.HDifTil.add.k2 * pv4.HDifTil.HDifTil.HGroDifTil ($RES_SIM_357) (821) [SCAL] (1) pv7.HDifTil.briCoe.a1 = smooth(1, if $SEV_62 then 1.0 else if $SEV_63 then 0.0 else 0.5 - 0.25 * ((-3.0) + ((1.065 - pv7.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * (1.065 - pv7.HDifTil.skyCle.skyCle))) ($RES_SIM_178) (822) [SCAL] (1) gri.sou.terminal.theta[1] = 6.283185307179586 * gri.sou.f * time ($RES_SIM_716) (823) [SCAL] (1) pv1.panel.load.i[2] = -homotopy((pv1.panel.load.v[2] * pv1.panel.load.P - pv1.panel.load.v[1] * pv1.panel.load.Q) / (pv1.panel.load.v[1] ^ 2.0 + pv1.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_538) (824) [SCAL] (1) pv4.panel.load.P = pv4.panel.gain_DCAC.k * pv4.panel.gain_DCAC.u ($RES_SIM_359) (825) [SCAL] (1) pv1.panel.load.i[1] = -homotopy((pv1.panel.load.v[2] * pv1.panel.load.Q + pv1.panel.load.v[1] * pv1.panel.load.P) / (pv1.panel.load.v[1] ^ 2.0 + pv1.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_539) (826) [SCAL] (1) line2.terminal_p.v[1] = line3.terminal_n.v[1] ($RES_SIM_1719) (827) [SCAL] (1) line2.terminal_p.v[1] = loa2.terminal.v[1] ($RES_SIM_1718) (828) [SCAL] (1) line2.terminal_p.v[2] = pv2.terminal.v[2] ($RES_SIM_1717) (829) [SCAL] (1) line2.terminal_p.v[2] = line3.terminal_n.v[2] ($RES_SIM_1716) (830) [SCAL] (1) line2.terminal_p.v[2] = loa2.terminal.v[2] ($RES_SIM_1715) (831) [SCAL] (1) line3.terminal_n.i[1] + pv2.terminal.i[1] + line2.terminal_p.i[1] + loa2.terminal.i[1] = 0.0 ($RES_SIM_1714) (832) [SCAL] (1) line3.terminal_n.i[2] + pv2.terminal.i[2] + line2.terminal_p.i[2] + loa2.terminal.i[2] = 0.0 ($RES_SIM_1713) (833) [SCAL] (1) line3.terminal_p.theta[1] = pv3.terminal.theta[1] ($RES_SIM_1712) (834) [SCAL] (1) line3.terminal_p.theta[1] = line4.terminal_n.theta[1] ($RES_SIM_1711) (835) [SCAL] (1) $SEV_184 = 4.5 - pv2.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2999) (836) [SCAL] (1) line3.terminal_p.theta[1] = loa3.terminal.theta[1] ($RES_SIM_1710) (837) [SCAL] (1) $SEV_183 = 6.2 - pv2.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2998) (838) [SCAL] (1) $SEV_182 = 6.2 - pv2.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2997) (839) [SCAL] (1) $SEV_181 = (-6.2) + pv2.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2996) (840) [SCAL] (1) $SEV_180 = (-6.2) + pv2.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2995) (841) [SCAL] (1) pv7.HDifTil.skyCle.HDifHorBou = smooth(1, if $SEV_64 then pv1.HDifTil.skyCle.HDifHor else if $SEV_65 then 5e-5 else 0.25 * (5e-5 - pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + (((-5e-5) + pv1.HDifTil.skyCle.HDifHor) / 2.5e-5) ^ 2.0) * (4e4 * ((-5e-5) + pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (5e-5 + pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_180) (842) [SCAL] (1) $SEV_179 = -(pv2.HDifTil.briCoe.F12 * pv2.HDifTil.skyBri.skyBri + pv2.HDifTil.briCoe.F11 + pv2.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) < (-0.01) ($RES_EVT_2994) (843) [SCAL] (1) pv7.HDifTil.skyCle.tmp1 = 1.040895310738997 * pv1.HDifTil.skyCle.zen ^ 3.0 ($RES_SIM_181) (844) [SCAL] (1) $SEV_178 = -(pv2.HDifTil.briCoe.F12 * pv2.HDifTil.skyBri.skyBri + pv2.HDifTil.briCoe.F11 + pv2.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) > 0.01 ($RES_EVT_2993) (845) [SCAL] (1) pv1.panel.load.omega = $DER.pv1.panel.load.theRef ($RES_SIM_540) (846) [SCAL] (1) pv7.HDifTil.HDifTil.HGroDifTil = 0.06698729810778098 * pv7.HDifTil.HDifTil.rho * pv1.HDifTil.skyCle.HGloHor ($RES_SIM_182) (847) [SCAL] (1) $SEV_177 = 1.0 - 7.31528895391368e-4 * pv2.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor < (-0.025) ($RES_EVT_2992) (848) [SCAL] (1) pv6.terminal.i[2] + loa6.terminal.i[2] + line6.terminal_p.i[2] + line7.terminal_n.i[2] = 0.0 ($RES_SIM_720) (849) [SCAL] (1) pv1.panel.load.theRef = pv1.panel.load.terminal.theta[1] ($RES_SIM_541) (850) [SCAL] (1) pv7.HDifTil.HDifTil.HSkyDifTil = pv1.HDifTil.skyCle.HDifHor * ((pv7.HDifTil.HDifTil.a * pv7.HDifTil.briCoe.F1) / pv7.HDifTil.HDifTil.b + 0.933012701892219 * (1.0 - pv7.HDifTil.briCoe.F1) + 0.500000000000001 * pv7.HDifTil.briCoe.F2) ($RES_SIM_183) (851) [SCAL] (1) $SEV_176 = 1.0 - 7.31528895391368e-4 * pv2.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor > 0.025 ($RES_EVT_2991) (852) [SCAL] (1) pv6.terminal.i[1] + loa6.terminal.i[1] + line6.terminal_p.i[1] + line7.terminal_n.i[1] = 0.0 ($RES_SIM_721) (853) [SCAL] (1) pv7.HDifTil.HDifTil.b = smooth(1, if $SEV_66 then 0.08715574274765814 else if $SEV_67 then $FUN_76 else 0.25 * ((-0.08715574274765814) + $FUN_76) * ((-3.0) + ((0.08715574274765814 - $FUN_76) / 0.01) ^ 2.0) * (100.0 * (0.08715574274765814 - $FUN_76)) + 0.5 * (0.08715574274765814 + $FUN_76)) ($RES_SIM_184) (854) [SCAL] (1) pv7.HDifTil.HDifTil.a = smooth(1, if $SEV_68 then 0.0 else if $SEV_69 then $FUN_75 else 0.5 * $FUN_75 - 0.25 * $FUN_75 * ((-3.0) + ($FUN_75 / (-0.01)) ^ 2.0) * (100.0 * $FUN_75)) ($RES_SIM_185) (855) [SCAL] (1) line7.line.R_actual = ((line7.line.M + ((-273.15) + line7.TCable)) * line7.line.R) / (line7.line.M + ((-273.15) + line7.line.T_ref)) ($RES_SIM_544) (856) [SCAL] (1) pv7.G.u1 = pv7.HDifTil.add.k1 * pv7.HDifTil.HDifTil.HSkyDifTil + pv7.HDifTil.add.k2 * pv7.HDifTil.HDifTil.HGroDifTil ($RES_SIM_186) (857) [ARRY] (1) line7.line.terminal_p.theta = line7.line.terminal_n.theta ($RES_SIM_546) (858) [SCAL] (1) pv4.panel.load.i[2] = -homotopy((pv4.panel.load.v[2] * pv4.panel.load.P - pv4.panel.load.v[1] * pv4.panel.load.Q) / (pv4.panel.load.v[1] ^ 2.0 + pv4.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_367) (859) [SCAL] (1) pv7.panel.load.P = pv7.panel.gain_DCAC.k * pv7.panel.gain_DCAC.u ($RES_SIM_188) (860) [SCAL] (1) line7.line.LossPower = (0.5 * line7.line.R_actual) * (line7.line.terminal_p.i[1] ^ 2.0 + line7.line.terminal_p.i[2] ^ 2.0) + (0.5 * line7.line.R_actual) * (line7.line.terminal_n.i[1] ^ 2.0 + line7.line.terminal_n.i[2] ^ 2.0) ($RES_SIM_547) (861) [SCAL] (1) pv4.panel.load.i[1] = -homotopy((pv4.panel.load.v[2] * pv4.panel.load.Q + pv4.panel.load.v[1] * pv4.panel.load.P) / (pv4.panel.load.v[1] ^ 2.0 + pv4.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_368) (862) [ARRY] (1) gri.sou.terminal.theta = gri.terminal.theta ($RES_SIM_2156) (863) [ARRY] (2) line7.line.Vc = 0.5 .* (line7.line.terminal_p.v + line7.line.terminal_n.v) ($RES_SIM_548) (864) [SCAL] (1) pv4.panel.load.omega = $DER.pv4.panel.load.theRef ($RES_SIM_369) (865) [ARRY] (2) gri.sou.terminal.v = gri.terminal.v ($RES_SIM_2155) (866) [ARRY] (2) (0.5 * line7.line.L) * line7.line.omega * {-line7.line.terminal_n.i[2], line7.line.terminal_n.i[1]} + line7.line.terminal_n.i * $FUN_8 = line7.line.terminal_n.v - line7.line.Vc ($RES_SIM_549) (867) [FOR-] (2) ($RES_SIM_2153) (867) [----] for $i1 in 1:2 loop (867) [----] [SCAL] (1) gri.sou.terminal.i[$i1] - gri.terminal.i[$i1] = 0.0 ($RES_SIM_2154) (867) [----] end for; (868) [SCAL] (1) line3.terminal_p.v[1] = pv3.terminal.v[1] ($RES_SIM_1709) (869) [SCAL] (1) line3.terminal_p.v[1] = line4.terminal_n.v[1] ($RES_SIM_1708) (870) [SCAL] (1) line3.terminal_p.v[1] = loa3.terminal.v[1] ($RES_SIM_1707) (871) [SCAL] (1) line3.terminal_p.v[2] = pv3.terminal.v[2] ($RES_SIM_1706) (872) [SCAL] (1) line3.terminal_p.v[2] = line4.terminal_n.v[2] ($RES_SIM_1705) (873) [SCAL] (1) line3.terminal_p.v[2] = loa3.terminal.v[2] ($RES_SIM_1704) (874) [SCAL] (1) line4.terminal_n.i[1] + pv3.terminal.i[1] + line3.terminal_p.i[1] + loa3.terminal.i[1] = 0.0 ($RES_SIM_1703) (875) [SCAL] (1) line4.terminal_n.i[2] + pv3.terminal.i[2] + line3.terminal_p.i[2] + loa3.terminal.i[2] = 0.0 ($RES_SIM_1702) (876) [SCAL] (1) pv5.terminal.theta[1] = line5.terminal_p.theta[1] ($RES_SIM_1701) (877) [SCAL] (1) pv5.terminal.theta[1] = line6.terminal_n.theta[1] ($RES_SIM_1700) (878) [SCAL] (1) $SEV_173 = (-$FUN_31) < (-0.01) ($RES_EVT_2988) (879) [SCAL] (1) $SEV_172 = (-$FUN_31) > 0.01 ($RES_EVT_2987) (880) [SCAL] (1) $SEV_171 = 0.08715574274765814 - $FUN_32 < (-0.01) ($RES_EVT_2986) (881) [SCAL] (1) $SEV_170 = 0.08715574274765814 - $FUN_32 > 0.01 ($RES_EVT_2985) (882) [SCAL] (1) $SEV_169 = 1.065 - pv3.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2984) (883) [SCAL] (1) pv4.panel.load.theRef = pv4.panel.load.terminal.theta[1] ($RES_SIM_370) (884) [SCAL] (1) $SEV_168 = 1.065 - pv3.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2983) (885) [ARRY] (2) (0.5 * line7.line.L) * line7.line.omega * {-line7.line.terminal_p.i[2], line7.line.terminal_p.i[1]} + line7.line.terminal_p.i * $FUN_8 = line7.line.terminal_p.v - line7.line.Vc ($RES_SIM_550) (886) [SCAL] (1) pv3.G.y = pv3.G.k1 * pv3.G.u1 + pv3.G.k2 * pv3.G.u2 ($RES_SIM_371) (887) [SCAL] (1) $SEV_167 = 1.23 - pv3.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2982) (888) [ARRY] (2) line7.line.terminal_p.i + line7.line.terminal_n.i = line7.line.Ic ($RES_SIM_551) (889) [SCAL] (1) pv3.G.u2 = max(0.0, $FUN_41 * pv1.HDifTil.weaBus.HDirNor) ($RES_SIM_372) (890) [SCAL] (1) $SEV_166 = 1.23 - pv3.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2981) (891) [SCAL] (1) line7.line.omega = $DER.line7.line.theRef ($RES_SIM_552) (892) [SCAL] (1) $SEV_165 = 1.5 - pv3.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2980) (893) [SCAL] (1) line7.line.theRef = line7.line.terminal_p.theta[1] ($RES_SIM_553) (894) [SCAL] (1) pv7.panel.load.i[2] = -homotopy((pv7.panel.load.v[2] * pv7.panel.load.P - pv7.panel.load.v[1] * pv7.panel.load.Q) / (pv7.panel.load.v[1] ^ 2.0 + pv7.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_196) (895) [SCAL] (1) pv7.panel.load.i[1] = -homotopy((pv7.panel.load.v[2] * pv7.panel.load.Q + pv7.panel.load.v[1] * pv7.panel.load.P) / (pv7.panel.load.v[1] ^ 2.0 + pv7.panel.load.v[2] ^ 2.0), 0.0) ($RES_SIM_197) (896) [SCAL] (1) pv7.panel.load.omega = $DER.pv7.panel.load.theRef ($RES_SIM_198) (897) [ARRY] (1) line1.line.terminal_n.theta = line1.terminal_n.theta ($RES_SIM_2147) (898) [SCAL] (1) line6.line.R_actual = ((line6.line.M + ((-273.15) + line6.TCable)) * line6.line.R) / (line6.line.M + ((-273.15) + line6.line.T_ref)) ($RES_SIM_557) (899) [SCAL] (1) pv7.panel.load.theRef = pv7.panel.load.terminal.theta[1] ($RES_SIM_199) (900) [ARRY] (2) line1.line.terminal_n.v = line1.terminal_n.v ($RES_SIM_2146) (901) [SCAL] (1) pv3.HDifTil.skyBri.skyBri = smooth(1, if $SEV_150 then 7.31528895391368e-4 * pv3.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor else if $SEV_151 then 1.0 else 0.25 * (1.0 - 7.31528895391368e-4 * pv3.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor) * ((-3.0) + ((1.0 - 7.31528895391368e-4 * pv1.HDifTil.skyCle.HDifHor * pv3.HDifTil.relAirMas.relAirMas) / 0.025) ^ 2.0) * (40.0 * (1.0 - 7.31528895391368e-4 * pv3.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) + 0.5 * (1.0 + 7.31528895391368e-4 * pv3.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor)) ($RES_SIM_379) (902) [ARRY] (1) line6.line.terminal_p.theta = line6.line.terminal_n.theta ($RES_SIM_559) (903) [FOR-] (2) ($RES_SIM_2144) (903) [----] for $i1 in 1:2 loop (903) [----] [SCAL] (1) line1.line.terminal_n.i[$i1] - line1.terminal_n.i[$i1] = 0.0 ($RES_SIM_2145) (903) [----] end for; (904) [ARRY] (1) line1.terminal_p.theta = line1.line.terminal_p.theta ($RES_SIM_2143) (905) [ARRY] (2) line1.terminal_p.v = line1.line.terminal_p.v ($RES_SIM_2142) (906) [FOR-] (2) ($RES_SIM_2140) (906) [----] for $i1 in 1:2 loop (906) [----] [SCAL] (1) line1.line.terminal_p.i[$i1] - line1.terminal_p.i[$i1] = 0.0 ($RES_SIM_2141) (906) [----] end for; (907) [SCAL] (1) pv5.panel.load.Q = pv5.panel.load.P * $FUN_129 ($RES_BND_2291) (908) [ARRY] (2) pv5.panel.load.S = {pv5.panel.load.v[1] * (-pv5.panel.load.i)[1] + pv5.panel.load.v[2] * (-pv5.panel.load.i)[2], pv5.panel.load.v[2] * (-pv5.panel.load.i)[1] - pv5.panel.load.v[1] * (-pv5.panel.load.i)[2]} ($RES_BND_2290) (909) [SCAL] (1) $SEV_164 = 1.5 - pv3.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2979) (910) [SCAL] (1) $SEV_163 = 1.95 - pv3.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2978) (911) [SCAL] (1) $SEV_162 = 1.95 - pv3.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2977) (912) [SCAL] (1) $SEV_161 = 2.8 - pv3.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2976) (913) [SCAL] (1) $SEV_160 = 2.8 - pv3.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2975) (914) [SCAL] (1) $SEV_159 = 4.5 - pv3.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2974) (915) [SCAL] (1) pv3.HDifTil.relAirMas.relAirMas = 1/($FUN_34 + 0.15 * (93.9 - pv3.HDifTil.relAirMas.zenDeg) ^ (-1.253)) ($RES_SIM_380) (916) [SCAL] (1) $SEV_158 = 4.5 - pv3.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2973) (917) [SCAL] (1) line6.line.LossPower = (0.5 * line6.line.R_actual) * (line6.line.terminal_p.i[1] ^ 2.0 + line6.line.terminal_p.i[2] ^ 2.0) + (0.5 * line6.line.R_actual) * (line6.line.terminal_n.i[1] ^ 2.0 + line6.line.terminal_n.i[2] ^ 2.0) ($RES_SIM_560) (918) [SCAL] (1) $SEV_157 = 6.2 - pv3.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2972) (919) [ARRY] (2) line6.line.Vc = 0.5 .* (line6.line.terminal_p.v + line6.line.terminal_n.v) ($RES_SIM_561) (920) [SCAL] (1) 0.017453292519943295 * pv3.HDifTil.relAirMas.zenDeg = smooth(1, if $SEV_44 then pv1.HDifTil.skyCle.zen else if $SEV_45 then 1.5707963267948966 else 0.25 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen) * ((-3.0) + ((1.5707963267948966 - pv1.HDifTil.skyCle.zen) / 0.01) ^ 2.0) * (100.0 * (1.5707963267948966 - pv1.HDifTil.skyCle.zen)) + 0.5 * (1.5707963267948966 + pv1.HDifTil.skyCle.zen)) ($RES_SIM_382) (921) [SCAL] (1) $SEV_156 = 6.2 - pv3.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2971) (922) [ARRY] (2) (0.5 * line6.line.L) * line6.line.omega * {-line6.line.terminal_n.i[2], line6.line.terminal_n.i[1]} + line6.line.terminal_n.i * $FUN_7 = line6.line.terminal_n.v - line6.line.Vc ($RES_SIM_562) (923) [SCAL] (1) pv3.HDifTil.briCoe.F2 = pv3.HDifTil.briCoe.F22 * pv3.HDifTil.skyBri.skyBri + pv3.HDifTil.briCoe.F21 + pv3.HDifTil.briCoe.F23 * pv1.HDifTil.skyCle.zen ($RES_SIM_383) (924) [SCAL] (1) $SEV_155 = (-6.2) + pv3.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2970) (925) [ARRY] (2) (0.5 * line6.line.L) * line6.line.omega * {-line6.line.terminal_p.i[2], line6.line.terminal_p.i[1]} + line6.line.terminal_p.i * $FUN_7 = line6.line.terminal_p.v - line6.line.Vc ($RES_SIM_563) (926) [SCAL] (1) pv3.HDifTil.briCoe.F1 = smooth(1, if $SEV_152 then 0.0 else if $SEV_153 then pv3.HDifTil.briCoe.F12 * pv3.HDifTil.skyBri.skyBri + pv3.HDifTil.briCoe.F11 + pv3.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen else 0.25 * (pv3.HDifTil.briCoe.F12 * pv3.HDifTil.skyBri.skyBri + pv3.HDifTil.briCoe.F11 + pv3.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) * ((-3.0) + ((-(pv1.HDifTil.skyCle.zen * pv3.HDifTil.briCoe.F13 + pv3.HDifTil.briCoe.F11 + pv3.HDifTil.skyBri.skyBri * pv3.HDifTil.briCoe.F12)) / 0.01) ^ 2.0) * (100.0 * (-(pv3.HDifTil.briCoe.F12 * pv3.HDifTil.skyBri.skyBri + pv3.HDifTil.briCoe.F11 + pv3.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen))) + 0.5 * (pv3.HDifTil.briCoe.F12 * pv3.HDifTil.skyBri.skyBri + pv3.HDifTil.briCoe.F11 + pv3.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen)) ($RES_SIM_384) (927) [ARRY] (2) line6.line.terminal_p.i + line6.line.terminal_n.i = line6.line.Ic ($RES_SIM_564) (928) [SCAL] (1) pv3.HDifTil.briCoe.F23 = (0.1310694 * pv3.HDifTil.briCoe.a7 + 0.0558651 * pv3.HDifTil.briCoe.a6 + 0.0012448 * pv3.HDifTil.briCoe.a5 + 0.2506212 * pv3.HDifTil.briCoe.a8) - (0.0139754 * pv3.HDifTil.briCoe.a4 + 0.0260542 * pv3.HDifTil.briCoe.a3 + 0.0288748 * pv3.HDifTil.briCoe.a2 + 0.0220216 * pv3.HDifTil.briCoe.a1) ($RES_SIM_385) (929) [SCAL] (1) line6.line.omega = $DER.line6.line.theRef ($RES_SIM_565) (930) [SCAL] (1) pv3.HDifTil.briCoe.F22 = (0.065965 * pv3.HDifTil.briCoe.a2 + 0.0721249 * pv3.HDifTil.briCoe.a1) - (1.3765031 * pv3.HDifTil.briCoe.a8 + 1.127234 * pv3.HDifTil.briCoe.a7 + 0.8230357 * pv3.HDifTil.briCoe.a6 + 0.4620442 * pv3.HDifTil.briCoe.a5 + 0.1519229 * pv3.HDifTil.briCoe.a4 + 0.0639588 * pv3.HDifTil.briCoe.a3) ($RES_SIM_386) (931) [SCAL] (1) line6.line.theRef = line6.line.terminal_p.theta[1] ($RES_SIM_566) (932) [SCAL] (1) pv3.HDifTil.briCoe.F21 = (0.2642124 * pv3.HDifTil.briCoe.a7 + 0.2877813 * pv3.HDifTil.briCoe.a6 + 0.2255647 * pv3.HDifTil.briCoe.a5 + 0.1088631 * pv3.HDifTil.briCoe.a4 + 0.055414 * pv3.HDifTil.briCoe.a3 + 0.1561313 * pv3.HDifTil.briCoe.a8) - (0.0189325 * pv3.HDifTil.briCoe.a2 + 0.0596012 * pv3.HDifTil.briCoe.a1) ($RES_SIM_387) (933) [ARRY] (1) line2.line.terminal_n.theta = line2.terminal_n.theta ($RES_SIM_2137) (934) [SCAL] (1) pv3.HDifTil.briCoe.F13 = -(0.3589221 * pv3.HDifTil.briCoe.a7 + 0.4118494 * pv3.HDifTil.briCoe.a6 + 0.3616149 * pv3.HDifTil.briCoe.a5 + 0.295129 * pv3.HDifTil.briCoe.a4 + 0.2210958 * pv3.HDifTil.briCoe.a3 + 0.1513725 * pv3.HDifTil.briCoe.a2 + 0.0620636 * pv3.HDifTil.briCoe.a1 + 0.2504286 * pv3.HDifTil.briCoe.a8) ($RES_SIM_388) (935) [ARRY] (2) line2.line.terminal_n.v = line2.terminal_n.v ($RES_SIM_2136) (936) [SCAL] (1) loa7.P = loa7.P_nominal * loa7.load ($RES_SIM_568) (937) [SCAL] (1) pv3.HDifTil.briCoe.F12 = (0.1874525 * pv3.HDifTil.briCoe.a4 + 0.4868735 * pv3.HDifTil.briCoe.a3 + 0.6825954 * pv3.HDifTil.briCoe.a2 + 0.5877285 * pv3.HDifTil.briCoe.a1) - (0.3272588 * pv3.HDifTil.briCoe.a8 + 1.5999137 * pv3.HDifTil.briCoe.a7 + 1.2367284 * pv3.HDifTil.briCoe.a6 + 0.3920403 * pv3.HDifTil.briCoe.a5) ($RES_SIM_389) (938) [SCAL] (1) pv4.HDifTil.skyCle.skyCle = Buildings.Utilities.Math.Functions.smoothLimit((pv1.HDifTil.skyCle.HGloHor / pv4.HDifTil.skyCle.HDifHorBou + pv4.HDifTil.skyCle.tmp1) / (1.0 + pv4.HDifTil.skyCle.tmp1), 1.0, 8.0, 0.01) ($RES_$AUX_2499) (939) [FOR-] (2) ($RES_SIM_2134) (939) [----] for $i1 in 1:2 loop (939) [----] [SCAL] (1) line2.line.terminal_n.i[$i1] - line2.terminal_n.i[$i1] = 0.0 ($RES_SIM_2135) (939) [----] end for; (940) [SCAL] (1) $FUN_45 = cos(0.017453292519943295 * pv4.HDifTil.relAirMas.zenDeg) ($RES_$AUX_2498) (941) [ARRY] (1) line2.terminal_p.theta = line2.line.terminal_p.theta ($RES_SIM_2133) (942) [SCAL] (1) $FUN_46 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2497) (943) [ARRY] (2) pv5.panel.load.i = pv5.panel.load.terminal.i ($RES_BND_2289) (944) [ARRY] (2) line2.terminal_p.v = line2.line.terminal_p.v ($RES_SIM_2132) (945) [SCAL] (1) pv4.HDifTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_46) ($RES_$AUX_2496) (946) [ARRY] (2) pv5.panel.load.v = pv5.panel.load.terminal.v ($RES_BND_2288) (947) [SCAL] (1) pv4.HDifTil.HDifTil.incAng = acos(0.866025403784438 * (0.7920766142499671 * pv4.HDifTil.incAng.incAng.sol_c * pv4.HDifTil.incAng.incAng.dec_c + 0.6104216879816025 * pv4.HDifTil.incAng.incAng.dec_s) + 0.500000000000001 * (0.6104216879816025 * pv4.HDifTil.incAng.incAng.sol_c * pv4.HDifTil.incAng.incAng.dec_c - 0.7920766142499671 * pv4.HDifTil.incAng.incAng.dec_s)) ($RES_$AUX_2495) (948) [SCAL] (1) pv5.panel.gain_DCAC.u = pv5.panel.eta * pv5.panel.A * pv5.panel.fAct * pv5.G.y ($RES_BND_2287) (949) [FOR-] (2) ($RES_SIM_2130) (949) [----] for $i1 in 1:2 loop (949) [----] [SCAL] (1) line2.line.terminal_p.i[$i1] - line2.terminal_p.i[$i1] = 0.0 ($RES_SIM_2131) (949) [----] end for; (950) [SCAL] (1) $FUN_49 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2494) (951) [SCAL] (1) pv4.HDirTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_49) ($RES_$AUX_2493) (952) [SCAL] (1) ERat.y = ERat.u1 / ERat.u2 ($RES_SIM_12) (953) [SCAL] (1) pv4.HDirTil.HDirTil.incAng = acos(0.866025403784438 * (0.7920766142499671 * pv4.HDirTil.incAng.incAng.sol_c * pv4.HDirTil.incAng.incAng.dec_c + 0.6104216879816025 * pv4.HDirTil.incAng.incAng.dec_s) + 0.500000000000001 * (0.6104216879816025 * pv4.HDirTil.incAng.incAng.sol_c * pv4.HDirTil.incAng.incAng.dec_c - 0.7920766142499671 * pv4.HDirTil.incAng.incAng.dec_s)) ($RES_$AUX_2492) (954) [SCAL] (1) ERat.u1 = EPro.k1 * EPro.u1 + EPro.k2 * EPro.u2 ($RES_SIM_13) (955) [SCAL] (1) $FUN_52 = cos(pv4.HDirTil.HDirTil.incAng) ($RES_$AUX_2491) (956) [SCAL] (1) $DER.ERat.u2 = ELoa.k * ELoa.u ($RES_SIM_14) (957) [SCAL] (1) $FUN_53 = cos(pv5.HDifTil.HDifTil.incAng) ($RES_$AUX_2490) (958) [SCAL] (1) $DER.EPro.u1 = ESol.k * PSol.y ($RES_SIM_17) (959) [SCAL] (1) $SEV_154 = (-6.2) + pv3.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2969) (960) [SCAL] (1) $SEV_153 = -(pv3.HDifTil.briCoe.F12 * pv3.HDifTil.skyBri.skyBri + pv3.HDifTil.briCoe.F11 + pv3.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) < (-0.01) ($RES_EVT_2968) (961) [SCAL] (1) $SEV_152 = -(pv3.HDifTil.briCoe.F12 * pv3.HDifTil.skyBri.skyBri + pv3.HDifTil.briCoe.F11 + pv3.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) > 0.01 ($RES_EVT_2967) (962) [SCAL] (1) $SEV_151 = 1.0 - 7.31528895391368e-4 * pv3.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor < (-0.025) ($RES_EVT_2966) (963) [SCAL] (1) $SEV_150 = 1.0 - 7.31528895391368e-4 * pv3.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor > 0.025 ($RES_EVT_2965) (964) [SCAL] (1) pv3.HDifTil.briCoe.F11 = (1.0601591 * pv3.HDifTil.briCoe.a7 + 1.1326077 * pv3.HDifTil.briCoe.a6 + 0.873028 * pv3.HDifTil.briCoe.a5 + 0.5682053 * pv3.HDifTil.briCoe.a4 + 0.3296958 * pv3.HDifTil.briCoe.a3 + 0.1299457 * pv3.HDifTil.briCoe.a2 + 0.677747 * pv3.HDifTil.briCoe.a8) - 0.0083117 * pv3.HDifTil.briCoe.a1 ($RES_SIM_390) (965) [SCAL] (1) $SEV_147 = (-$FUN_42) < (-0.01) ($RES_EVT_2962) (966) [SCAL] (1) pv3.HDifTil.briCoe.a7 = pv3.HDifTil.briCoe.b7 - pv3.HDifTil.briCoe.b6 ($RES_SIM_392) (967) [SCAL] (1) $SEV_146 = (-$FUN_42) > 0.01 ($RES_EVT_2961) (968) [SCAL] (1) pv3.HDifTil.briCoe.a6 = pv3.HDifTil.briCoe.b6 - pv3.HDifTil.briCoe.b5 ($RES_SIM_393) (969) [SCAL] (1) $SEV_145 = 0.08715574274765814 - $FUN_43 < (-0.01) ($RES_EVT_2960) (970) [SCAL] (1) pv3.HDifTil.briCoe.a5 = pv3.HDifTil.briCoe.b5 - pv3.HDifTil.briCoe.b4 ($RES_SIM_394) (971) [SCAL] (1) pv3.HDifTil.briCoe.a4 = pv3.HDifTil.briCoe.b4 - pv3.HDifTil.briCoe.b3 ($RES_SIM_395) (972) [SCAL] (1) loa7.i[2] = -homotopy((loa7.v[2] * loa7.P - loa7.v[1] * loa7.Q) / (loa7.v[1] ^ 2.0 + loa7.v[2] ^ 2.0), 0.0) ($RES_SIM_575) (973) [SCAL] (1) pv3.HDifTil.briCoe.a3 = pv3.HDifTil.briCoe.b3 - pv3.HDifTil.briCoe.b2 ($RES_SIM_396) (974) [SCAL] (1) loa7.i[1] = -homotopy((loa7.v[2] * loa7.Q + loa7.v[1] * loa7.P) / (loa7.v[1] ^ 2.0 + loa7.v[2] ^ 2.0), 0.0) ($RES_SIM_576) (975) [SCAL] (1) pv3.HDifTil.briCoe.a2 = pv3.HDifTil.briCoe.b2 - pv3.HDifTil.briCoe.a1 ($RES_SIM_397) (976) [ARRY] (1) line3.line.terminal_n.theta = line3.terminal_n.theta ($RES_SIM_2127) (977) [SCAL] (1) loa7.omega = $DER.loa7.theRef ($RES_SIM_577) (978) [ARRY] (2) line3.line.terminal_n.v = line3.terminal_n.v ($RES_SIM_2126) (979) [SCAL] (1) loa7.theRef = loa7.terminal.theta[1] ($RES_SIM_578) (980) [SCAL] (1) pv3.HDifTil.briCoe.a8 = smooth(1, if $SEV_154 then 1.0 else if $SEV_155 then 0.0 else 0.5 - 0.25 * ((-3.0) + (((-6.2) + pv3.HDifTil.skyCle.skyCle) / 0.01) ^ 2.0) * (100.0 * ((-6.2) + pv3.HDifTil.skyCle.skyCle))) ($RES_SIM_399) (981) [SCAL] (1) loa6.P = loa6.P_nominal * loa6.load ($RES_SIM_579) (982) [SCAL] (1) $FUN_54 = cos(pv1.HDifTil.skyCle.zen) ($RES_$AUX_2489) (983) [FOR-] (2) ($RES_SIM_2124) (983) [----] for $i1 in 1:2 loop (983) [----] [SCAL] (1) line3.line.terminal_n.i[$i1] - line3.terminal_n.i[$i1] = 0.0 ($RES_SIM_2125) (983) [----] end for; (984) [SCAL] (1) pv5.HDifTil.skyCle.skyCle = Buildings.Utilities.Math.Functions.smoothLimit((pv1.HDifTil.skyCle.HGloHor / pv5.HDifTil.skyCle.HDifHorBou + pv5.HDifTil.skyCle.tmp1) / (1.0 + pv5.HDifTil.skyCle.tmp1), 1.0, 8.0, 0.01) ($RES_$AUX_2488) (985) [ARRY] (1) line3.terminal_p.theta = line3.line.terminal_p.theta ($RES_SIM_2123) (986) [SCAL] (1) $FUN_56 = cos(0.017453292519943295 * pv5.HDifTil.relAirMas.zenDeg) ($RES_$AUX_2487) (987) [ARRY] (2) line3.terminal_p.v = line3.line.terminal_p.v ($RES_SIM_2122) (988) [SCAL] (1) $FUN_57 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2486) (989) [SCAL] (1) pv5.HDifTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_57) ($RES_$AUX_2485) (990) [SCAL] (1) PSol.y = PSol.k * PSol.u ($RES_SIM_20) (991) [FOR-] (2) ($RES_SIM_2120) (991) [----] for $i1 in 1:2 loop (991) [----] [SCAL] (1) line3.line.terminal_p.i[$i1] - line3.terminal_p.i[$i1] = 0.0 ($RES_SIM_2121) (991) [----] end for; (992) [SCAL] (1) pv5.HDifTil.HDifTil.incAng = acos(0.8191520442889891 * (0.7920766142499671 * pv5.HDifTil.incAng.incAng.sol_c * pv5.HDifTil.incAng.incAng.dec_c + 0.6104216879816025 * pv5.HDifTil.incAng.incAng.dec_s) + 0.5735764363510498 * (pv5.HDifTil.incAng.incAng.dec_c * pv5.HDifTil.incAng.incAng.sol_s + 6.123233995736766e-17 * (0.6104216879816025 * pv5.HDifTil.incAng.incAng.sol_c * pv5.HDifTil.incAng.incAng.dec_c - 0.7920766142499671 * pv5.HDifTil.incAng.incAng.dec_s))) ($RES_$AUX_2484) (993) [SCAL] (1) $DER.EPro.u2 = EWin.k * EWin.u ($RES_SIM_21) (994) [SCAL] (1) $FUN_60 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2483) (995) [SCAL] (1) pv5.HDirTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_60) ($RES_$AUX_2482) (996) [SCAL] (1) pv5.HDirTil.HDirTil.incAng = acos(0.8191520442889891 * (0.7920766142499671 * pv5.HDirTil.incAng.incAng.sol_c * pv5.HDirTil.incAng.incAng.dec_c + 0.6104216879816025 * pv5.HDirTil.incAng.incAng.dec_s) + 0.5735764363510498 * (pv5.HDirTil.incAng.incAng.dec_c * pv5.HDirTil.incAng.incAng.sol_s + 6.123233995736766e-17 * (0.6104216879816025 * pv5.HDirTil.incAng.incAng.sol_c * pv5.HDirTil.incAng.incAng.dec_c - 0.7920766142499671 * pv5.HDirTil.incAng.incAng.dec_s))) ($RES_$AUX_2481) (997) [SCAL] (1) pv4.panel.load.Q = pv4.panel.load.P * $FUN_139 ($RES_BND_2273) (998) [ARRY] (2) sen3.term.i = {0.0 for $i1 in 1:2} ($RES_SIM_24) (999) [SCAL] (1) $FUN_63 = cos(pv5.HDirTil.HDirTil.incAng) ($RES_$AUX_2480) (1000) [ARRY] (2) pv4.panel.load.S = {pv4.panel.load.v[1] * (-pv4.panel.load.i)[1] + pv4.panel.load.v[2] * (-pv4.panel.load.i)[2], pv4.panel.load.v[2] * (-pv4.panel.load.i)[1] - pv4.panel.load.v[1] * (-pv4.panel.load.i)[2]} ($RES_BND_2272) (1001) [SCAL] (1) sen3.V = 0.0020833333333333333 * (sen3.term.v / ((sen3.term.v * sen3.term.v * (sen3.term.v * sen3.term.v) + 1.0000000000000002e-10) ^ 0.25 * sen3.term.v)) ($RES_SIM_25) (1002) [ARRY] (2) pv4.panel.load.i = pv4.panel.load.terminal.i ($RES_BND_2271) (1003) [SCAL] (1) sen3.theta = atan2(sen3.term.v[2], sen3.term.v[1]) ($RES_SIM_26) (1004) [ARRY] (2) pv4.panel.load.v = pv4.panel.load.terminal.v ($RES_BND_2270) (1005) [ARRY] (2) sen2.term.i = {0.0 for $i1 in 1:2} ($RES_SIM_27) (1006) [SCAL] (1) sen2.V = 0.0020833333333333333 * (sen2.term.v / ((sen2.term.v * sen2.term.v * (sen2.term.v * sen2.term.v) + 1.0000000000000002e-10) ^ 0.25 * sen2.term.v)) ($RES_SIM_28) (1007) [SCAL] (1) sen2.theta = atan2(sen2.term.v[2], sen2.term.v[1]) ($RES_SIM_29) (1008) [SCAL] (1) $SEV_144 = 0.08715574274765814 - $FUN_43 > 0.01 ($RES_EVT_2959) (1009) [SCAL] (1) $SEV_143 = 1.065 - pv4.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2958) (1010) [SCAL] (1) $SEV_142 = 1.065 - pv4.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2957) (1011) [SCAL] (1) $SEV_141 = 1.23 - pv4.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2956) (1012) [SCAL] (1) $SEV_140 = 1.23 - pv4.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2955) (1013) [SCAL] (1) $SEV_139 = 1.5 - pv4.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2954) (1014) [SCAL] (1) $SEV_138 = 1.5 - pv4.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2953) (1015) [SCAL] (1) $SEV_137 = 1.95 - pv4.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2952) (1016) [SCAL] (1) $SEV_136 = 1.95 - pv4.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2951) (1017) [SCAL] (1) $SEV_135 = 2.8 - pv4.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2950) (1018) [SCAL] (1) loa6.i[2] = -homotopy((loa6.v[2] * loa6.P - loa6.v[1] * loa6.Q) / (loa6.v[1] ^ 2.0 + loa6.v[2] ^ 2.0), 0.0) ($RES_SIM_586) (1019) [ARRY] (1) line4.line.terminal_n.theta = line4.terminal_n.theta ($RES_SIM_2117) (1020) [SCAL] (1) loa6.i[1] = -homotopy((loa6.v[2] * loa6.Q + loa6.v[1] * loa6.P) / (loa6.v[1] ^ 2.0 + loa6.v[2] ^ 2.0), 0.0) ($RES_SIM_587) (1021) [ARRY] (2) line4.line.terminal_n.v = line4.terminal_n.v ($RES_SIM_2116) (1022) [SCAL] (1) loa6.omega = $DER.loa6.theRef ($RES_SIM_588) (1023) [SCAL] (1) loa6.theRef = loa6.terminal.theta[1] ($RES_SIM_589) (1024) [SCAL] (1) $FUN_64 = cos(pv6.HDifTil.HDifTil.incAng) ($RES_$AUX_2479) (1025) [FOR-] (2) ($RES_SIM_2114) (1025) [----] for $i1 in 1:2 loop (1025) [----] [SCAL] (1) line4.line.terminal_n.i[$i1] - line4.terminal_n.i[$i1] = 0.0 ($RES_SIM_2115) (1025) [----] end for; (1026) [SCAL] (1) $FUN_65 = cos(pv1.HDifTil.skyCle.zen) ($RES_$AUX_2478) (1027) [ARRY] (1) line4.terminal_p.theta = line4.line.terminal_p.theta ($RES_SIM_2113) (1028) [SCAL] (1) pv6.HDifTil.skyCle.skyCle = Buildings.Utilities.Math.Functions.smoothLimit((pv1.HDifTil.skyCle.HGloHor / pv6.HDifTil.skyCle.HDifHorBou + pv6.HDifTil.skyCle.tmp1) / (1.0 + pv6.HDifTil.skyCle.tmp1), 1.0, 8.0, 0.01) ($RES_$AUX_2477) (1029) [SCAL] (1) pv4.panel.gain_DCAC.u = pv4.panel.eta * pv4.panel.A * pv4.panel.fAct * pv4.G.y ($RES_BND_2269) (1030) [ARRY] (2) line4.terminal_p.v = line4.line.terminal_p.v ($RES_SIM_2112) (1031) [SCAL] (1) $FUN_67 = cos(0.017453292519943295 * pv6.HDifTil.relAirMas.zenDeg) ($RES_$AUX_2476) (1032) [SCAL] (1) $FUN_68 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2475) (1033) [ARRY] (2) sen1.term.i = {0.0 for $i1 in 1:2} ($RES_SIM_30) (1034) [FOR-] (2) ($RES_SIM_2110) (1034) [----] for $i1 in 1:2 loop (1034) [----] [SCAL] (1) line4.line.terminal_p.i[$i1] - line4.terminal_p.i[$i1] = 0.0 ($RES_SIM_2111) (1034) [----] end for; (1035) [SCAL] (1) pv6.HDifTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_68) ($RES_$AUX_2474) (1036) [SCAL] (1) sen1.V = 0.0020833333333333333 * (sen1.term.v / ((sen1.term.v * sen1.term.v * (sen1.term.v * sen1.term.v) + 1.0000000000000002e-10) ^ 0.25 * sen1.term.v)) ($RES_SIM_31) (1037) [SCAL] (1) pv6.HDifTil.HDifTil.incAng = acos(0.9063077870366509 * (0.7920766142499671 * pv6.HDifTil.incAng.incAng.sol_c * pv6.HDifTil.incAng.incAng.dec_c + 0.6104216879816025 * pv6.HDifTil.incAng.incAng.dec_s) + 0.4226182617406973 * (6.123233995736766e-17 * (0.6104216879816025 * pv6.HDifTil.incAng.incAng.sol_c * pv6.HDifTil.incAng.incAng.dec_c - 0.7920766142499671 * pv6.HDifTil.incAng.incAng.dec_s) - pv6.HDifTil.incAng.incAng.dec_c * pv6.HDifTil.incAng.incAng.sol_s)) ($RES_$AUX_2473) (1038) [SCAL] (1) sen1.theta = atan2(sen1.term.v[2], sen1.term.v[1]) ($RES_SIM_32) (1039) [SCAL] (1) $FUN_71 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2472) (1040) [SCAL] (1) pow7.y[1] = pow7.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValue(pow7.tableID, 1, 2.777777777777778e-4 * time, pow7.nextTimeEventScaled, $TEV_0) ($RES_SIM_33) (1041) [SCAL] (1) pv6.HDirTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_71) ($RES_$AUX_2471) (1042) [WHEN] (1)when {$SEV_9, initial()} then (1042) [----] pow7.nextTimeEvent := if pow7.nextTimeEventScaled < 1e60 then pow7.nextTimeEventScaled * 3600.0 else 1e60 (1042) [----] end when; (1043) [SCAL] (1) pv6.HDirTil.HDirTil.incAng = acos(0.9063077870366509 * (0.7920766142499671 * pv6.HDirTil.incAng.incAng.sol_c * pv6.HDirTil.incAng.incAng.dec_c + 0.6104216879816025 * pv6.HDirTil.incAng.incAng.dec_s) + 0.4226182617406973 * (6.123233995736766e-17 * (0.6104216879816025 * pv6.HDirTil.incAng.incAng.sol_c * pv6.HDirTil.incAng.incAng.dec_c - 0.7920766142499671 * pv6.HDirTil.incAng.incAng.dec_s) - pv6.HDirTil.incAng.incAng.dec_c * pv6.HDirTil.incAng.incAng.sol_s)) ($RES_$AUX_2470) (1044) [WHEN] (1)when {$SEV_9, initial()} then (1044) [----] pow7.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(pow7.tableID, 2.777777777777778e-4 * time) (1044) [----] end when; (1045) [SCAL] (1) pow6.y[1] = pow6.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValue(pow6.tableID, 1, 2.777777777777778e-4 * time, pow6.nextTimeEventScaled, $TEV_1) ($RES_SIM_37) (1046) [WHEN] (1)when {$SEV_10, initial()} then (1046) [----] pow6.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(pow6.tableID, 2.777777777777778e-4 * time) (1046) [----] end when; (1047) [WHEN] (1)when {$SEV_10, initial()} then (1047) [----] pow6.nextTimeEvent := if pow6.nextTimeEventScaled < 1e60 then pow6.nextTimeEventScaled * 3600.0 else 1e60 (1047) [----] end when; (1048) [SCAL] (1) $SEV_134 = 2.8 - pv4.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2949) (1049) [SCAL] (1) $SEV_133 = 4.5 - pv4.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2948) (1050) [SCAL] (1) $SEV_132 = 4.5 - pv4.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2947) (1051) [SCAL] (1) $SEV_131 = 6.2 - pv4.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2946) (1052) [SCAL] (1) $SEV_130 = 6.2 - pv4.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2945) (1053) [SCAL] (1) $SEV_129 = (-6.2) + pv4.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2944) (1054) [SCAL] (1) loa5.P = loa5.P_nominal * loa5.load ($RES_SIM_590) (1055) [SCAL] (1) $SEV_128 = (-6.2) + pv4.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2943) (1056) [SCAL] (1) $SEV_127 = -(pv4.HDifTil.briCoe.F12 * pv4.HDifTil.skyBri.skyBri + pv4.HDifTil.briCoe.F11 + pv4.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) < (-0.01) ($RES_EVT_2942) (1057) [SCAL] (1) $SEV_126 = -(pv4.HDifTil.briCoe.F12 * pv4.HDifTil.skyBri.skyBri + pv4.HDifTil.briCoe.F11 + pv4.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) > 0.01 ($RES_EVT_2941) (1058) [SCAL] (1) $SEV_125 = 1.0 - 7.31528895391368e-4 * pv4.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor < (-0.025) ($RES_EVT_2940) (1059) [ARRY] (1) line5.line.terminal_n.theta = line5.terminal_n.theta ($RES_SIM_2107) (1060) [SCAL] (1) loa5.i[2] = -homotopy((loa5.v[2] * loa5.P - loa5.v[1] * loa5.Q) / (loa5.v[1] ^ 2.0 + loa5.v[2] ^ 2.0), 0.0) ($RES_SIM_597) (1061) [ARRY] (2) line5.line.terminal_n.v = line5.terminal_n.v ($RES_SIM_2106) (1062) [SCAL] (1) loa5.i[1] = -homotopy((loa5.v[2] * loa5.Q + loa5.v[1] * loa5.P) / (loa5.v[1] ^ 2.0 + loa5.v[2] ^ 2.0), 0.0) ($RES_SIM_598) (1063) [SCAL] (1) loa5.omega = $DER.loa5.theRef ($RES_SIM_599) (1064) [SCAL] (1) $FUN_74 = cos(pv6.HDirTil.HDirTil.incAng) ($RES_$AUX_2469) (1065) [FOR-] (2) ($RES_SIM_2104) (1065) [----] for $i1 in 1:2 loop (1065) [----] [SCAL] (1) line5.line.terminal_n.i[$i1] - line5.terminal_n.i[$i1] = 0.0 ($RES_SIM_2105) (1065) [----] end for; (1066) [SCAL] (1) $FUN_75 = cos(pv7.HDifTil.HDifTil.incAng) ($RES_$AUX_2468) (1067) [ARRY] (1) line5.terminal_p.theta = line5.line.terminal_p.theta ($RES_SIM_2103) (1068) [SCAL] (1) $FUN_76 = cos(pv1.HDifTil.skyCle.zen) ($RES_$AUX_2467) (1069) [ARRY] (2) line5.terminal_p.v = line5.line.terminal_p.v ($RES_SIM_2102) (1070) [SCAL] (1) pv7.HDifTil.skyCle.skyCle = Buildings.Utilities.Math.Functions.smoothLimit((pv1.HDifTil.skyCle.HGloHor / pv7.HDifTil.skyCle.HDifHorBou + pv7.HDifTil.skyCle.tmp1) / (1.0 + pv7.HDifTil.skyCle.tmp1), 1.0, 8.0, 0.01) ($RES_$AUX_2466) (1071) [SCAL] (1) $FUN_78 = cos(0.017453292519943295 * pv7.HDifTil.relAirMas.zenDeg) ($RES_$AUX_2465) (1072) [FOR-] (2) ($RES_SIM_2100) (1072) [----] for $i1 in 1:2 loop (1072) [----] [SCAL] (1) line5.line.terminal_p.i[$i1] - line5.terminal_p.i[$i1] = 0.0 ($RES_SIM_2101) (1072) [----] end for; (1073) [SCAL] (1) $FUN_79 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2464) (1074) [SCAL] (1) pow5.y[1] = pow5.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValue(pow5.tableID, 1, 2.777777777777778e-4 * time, pow5.nextTimeEventScaled, $TEV_2) ($RES_SIM_41) (1075) [SCAL] (1) pv7.HDifTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_79) ($RES_$AUX_2463) (1076) [SCAL] (1) pv3.panel.load.Q = pv3.panel.load.P * $FUN_149 ($RES_BND_2255) (1077) [WHEN] (1)when {$SEV_11, initial()} then (1077) [----] pow5.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(pow5.tableID, 2.777777777777778e-4 * time) (1077) [----] end when; (1078) [SCAL] (1) pv7.HDifTil.HDifTil.incAng = acos(0.866025403784438 * (0.7920766142499671 * pv7.HDifTil.incAng.incAng.sol_c * pv7.HDifTil.incAng.incAng.dec_c + 0.6104216879816025 * pv7.HDifTil.incAng.incAng.dec_s) + 0.500000000000001 * (0.6104216879816025 * pv7.HDifTil.incAng.incAng.sol_c * pv7.HDifTil.incAng.incAng.dec_c - 0.7920766142499671 * pv7.HDifTil.incAng.incAng.dec_s)) ($RES_$AUX_2462) (1079) [ARRY] (2) pv3.panel.load.S = {pv3.panel.load.v[1] * (-pv3.panel.load.i)[1] + pv3.panel.load.v[2] * (-pv3.panel.load.i)[2], pv3.panel.load.v[2] * (-pv3.panel.load.i)[1] - pv3.panel.load.v[1] * (-pv3.panel.load.i)[2]} ($RES_BND_2254) (1080) [WHEN] (1)when {$SEV_11, initial()} then (1080) [----] pow5.nextTimeEvent := if pow5.nextTimeEventScaled < 1e60 then pow5.nextTimeEventScaled * 3600.0 else 1e60 (1080) [----] end when; (1081) [SCAL] (1) $FUN_82 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2461) (1082) [ARRY] (2) pv3.panel.load.i = pv3.panel.load.terminal.i ($RES_BND_2253) (1083) [SCAL] (1) pv7.HDirTil.incAng.decAng.decAng = asin(-0.3979486313076103 * $FUN_82) ($RES_$AUX_2460) (1084) [ARRY] (2) pv3.panel.load.v = pv3.panel.load.terminal.v ($RES_BND_2252) (1085) [SCAL] (1) pow4.y[1] = pow4.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValue(pow4.tableID, 1, 2.777777777777778e-4 * time, pow4.nextTimeEventScaled, $TEV_3) ($RES_SIM_45) (1086) [SCAL] (1) pv3.panel.gain_DCAC.u = pv3.panel.eta * pv3.panel.A * pv3.panel.fAct * pv3.G.y ($RES_BND_2251) (1087) [WHEN] (1)when {$SEV_12, initial()} then (1087) [----] pow4.nextTimeEvent := if pow4.nextTimeEventScaled < 1e60 then pow4.nextTimeEventScaled * 3600.0 else 1e60 (1087) [----] end when; (1088) [WHEN] (1)when {$SEV_12, initial()} then (1088) [----] pow4.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(pow4.tableID, 2.777777777777778e-4 * time) (1088) [----] end when; (1089) [SCAL] (1) pow3.y[1] = pow3.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValue(pow3.tableID, 1, 2.777777777777778e-4 * time, pow3.nextTimeEventScaled, $TEV_4) ($RES_SIM_49) (1090) [SCAL] (1) $SEV_124 = 1.0 - 7.31528895391368e-4 * pv4.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor > 0.025 ($RES_EVT_2939) (1091) [SCAL] (1) $SEV_121 = (-$FUN_53) < (-0.01) ($RES_EVT_2936) (1092) [SCAL] (1) $SEV_120 = (-$FUN_53) > 0.01 ($RES_EVT_2935) (1093) [SCAL] (1) $SEV_119 = 0.08715574274765814 - $FUN_54 < (-0.01) ($RES_EVT_2934) (1094) [SCAL] (1) $SEV_118 = 0.08715574274765814 - $FUN_54 > 0.01 ($RES_EVT_2933) (1095) [SCAL] (1) $SEV_117 = 1.065 - pv5.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2932) (1096) [SCAL] (1) $SEV_116 = 1.065 - pv5.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2931) (1097) [SCAL] (1) $SEV_115 = 1.23 - pv5.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2930) (1098) [SCAL] (1) pv7.HDirTil.HDirTil.incAng = acos(0.866025403784438 * (0.7920766142499671 * pv7.HDirTil.incAng.incAng.sol_c * pv7.HDirTil.incAng.incAng.dec_c + 0.6104216879816025 * pv7.HDirTil.incAng.incAng.dec_s) + 0.500000000000001 * (0.6104216879816025 * pv7.HDirTil.incAng.incAng.sol_c * pv7.HDirTil.incAng.incAng.dec_c - 0.7920766142499671 * pv7.HDirTil.incAng.incAng.dec_s)) ($RES_$AUX_2459) (1099) [SCAL] (1) $FUN_85 = cos(pv7.HDirTil.HDirTil.incAng) ($RES_$AUX_2458) (1100) [ARRY] (4) $FUN_86 = diagonal(fill(1.0, 2) .* line8.line.R_actual / 2.0) ($RES_$AUX_2457) (1101) [SCAL] (1) $FUN_87 = log(0.0036609921288669233 * weaDat.TBlaSkyCom.TDewPoiK) ($RES_$AUX_2456) (1102) [SCAL] (1) $FUN_88 = sin(2.0 * (0.017261498096647215 * ((-81.0) + 1.1574074074074073e-5 * (86400.0 + time)))) ($RES_$AUX_2455) (1103) [SCAL] (1) $FUN_89 = sin(0.017261498096647215 * ((-81.0) + 1.1574074074074073e-5 * (86400.0 + time))) ($RES_$AUX_2454) (1104) [WHEN] (1)when {$SEV_13, initial()} then (1104) [----] pow3.nextTimeEvent := if pow3.nextTimeEventScaled < 1e60 then pow3.nextTimeEventScaled * 3600.0 else 1e60 (1104) [----] end when; (1105) [SCAL] (1) $FUN_90 = cos(0.017261498096647215 * ((-81.0) + 1.1574074074074073e-5 * (86400.0 + time))) ($RES_$AUX_2453) (1106) [WHEN] (1)when {$SEV_13, initial()} then (1106) [----] pow3.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(pow3.tableID, 2.777777777777778e-4 * time) (1106) [----] end when; (1107) [SCAL] (1) $FUN_91 = cos(pv1.HDifTil.weaBus.solDec) ($RES_$AUX_2452) (1108) [SCAL] (1) $FUN_92 = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2451) (1109) [SCAL] (1) pow2.y[1] = pow2.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValue(pow2.tableID, 1, 2.777777777777778e-4 * time, pow2.nextTimeEventScaled, $TEV_5) ($RES_SIM_53) (1110) [SCAL] (1) $FUN_93 = sin(pv1.HDifTil.weaBus.solDec) ($RES_$AUX_2450) (1111) [WHEN] (1)when {$SEV_14, initial()} then (1111) [----] pow2.nextTimeEvent := if pow2.nextTimeEventScaled < 1e60 then pow2.nextTimeEventScaled * 3600.0 else 1e60 (1111) [----] end when; (1112) [WHEN] (1)when {$SEV_14, initial()} then (1112) [----] pow2.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(pow2.tableID, 2.777777777777778e-4 * time) (1112) [----] end when; (1113) [SCAL] (1) pow1.y[1] = pow1.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValue(pow1.tableID, 1, 2.777777777777778e-4 * time, pow1.nextTimeEventScaled, $TEV_6) ($RES_SIM_57) (1114) [WHEN] (1)when {$SEV_15, initial()} then (1114) [----] pow1.nextTimeEvent := if pow1.nextTimeEventScaled < 1e60 then pow1.nextTimeEventScaled * 3600.0 else 1e60 (1114) [----] end when; (1115) [WHEN] (1)when {$SEV_15, initial()} then (1115) [----] pow1.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(pow1.tableID, 2.777777777777778e-4 * time) (1115) [----] end when; (1116) [SCAL] (1) $SEV_114 = 1.23 - pv5.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2929) (1117) [SCAL] (1) $SEV_113 = 1.5 - pv5.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2928) (1118) [SCAL] (1) $SEV_112 = 1.5 - pv5.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2927) (1119) [SCAL] (1) $SEV_111 = 1.95 - pv5.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2926) (1120) [SCAL] (1) $SEV_110 = 1.95 - pv5.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2925) (1121) [SCAL] (1) $SEV_109 = 2.8 - pv5.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2924) (1122) [SCAL] (1) $SEV_108 = 2.8 - pv5.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2923) (1123) [SCAL] (1) $SEV_107 = 4.5 - pv5.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2922) (1124) [SCAL] (1) $SEV_106 = 4.5 - pv5.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2921) (1125) [SCAL] (1) $SEV_105 = 6.2 - pv5.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2920) (1126) [SCAL] (1) pv1.HDifTil.skyCle.zen = acos(0.7920766142499671 * $FUN_91 * $FUN_92 + 0.6104216879816025 * $FUN_93) ($RES_$AUX_2449) (1127) [SCAL] (1) $FUN_95 = cos(0.017202423838958484 * (10.0 + 1.1574074074074073e-5 * time)) ($RES_$AUX_2448) (1128) [SCAL] (1) pv1.HDifTil.weaBus.solDec = asin(-0.3979486313076103 * $FUN_95) ($RES_$AUX_2447) (1129) [SCAL] (1) $FUN_97 = abs(line8.terminal_p.v / ((line8.terminal_p.v * line8.terminal_p.v * (line8.terminal_p.v * line8.terminal_p.v) + 1.0000000000000002e-10) ^ 0.25 * line8.terminal_p.v) - line8.terminal_n.v / ((line8.terminal_n.v * line8.terminal_n.v * (line8.terminal_n.v * line8.terminal_n.v) + 1.0000000000000002e-10) ^ 0.25 * line8.terminal_n.v)) ($RES_$AUX_2446) (1130) [SCAL] (1) $FUN_98 = acos(winTur.load.pf) ($RES_$AUX_2445) (1131) [SCAL] (1) pv2.panel.load.Q = pv2.panel.load.P * $FUN_159 ($RES_BND_2237) (1132) [SCAL] (1) $FUN_99 = tan(-$FUN_98) ($RES_$AUX_2444) (1133) [ARRY] (2) pv2.panel.load.S = {pv2.panel.load.v[1] * (-pv2.panel.load.i)[1] + pv2.panel.load.v[2] * (-pv2.panel.load.i)[2], pv2.panel.load.v[2] * (-pv2.panel.load.i)[1] - pv2.panel.load.v[1] * (-pv2.panel.load.i)[2]} ($RES_BND_2236) (1134) [SCAL] (1) pv7.HDirTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2443) (1135) [ARRY] (2) pv2.panel.load.i = pv2.panel.load.terminal.i ($RES_BND_2235) (1136) [SCAL] (1) pv7.HDirTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2442) (1137) [ARRY] (2) pv2.panel.load.v = pv2.panel.load.terminal.v ($RES_BND_2234) (1138) [SCAL] (1) pv7.HDirTil.incAng.incAng.dec_s = sin(pv7.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2441) (1139) [SCAL] (1) pv2.panel.gain_DCAC.u = pv2.panel.eta * pv2.panel.A * pv2.panel.fAct * pv2.G.y ($RES_BND_2233) (1140) [SCAL] (1) weaDat.limOpaSkyCov.u = weaDat.conOpaSkyCov.k * weaDat.conOpaSkyCov.u ($RES_SIM_63) (1141) [SCAL] (1) pv7.HDirTil.incAng.incAng.dec_c = cos(pv7.HDirTil.incAng.decAng.decAng) ($RES_$AUX_2440) (1142) [SCAL] (1) weaDat.limTotSkyCov.u = weaDat.conTotSkyCov.k * weaDat.conTotSkyCov.u ($RES_SIM_64) (1143) [SCAL] (1) $SEV_104 = 6.2 - pv5.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2919) (1144) [SCAL] (1) $SEV_103 = (-6.2) + pv5.HDifTil.skyCle.skyCle < (-0.01) ($RES_EVT_2918) (1145) [SCAL] (1) $SEV_102 = (-6.2) + pv5.HDifTil.skyCle.skyCle > 0.01 ($RES_EVT_2917) (1146) [SCAL] (1) $SEV_101 = -(pv5.HDifTil.briCoe.F12 * pv5.HDifTil.skyBri.skyBri + pv5.HDifTil.briCoe.F11 + pv5.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) < (-0.01) ($RES_EVT_2916) (1147) [SCAL] (1) $SEV_100 = -(pv5.HDifTil.briCoe.F12 * pv5.HDifTil.skyBri.skyBri + pv5.HDifTil.briCoe.F11 + pv5.HDifTil.briCoe.F13 * pv1.HDifTil.skyCle.zen) > 0.01 ($RES_EVT_2915) (1148) [SCAL] (1) $SEV_99 = 1.0 - 7.31528895391368e-4 * pv5.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor < (-0.025) ($RES_EVT_2914) (1149) [SCAL] (1) $SEV_98 = 1.0 - 7.31528895391368e-4 * pv5.HDifTil.relAirMas.relAirMas * pv1.HDifTil.skyCle.HDifHor > 0.025 ($RES_EVT_2913) (1150) [SCAL] (1) $SEV_95 = (-$FUN_64) < (-0.01) ($RES_EVT_2910) (1151) [SCAL] (1) pv7.HDifTil.incAng.incAng.sol_s = sin(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2439) (1152) [SCAL] (1) pv7.HDifTil.incAng.incAng.sol_c = cos(0.2617993877991494 * ((-12.0) + 2.777777777777778e-4 * pv1.HDifTil.weaBus.solTim)) ($RES_$AUX_2438)