Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.Validation.ThermalFollowing.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.Fluid.CHPs.Validation.ThermalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.Validation.ThermalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ThermalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.Validation.ThermalFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001263, allocations: 101.7 kB / 16.38 MB, free: 5.973 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.00123/0.00123, allocations: 190.1 kB / 17.31 MB, free: 5.594 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.446/1.446, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.726/1.726, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.517e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.Validation.ThermalFollowing): time 0.07278/0.07282, allocations: 74.2 MB / 0.7453 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03487/0.1077, allocations: 18 MB / 0.7629 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009027/0.1168, allocations: 155.3 kB / 0.763 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006803/0.1237, allocations: 1.697 MB / 0.7647 GB, free: 7.527 MB / 0.6387 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'. Notification: Performance of NFTyping.typeBindings: time 0.0121/0.1358, allocations: 2.826 MB / 0.7674 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01158/0.1474, allocations: 3.898 MB / 0.7713 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02058/0.168, allocations: 11.21 MB / 0.7822 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4364/0.6045, allocations: 6.813 MB / 0.7889 GB, free: 71.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00932/0.6139, allocations: 3.9 MB / 0.7927 GB, free: 71.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006608/0.6205, allocations: 3.522 MB / 0.7961 GB, free: 70.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002448/0.623, allocations: 0.8867 MB / 0.797 GB, free: 70.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006987/0.63, allocations: 2.446 MB / 0.7994 GB, free: 70.44 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.01352/0.6435, allocations: 10.62 MB / 0.8097 GB, free: 64.74 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.006333/0.6499, allocations: 6.71 MB / 0.8163 GB, free: 60.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004746/0.6547, allocations: 1.145 MB / 0.8174 GB, free: 60 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.00204/0.6567, allocations: 460.9 kB / 0.8178 GB, free: 59.86 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1373 (1320) * Number of variables: 1333 (1273) Notification: Performance of Bindings: time 0.05075/0.7075, allocations: 35.29 MB / 0.8523 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.005748/0.7132, allocations: 3.83 MB / 0.856 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.0311/0.7444, allocations: 21.97 MB / 0.8775 GB, free: 28.7 MB / 0.6544 GB Notification: Performance of simplify1: time 0.002413/0.7468, allocations: 1.165 MB / 0.8786 GB, free: 28.15 MB / 0.6544 GB Notification: Performance of Alias: time 0.03848/0.7853, allocations: 35.12 MB / 0.9129 GB, free: 13.36 MB / 0.67 GB Notification: Performance of simplify2: time 0.001795/0.7871, allocations: 0.79 MB / 0.9137 GB, free: 12.83 MB / 0.67 GB Notification: Performance of Events: time 0.006827/0.794, allocations: 4.445 MB / 0.918 GB, free: 8.773 MB / 0.67 GB Notification: Performance of Detect States: time 0.006375/0.8004, allocations: 4.943 MB / 0.9229 GB, free: 4.48 MB / 0.67 GB Notification: Performance of Partitioning: time 0.007863/0.8083, allocations: 5.221 MB / 0.928 GB, free: 15.12 MB / 0.6856 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (657/736) ********************************* (1) [DISC] (1) protected Boolean theFol.opeMod.transition5.inPort.available (2) [DISC] (1) Boolean $SEV_78 (3) [DISS] (1) protected Boolean theFolNeg.opeMod.and1.u2 (4) [DISC] (1) Boolean $SEV_77 (5) [DISS] (1) protected Boolean theFol.opeMod.nor.oldActive (6) [DISC] (1) Boolean $SEV_76 (7) [DISC] (1) Boolean $SEV_75 (8) [DISC] (1) Boolean $SEV_74 (9) [DISC] (1) protected Boolean theFol.fil.assPow.minPow.y (10) [DISC] (1) Boolean $SEV_73 (11) [DISC] (1) Boolean $SEV_71 (12) [ALGB] (1) Real TRoo.u (13) [DISC] (1) protected Boolean theFol.opeMod.transition8.outPort.set (14) [DISC] (1) protected Boolean theFolNeg.opeMod.plaOff.outerStatePort.localActive = theFolNeg.opeMod.plaOff.outerStatePort.localActive (15) [ALGB] (2) protected stream Real[2] theFol.vol.dynBal.ports.h_outflow (min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2}) (16) [ALGB] (1) Real TWatOutVal.u (17) [ALGB] (1) protected Real theFolNeg.vol.dynBal.medium.state.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (18) [DISC] (1) protected Boolean theFol.opeMod.transition3.inPort.available (19) [DISC] (1) protected Boolean theFolNeg.assWatTem.hys.y (20) [DISC] (1) protected Boolean theFol.opeMod.assWatMas.nand.y (21) [DISC] (1) protected Boolean theFol.opeMod.staBy.outerStatePort.localActive = theFol.opeMod.staBy.outerStatePort.localActive (22) [DISC] (1) Integer theFol.stateGraphRoot.activeSteps (23) [ALGB] (1) Real theFol.cooWatCon.lim.u (24) [ALGB] (1) Real theFol.mFue_flow (25) [DISC] (1) Boolean $SEV_69 (26) [ALGB] (1) protected Real theFol.opeMod.add2.y (27) [DISC] (2) Boolean[2] theFol.opeMod.cooDow.inPort.set (28) [DER-] (1) Real $DER.theFol.eng.capTheEng.T (29) [DISC] (1) Boolean $SEV_66 (30) [ALGB] (1) flow Real theFolNeg.port_b.m_flow (min = -1e5, max = 1e60) (31) [DISC] (1) protected Boolean theFolNeg.opeMod.transition8.inPort.available (32) [DISC] (1) Boolean $SEV_62 (33) [DISC] (1) Boolean $SEV_61 (34) [DISC] (2) Boolean[2] theFolNeg.opeMod.cooDow.outPort.available (35) [DISC] (1) Boolean $SEV_60 (36) [ALGB] (1) Real theFol.cooWatCon.errI1.u1 (37) [ALGB] (1) protected Real theFolNeg.vol.dynBal.medium.state.T (start = 293.15, min = 1.0, max = 1e4, nominal = 300.0) (38) [ALGB] (1) protected Real theFol.eneCon.assFue.abs1.u (39) [DISC] (1) protected Boolean theFol.opeMod.transition3.outPort.occupied (40) [ALGB] (1) flow Real theFolNeg.watHea.port_a.Q_flow (41) [DISC] (1) Boolean[1] theFolNeg.opeMod.pumOn.inPort.set (42) [ALGB] (1) protected Real theFol.eneCon.assFue.abs1.y (43) [DISC] (1) protected final Boolean theFol.opeMod.transition6.localCondition = theFol.opeMod.transition6.localCondition (44) [ALGB] (1) protected flow Real theFol.opeMod.staBy.outerStatePort.subgraphStatePort.activeSteps (45) [ALGB] (1) Real theFol.cooWatCon.P.u (46) [DISC] (1) Boolean $SEV_59 (47) [DISC] (1) Boolean $SEV_58 (48) [DISC] (1) Boolean $SEV_57 (49) [DISC] (1) Boolean $SEV_56 (50) [DISC] (1) Boolean $SEV_55 (51) [ALGB] (1) Real theFol.eng.QGen_flow (52) [DISC] (1) protected Boolean theFol.opeMod.transition6.outPort.occupied (53) [ALGB] (1) protected Real cooWat.p_in_internal (54) [DISC] (1) Boolean $SEV_54 (55) [ALGB] (1) stream Real[1] cooWat.ports.h_outflow (min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (56) [ALGB] (1) Real TWatIn.u (57) [DISC] (1) Boolean $SEV_53 (58) [ALGB] (1) protected Real theFolNeg.eneCon.opeModBas.etaQ.eta (59) [DISC] (1) Boolean $SEV_52 (60) [ALGB] (1) protected Real theFolNeg.opeMod.transition4.t_dummy (61) [DISC] (1) Boolean $SEV_51 (62) [DISC] (1) Boolean $SEV_50 (63) [DER-] (1) Real $DER.ETheVal.y (64) [DISC] (1) protected Boolean theFol.assWatTem.hys.y (65) [ALGB] (2) protected Real[2] theFolNeg.vol.dynBal.ports.p (start = {3e5 for $ports1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}) (66) [DISC] (1) Boolean[1] theFolNeg.opeMod.staBy.inPort.set (67) [DISC] (1) protected Boolean theFolNeg.opeMod.transition5.inPort.available (68) [DISC] (1) protected Boolean theFol.eneCon.switch3.u2 (69) [ALGB] (1) protected Real theFol.eneCon.switch3.u3 (70) [DISC] (1) protected Boolean theFol.opeMod.transition5.outPort.set (71) [DISC] (1) protected Boolean[1] theFolNeg.opeMod.nor.inPort.set (72) [ALGB] (1) protected Real theFol.opeMod.max.y (73) [DISC] (1) protected final Boolean theFol.opeMod.transition9.localCondition = theFol.opeMod.transition9.localCondition (74) [DISC] (1) protected Boolean theFolNeg.opeMod.transition7.inPort.available (75) [ALGB] (1) protected Real theFolNeg.opeMod.add2.y (76) [ALGB] (1) Real theFolNeg.conWat.TWatIn (77) [DISC] (1) Boolean $SEV_49 (78) [DISC] (1) Boolean $SEV_48 (79) [DISC] (1) Boolean $SEV_47 (80) [DISC] (1) Boolean $SEV_46 (81) [ALGB] (1) protected flow Real theFol.eng.capTheEng.port.Q_flow (82) [DISC] (1) Boolean $SEV_45 (83) [ALGB] (1) Real theFolNeg.cooWatCon.errI2.u2 (84) [DISC] (1) protected Boolean theFolNeg.opeMod.assWatMas.not1.u (85) [DISC] (1) Boolean $SEV_44 (86) [DISC] (2) Boolean[2] $SEV_132[$i1] (87) [DISC] (1) Boolean $SEV_41 (88) [DISC] (1) Boolean $SEV_40 (89) [ALGB] (1) protected flow Real theFol.opeMod.pumOn.outerStatePort.subgraphStatePort.activeSteps (90) [DISC] (2) Boolean[2] $SEV_128[$i1] (91) [DISC] (2) Boolean[2] $SEV_125[$i1] (92) [DISC] (1) protected Boolean theFol.opeMod.transition2.inPort.available (93) [ALGB] (1) Real theFolNeg.cooWatCon.lim.u (94) [DISS] (1) protected discrete Real avaSig.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (95) [ALGB] (1) Real dQWat.y (96) [ALGB] (1) Real theFol.preDro.port_b.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (97) [ALGB] (1) Real avaSig.realToBoolean.u (98) [DISC] (1) Boolean $FUN_39 (99) [DISC] (1) Boolean $SEV_39 (100) [ALGB] (1) protected Real theFolNeg.vol.dynBal.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * theFolNeg.vol.dynBal.medium.p_bar) (101) [DISC] (1) protected Boolean theFol.opeMod.transition7.outPort.set (102) [DISC] (1) Boolean $FUN_38 (103) [DISC] (1) Boolean $SEV_38 (104) [DISC] (1) Boolean $FUN_37 (105) [DISC] (1) Boolean $SEV_37 (106) [ALGB] (2) protected Real[2] theFol.vol.dynBal.ports.p (start = {3e5 for $ports1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}) (107) [DISC] (1) Boolean $FUN_36 (108) [DISC] (1) Boolean $SEV_36 (109) [DISC] (1) Boolean $FUN_35 (110) [DISC] (1) Boolean $SEV_35 (111) [DISC] (1) Boolean $FUN_34 (112) [DISC] (1) Boolean $SEV_34 (113) [ALGB] (1) protected Real theFol.eneCon.opeModBas.heaGen.u1 (114) [DISC] (1) Boolean $FUN_33 (115) [DISC] (1) Boolean $SEV_33 (116) [DISC] (1) Boolean $FUN_32 (117) [DISC] (1) Boolean $FUN_31 (118) [DISC] (1) Boolean $SEV_31 (119) [DISC] (1) Boolean $FUN_30 (120) [DISC] (1) Boolean $SEV_30 (121) [ALGB] (2) flow Real[2] sin.ports.m_flow (min = {-1e60 for $ports1 in 1:2}, max = {1e60 for $ports1 in 1:2}) (122) [DISC] (1) protected Boolean theFolNeg.fil.assPow.nor.y (123) [DER-] (1) Real $DER.theFol.cooWatCon.addPID.u2 (124) [ALGB] (1) stream Real[1] cooWatNeg.ports.h_outflow (min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (125) [DISC] (1) protected Boolean theFolNeg.opeMod.assWatMas.nand.y (126) [DISC] (1) protected Boolean theFolNeg.opeMod.transition9.outPort.set (127) [DISC] (1) protected final Boolean theFol.opeMod.transition5.localCondition = theFol.opeMod.transition5.localCondition (128) [DISC] (1) protected Boolean[1] theFol.opeMod.nor.outPort.available (129) [DISC] (2) Boolean[2] theFol.opeMod.cooDow.inPort.occupied (130) [ALGB] (1) Real EThe.u (131) [DISC] (1) protected Boolean theFol.fil.assPow.not2.u (132) [DISC] (1) protected Boolean theFolNeg.fil.assPow.maxPow.y (133) [DISC] (2) Boolean[2] theFol.opeMod.warUp.outPort.available (134) [DISC] (3) protected Boolean[3] theFol.opeMod.plaOff.inPort.set (135) [DISS] (1) protected Boolean theFolNeg.opeMod.timer.passed (136) [DISC] (1) protected Boolean theFolNeg.opeMod.transition7.outPort.occupied (137) [DISC] (1) Boolean $FUN_29 (138) [DISC] (1) Boolean $SEV_29 (139) [DISC] (1) Boolean $FUN_28 (140) [DISC] (1) Boolean $SEV_28 (141) [DISC] (1) Boolean $SEV_27 (142) [DISC] (1) Boolean $SEV_26 (143) [DISC] (1) Boolean $SEV_25 (144) [ALGB] (1) Real $FUN_23 (145) [ALGB] (1) Real $FUN_22 (146) [DISS] (1) protected Boolean theFol.opeMod.staBy.oldActive (147) [DISC] (1) protected Boolean theFolNeg.opeMod.transition9.outPort.occupied (148) [DISC] (1) protected Boolean theFol.opeMod.transition2.outPort.occupied (149) [DISC] (1) protected final Boolean theFolNeg.opeMod.transition10.localCondition = theFolNeg.opeMod.transition10.localCondition (150) [ALGB] (1) protected flow Real theFol.opeMod.warUp.outerStatePort.subgraphStatePort.activeSteps (151) [DISC] (1) protected Boolean theFolNeg.eneCon.and1.u1 (152) [DISC] (1) protected final Boolean theFol.opeMod.transition3.localCondition = theFol.opeMod.transition3.localCondition (153) [ALGB] (1) Real theFol.port_b.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (154) [DISC] (1) Boolean $FUN_18 (155) [DISC] (1) Boolean $FUN_17 (156) [DISC] (1) Boolean $FUN_16 (157) [DISC] (1) Boolean $FUN_15 (158) [DISC] (1) Boolean $FUN_14 (159) [DISC] (1) protected Boolean theFol.opeMod.transition4.outPort.occupied (160) [DISC] (1) Boolean $FUN_13 (161) [DISC] (1) Boolean $FUN_12 (162) [ALGB] (1) Real theFol.TWatOutSet (163) [DISC] (1) Boolean $FUN_11 (164) [DISC] (1) Boolean $FUN_10 (165) [DISC] (1) protected Boolean theFol.opeMod.plaOff.outerStatePort.localActive = theFol.opeMod.plaOff.outerStatePort.localActive (166) [DISC] (1) protected Boolean[1] theFol.opeMod.plaOff.outPort.reset (167) [ALGB] (1) protected Real theFol.eneCon.switch4.y (168) [ALGB] (1) protected Real theFolNeg.eneCon.opeModBas.groHea.u1 (169) [DISC] (1) protected Boolean theFol.eneCon.and1.u1 (170) [DISC] (1) protected Boolean theFolNeg.opeMod.transition4.inPort.available (171) [DISC] (2) Boolean[2] $SEV_64[$i1] (172) [DISC] (2) Boolean[2] $SEV_67[$i1] (173) [ALGB] (1) Real theFolNeg.preDro.port_b.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (174) [DER-] (1) Real $DER.EEleVal.y (175) [ALGB] (1) protected Real theFolNeg.cooWatCon.addPD.u1 (176) [DISC] (2) Boolean[2] theFolNeg.opeMod.warUp.inPort.occupied (177) [DISC] (1) protected Boolean theFolNeg.opeMod.transition6.inPort.available (178) [ALGB] (1) Real theFol.port_a.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (179) [DISC] (1) protected Boolean[1] theFolNeg.opeMod.nor.outPort.available (180) [ALGB] (1) protected Real theFolNeg.eneCon.switch3.u3 (181) [DISC] (1) protected Boolean theFolNeg.eneCon.switch3.u2 (182) [DER-] (1) Real $DER.theFolNeg.fil.assPow.demRat.x (183) [ALGB] (1) protected Real theFolNeg.vol.dynBal.m (start = theFolNeg.vol.V * theFolNeg.vol.rho_start, min = 0.0, StateSelect = default) (184) [ALGB] (1) protected Real theFol.cooWatCon.antWinErr.y (185) [DISC] (2) Boolean[2] theFolNeg.opeMod.pumOn.outPort.reset (186) [ALGB] (1) Real theFol.PEleDem (187) [DISC] (1) protected final Boolean theFol.opeMod.transition10.localCondition = theFol.opeMod.transition10.localCondition (188) [DISC] (1) protected final Boolean theFol.opeMod.transition7.localCondition = theFol.opeMod.transition7.localCondition (189) [DISC] (1) protected Boolean theFol.opeMod.transition1.inPort.available (190) [ALGB] (1) protected Real theFol.fil.PLim.simplifiedExpr (191) [DISC] (1) protected Boolean theFol.opeMod.transition9.inPort.available (192) [DISS] (1) protected Boolean theFolNeg.opeMod.warUp.oldActive (193) [DISC] (1) protected Boolean[1] theFolNeg.opeMod.nor.inPort.occupied (194) [ALGB] (1) Real theFol.dp = theFol.port_a.p - theFol.port_b.p (start = theFol._dp_start) (195) [DISS] (1) protected Boolean theFol.opeMod.timer.passed (196) [DISC] (1) protected Boolean theFol.opeMod.transition4.enableFire (197) [DER-] (1) Real $DER.theFolNeg.cooWatCon.addPID.u2 (198) [DISC] (1) protected Boolean theFol.fil.assPow.maxPow.y (199) [ALGB] (1) protected Real theFolNeg.vol.dynBal.U (start = Buildings.Fluid.CHPs.Validation.ThermalFollowing.theFolNeg.vol.dynBal.Medium.specificInternalEnergy(Buildings.Fluid.CHPs.Validation.ThermalFollowing.theFolNeg.vol.dynBal.Medium.setState_pTX(theFolNeg.vol.dynBal.p_start, theFolNeg.vol.dynBal.T_start, {})) * theFolNeg.vol.dynBal.fluidVolume * theFolNeg.vol.dynBal.rho_start + theFolNeg.vol.dynBal.CSen * (theFolNeg.vol.dynBal.T_start - 273.15), nominal = 1e5) (200) [ALGB] (1) protected flow Real theFolNeg.eng.QGen1.port.Q_flow (201) [DISC] (1) protected Boolean theFolNeg.opeMod.transition8.outPort.set (202) [ALGB] (1) Real cooWat.m_flow_in (203) [DER-] (1) Real $DER.theFol.eneCon.assFue.floChaRat.x (204) [ALGB] (1) protected Real theFolNeg.cooWatCon.addRes.y (205) [DISC] (1) protected Boolean theFolNeg.opeMod.staBy.newActive (206) [DISC] (2) Boolean[2] theFol.opeMod.staBy.outPort.available (207) [DISC] (1) Boolean theFolNeg.hys.y (208) [ALGB] (1) Real theFolNeg.hys.u (209) [DISC] (1) protected Boolean theFolNeg.opeMod.transition4.outPort.set (210) [ALGB] (1) Real[1] avaSig.combiTimeTable.y (211) [ALGB] (1) protected Real theFolNeg.conWat.mWatIntCon.u2 (212) [ALGB] (1) protected Real theFol.opeMod.transition4.t (213) [DISC] (1) Boolean $TEV_9 (214) [DER-] (1) Real $DER.theFolNeg.eneCon.assFue.floChaRat.x (215) [ALGB] (1) protected Real theFol.fil.dPLim.thr = (theFol.fil.dPLim.u - theFol.fil.dPLim.y) / theFol.fil.dPLim.Td (216) [DISC] (1) Boolean $TEV_8 (217) [DISC] (1) Boolean $TEV_7 (218) [DISC] (1) Boolean $TEV_6 (219) [DISC] (1) Boolean $TEV_5 (220) [DISC] (1) Boolean $TEV_4 (221) [DISC] (1) Boolean $TEV_3 (222) [DISC] (2) Boolean[2] theFol.opeMod.pumOn.outPort.reset (223) [DISC] (1) Boolean $TEV_2 (224) [ALGB] (1) Real theFol.cooWatCon.errI2.u2 (225) [DISC] (1) Boolean $TEV_1 (226) [DISC] (1) Boolean $TEV_0 (227) [ALGB] (1) Real theFol.hys.u (228) [ALGB] (1) protected Real theFolNeg.eneCon.switch4.y (229) [DISC] (1) protected Boolean theFolNeg.opeMod.transition8.outPort.occupied (230) [ALGB] (1) protected flow Real theFolNeg.eng.capTheEng.port.Q_flow (231) [DISS] (1) protected discrete Real theFol.opeMod.timer.entryTime (232) [DISC] (1) Boolean theFol.hys.y (233) [ALGB] (12) Real[12] valDat.y (234) [DISC] (1) Boolean $SEV_151 (235) [DISC] (1) Boolean $SEV_150 (236) [ALGB] (1) protected flow Real theFolNeg.opeMod.cooDow.outerStatePort.subgraphStatePort.activeSteps (237) [ALGB] (1) Real theFolNeg.PCon (238) [DISC] (1) protected Boolean theFol.opeMod.pumOn.newActive (239) [ALGB] (1) Real theFolNeg.port_b.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (240) [ALGB] (1) protected Real theFolNeg.eneCon.opeModBas.etaQ.y (241) [ALGB] (1) Real dQLos.y (242) [ALGB] (1) Real theFol.cooWatCon.I.u (243) [DISC] (1) protected Boolean theFolNeg.opeMod.transition2.outPort.set (244) [DISC] (1) protected Boolean[1] theFolNeg.opeMod.nor.outPort.reset (245) [DISC] (1) Boolean $SEV_149 (246) [DISC] (1) Boolean $SEV_148 (247) [ALGB] (1) protected Real theFol.eneCon.opeModBas.groHea.u1 (248) [DISC] (1) Boolean $SEV_147 (249) [DISC] (1) Boolean $SEV_146 (250) [ALGB] (1) Real theFol.PCon (251) [DISC] (1) Boolean $SEV_145 (252) [ALGB] (1) protected Real theFol.eneCon.switch4.u3 (253) [DISC] (1) Boolean $SEV_144 (254) [ALGB] (1) Real theFolNeg.QLos.Q_flow (255) [DISC] (2) Boolean[2] theFol.opeMod.warUp.outPort.reset (256) [DISC] (1) Boolean $SEV_143 (257) [DISC] (1) Boolean $SEV_142 (258) [DISS] (1) protected Boolean theFol.opeMod.cooDow.oldActive (259) [DISC] (1) protected Boolean[1] theFol.opeMod.plaOff.outPort.available (260) [ALGB] (1) protected Real theFol.vol.dynBal.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - theFol.vol.dynBal.medium.T_degC)) (261) [ALGB] (1) Real theFolNeg.mWatSet_flow (262) [DISC] (3) protected Boolean[3] theFolNeg.opeMod.plaOff.inPort.occupied (263) [DISC] (1) protected Boolean theFolNeg.opeMod.nor.outerStatePort.localActive = theFolNeg.opeMod.nor.outerStatePort.localActive (264) [DISC] (1) Boolean[1] theFol.opeMod.staBy.inPort.occupied (265) [ALGB] (1) Real theFolNeg.port_a.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (266) [DISC] (1) Boolean[1] theFol.opeMod.pumOn.inPort.set (267) [DISC] (1) protected Boolean theFol.opeMod.nor.newActive (268) [DISC] (1) Boolean $SEV_138 (269) [DISC] (1) Boolean $SEV_137 (270) [DISC] (1) Boolean $SEV_136 (271) [DISC] (1) protected Boolean theFol.fil.assPow.nor.y (272) [DISC] (1) Boolean $SEV_135 (273) [DISC] (1) protected final Boolean theFolNeg.opeMod.transition9.localCondition = theFolNeg.opeMod.transition9.localCondition (274) [DISC] (1) Boolean $SEV_134 (275) [ALGB] (1) protected Real theFolNeg.fil.PLim.simplifiedExpr (276) [DISC] (1) protected Boolean theFolNeg.opeMod.hys.y (277) [DISC] (1) Boolean $SEV_133 (278) [ALGB] (1) Real[1] cooWat.ports.p (start = {3e5}, min = {0.0 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e5 for $i1 in 1:1}) (279) [DISC] (1) protected enumeration Buildings.Fluid.CHPs.BaseClasses.Types.Mode(Off, StandBy, PumpOn, WarmUp, Normal, CoolDown) theFol.opeMod.actMod (280) [DISC] (1) Boolean $SEV_131 (281) [DER-] (1) Real $DER.theFol.fil.assPow.demRat.x (282) [ALGB] (1) protected Real theFolNeg.eneCon.opeModBas.etaE.eta (283) [DISC] (1) protected Boolean theFolNeg.opeMod.nor.newActive (284) [DER-] (1) Real $DER.theFol.fil.dPLim.y (285) [DISC] (1) protected Boolean theFolNeg.opeMod.transition7.outPort.set (286) [ALGB] (1) Real theFolNeg.gai.y (287) [DISC] (1) protected Boolean theFolNeg.opeMod.transition1.outPort.occupied (288) [DISS] (1) protected Boolean theFol.opeMod.and1.u2 (289) [ALGB] (1) Real[1] cooWatNeg.ports.p (start = {3e5}, min = {0.0 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e5 for $i1 in 1:1}) (290) [DISC] (1) protected Boolean theFol.opeMod.transition10.outPort.occupied (291) [DISC] (1) protected Boolean theFolNeg.opeMod.transition5.outPort.set (292) [DISC] (1) Boolean $SEV_129 (293) [ALGB] (2) Real[2] theFol.vol.ports.p (start = {3e5 for $ports1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}) (294) [DISC] (1) Boolean $SEV_126 (295) [ALGB] (1) Real theFolNeg.cooWatCon.P.u (296) [DISC] (1) Boolean $SEV_123 (297) [DISC] (1) protected Boolean theFolNeg.opeMod.transition3.outPort.occupied (298) [DISC] (1) Boolean $SEV_122 (299) [DISC] (1) Boolean $SEV_121 (300) [ALGB] (1) Real theFol.mWatSet_flow (301) [DISC] (1) Boolean $SEV_120 (302) [ALGB] (1) protected Real theFol.fil.dPLim.u (303) [DISC] (1) protected Boolean[1] theFolNeg.opeMod.plaOff.outPort.available (304) [DISC] (2) Boolean[2] theFolNeg.opeMod.warUp.outPort.available (305) [ALGB] (1) protected Real theFolNeg.eneCon.opeModBas.heaGen.u1 (306) [DISC] (1) protected Boolean theFolNeg.fil.assPow.minPow.y (307) [ALGB] (1) Real preTem.T (308) [ALGB] (2) stream Real[2] theFol.vol.ports.h_outflow (min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2}) (309) [DISC] (3) protected Boolean[3] theFolNeg.opeMod.plaOff.inPort.set (310) [ALGB] (1) protected flow Real theFol.opeMod.plaOff.outerStatePort.subgraphStatePort.activeSteps (311) [DISC] (2) Boolean[2] theFol.opeMod.warUp.inPort.occupied (312) [ALGB] (1) protected Real theFol.cooWatCon.addPD.u1 (313) [DISC] (1) Boolean $SEV_119 (314) [DISC] (1) protected Boolean theFolNeg.opeMod.transition10.inPort.available (315) [DISC] (1) Boolean $SEV_118 (316) [DISC] (1) Boolean[1] theFolNeg.opeMod.staBy.inPort.occupied (317) [DISC] (1) Boolean $SEV_117 (318) [DISC] (1) Boolean $SEV_116 (319) [DISC] (1) Boolean $SEV_115 (320) [DISC] (1) Boolean $SEV_114 (321) [DISC] (1) Boolean $SEV_113 (322) [DISC] (1) protected enumeration Buildings.Fluid.CHPs.BaseClasses.Types.Mode(Off, StandBy, PumpOn, WarmUp, Normal, CoolDown) theFolNeg.opeMod.actMod (323) [DISC] (1) protected Boolean theFol.opeMod.plaOff.newActive (324) [DISC] (1) Boolean $SEV_112 (325) [DISC] (1) Boolean $SEV_111 (326) [DISC] (1) Boolean $SEV_110 (327) [ALGB] (1) Real theFolNeg.elePowDem.u (328) [ALGB] (1) Real theFolNeg.PEleNet (329) [ALGB] (1) Real theFolNeg.elePowDem.y (330) [DISC] (1) protected Boolean theFolNeg.opeMod.transition3.outPort.set (331) [DISC] (2) Boolean[2] $SEV_127[$i1] (332) [DISC] (2) Boolean[2] $SEV_124[$i1] (333) [ALGB] (1) protected Real theFol.eneCon.opeModBas.etaQ.y (334) [DISC] (1) protected Boolean theFolNeg.opeMod.transition10.outPort.set (335) [ALGB] (1) protected Real theFol.conWat.mWatIntCon.u2 (336) [DISC] (1) Boolean $SEV_109 (337) [ALGB] (1) protected flow Real theFolNeg.opeMod.plaOff.outerStatePort.subgraphStatePort.activeSteps (338) [DISC] (1) Boolean $SEV_108 (339) [DISC] (1) protected Boolean theFolNeg.fil.assPow.not2.u (340) [DISC] (1) Boolean $SEV_107 (341) [ALGB] (1) Real QGenVal_flow.u (342) [DISC] (1) Boolean $SEV_106 (343) [DISC] (1) Boolean $SEV_105 (344) [DISC] (1) Boolean $SEV_103 (345) [DISC] (2) Boolean[2] theFol.opeMod.warUp.inPort.set (346) [ALGB] (1) protected flow Real theFol.opeMod.cooDow.outerStatePort.subgraphStatePort.activeSteps (347) [DISS] (1) protected Boolean theFolNeg.opeMod.cooDow.oldActive (348) [DISC] (1) Boolean $SEV_102 (349) [DISC] (3) Boolean[3] $SEV_104[$i1] (350) [DISC] (1) Boolean $SEV_101 (351) [ALGB] (1) protected Real theFol.cooWatCon.addRes.y (352) [DISC] (1) Boolean $SEV_100 (353) [DISC] (1) protected Boolean theFolNeg.opeMod.pumOn.newActive (354) [ALGB] (1) protected flow Real theFol.eng.QGen1.port.Q_flow (355) [DISS] (1) protected discrete Real theFolNeg.opeMod.warUpCtr.timer.entryTime (356) [DISC] (2) Boolean[2] theFol.opeMod.cooDow.outPort.reset (357) [DISC] (3) protected Boolean[3] theFol.opeMod.plaOff.inPort.occupied (358) [ALGB] (1) protected flow Real theFol.opeMod.nor.outerStatePort.subgraphStatePort.activeSteps (359) [ALGB] (1) Real theFolNeg.mFue_flow (360) [ALGB] (1) protected Real theFolNeg.eng.theConHX.dT (361) [DISC] (1) protected Boolean theFolNeg.opeMod.warUp.outerStatePort.localActive = theFolNeg.opeMod.warUp.outerStatePort.localActive (362) [ALGB] (1) protected Real theFol.opeMod.timer.y (363) [DISC] (1) protected Boolean theFolNeg.opeMod.transition6.outPort.set (364) [DISC] (1) protected Boolean theFol.opeMod.cooDow.outerStatePort.localActive = theFol.opeMod.cooDow.outerStatePort.localActive (365) [DISC] (1) protected final Boolean theFolNeg.opeMod.transition6.localCondition = theFolNeg.opeMod.transition6.localCondition (366) [DISC] (3) Boolean[3] $SEV_42[$i1] (367) [ALGB] (2) protected stream Real[2] theFolNeg.vol.dynBal.ports.h_outflow (min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2}) (368) [DISC] (1) Boolean[1] theFol.opeMod.staBy.inPort.set (369) [DISC] (1) protected Boolean theFol.opeMod.staBy.newActive (370) [DISC] (1) protected Boolean theFolNeg.opeMod.transition2.outPort.occupied (371) [DER-] (1) Real $DER.EThe.y (372) [ALGB] (1) flow Real[1] cooWatNeg.ports.m_flow (min = {-1e60}, max = {1e60}) (373) [ALGB] (1) Real QWatVal_flow.u (374) [DISC] (1) protected Boolean theFol.opeMod.warUp.outerStatePort.localActive = theFol.opeMod.warUp.outerStatePort.localActive (375) [ALGB] (1) Real dTWatOut.y (376) [DISC] (2) Boolean[2] $SEV_65[$i1] (377) [DISC] (2) Boolean[2] $SEV_68[$i1] (378) [DISS] (1) protected Boolean theFol.opeMod.warUp.oldActive (379) [ALGB] (2) protected Real[2] theFol.vol.dynBal.ports_H_flow (min = {-1e8 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1000.0 for $i1 in 1:2}) (380) [ALGB] (1) flow Real[1] cooWat.ports.m_flow (min = {-1e60}, max = {1e60}) (381) [ALGB] (1) Real theFol.m_flow = theFol.m_flow (start = theFol._m_flow_start) (382) [ALGB] (1) stream Real theFolNeg.port_b.h_outflow (start = theFolNeg.h_outflow_start, min = -1e10, max = 1e10, nominal = 83680.0) (383) [DISC] (2) Boolean[2] $SEV_72[$i1] (384) [ALGB] (1) protected Real theFol.eneCon.opeModBas.etaE.eta (385) [ALGB] (1) protected Real cooWatNeg.p_in_internal (386) [ALGB] (1) protected Real theFol.vol.dynBal.m (start = theFol.vol.V * theFol.vol.rho_start, min = 0.0, StateSelect = default) (387) [ALGB] (1) protected flow Real theFolNeg.opeMod.pumOn.outerStatePort.subgraphStatePort.activeSteps (388) [DISC] (1) protected Boolean theFol.opeMod.transition2.outPort.set (389) [ALGB] (1) Real dTEng.u2 (390) [DISC] (2) Boolean[2] theFol.opeMod.pumOn.outPort.available (391) [DISC] (1) protected Boolean theFolNeg.opeMod.transition5.outPort.occupied (392) [DISC] (1) protected Boolean theFol.powCon.staBy.y = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy (393) [DISC] (2) Boolean[2] theFolNeg.opeMod.warUp.inPort.set (394) [ALGB] (1) protected Real theFol.eng.theConHX.dT (395) [ALGB] (1) protected Real theFol.vol.dynBal.U (start = Buildings.Fluid.CHPs.Validation.ThermalFollowing.theFol.vol.dynBal.Medium.specificInternalEnergy(Buildings.Fluid.CHPs.Validation.ThermalFollowing.theFol.vol.dynBal.Medium.setState_pTX(theFol.vol.dynBal.p_start, theFol.vol.dynBal.T_start, {})) * theFol.vol.dynBal.fluidVolume * theFol.vol.dynBal.rho_start + theFol.vol.dynBal.CSen * (theFol.vol.dynBal.T_start - 273.15), nominal = 1e5) (396) [ALGB] (1) protected Real theFol.eneCon.switch5.u3 (397) [DISC] (2) Boolean[2] theFolNeg.opeMod.warUp.outPort.reset (398) [ALGB] (1) Real theFolNeg.preDro.dp = theFolNeg.port_a.p - theFolNeg.preDro.port_b.p (start = theFolNeg.preDro._dp_start, nominal = if theFolNeg.preDro.dp_nominal_pos > 1e-15 then theFolNeg.preDro.dp_nominal_pos else 1.0) (399) [ALGB] (1) protected Real theFol.fil.assPow.abs1.y (400) [DISS] (1) protected Boolean theFolNeg.opeMod.plaOff.oldActive (401) [ALGB] (1) protected Real theFol.fil.assPow.abs1.u (402) [ALGB] (1) Real theFol.cooWatCon.errI1.y (403) [DISC] (2) Boolean[2] theFolNeg.opeMod.staBy.outPort.reset (404) [ALGB] (1) Real theFolNeg.cooWatCon.controlError.y (405) [ALGB] (1) protected Real theFol.cooWatCon.addPID.u1 (406) [DISC] (1) protected Boolean theFol.eneCon.assFue.hys.y (407) [DISS] (1) protected Boolean theFolNeg.opeMod.staBy.oldActive (408) [DISC] (1) protected Boolean[1] theFolNeg.opeMod.plaOff.outPort.reset (409) [ALGB] (1) protected Real theFol.eng.conTheLos.dT (410) [ALGB] (1) protected flow Real theFolNeg.opeMod.warUp.outerStatePort.subgraphStatePort.activeSteps (411) [DISC] (1) protected Boolean theFolNeg.opeMod.transition10.outPort.occupied (412) [ALGB] (1) Real theFol.cooWatCon.controlError.y (413) [ALGB] (1) protected Real theFol.conWat.mWatIntCon.y (414) [DISS] (1) protected discrete Real valDat.nextTimeEventScaled (fixed = true, start = 0.0) (415) [ALGB] (1) protected Real theFolNeg.fil.dPLim.thr = (theFolNeg.fil.dPLim.u - theFolNeg.fil.dPLim.y) / theFolNeg.fil.dPLim.Td (416) [ALGB] (1) Real theFolNeg.cooWatCon.errI1.y (417) [ALGB] (1) Real QLosVal_flow.u (418) [ALGB] (1) protected Real theFol.eng.capTheEng.der_T (start = 0.0) (419) [ALGB] (1) flow Real theFol.vol.heatPort.Q_flow (420) [ALGB] (1) stream Real theFol.preDro.port_b.h_outflow (start = 83680.0, min = -1e10, max = 1e10, nominal = 83680.0) (421) [DISC] (1) protected Boolean theFol.opeMod.nor.outerStatePort.localActive = theFol.opeMod.nor.outerStatePort.localActive (422) [DISC] (1) protected Boolean theFolNeg.opeMod.transition3.inPort.available (423) [ALGB] (1) Real theFolNeg.cooWatCon.I.u (424) [DISC] (1) Boolean $TEV_79 (425) [DISC] (1) Boolean $TEV_78 (426) [DISC] (1) protected Boolean theFol.opeMod.pumOn.outerStatePort.localActive = theFol.opeMod.pumOn.outerStatePort.localActive (427) [DISC] (1) Boolean $TEV_77 (428) [DISC] (1) Boolean $TEV_76 (429) [DISC] (1) Boolean $TEV_75 (430) [DISC] (1) Boolean $TEV_74 (431) [DISC] (1) Boolean $TEV_73 (432) [DISC] (1) Boolean $TEV_72 (433) [DISC] (1) Boolean $TEV_71 (434) [ALGB] (2) flow Real[2] theFolNeg.vol.ports.m_flow (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}) (435) [DISC] (1) Boolean $TEV_70 (436) [DISS] (1) protected discrete Real valDat.nextTimeEvent (fixed = true, start = 0.0) (437) [DISC] (1) protected Boolean theFolNeg.opeMod.transition1.inPort.available (438) [DER-] (1) Real $DER.theFolNeg.eng.capTheEng.T (439) [ALGB] (2) Real[2] sin.ports.p (start = {3e5 for $ports1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}) (440) [ALGB] (1) protected Real theFolNeg.eneCon.assFue.abs1.y (441) [ALGB] (2) protected flow Real[2] theFolNeg.vol.dynBal.ports.m_flow (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}) (442) [DISC] (2) Boolean[2] theFolNeg.opeMod.cooDow.outPort.reset (443) [ALGB] (1) flow Real theFol.watHea.port_a.Q_flow (444) [ALGB] (1) protected Real theFolNeg.eneCon.assFue.abs1.u (445) [DISC] (1) protected Boolean theFol.opeMod.transition3.outPort.set (446) [DER-] (1) Real $DER.EEle.y (447) [DISC] (1) protected Boolean theFol.opeMod.transition1.outPort.occupied (448) [DISC] (1) protected Boolean theFol.opeMod.cooDow.newActive (449) [DISC] (1) Boolean $TEV_69 (450) [DISC] (1) Boolean $TEV_68 (451) [DISC] (1) Boolean $TEV_67 (452) [DISC] (1) Boolean $TEV_66 (453) [DISC] (1) protected Boolean theFol.opeMod.hys.y (454) [DISC] (1) Boolean $TEV_65 (455) [DISC] (1) Boolean $TEV_64 (456) [DISC] (1) Boolean $TEV_63 (457) [DISC] (1) protected Boolean theFolNeg.opeMod.cooDow.outerStatePort.localActive = theFolNeg.opeMod.cooDow.outerStatePort.localActive (458) [DISC] (1) Boolean $TEV_62 (459) [DISC] (1) protected final Boolean theFolNeg.opeMod.transition5.localCondition = theFolNeg.opeMod.transition5.localCondition (460) [DISC] (1) Boolean $TEV_61 (461) [DISC] (1) Boolean $TEV_60 (462) [DISC] (2) Boolean[2] theFolNeg.opeMod.cooDow.inPort.set (463) [DISC] (2) Boolean[2] theFol.opeMod.cooDow.outPort.available (464) [ALGB] (1) protected Real theFolNeg.eneCon.switch5.u3 (465) [DISC] (1) protected Boolean theFolNeg.opeMod.pumOn.outerStatePort.localActive = theFolNeg.opeMod.pumOn.outerStatePort.localActive (466) [ALGB] (1) Real dTEng.y (467) [DISC] (1) protected Boolean theFolNeg.opeMod.transition6.outPort.occupied (468) [ALGB] (2) protected flow Real[2] theFol.vol.dynBal.ports.m_flow (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}) (469) [ALGB] (2) stream Real[2] theFolNeg.vol.ports.h_outflow (min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2}) (470) [ALGB] (1) Real dQGen.y (471) [DISC] (1) protected Boolean theFolNeg.powCon.cooDow.y = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy or theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown (472) [DISC] (1) Boolean $TEV_59 (473) [DISC] (1) protected Boolean theFolNeg.opeMod.transition4.outPort.occupied (474) [DISC] (1) Boolean $TEV_58 (475) [DISS] (1) protected Boolean theFolNeg.opeMod.nor.oldActive (476) [DISC] (1) Boolean $TEV_57 (477) [DISC] (1) Boolean $TEV_56 (478) [DISC] (1) Boolean $TEV_55 (479) [DISC] (1) Boolean $TEV_54 (480) [DISC] (1) Boolean $TEV_53 (481) [DISC] (1) Boolean $TEV_52 (482) [DISC] (1) Boolean $TEV_51 (483) [DISC] (1) protected Boolean theFol.opeMod.transition1.outPort.set (484) [DISC] (1) protected Boolean theFol.opeMod.transition7.inPort.available (485) [DISC] (1) Boolean $TEV_50 (486) [DISC] (2) Boolean[2] theFolNeg.opeMod.staBy.outPort.available (487) [ALGB] (1) protected Real theFol.powCon.switch.y (488) [DER-] (1) Real $DER.theFolNeg.fil.dPLim.y (489) [DISC] (1) protected Boolean theFolNeg.conWat.offStaBy.y = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off or theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy (490) [ALGB] (1) protected Real theFolNeg.opeMod.max.y (491) [ALGB] (1) Real theFol.conWat.TWatIn (492) [DISS] (1) protected discrete Real avaSig.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (493) [ALGB] (1) protected flow Real theFolNeg.opeMod.staBy.outerStatePort.subgraphStatePort.activeSteps (494) [ALGB] (1) Real theFol.cooWatCon.errP.u2 (495) [DISC] (1) Boolean $TEV_49 (496) [DISC] (1) Boolean $TEV_48 (497) [DISC] (1) Integer theFolNeg.stateGraphRoot.activeSteps (498) [DISC] (1) Boolean $TEV_47 (499) [DISC] (1) Boolean $TEV_46 (500) [DISC] (1) Boolean $TEV_45 (501) [DISC] (1) Boolean $TEV_44 (502) [DISS] (1) protected discrete Real theFol.opeMod.warUpCtr.timer.entryTime (503) [DISS] (1) protected discrete Real theFolNeg.opeMod.timer.entryTime (504) [DISC] (1) Boolean $TEV_43 (505) [DISC] (1) Boolean $TEV_42 (506) [DISC] (2) Boolean[2] $SEV_130[$i1] (507) [DISC] (1) Boolean $TEV_41 (508) [DISC] (1) Boolean $TEV_40 (509) [ALGB] (1) protected Real theFolNeg.conWat.mWatIntCon.y (510) [ALGB] (1) flow Real theFol.TRoo.Q_flow (511) [ALGB] (1) Real theFol.QLos.Q_flow (512) [ALGB] (1) protected Real theFolNeg.eneCon.opeModBas.etaE.y (513) [ALGB] (1) Real theFolNeg.vol.p = theFolNeg.vol.ports[1].p (514) [ALGB] (1) stream Real theFolNeg.preDro.port_b.h_outflow (start = 83680.0, min = -1e10, max = 1e10, nominal = 83680.0) (515) [DISC] (1) protected Boolean theFol.conWat.offStaBy.y = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off or theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy (516) [ALGB] (1) Real TWatOutSet.u (517) [ALGB] (1) Real theFolNeg.cooWatCon.errP.u2 (518) [ALGB] (1) Real PEleNetVal.u (519) [DISS] (1) protected Boolean theFol.opeMod.plaOff.oldActive (520) [ALGB] (1) protected Real theFol.opeMod.warUpCtr.timer.y (521) [DISC] (1) protected Boolean theFolNeg.opeMod.transition1.outPort.set (522) [DISC] (1) Boolean $TEV_39 (523) [ALGB] (1) protected Real cooWat.h_internal = Buildings.Fluid.CHPs.Validation.ThermalFollowing.cooWat.Medium.specificEnthalpy(Buildings.Fluid.CHPs.Validation.ThermalFollowing.cooWat.Medium.setState_pTX(cooWat.p_in_internal, -2.390057361376673e-4 * ((-1.1428595999999999e6) - cooWat.h_internal), cooWat.X_in_internal)) (524) [DISC] (1) Boolean $TEV_38 (525) [DISC] (1) Boolean $TEV_37 (526) [DISC] (1) Boolean $TEV_36 (527) [DISC] (1) Boolean $TEV_35 (528) [DISC] (1) Boolean $TEV_34 (529) [DISC] (1) Boolean $TEV_33 (530) [DISC] (1) Boolean $TEV_32 (531) [DISC] (1) Boolean $TEV_31 (532) [DISC] (1) protected Boolean theFolNeg.powCon.staBy.y = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy (533) [DISC] (1) Boolean $TEV_30 (534) [ALGB] (1) Real theFol.vol.p = theFol.vol.ports[1].p (535) [DISC] (1) protected Boolean theFol.opeMod.transition4.outPort.set (536) [DISC] (1) protected Boolean theFol.opeMod.transition10.outPort.set (537) [ALGB] (1) protected Real theFol.opeMod.transition4.t_dummy (538) [DISC] (1) protected Boolean theFolNeg.opeMod.transition2.inPort.available (539) [DISC] (1) Boolean[1] theFolNeg.opeMod.pumOn.inPort.occupied (540) [ALGB] (1) Real theFolNeg.dp = theFolNeg.port_a.p - theFolNeg.port_b.p (start = theFolNeg._dp_start) (541) [ALGB] (1) protected Real theFolNeg.cooWatCon.antWinErr.y (542) [DISC] (1) Boolean $FUN_9 (543) [DISC] (1) protected Boolean theFol.opeMod.transition9.outPort.occupied (544) [DISC] (1) Boolean $FUN_8 (545) [ALGB] (2) flow Real[2] theFol.vol.ports.m_flow (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}) (546) [DISC] (1) Boolean $FUN_7 (547) [DISC] (1) protected Boolean theFolNeg.opeMod.cooDow.newActive (548) [DISC] (1) Boolean $TEV_29 (549) [ALGB] (1) Real $FUN_2 (550) [DISC] (1) Boolean $TEV_28 (551) [ALGB] (1) Real $FUN_1 (552) [ALGB] (1) Real theFolNeg.PEleDem (553) [ALGB] (1) Real dTWatOut.u2 (554) [DISC] (1) Boolean $TEV_27 (555) [DISC] (1) Boolean $TEV_26 (556) [DISC] (1) Boolean $TEV_25 (557) [DISC] (1) Boolean $TEV_24 (558) [DISC] (1) Boolean $TEV_23 (559) [DISC] (1) Boolean $TEV_22 (560) [DISC] (1) Boolean[1] theFol.opeMod.pumOn.inPort.occupied (561) [DISC] (1) Boolean $TEV_21 (562) [DISC] (1) Boolean $TEV_20 (563) [DISS] (1) protected Boolean theFolNeg.opeMod.pumOn.oldActive (564) [ALGB] (1) Real theFolNeg.cooWatCon.errI1.u1 (565) [DISC] (3) Boolean[3] $SEV_43[$i1] (566) [DISC] (1) Boolean $TEV_19 (567) [ALGB] (2) protected Real[2] theFolNeg.vol.dynBal.ports_H_flow (min = {-1e8 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1000.0 for $i1 in 1:2}) (568) [DISC] (1) Boolean $TEV_18 (569) [DISC] (1) Boolean $TEV_17 (570) [DISC] (1) Boolean $TEV_16 (571) [ALGB] (1) protected Real theFol.eneCon.opeModBas.etaQ.eta (572) [DISC] (1) protected Boolean[1] theFol.opeMod.nor.inPort.set (573) [DISC] (1) Boolean $TEV_15 (574) [DISC] (1) Boolean $TEV_14 (575) [DISC] (1) protected Boolean theFolNeg.opeMod.transition4.enableFire (576) [DISC] (1) Boolean $TEV_13 (577) [DISC] (1) Boolean $TEV_12 (578) [DISC] (1) Boolean $TEV_11 (579) [DISC] (1) Boolean $TEV_10 (580) [DISC] (1) protected Boolean theFol.opeMod.transition6.inPort.available (581) [DISC] (1) protected Boolean theFol.eneCon.booExp.y = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp or theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal (582) [DISC] (1) protected Boolean theFol.opeMod.transition4.inPort.available (583) [ALGB] (1) Real theFolNeg.eng.QGen_flow (584) [ALGB] (1) flow Real theFolNeg.stateGraphRoot.subgraphStatePort.activeSteps (585) [ALGB] (1) Real theFol.elePowDem.u (586) [ALGB] (1) protected Real theFolNeg.eng.conTheLos.dT (587) [ALGB] (1) stream Real theFol.preDro.port_a.h_outflow (start = 83680.0, min = -1e10, max = 1e10, nominal = 83680.0) (588) [DISC] (2) Boolean[2] $SEV_63[$i1] (589) [ALGB] (1) Real theFol.elePowDem.y (590) [DISC] (2) Boolean[2] theFol.opeMod.staBy.outPort.reset (591) [ALGB] (1) flow Real theFol.stateGraphRoot.subgraphStatePort.activeSteps (592) [ALGB] (1) protected Real theFolNeg.opeMod.timer.y (593) [ALGB] (1) protected Real theFolNeg.powCon.switch.y (594) [ALGB] (1) protected Real theFolNeg.vol.dynBal.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - theFolNeg.vol.dynBal.medium.T_degC)) (595) [ALGB] (1) protected Real theFol.vol.dynBal.medium.state.T (start = 293.15, min = 1.0, max = 1e4, nominal = 300.0) (596) [DISC] (1) protected Boolean theFol.opeMod.transition8.inPort.available (597) [DISC] (2) Boolean[2] $SEV_70[$i1] (598) [DISC] (2) Boolean[2] theFolNeg.opeMod.pumOn.outPort.available (599) [DISC] (1) protected Boolean theFolNeg.opeMod.transition9.inPort.available (600) [DISC] (1) protected Boolean theFolNeg.opeMod.warUp.newActive (601) [DISC] (1) protected Boolean theFol.opeMod.transition9.outPort.set (602) [ALGB] (1) flow Real theFol.port_b.m_flow (min = -1e5, max = 1e60) (603) [ALGB] (1) protected Real theFol.eneCon.opeModBas.etaE.y (604) [DISC] (1) protected Boolean theFol.opeMod.warUp.newActive (605) [ALGB] (1) Real theFolNeg.QLos.port_b.T (start = 288.15, min = 0.0, nominal = 300.0) (606) [DISC] (1) protected Boolean theFol.powCon.cooDow.y = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy or theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown (607) [ALGB] (1) protected Real theFol.vol.dynBal.medium.state.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (608) [ALGB] (1) protected Real theFolNeg.opeMod.warUpCtr.timer.y (609) [ALGB] (1) protected Real theFolNeg.fil.assPow.abs1.y (610) [DISC] (1) protected Boolean theFol.opeMod.transition7.outPort.occupied (611) [ALGB] (1) protected Real theFolNeg.fil.assPow.abs1.u (612) [ALGB] (1) Real theFol.preDro.dp = theFol.port_a.p - theFol.preDro.port_b.p (start = theFol.preDro._dp_start, nominal = if theFol.preDro.dp_nominal_pos > 1e-15 then theFol.preDro.dp_nominal_pos else 1.0) (613) [DISC] (1) protected Boolean[1] theFol.opeMod.nor.outPort.reset (614) [ALGB] (1) protected Real theFolNeg.cooWatCon.addPID.u1 (615) [DISC] (1) protected Boolean theFolNeg.eneCon.assFue.hys.y (616) [DISC] (1) protected Boolean theFolNeg.opeMod.staBy.outerStatePort.localActive = theFolNeg.opeMod.staBy.outerStatePort.localActive (617) [DISC] (1) protected Boolean theFol.opeMod.transition5.outPort.occupied (618) [DISC] (1) Boolean $SEV_99 (619) [DISC] (1) Boolean $SEV_98 (620) [DISC] (1) Boolean $SEV_97 (621) [DISC] (1) Boolean $SEV_96 (622) [DISC] (1) Boolean $SEV_95 (623) [DISC] (1) Boolean $SEV_93 (624) [DISC] (1) Boolean $SEV_92 (625) [DISC] (1) Boolean $SEV_91 (626) [DISC] (1) Boolean $SEV_90 (627) [DISC] (1) protected Boolean theFol.opeMod.transition8.outPort.occupied (628) [DISC] (1) protected Boolean theFol.opeMod.transition10.inPort.available (629) [ALGB] (1) Real theFolNeg.m_flow = theFolNeg.m_flow (start = theFolNeg._m_flow_start) (630) [ALGB] (1) stream Real theFol.port_b.h_outflow (start = theFol.h_outflow_start, min = -1e10, max = 1e10, nominal = 83680.0) (631) [ALGB] (2) Real[2] theFolNeg.vol.ports.p (start = {3e5 for $ports1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}) (632) [DISS] (1) protected Boolean theFol.opeMod.pumOn.oldActive (633) [DISC] (1) protected Boolean theFolNeg.eneCon.booExp.y = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp or theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal (634) [ALGB] (1) protected Real theFolNeg.eng.capTheEng.der_T (start = 0.0) (635) [DISC] (2) Boolean[2] theFolNeg.opeMod.cooDow.inPort.occupied (636) [DISC] (1) protected Boolean theFol.opeMod.transition6.outPort.set (637) [ALGB] (1) flow Real theFolNeg.vol.heatPort.Q_flow (638) [DISC] (1) protected final Boolean theFolNeg.opeMod.transition7.localCondition = theFolNeg.opeMod.transition7.localCondition (639) [ALGB] (1) protected Real theFolNeg.fil.dPLim.u (640) [DISC] (1) Boolean $SEV_89 (641) [DISC] (1) Boolean $SEV_88 (642) [ALGB] (1) protected flow Real theFolNeg.opeMod.nor.outerStatePort.subgraphStatePort.activeSteps (643) [ALGB] (1) protected Real theFolNeg.eneCon.switch4.u3 (644) [DISC] (1) Boolean $SEV_87 (645) [DISC] (1) protected Boolean theFolNeg.opeMod.plaOff.newActive (646) [DISC] (1) Boolean $SEV_86 (647) [DISC] (1) Boolean $SEV_85 (648) [DISC] (1) protected Boolean theFol.opeMod.assWatMas.not1.u (649) [DISC] (1) Boolean $SEV_82 (650) [ALGB] (1) protected Real theFolNeg.opeMod.transition4.t (651) [ALGB] (1) Real TEngVal.u (652) [DISC] (1) protected Boolean[1] theFol.opeMod.nor.inPort.occupied (653) [ALGB] (2) stream Real[2] sin.ports.h_outflow (min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2}) (654) [ALGB] (1) Real dPEleNet.y (655) [ALGB] (1) Real EEle.u (656) [ALGB] (1) protected Real theFol.vol.dynBal.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * theFol.vol.dynBal.medium.p_bar) (657) [ALGB] (1) stream Real theFolNeg.preDro.port_a.h_outflow (start = 83680.0, min = -1e10, max = 1e10, nominal = 83680.0) system eqns Equations (704/776) ********************************* (1) [SCAL] (1) $TEV_59 = $PRE.theFol.opeMod.transition10.outPort.set ($RES_EVT_1673) (2) [SCAL] (1) $TEV_58 = $PRE.theFol.opeMod.assWatMas.not1.u ($RES_EVT_1672) (3) [SCAL] (1) $TEV_57 = $PRE.theFol.opeMod.transition1.outPort.set ($RES_EVT_1671) (4) [SCAL] (1) $TEV_56 = $PRE.theFol.opeMod.transition2.outPort.set ($RES_EVT_1670) (5) [SCAL] (1) $SEV_138 = not $PRE.theFol.eneCon.assFue.hys.y and theFol.eneCon.assFue.abs1.y > theFol.eneCon.assFue.hys.uHigh or $PRE.theFol.eneCon.assFue.hys.y and theFol.eneCon.assFue.abs1.y >= theFol.eneCon.assFue.hys.uLow ($RES_EVT_1848) (6) [SCAL] (1) $SEV_137 = (-0.01) + theFol.eneCon.opeModBas.etaE.y < (-0.005) ($RES_EVT_1847) (7) [SCAL] (1) $SEV_136 = (-0.01) + theFol.eneCon.opeModBas.etaE.y > 0.005 ($RES_EVT_1846) (8) [SCAL] (1) $SEV_135 = (-0.01) + theFol.eneCon.opeModBas.etaQ.y < (-0.005) ($RES_EVT_1845) (9) [SCAL] (1) $SEV_134 = (-0.01) + theFol.eneCon.opeModBas.etaQ.y > 0.005 ($RES_EVT_1844) (10) [SCAL] (1) $SEV_133 = $FUN_7 or theFol.opeMod.staBy.outerStatePort.localActive and not $FUN_8 ($RES_EVT_1843) (11) [FOR-] (2) ($RES_EVT_1759) (11) [----] for $i1 in 1:2 loop (11) [----] [SCAL] (1) $SEV_63[$i1] = $i1 == 1 ($RES_EVT_1760) (11) [----] end for; (12) [FOR-] (2) ($RES_EVT_1841) (12) [----] for $i1 in 1:2 loop (12) [----] [SCAL] (1) $SEV_132[$i1] = theFol.opeMod.staBy.outPort[$i1 - 1].available and not theFol.opeMod.staBy.outPort[$i1 - 1].reset ($RES_EVT_1842) (12) [----] end for; (13) [SCAL] (1) $SEV_62 = not $PRE.theFolNeg.opeMod.hys.y and theFolNeg.opeMod.add2.y > theFolNeg.opeMod.hys.uHigh or $PRE.theFolNeg.opeMod.hys.y and theFolNeg.opeMod.add2.y >= theFolNeg.opeMod.hys.uLow ($RES_EVT_1758) (14) [SCAL] (1) $SEV_131 = $FUN_9 or theFol.opeMod.pumOn.outerStatePort.localActive and not $FUN_10 ($RES_EVT_1840) (15) [SCAL] (1) $SEV_61 = theFolNeg.opeMod.hys.y and not theFolNeg.opeMod.transition5.localCondition ($RES_EVT_1757) (16) [SCAL] (1) $SEV_60 = not theFolNeg.opeMod.transition9.localCondition and theFolNeg.opeMod.and1.u2 ($RES_EVT_1756) (17) [SCAL] (1) $SEV_59 = (not (not theFol.opeMod.transition3.localCondition) and theFolNeg.opeMod.transition3.inPort.available) and not theFolNeg.opeMod.transition3.outPort.occupied ($RES_EVT_1755) (18) [SCAL] (1) $SEV_58 = (theFolNeg.opeMod.transition5.localCondition and theFolNeg.opeMod.transition5.inPort.available) and not theFolNeg.opeMod.transition5.outPort.occupied ($RES_EVT_1754) (19) [SCAL] (1) $SEV_57 = (theFolNeg.opeMod.transition9.localCondition and theFolNeg.opeMod.transition9.inPort.available) and not theFolNeg.opeMod.transition9.outPort.occupied ($RES_EVT_1753) (20) [SCAL] (1) $SEV_56 = (theFolNeg.opeMod.transition7.localCondition and theFolNeg.opeMod.transition7.inPort.available) and not theFolNeg.opeMod.transition7.outPort.occupied ($RES_EVT_1752) (21) [SCAL] (1) $TEV_55 = $PRE.theFol.opeMod.nor.newActive ($RES_EVT_1669) (22) [SCAL] (1) $SEV_55 = theFolNeg.opeMod.optCooDow.k and not theFolNeg.opeMod.transition9.localCondition ($RES_EVT_1751) (23) [SCAL] (1) $TEV_54 = $PRE.theFol.opeMod.nor.outerStatePort.localActive ($RES_EVT_1668) (24) [SCAL] (1) $SEV_54 = (theFolNeg.opeMod.transition10.localCondition and theFolNeg.opeMod.transition10.inPort.available) and not theFolNeg.opeMod.transition10.outPort.occupied ($RES_EVT_1750) (25) [SCAL] (1) $TEV_53 = $PRE.theFol.opeMod.nor.oldActive ($RES_EVT_1667) (26) [SCAL] (1) $TEV_52 = $PRE.theFol.opeMod.transition8.outPort.set ($RES_EVT_1666) (27) [SCAL] (1) $TEV_51 = $PRE.theFol.opeMod.warUpCtr.timer.entryTime ($RES_EVT_1665) (28) [SCAL] (1) $TEV_50 = $PRE.theFol.opeMod.and1.u2 ($RES_EVT_1664) (29) [SCAL] (1) $TEV_49 = $PRE.theFol.opeMod.transition6.outPort.set ($RES_EVT_1663) (30) [SCAL] (1) $TEV_48 = $PRE.theFol.opeMod.plaOff.newActive ($RES_EVT_1662) (31) [SCAL] (1) $TEV_47 = $PRE.theFol.opeMod.plaOff.outerStatePort.localActive ($RES_EVT_1661) (32) [SCAL] (1) $TEV_46 = $PRE.theFol.opeMod.plaOff.oldActive ($RES_EVT_1660) (33) [SCAL] (1) theFolNeg.opeMod.transition3.outPort.occupied = theFolNeg.opeMod.plaOff.inPort[1].occupied ($RES_SIM_1018) (34) [SCAL] (1) theFolNeg.opeMod.transition3.outPort.set = theFolNeg.opeMod.plaOff.inPort[1].set ($RES_SIM_1017) (35) [SCAL] (1) theFolNeg.opeMod.transition5.outPort.occupied = theFolNeg.opeMod.plaOff.inPort[2].occupied ($RES_SIM_1016) (36) [SCAL] (1) theFolNeg.opeMod.transition5.outPort.set = theFolNeg.opeMod.plaOff.inPort[2].set ($RES_SIM_1015) (37) [SCAL] (1) theFolNeg.opeMod.transition10.outPort.occupied = theFolNeg.opeMod.plaOff.inPort[3].occupied ($RES_SIM_1014) (38) [SCAL] (1) theFolNeg.opeMod.transition10.outPort.set = theFolNeg.opeMod.plaOff.inPort[3].set ($RES_SIM_1013) (39) [FOR-] (2) ($RES_EVT_1838) (39) [----] for $i1 in 1:2 loop (39) [----] [SCAL] (1) $SEV_130[$i1] = theFol.opeMod.pumOn.outPort[$i1 - 1].available and not theFol.opeMod.pumOn.outPort[$i1 - 1].reset ($RES_EVT_1839) (39) [----] end for; (40) [SCAL] (1) $SEV_129 = $FUN_11 or theFol.opeMod.warUp.outerStatePort.localActive and not $FUN_12 ($RES_EVT_1837) (41) [SCAL] (1) theFolNeg.opeMod.transition1.outPort.occupied = theFolNeg.opeMod.staBy.inPort[1].occupied ($RES_SIM_1011) (42) [SCAL] (1) theFolNeg.opeMod.transition1.outPort.set = theFolNeg.opeMod.staBy.inPort[1].set ($RES_SIM_1010) (43) [FOR-] (2) ($RES_EVT_1835) (43) [----] for $i1 in 1:2 loop (43) [----] [SCAL] (1) $SEV_128[$i1] = theFol.opeMod.warUp.inPort[$i1 - 1].occupied or theFol.opeMod.warUp.inPort[$i1 - 1].set ($RES_EVT_1836) (43) [----] end for; (44) [FOR-] (2) ($RES_EVT_1833) (44) [----] for $i1 in 1:2 loop (44) [----] [SCAL] (1) $SEV_127[$i1] = theFol.opeMod.warUp.outPort[$i1 - 1].available and not theFol.opeMod.warUp.outPort[$i1 - 1].reset ($RES_EVT_1834) (44) [----] end for; (45) [SCAL] (1) $SEV_126 = $FUN_13 or theFol.opeMod.cooDow.outerStatePort.localActive and not $FUN_14 ($RES_EVT_1832) (46) [SCAL] (1) $SEV_53 = theFolNeg.opeMod.timer.passed and theFolNeg.opeMod.transition9.localCondition ($RES_EVT_1749) (47) [SCAL] (1) $SEV_52 = not theFolNeg.opeMod.transition5.localCondition and not theFolNeg.opeMod.assWatMas.not1.u ($RES_EVT_1748) (48) [FOR-] (2) ($RES_EVT_1830) (48) [----] for $i1 in 1:2 loop (48) [----] [SCAL] (1) $SEV_125[$i1] = theFol.opeMod.cooDow.inPort[$i1 - 1].occupied or theFol.opeMod.cooDow.inPort[$i1 - 1].set ($RES_EVT_1831) (48) [----] end for; (49) [SCAL] (1) $SEV_51 = not $PRE.theFolNeg.opeMod.assWatMas.not1.u and theFolNeg.m_flow > theFolNeg.opeMod.assWatMas.hys.uHigh or $PRE.theFolNeg.opeMod.assWatMas.not1.u and theFolNeg.m_flow >= theFolNeg.opeMod.assWatMas.hys.uLow ($RES_EVT_1747) (50) [SCAL] (1) $SEV_50 = (not theFol.opeMod.transition3.localCondition and theFolNeg.opeMod.transition1.inPort.available) and not theFolNeg.opeMod.transition1.outPort.occupied ($RES_EVT_1746) (51) [SCAL] (1) $SEV_49 = (not theFolNeg.opeMod.transition5.localCondition and theFolNeg.opeMod.transition2.inPort.available) and not theFolNeg.opeMod.transition2.outPort.occupied ($RES_EVT_1745) (52) [SCAL] (1) $SEV_48 = $FUN_36 or theFolNeg.opeMod.nor.outerStatePort.localActive and not $FUN_37 ($RES_EVT_1744) (53) [SCAL] (1) $SEV_47 = (theFolNeg.opeMod.transition9.localCondition and theFolNeg.opeMod.transition8.inPort.available) and not theFolNeg.opeMod.transition8.outPort.occupied ($RES_EVT_1743) (54) [SCAL] (1) $SEV_46 = theFolNeg.opeMod.warUp.outerStatePort.localActive and time >= (theFolNeg.opeMod.warUpCtr.timer.t + $PRE.theFolNeg.opeMod.warUpCtr.timer.entryTime) ($RES_EVT_1742) (55) [SCAL] (1) $TEV_45 = $PRE.theFol.opeMod.transition4.enableFire ($RES_EVT_1659) (56) [SCAL] (1) $SEV_45 = (theFolNeg.opeMod.transition6.localCondition and theFolNeg.opeMod.transition6.inPort.available) and not theFolNeg.opeMod.transition6.outPort.occupied ($RES_EVT_1741) (57) [SCAL] (1) $TEV_44 = $PRE.theFol.opeMod.timer.entryTime ($RES_EVT_1658) (58) [SCAL] (1) $SEV_44 = $FUN_38 or theFolNeg.opeMod.plaOff.outerStatePort.localActive and not $FUN_39 ($RES_EVT_1740) (59) [SCAL] (1) $TEV_43 = $PRE.theFol.opeMod.timer.passed ($RES_EVT_1657) (60) [SCAL] (1) $TEV_42 = $PRE.theFol.hys.y ($RES_EVT_1656) (61) [SCAL] (1) $TEV_41 = $PRE.theFol.fil.assPow.maxPow.y ($RES_EVT_1655) (62) [SCAL] (1) $TEV_40 = $PRE.theFol.fil.assPow.minPow.y ($RES_EVT_1654) (63) [SCAL] (1) $TEV_39 = $PRE.theFol.assWatTem.hys.y ($RES_EVT_1653) (64) [SCAL] (1) $TEV_38 = $PRE.theFolNeg.eneCon.assFue.hys.y ($RES_EVT_1652) (65) [SCAL] (1) $TEV_37 = $PRE.theFolNeg.opeMod.staBy.newActive ($RES_EVT_1651) (66) [SCAL] (1) $TEV_36 = $PRE.theFolNeg.opeMod.staBy.outerStatePort.localActive ($RES_EVT_1650) (67) [SCAL] (1) theFolNeg.opeMod.staBy.outPort[1].available = theFolNeg.opeMod.transition2.inPort.available ($RES_SIM_1009) (68) [SCAL] (1) theFolNeg.opeMod.staBy.outPort[1].reset = theFolNeg.opeMod.transition2.outPort.set ($RES_SIM_1008) (69) [SCAL] (1) theFolNeg.opeMod.staBy.outPort[2].available = theFolNeg.opeMod.transition3.inPort.available ($RES_SIM_1007) (70) [SCAL] (1) theFolNeg.opeMod.staBy.outPort[2].reset = theFolNeg.opeMod.transition3.outPort.set ($RES_SIM_1006) (71) [SCAL] (1) theFolNeg.opeMod.transition2.outPort.occupied = theFolNeg.opeMod.pumOn.inPort[1].occupied ($RES_SIM_1005) (72) [SCAL] (1) theFolNeg.opeMod.transition2.outPort.set = theFolNeg.opeMod.pumOn.inPort[1].set ($RES_SIM_1004) (73) [SCAL] (1) theFolNeg.opeMod.pumOn.outPort[1].available = theFolNeg.opeMod.transition4.inPort.available ($RES_SIM_1003) (74) [FOR-] (2) ($RES_EVT_1828) (74) [----] for $i1 in 1:2 loop (74) [----] [SCAL] (1) $SEV_124[$i1] = theFol.opeMod.cooDow.outPort[$i1 - 1].available and not theFol.opeMod.cooDow.outPort[$i1 - 1].reset ($RES_EVT_1829) (74) [----] end for; (75) [SCAL] (1) theFolNeg.opeMod.pumOn.outPort[1].reset = theFolNeg.opeMod.transition4.outPort.set ($RES_SIM_1002) (76) [SCAL] (1) $SEV_123 = not $PRE.theFol.opeMod.hys.y and theFol.opeMod.add2.y > theFol.opeMod.hys.uHigh or $PRE.theFol.opeMod.hys.y and theFol.opeMod.add2.y >= theFol.opeMod.hys.uLow ($RES_EVT_1827) (77) [SCAL] (1) theFolNeg.opeMod.pumOn.outPort[2].available = theFolNeg.opeMod.transition5.inPort.available ($RES_SIM_1001) (78) [SCAL] (1) $SEV_122 = theFol.opeMod.hys.y and not theFol.opeMod.transition5.localCondition ($RES_EVT_1826) (79) [SCAL] (1) theFolNeg.opeMod.pumOn.outPort[2].reset = theFolNeg.opeMod.transition5.outPort.set ($RES_SIM_1000) (80) [SCAL] (1) $SEV_121 = not theFol.opeMod.transition9.localCondition and theFol.opeMod.and1.u2 ($RES_EVT_1825) (81) [SCAL] (1) $SEV_120 = (theFol.opeMod.transition3.localCondition and theFol.opeMod.transition3.inPort.available) and not theFol.opeMod.transition3.outPort.occupied ($RES_EVT_1824) (82) [SCAL] (1) $SEV_119 = (theFol.opeMod.transition5.localCondition and theFol.opeMod.transition5.inPort.available) and not theFol.opeMod.transition5.outPort.occupied ($RES_EVT_1823) (83) [SCAL] (1) $SEV_118 = (theFol.opeMod.transition9.localCondition and theFol.opeMod.transition9.inPort.available) and not theFol.opeMod.transition9.outPort.occupied ($RES_EVT_1822) (84) [SCAL] (1) $SEV_117 = (theFol.opeMod.transition7.localCondition and theFol.opeMod.transition7.inPort.available) and not theFol.opeMod.transition7.outPort.occupied ($RES_EVT_1821) (85) [FOR-] (3) ($RES_EVT_1738) (85) [----] for $i1 in 1:3 loop (85) [----] [SCAL] (1) $SEV_43[$i1] = theFolNeg.opeMod.plaOff.inPort[$i1 - 1].occupied or theFolNeg.opeMod.plaOff.inPort[$i1 - 1].set ($RES_EVT_1739) (85) [----] end for; (86) [SCAL] (1) $SEV_116 = theFol.opeMod.optCooDow.k and not theFol.opeMod.transition9.localCondition ($RES_EVT_1820) (87) [FOR-] (3) ($RES_EVT_1736) (87) [----] for $i1 in 1:3 loop (87) [----] [SCAL] (1) $SEV_42[$i1] = $i1 == 1 ($RES_EVT_1737) (87) [----] end for; (88) [SCAL] (1) $SEV_41 = theFolNeg.opeMod.transition4.enableFire and time >= ((time - theFolNeg.opeMod.transition4.t_dummy) + theFolNeg.opeMod.transition4.waitTime) ($RES_EVT_1735) (89) [SCAL] (1) $SEV_40 = (not theFolNeg.opeMod.transition9.localCondition and theFolNeg.opeMod.transition4.inPort.available) and not theFolNeg.opeMod.transition4.outPort.occupied ($RES_EVT_1734) (90) [SCAL] (1) $SEV_39 = theFolNeg.opeMod.cooDow.outerStatePort.localActive and time >= (theFolNeg.opeMod.timer.t + $PRE.theFolNeg.opeMod.timer.entryTime) ($RES_EVT_1733) (91) [SCAL] (1) $SEV_38 = not theFol.opeMod.transition3.localCondition and theFolNeg.hys.y ($RES_EVT_1732) (92) [SCAL] (1) $TEV_35 = $PRE.theFolNeg.opeMod.staBy.oldActive ($RES_EVT_1649) (93) [SCAL] (1) $SEV_37 = not $PRE.theFolNeg.hys.y and theFolNeg.hys.u > theFolNeg.hys.uHigh or $PRE.theFolNeg.hys.y and theFolNeg.hys.u >= theFolNeg.hys.uLow ($RES_EVT_1731) (94) [SCAL] (1) $TEV_34 = $PRE.theFolNeg.opeMod.pumOn.newActive ($RES_EVT_1648) (95) [SCAL] (1) $SEV_36 = theFolNeg.fil.assPow.maxPow.y or not theFolNeg.fil.assPow.minPow.y ($RES_EVT_1730) (96) [SCAL] (1) $TEV_33 = $PRE.theFolNeg.opeMod.pumOn.outerStatePort.localActive ($RES_EVT_1647) (97) [SCAL] (1) $TEV_32 = $PRE.theFolNeg.opeMod.pumOn.oldActive ($RES_EVT_1646) (98) [SCAL] (1) $TEV_31 = $PRE.theFolNeg.opeMod.warUp.newActive ($RES_EVT_1645) (99) [SCAL] (1) $TEV_30 = $PRE.theFolNeg.opeMod.warUp.outerStatePort.localActive ($RES_EVT_1644) (100) [SCAL] (1) $TEV_29 = $PRE.theFolNeg.opeMod.warUp.oldActive ($RES_EVT_1643) (101) [SCAL] (1) $TEV_28 = $PRE.theFolNeg.opeMod.cooDow.newActive ($RES_EVT_1642) (102) [SCAL] (1) $TEV_27 = $PRE.theFolNeg.opeMod.cooDow.outerStatePort.localActive ($RES_EVT_1641) (103) [SCAL] (1) $TEV_26 = $PRE.theFolNeg.opeMod.cooDow.oldActive ($RES_EVT_1640) (104) [SCAL] (1) $SEV_115 = (theFol.opeMod.transition10.localCondition and theFol.opeMod.transition10.inPort.available) and not theFol.opeMod.transition10.outPort.occupied ($RES_EVT_1819) (105) [SCAL] (1) $SEV_114 = theFol.opeMod.timer.passed and theFol.opeMod.transition9.localCondition ($RES_EVT_1818) (106) [SCAL] (1) $SEV_113 = not theFol.opeMod.transition5.localCondition and not theFol.opeMod.assWatMas.not1.u ($RES_EVT_1817) (107) [SCAL] (1) $SEV_112 = not $PRE.theFol.opeMod.assWatMas.not1.u and theFol.m_flow > theFol.opeMod.assWatMas.hys.uHigh or $PRE.theFol.opeMod.assWatMas.not1.u and theFol.m_flow >= theFol.opeMod.assWatMas.hys.uLow ($RES_EVT_1816) (108) [SCAL] (1) $SEV_111 = (not theFol.opeMod.transition3.localCondition and theFol.opeMod.transition1.inPort.available) and not theFol.opeMod.transition1.outPort.occupied ($RES_EVT_1815) (109) [SCAL] (1) $SEV_110 = (not theFol.opeMod.transition5.localCondition and theFol.opeMod.transition2.inPort.available) and not theFol.opeMod.transition2.outPort.occupied ($RES_EVT_1814) (110) [SCAL] (1) $SEV_109 = $FUN_15 or theFol.opeMod.nor.outerStatePort.localActive and not $FUN_16 ($RES_EVT_1813) (111) [SCAL] (1) $SEV_108 = (theFol.opeMod.transition9.localCondition and theFol.opeMod.transition8.inPort.available) and not theFol.opeMod.transition8.outPort.occupied ($RES_EVT_1812) (112) [SCAL] (1) $SEV_35 = theFolNeg.fil.assPow.abs1.y > theFolNeg.fil.assPow.maxRat.greNoHys.t ($RES_EVT_1729) (113) [SCAL] (1) $SEV_107 = theFol.opeMod.warUp.outerStatePort.localActive and time >= (theFol.opeMod.warUpCtr.timer.t + $PRE.theFol.opeMod.warUpCtr.timer.entryTime) ($RES_EVT_1811) (114) [SCAL] (1) $SEV_34 = not $PRE.theFolNeg.fil.assPow.maxPow.y and theFolNeg.fil.PLim.simplifiedExpr > theFolNeg.fil.assPow.maxPow.uHigh or $PRE.theFolNeg.fil.assPow.maxPow.y and theFolNeg.fil.PLim.simplifiedExpr >= theFolNeg.fil.assPow.maxPow.uLow ($RES_EVT_1728) (115) [SCAL] (1) $SEV_106 = (theFol.opeMod.transition6.localCondition and theFol.opeMod.transition6.inPort.available) and not theFol.opeMod.transition6.outPort.occupied ($RES_EVT_1810) (116) [SCAL] (1) $SEV_33 = not $PRE.theFolNeg.fil.assPow.minPow.y and theFolNeg.fil.PLim.simplifiedExpr > theFolNeg.fil.assPow.minPow.uHigh or $PRE.theFolNeg.fil.assPow.minPow.y and theFolNeg.fil.PLim.simplifiedExpr >= theFolNeg.fil.assPow.minPow.uLow ($RES_EVT_1727) (117) [SCAL] (1) $SEV_31 = theFolNeg.fil.PLim.simplifiedExpr < theFolNeg.fil.PMin.k ($RES_EVT_1725) (118) [SCAL] (1) $SEV_30 = theFolNeg.fil.PLim.simplifiedExpr > theFolNeg.fil.PMax.k ($RES_EVT_1724) (119) [SCAL] (1) $SEV_29 = theFolNeg.fil.dPLim.thr > theFolNeg.fil.dPLim.raisingSlewRate ($RES_EVT_1723) (120) [SCAL] (1) $SEV_28 = theFolNeg.fil.dPLim.thr < theFolNeg.fil.dPLim.fallingSlewRate ($RES_EVT_1722) (121) [SCAL] (1) $TEV_25 = $PRE.theFolNeg.opeMod.hys.y ($RES_EVT_1639) (122) [SCAL] (1) $SEV_27 = not $PRE.theFolNeg.assWatTem.hys.y and 273.15 + 2.390057361376673e-4 * (4184.0 * ((-273.15) - ((-273.15) - theFolNeg.vol.dynBal.medium.T_degC))) > theFolNeg.assWatTem.hys.uHigh or $PRE.theFolNeg.assWatTem.hys.y and 273.15 + 2.390057361376673e-4 * (4184.0 * ((-273.15) - ((-273.15) - theFolNeg.vol.dynBal.medium.T_degC))) >= theFolNeg.assWatTem.hys.uLow ($RES_EVT_1721) (123) [SCAL] (1) $TEV_24 = $PRE.theFolNeg.opeMod.transition3.outPort.set ($RES_EVT_1638) (124) [SCAL] (1) $SEV_26 = theFolNeg.cooWatCon.lim.u < theFolNeg.cooWatCon.lim.uMin ($RES_EVT_1720) (125) [SCAL] (1) $TEV_23 = $PRE.theFolNeg.opeMod.transition5.outPort.set ($RES_EVT_1637) (126) [SCAL] (1) $TEV_22 = $PRE.theFolNeg.opeMod.transition9.outPort.set ($RES_EVT_1636) (127) [SCAL] (1) $TEV_21 = $PRE.theFolNeg.opeMod.transition7.outPort.set ($RES_EVT_1635) (128) [SCAL] (1) $TEV_20 = $PRE.theFolNeg.opeMod.transition10.outPort.set ($RES_EVT_1634) (129) [SCAL] (1) $TEV_19 = $PRE.theFolNeg.opeMod.assWatMas.not1.u ($RES_EVT_1633) (130) [SCAL] (1) $TEV_18 = $PRE.theFolNeg.opeMod.transition1.outPort.set ($RES_EVT_1632) (131) [SCAL] (1) $TEV_17 = $PRE.theFolNeg.opeMod.transition2.outPort.set ($RES_EVT_1631) (132) [SCAL] (1) $TEV_16 = $PRE.theFolNeg.opeMod.nor.newActive ($RES_EVT_1630) (133) [SCAL] (1) $SEV_105 = $FUN_17 or theFol.opeMod.plaOff.outerStatePort.localActive and not $FUN_18 ($RES_EVT_1809) (134) [FOR-] (3) ($RES_EVT_1807) (134) [----] for $i1 in 1:3 loop (134) [----] [SCAL] (1) $SEV_104[$i1] = theFol.opeMod.plaOff.inPort[$i1 - 1].occupied or theFol.opeMod.plaOff.inPort[$i1 - 1].set ($RES_EVT_1808) (134) [----] end for; (135) [SCAL] (1) $SEV_103 = theFol.opeMod.transition4.enableFire and time >= ((time - theFol.opeMod.transition4.t_dummy) + theFol.opeMod.transition4.waitTime) ($RES_EVT_1806) (136) [SCAL] (1) $SEV_102 = (not theFol.opeMod.transition9.localCondition and theFol.opeMod.transition4.inPort.available) and not theFol.opeMod.transition4.outPort.occupied ($RES_EVT_1805) (137) [SCAL] (1) $SEV_101 = theFol.opeMod.cooDow.outerStatePort.localActive and time >= (theFol.opeMod.timer.t + $PRE.theFol.opeMod.timer.entryTime) ($RES_EVT_1804) (138) [SCAL] (1) $SEV_100 = not theFol.opeMod.transition3.localCondition and theFol.hys.y ($RES_EVT_1803) (139) [SCAL] (1) $SEV_99 = not $PRE.theFol.hys.y and theFol.hys.u > theFol.hys.uHigh or $PRE.theFol.hys.y and theFol.hys.u >= theFol.hys.uLow ($RES_EVT_1802) (140) [SCAL] (1) $SEV_25 = theFolNeg.cooWatCon.lim.u > theFolNeg.cooWatCon.lim.uMax ($RES_EVT_1719) (141) [SCAL] (1) $SEV_98 = theFol.fil.assPow.maxPow.y or not theFol.fil.assPow.minPow.y ($RES_EVT_1801) (142) [SCAL] (1) $SEV_97 = theFol.fil.assPow.abs1.y > theFol.fil.assPow.maxRat.greNoHys.t ($RES_EVT_1800) (143) [SCAL] (1) $TEV_15 = $PRE.theFolNeg.opeMod.nor.outerStatePort.localActive ($RES_EVT_1629) (144) [SCAL] (1) $TEV_14 = $PRE.theFolNeg.opeMod.nor.oldActive ($RES_EVT_1628) (145) [SCAL] (1) $TEV_13 = $PRE.theFolNeg.opeMod.transition8.outPort.set ($RES_EVT_1627) (146) [SCAL] (1) $TEV_12 = $PRE.theFolNeg.opeMod.warUpCtr.timer.entryTime ($RES_EVT_1626) (147) [SCAL] (1) $TEV_11 = $PRE.theFolNeg.opeMod.and1.u2 ($RES_EVT_1625) (148) [SCAL] (1) $TEV_10 = $PRE.theFolNeg.opeMod.transition6.outPort.set ($RES_EVT_1624) (149) [SCAL] (1) $TEV_9 = $PRE.theFolNeg.opeMod.plaOff.newActive ($RES_EVT_1623) (150) [SCAL] (1) $TEV_8 = $PRE.theFolNeg.opeMod.plaOff.outerStatePort.localActive ($RES_EVT_1622) (151) [SCAL] (1) $TEV_7 = $PRE.theFolNeg.opeMod.plaOff.oldActive ($RES_EVT_1621) (152) [SCAL] (1) $TEV_6 = $PRE.theFolNeg.opeMod.transition4.enableFire ($RES_EVT_1620) (153) [SCAL] (1) $TEV_5 = $PRE.theFolNeg.opeMod.timer.entryTime ($RES_EVT_1619) (154) [SCAL] (1) $TEV_4 = $PRE.theFolNeg.opeMod.timer.passed ($RES_EVT_1618) (155) [SCAL] (1) $TEV_3 = $PRE.theFolNeg.hys.y ($RES_EVT_1617) (156) [SCAL] (1) $TEV_2 = $PRE.theFolNeg.fil.assPow.maxPow.y ($RES_EVT_1616) (157) [SCAL] (1) $TEV_1 = $PRE.theFolNeg.fil.assPow.minPow.y ($RES_EVT_1615) (158) [SCAL] (1) $TEV_0 = $PRE.theFolNeg.assWatTem.hys.y ($RES_EVT_1614) (159) [SCAL] (1) theFolNeg.fil.assPow.nor.y = not $SEV_36 ($RES_SIM_200) (160) [SCAL] (1) $DER.ETheVal.y = ETheVal.k * QWatVal_flow.u ($RES_SIM_119) (161) [SCAL] (1) theFolNeg.hys.y = $SEV_37 ($RES_SIM_203) (162) [SCAL] (1) not theFolNeg.opeMod.transition5.localCondition = $SEV_38 ($RES_SIM_204) (163) [-IF-] (1)if theFolNeg.opeMod.plaOff.outerStatePort.localActive then (163) [----] [SCAL] (1) theFolNeg.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off ($RES_SIM_207) (163) [----] elseif theFolNeg.opeMod.staBy.outerStatePort.localActive then (163) [----] [SCAL] (1) theFolNeg.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_SIM_208) (163) [----] elseif theFolNeg.opeMod.pumOn.outerStatePort.localActive then (163) [----] [SCAL] (1) theFolNeg.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.PumpOn ($RES_SIM_209) (163) [----] elseif theFolNeg.opeMod.warUp.outerStatePort.localActive then (163) [----] [SCAL] (1) theFolNeg.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_SIM_210) (163) [----] elseif theFolNeg.opeMod.nor.outerStatePort.localActive then (163) [----] [SCAL] (1) theFolNeg.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_SIM_211) (163) [----] else (163) [----] [SCAL] (1) theFolNeg.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown ($RES_SIM_212) (163) [----] end if; (164) [SCAL] (1) $DER.EEleVal.y = EEleVal.k * PEleNetVal.u ($RES_SIM_122) (165) [SCAL] (1) $DER.EThe.y = EThe.k * EThe.u ($RES_SIM_125) (166) [SCAL] (1) $DER.EEle.y = EEle.k * EEle.u ($RES_SIM_128) (167) [SCAL] (1) theFolNeg.opeMod.timer.y = if theFolNeg.opeMod.cooDow.outerStatePort.localActive then time - theFolNeg.opeMod.timer.entryTime else 0.0 ($RES_SIM_214) (168) [WHEN] (1)when not theFolNeg.opeMod.cooDow.outerStatePort.localActive then (168) [----] theFolNeg.opeMod.timer.passed := false (168) [----] else when $SEV_39 then (168) [----] theFolNeg.opeMod.timer.passed := true (168) [----] else when theFolNeg.opeMod.cooDow.outerStatePort.localActive then (168) [----] theFolNeg.opeMod.timer.passed := theFolNeg.opeMod.timer.t <= 0.0 (168) [----] end when; (169) [WHEN] (1)when not theFolNeg.opeMod.cooDow.outerStatePort.localActive then (169) [----] theFolNeg.opeMod.timer.entryTime := $PRE.theFolNeg.opeMod.timer.entryTime (169) [----] else when $SEV_39 then (169) [----] theFolNeg.opeMod.timer.entryTime := $PRE.theFolNeg.opeMod.timer.entryTime (169) [----] else when theFolNeg.opeMod.cooDow.outerStatePort.localActive then (169) [----] theFolNeg.opeMod.timer.entryTime := time (169) [----] end when; (170) [SCAL] (1) theFolNeg.opeMod.transition5.outPort.set = $SEV_58 ($RES_SIM_306) (171) [SCAL] (1) theFolNeg.opeMod.transition4.enableFire = $SEV_40 ($RES_SIM_220) (172) [SCAL] (1) theFolNeg.opeMod.transition4.outPort.set = $SEV_41 ($RES_SIM_221) (173) [SCAL] (1) theFolNeg.opeMod.transition4.t = if theFolNeg.opeMod.transition4.enableFire then theFolNeg.opeMod.transition4.t_dummy else 0.0 ($RES_SIM_222) (174) [WHEN] (1)when theFolNeg.opeMod.transition4.enableFire then (174) [----] time - theFolNeg.opeMod.transition4.t_dummy := time (174) [----] end when; (175) [SCAL] (1) theFolNeg.opeMod.plaOff.outPort[1].reset = false ($RES_SIM_225) (176) [FOR-] (3) ($RES_SIM_226) (176) [----] for $i1 in 1:3 loop (176) [----] [SCAL] (1) theFolNeg.opeMod.plaOff.inPort[$i1].set = false ($RES_SIM_227) (176) [----] end for; (177) [SCAL] (1) theFolNeg.opeMod.plaOff.outPort[1].available = theFolNeg.opeMod.plaOff.outerStatePort.localActive ($RES_SIM_228) (178) [FOR-] (3) ($RES_SIM_229) (178) [----] for $i1 in 1:3 loop (178) [----] [SCAL] (1) theFolNeg.opeMod.plaOff.inPort[$i1].occupied = if $SEV_42[$i1] then theFolNeg.opeMod.plaOff.outerStatePort.localActive else $SEV_43[$i1] ($RES_SIM_230) (178) [----] end for; (179) [SCAL] (1) theFolNeg.opeMod.transition3.outPort.set = $SEV_59 ($RES_SIM_313) (180) [SCAL] (1) theFolNeg.eneCon.switch3.u3 = theFolNeg.eneCon.opeModBas.masFloFue.k * theFolNeg.eneCon.opeModBas.heaGen.u1 ($RES_SIM_400) (181) [SCAL] (1) theFolNeg.opeMod.transition6.localCondition = $SEV_60 ($RES_SIM_318) (182) [SCAL] (1) theFolNeg.eneCon.switch5.u3 = theFolNeg.eneCon.opeModBas.heaGen.u1 * theFolNeg.eneCon.opeModBas.etaQ.eta ($RES_SIM_402) (183) [SCAL] (1) theFolNeg.eneCon.opeModBas.heaGen.u1 = theFolNeg.eneCon.opeModBas.groHea.u1 / theFolNeg.eneCon.opeModBas.etaE.eta ($RES_SIM_403) (184) [SCAL] (1) theFolNeg.eneCon.opeModBas.etaQ.eta = smooth(1, if $SEV_74 then theFolNeg.eneCon.opeModBas.etaQ.y else if $SEV_75 then 0.01 else 0.25 * (0.01 - theFolNeg.eneCon.opeModBas.etaQ.y) * ((-3.0) + (((-0.01) + theFolNeg.eneCon.opeModBas.etaQ.y) / 0.005) ^ 2.0) * (200.0 * ((-0.01) + theFolNeg.eneCon.opeModBas.etaQ.y)) + 0.5 * (0.01 + theFolNeg.eneCon.opeModBas.etaQ.y)) ($RES_SIM_404) (185) [SCAL] (1) theFolNeg.eneCon.opeModBas.etaQ.y = theFolNeg.m_flow * theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaQ.a[26] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.m_flow ^ 2.0 * theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaQ.a[25] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.m_flow * theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaQ.a[24] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.m_flow ^ 2.0 * theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaQ.a[23] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.m_flow * theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaQ.a[22] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.m_flow ^ 2.0 * theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaQ.a[21] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.m_flow ^ 2.0 * theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaQ.a[20] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.m_flow ^ 2.0 * theFolNeg.eneCon.opeModBas.etaQ.a[19] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.m_flow * theFolNeg.eneCon.opeModBas.etaQ.a[18] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.m_flow * theFolNeg.eneCon.opeModBas.etaQ.a[17] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.m_flow ^ 2.0 * theFolNeg.eneCon.opeModBas.etaQ.a[16] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaQ.a[15] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaQ.a[14] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaQ.a[13] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaQ.a[12] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaQ.a[11] * theFolNeg.m_flow + theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaQ.a[10] * theFolNeg.m_flow ^ 2.0 + theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaQ.a[9] * theFolNeg.m_flow + theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaQ.a[8] * theFolNeg.m_flow ^ 2.0 + theFolNeg.eneCon.opeModBas.etaQ.a[7] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.eneCon.opeModBas.etaQ.a[6] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.eneCon.opeModBas.etaQ.a[5] * theFolNeg.m_flow + theFolNeg.eneCon.opeModBas.etaQ.a[4] * theFolNeg.m_flow ^ 2.0 + theFolNeg.eneCon.opeModBas.etaQ.a[3] * theFolNeg.eneCon.opeModBas.groHea.u1 + theFolNeg.eneCon.opeModBas.etaQ.a[2] * theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 + theFolNeg.eneCon.opeModBas.etaQ.a[1] + theFolNeg.m_flow * theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaQ.a[27] * ((-273.15) + theFolNeg.conWat.TWatIn) ($RES_SIM_405) (186) [SCAL] (1) theFolNeg.eneCon.opeModBas.etaE.eta = smooth(1, if $SEV_76 then theFolNeg.eneCon.opeModBas.etaE.y else if $SEV_77 then 0.01 else 0.25 * (0.01 - theFolNeg.eneCon.opeModBas.etaE.y) * ((-3.0) + (((-0.01) + theFolNeg.eneCon.opeModBas.etaE.y) / 0.005) ^ 2.0) * (200.0 * ((-0.01) + theFolNeg.eneCon.opeModBas.etaE.y)) + 0.5 * (0.01 + theFolNeg.eneCon.opeModBas.etaE.y)) ($RES_SIM_406) (187) [SCAL] (1) theFolNeg.eneCon.opeModBas.etaE.y = theFolNeg.m_flow * theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaE.a[26] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.m_flow ^ 2.0 * theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaE.a[25] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.m_flow * theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaE.a[24] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.m_flow ^ 2.0 * theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaE.a[23] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.m_flow * theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaE.a[22] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.m_flow ^ 2.0 * theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaE.a[21] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.m_flow ^ 2.0 * theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaE.a[20] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.m_flow ^ 2.0 * theFolNeg.eneCon.opeModBas.etaE.a[19] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.m_flow * theFolNeg.eneCon.opeModBas.etaE.a[18] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.m_flow * theFolNeg.eneCon.opeModBas.etaE.a[17] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.m_flow ^ 2.0 * theFolNeg.eneCon.opeModBas.etaE.a[16] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaE.a[15] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaE.a[14] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaE.a[13] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaE.a[12] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaE.a[11] * theFolNeg.m_flow + theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaE.a[10] * theFolNeg.m_flow ^ 2.0 + theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaE.a[9] * theFolNeg.m_flow + theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFolNeg.eneCon.opeModBas.etaE.a[8] * theFolNeg.m_flow ^ 2.0 + theFolNeg.eneCon.opeModBas.etaE.a[7] * ((-273.15) + theFolNeg.conWat.TWatIn) + theFolNeg.eneCon.opeModBas.etaE.a[6] * ((-273.15) + theFolNeg.conWat.TWatIn) ^ 2.0 + theFolNeg.eneCon.opeModBas.etaE.a[5] * theFolNeg.m_flow + theFolNeg.eneCon.opeModBas.etaE.a[4] * theFolNeg.m_flow ^ 2.0 + theFolNeg.eneCon.opeModBas.etaE.a[3] * theFolNeg.eneCon.opeModBas.groHea.u1 + theFolNeg.eneCon.opeModBas.etaE.a[2] * theFolNeg.eneCon.opeModBas.groHea.u1 ^ 2.0 + theFolNeg.eneCon.opeModBas.etaE.a[1] + theFolNeg.m_flow * theFolNeg.eneCon.opeModBas.groHea.u1 * theFolNeg.eneCon.opeModBas.etaE.a[27] * ((-273.15) + theFolNeg.conWat.TWatIn) ($RES_SIM_407) (188) [SCAL] (1) theFolNeg.eneCon.assFue.abs1.u = (theFolNeg.eneCon.assFue.floChaRat.k / theFolNeg.eneCon.assFue.floChaRat.T) * (theFolNeg.mFue_flow - theFolNeg.eneCon.assFue.floChaRat.x) ($RES_SIM_409) (189) [SCAL] (1) theFolNeg.stateGraphRoot.activeSteps = -integer(theFolNeg.stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_141) (190) [SCAL] (1) theFolNeg.gai.y = theFolNeg.gai.k * theFolNeg.watHea.port_a.Q_flow ($RES_SIM_142) (191) [SCAL] (1) theFolNeg.fil.PLim.simplifiedExpr = theFolNeg.elePowDem.y ($RES_SIM_143) (192) [SCAL] (1) theFolNeg.elePowDem.y = theFolNeg.elePowDem.k * theFolNeg.elePowDem.u ($RES_SIM_144) (193) [SCAL] (1) theFolNeg.cooWatCon.addRes.y = theFolNeg.cooWatCon.yResSig.k - theFolNeg.cooWatCon.addPID.u1 ($RES_SIM_147) (194) [WHEN] (1)when false then (194) [----] theFolNeg.opeMod.plaOff.oldActive := theFolNeg.opeMod.plaOff.outerStatePort.localActive (194) [----] end when; (195) [SCAL] (1) theFolNeg.opeMod.plaOff.newActive = $SEV_44 ($RES_SIM_232) (196) [SCAL] (1) theFolNeg.cooWatCon.errI2.u2 = theFolNeg.cooWatCon.antWinGai.k * theFolNeg.cooWatCon.antWinErr.y ($RES_SIM_149) (197) [SCAL] (1) theFolNeg.opeMod.plaOff.outerStatePort.localActive = $TEV_9 ($RES_SIM_233) (198) [SCAL] (1) theFolNeg.opeMod.plaOff.outerStatePort.subgraphStatePort.activeSteps = if theFolNeg.opeMod.plaOff.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_235) (199) [SCAL] (1) not theFolNeg.opeMod.transition9.localCondition = $SEV_61 ($RES_SIM_321) (200) [SCAL] (1) theFolNeg.opeMod.transition6.outPort.set = $SEV_45 ($RES_SIM_238) (201) [SCAL] (1) theFolNeg.opeMod.hys.y = $SEV_62 ($RES_SIM_322) (202) [SCAL] (1) theFolNeg.opeMod.add2.y = theFolNeg.opeMod.add2.k1 * theFolNeg.opeMod.max.y + theFolNeg.opeMod.add2.k2 * theFolNeg.m_flow ($RES_SIM_323) (203) [SCAL] (1) theFolNeg.opeMod.max.y = max(theFolNeg.opeMod.minWatFlo.k, theFolNeg.opeMod.con.k) ($RES_SIM_324) (204) [SCAL] (1) $DER.theFolNeg.eneCon.assFue.floChaRat.x = (theFolNeg.mFue_flow - theFolNeg.eneCon.assFue.floChaRat.x) / theFolNeg.eneCon.assFue.floChaRat.T ($RES_SIM_410) (205) [FOR-] (2) ($RES_SIM_327) (205) [----] for $i1 in 1:2 loop (205) [----] [SCAL] (1) theFolNeg.opeMod.cooDow.outPort[$i1].reset = false ($RES_SIM_328) (205) [----] end for; (206) [SCAL] (1) theFolNeg.eneCon.assFue.hys.y = $SEV_78 ($RES_SIM_411) (207) [FOR-] (2) ($RES_SIM_329) (207) [----] for $i1 in 1:2 loop (207) [----] [SCAL] (1) theFolNeg.opeMod.cooDow.inPort[$i1].set = false ($RES_SIM_330) (207) [----] end for; (208) [SCAL] (1) theFolNeg.preDro.port_b.h_outflow = cooWatNeg.ports[1].h_outflow ($RES_SIM_415) (209) [SCAL] (1) theFolNeg.preDro.port_a.h_outflow = theFolNeg.vol.ports[1].h_outflow ($RES_SIM_416) (210) [SCAL] (1) theFol.cooWatCon.addPID.u1 = theFol.cooWatCon.addPD.k1 * theFol.cooWatCon.addPD.u1 ($RES_SIM_500) (211) [SCAL] (1) theFolNeg.preDro.dp = homotopy(Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(theFolNeg.m_flow, theFolNeg.preDro.k, theFolNeg.preDro.m_flow_turbulent), (theFolNeg.m_flow * theFolNeg.preDro.dp_nominal_pos) / theFolNeg.preDro.m_flow_nominal_pos) ($RES_SIM_417) (212) [SCAL] (1) theFol.cooWatCon.errP.u2 = theFol.cooWatCon.uMea_revAct.k * (273.15 + 2.390057361376673e-4 * (4184.0 * ((-273.15) - ((-273.15) - theFol.vol.dynBal.medium.T_degC)))) ($RES_SIM_501) (213) [SCAL] (1) theFol.cooWatCon.errI1.u1 = theFol.cooWatCon.uS_revAct.k * theFol.TWatOutSet ($RES_SIM_502) (214) [SCAL] (1) theFol.elePowDem.u = homotopy(smooth(0, noEvent(if $SEV_87 then theFol.cooWatCon.lim.uMax else if $SEV_88 then theFol.cooWatCon.lim.uMin else theFol.cooWatCon.lim.u)), theFol.cooWatCon.lim.u) ($RES_SIM_504) (215) [SCAL] (1) theFol.cooWatCon.I.u = theFol.cooWatCon.errI1.y - theFol.cooWatCon.errI2.u2 ($RES_SIM_505) (216) [SCAL] (1) theFolNeg.cooWatCon.antWinErr.y = theFolNeg.cooWatCon.lim.u - theFolNeg.elePowDem.u ($RES_SIM_150) (217) [SCAL] (1) theFol.cooWatCon.errI1.y = theFol.cooWatCon.errI1.u1 - theFol.cooWatCon.errP.u2 ($RES_SIM_506) (218) [SCAL] (1) theFolNeg.cooWatCon.lim.u = theFolNeg.cooWatCon.addPID.k1 * theFolNeg.cooWatCon.addPID.u1 + theFolNeg.cooWatCon.addPID.k2 * theFolNeg.cooWatCon.addPID.u2 ($RES_SIM_151) (219) [SCAL] (1) theFol.cooWatCon.P.u = theFol.cooWatCon.errI1.u1 - theFol.cooWatCon.errP.u2 ($RES_SIM_507) (220) [SCAL] (1) theFolNeg.cooWatCon.addPID.u1 = theFolNeg.cooWatCon.addPD.k1 * theFolNeg.cooWatCon.addPD.u1 ($RES_SIM_152) (221) [SCAL] (1) theFolNeg.cooWatCon.errP.u2 = theFolNeg.cooWatCon.uMea_revAct.k * (273.15 + 2.390057361376673e-4 * (4184.0 * ((-273.15) - ((-273.15) - theFolNeg.vol.dynBal.medium.T_degC)))) ($RES_SIM_153) (222) [SCAL] (1) $DER.theFol.cooWatCon.addPID.u2 = theFol.cooWatCon.I.k * theFol.cooWatCon.I.u ($RES_SIM_509) (223) [SCAL] (1) theFolNeg.cooWatCon.errI1.u1 = theFolNeg.cooWatCon.uS_revAct.k * theFol.TWatOutSet ($RES_SIM_154) (224) [SCAL] (1) theFolNeg.elePowDem.u = homotopy(smooth(0, noEvent(if $SEV_25 then theFolNeg.cooWatCon.lim.uMax else if $SEV_26 then theFolNeg.cooWatCon.lim.uMin else theFolNeg.cooWatCon.lim.u)), theFolNeg.cooWatCon.lim.u) ($RES_SIM_156) (225) [SCAL] (1) theFolNeg.cooWatCon.I.u = theFolNeg.cooWatCon.errI1.y - theFolNeg.cooWatCon.errI2.u2 ($RES_SIM_157) (226) [SCAL] (1) theFolNeg.cooWatCon.errI1.y = theFolNeg.cooWatCon.errI1.u1 - theFolNeg.cooWatCon.errP.u2 ($RES_SIM_158) (227) [SCAL] (1) theFolNeg.cooWatCon.P.u = theFolNeg.cooWatCon.errI1.u1 - theFolNeg.cooWatCon.errP.u2 ($RES_SIM_159) (228) [SCAL] (1) theFolNeg.opeMod.warUpCtr.timer.y = if theFolNeg.opeMod.warUp.outerStatePort.localActive then time - theFolNeg.opeMod.warUpCtr.timer.entryTime else 0.0 ($RES_SIM_244) (229) [WHEN] (1)when not theFolNeg.opeMod.warUp.outerStatePort.localActive then (229) [----] theFolNeg.opeMod.warUpCtr.timer.entryTime := $PRE.theFolNeg.opeMod.warUpCtr.timer.entryTime (229) [----] else when $SEV_46 then (229) [----] theFolNeg.opeMod.warUpCtr.timer.entryTime := $PRE.theFolNeg.opeMod.warUpCtr.timer.entryTime (229) [----] else when theFolNeg.opeMod.warUp.outerStatePort.localActive then (229) [----] theFolNeg.opeMod.warUpCtr.timer.entryTime := time (229) [----] end when; (230) [WHEN] (1)when not theFolNeg.opeMod.warUp.outerStatePort.localActive then (230) [----] theFolNeg.opeMod.and1.u2 := false (230) [----] else when $SEV_46 then (230) [----] theFolNeg.opeMod.and1.u2 := true (230) [----] else when theFolNeg.opeMod.warUp.outerStatePort.localActive then (230) [----] theFolNeg.opeMod.and1.u2 := theFolNeg.opeMod.warUpCtr.timer.t <= 0.0 (230) [----] end when; (231) [FOR-] (2) ($RES_SIM_331) (231) [----] for $i1 in 1:2 loop (231) [----] [SCAL] (1) theFolNeg.opeMod.cooDow.outPort[$i1].available = if $SEV_63[$i1] then theFolNeg.opeMod.cooDow.outerStatePort.localActive else $SEV_64[$i1] ($RES_SIM_332) (231) [----] end for; (232) [SCAL] (1) theFolNeg.opeMod.transition8.outPort.set = $SEV_47 ($RES_SIM_249) (233) [FOR-] (2) ($RES_SIM_333) (233) [----] for $i1 in 1:2 loop (233) [----] [SCAL] (1) theFolNeg.opeMod.cooDow.inPort[$i1].occupied = if $SEV_63[$i1] then theFolNeg.opeMod.cooDow.outerStatePort.localActive else $SEV_65[$i1] ($RES_SIM_334) (233) [----] end for; (234) [WHEN] (1)when false then (234) [----] theFolNeg.opeMod.cooDow.oldActive := theFolNeg.opeMod.cooDow.outerStatePort.localActive (234) [----] end when; (235) [SCAL] (1) theFolNeg.opeMod.cooDow.newActive = $SEV_66 ($RES_SIM_336) (236) [SCAL] (1) theFolNeg.opeMod.cooDow.outerStatePort.localActive = $TEV_28 ($RES_SIM_337) (237) [SCAL] (1) theFolNeg.opeMod.cooDow.outerStatePort.subgraphStatePort.activeSteps = if theFolNeg.opeMod.cooDow.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_339) (238) [FOR-] (2) ($RES_SIM_424) (238) [----] for $i1 in 1:2 loop (238) [----] [SCAL] (1) theFolNeg.vol.dynBal.ports[$i1].p = 99999.99999999999 * theFolNeg.vol.dynBal.medium.p_bar ($RES_SIM_425) (238) [----] end for; (239) [FOR-] (2) ($RES_SIM_426) (239) [----] for $i1 in 1:2 loop (239) [----] [SCAL] (1) theFolNeg.vol.dynBal.ports[$i1].h_outflow = 4184.0 * ((-273.15) - ((-273.15) - theFolNeg.vol.dynBal.medium.T_degC)) ($RES_SIM_427) (239) [----] end for; (240) [SCAL] (1) theFol.cooWatCon.addPD.u1 = theFol.cooWatCon.P.k * theFol.cooWatCon.P.u ($RES_SIM_510) (241) [SCAL] (1) theFol.cooWatCon.controlError.y = theFol.TWatOutSet - (273.15 + 2.390057361376673e-4 * (4184.0 * ((-273.15) - ((-273.15) - theFol.vol.dynBal.medium.T_degC)))) ($RES_SIM_511) (242) [SCAL] (1) $DER.theFolNeg.cooWatCon.addPID.u2 = theFolNeg.cooWatCon.I.k * theFolNeg.cooWatCon.I.u ($RES_SIM_161) (243) [SCAL] (1) theFolNeg.cooWatCon.addPD.u1 = theFolNeg.cooWatCon.P.k * theFolNeg.cooWatCon.P.u ($RES_SIM_162) (244) [SCAL] (1) theFol.PCon = if theFol.powCon.cooDow.y then theFol.powCon.switch.y else theFol.powCon.const.k ($RES_SIM_517) (245) [SCAL] (1) theFolNeg.cooWatCon.controlError.y = theFol.TWatOutSet - (273.15 + 2.390057361376673e-4 * (4184.0 * ((-273.15) - ((-273.15) - theFolNeg.vol.dynBal.medium.T_degC)))) ($RES_SIM_163) (246) [SCAL] (1) theFol.powCon.switch.y = if theFol.powCon.staBy.y then theFol.powCon.staByCon.k else theFol.powCon.cooDowCon.k ($RES_SIM_518) (247) [SCAL] (1) theFol.opeMod.nor.outPort[1].reset = false ($RES_SIM_602) (248) [SCAL] (1) theFol.opeMod.nor.inPort[1].set = false ($RES_SIM_603) (249) [SCAL] (1) theFol.opeMod.nor.outPort[1].available = theFol.opeMod.nor.outerStatePort.localActive ($RES_SIM_604) (250) [SCAL] (1) theFol.opeMod.nor.inPort[1].occupied = theFol.opeMod.nor.outerStatePort.localActive ($RES_SIM_605) (251) [WHEN] (1)when false then (251) [----] theFol.opeMod.nor.oldActive := theFol.opeMod.nor.outerStatePort.localActive (251) [----] end when; (252) [SCAL] (1) theFolNeg.PCon = if theFolNeg.powCon.cooDow.y then theFolNeg.powCon.switch.y else theFolNeg.powCon.const.k ($RES_SIM_169) (253) [SCAL] (1) theFol.opeMod.nor.newActive = $SEV_109 ($RES_SIM_607) (254) [SCAL] (1) theFol.opeMod.nor.outerStatePort.localActive = $TEV_55 ($RES_SIM_608) (255) [SCAL] (1) theFolNeg.opeMod.nor.outPort[1].reset = false ($RES_SIM_254) (256) [SCAL] (1) theFolNeg.opeMod.nor.inPort[1].set = false ($RES_SIM_255) (257) [SCAL] (1) theFolNeg.opeMod.nor.outPort[1].available = theFolNeg.opeMod.nor.outerStatePort.localActive ($RES_SIM_256) (258) [FOR-] (2) ($RES_SIM_340) (258) [----] for $i1 in 1:2 loop (258) [----] [SCAL] (1) theFolNeg.opeMod.warUp.outPort[$i1].reset = false ($RES_SIM_341) (258) [----] end for; (259) [SCAL] (1) theFolNeg.opeMod.nor.inPort[1].occupied = theFolNeg.opeMod.nor.outerStatePort.localActive ($RES_SIM_257) (260) [WHEN] (1)when false then (260) [----] theFolNeg.opeMod.nor.oldActive := theFolNeg.opeMod.nor.outerStatePort.localActive (260) [----] end when; (261) [FOR-] (2) ($RES_SIM_342) (261) [----] for $i1 in 1:2 loop (261) [----] [SCAL] (1) theFolNeg.opeMod.warUp.inPort[$i1].set = false ($RES_SIM_343) (261) [----] end for; (262) [SCAL] (1) theFolNeg.opeMod.nor.newActive = $SEV_48 ($RES_SIM_259) (263) [FOR-] (2) ($RES_SIM_344) (263) [----] for $i1 in 1:2 loop (263) [----] [SCAL] (1) theFolNeg.opeMod.warUp.outPort[$i1].available = if $SEV_63[$i1] then theFolNeg.opeMod.warUp.outerStatePort.localActive else $SEV_67[$i1] ($RES_SIM_345) (263) [----] end for; (264) [FOR-] (2) ($RES_SIM_346) (264) [----] for $i1 in 1:2 loop (264) [----] [SCAL] (1) theFolNeg.opeMod.warUp.inPort[$i1].occupied = if $SEV_63[$i1] then theFolNeg.opeMod.warUp.outerStatePort.localActive else $SEV_68[$i1] ($RES_SIM_347) (264) [----] end for; (265) [WHEN] (1)when false then (265) [----] theFolNeg.opeMod.warUp.oldActive := theFolNeg.opeMod.warUp.outerStatePort.localActive (265) [----] end when; (266) [SCAL] (1) theFolNeg.vol.dynBal.ports_H_flow[2] = $FUN_23 ($RES_SIM_432) (267) [SCAL] (1) theFolNeg.opeMod.warUp.newActive = $SEV_69 ($RES_SIM_349) (268) [SCAL] (1) theFolNeg.vol.dynBal.ports_H_flow[1] = $FUN_22 ($RES_SIM_433) (269) [SCAL] (1) theFolNeg.vol.dynBal.U = theFolNeg.vol.dynBal.m * (4184.0 * ((-273.15) - ((-273.15) - theFolNeg.vol.dynBal.medium.T_degC))) ($RES_SIM_435) (270) [SCAL] (1) theFolNeg.vol.dynBal.m = theFolNeg.vol.dynBal.fluidVolume * theFolNeg.vol.dynBal.rho_start ($RES_SIM_436) (271) [SCAL] (1) theFolNeg.powCon.switch.y = if theFolNeg.powCon.staBy.y then theFolNeg.powCon.staByCon.k else theFolNeg.powCon.cooDowCon.k ($RES_SIM_170) (272) [SCAL] (1) theFol.assWatTem.hys.y = $SEV_89 ($RES_SIM_526) (273) [SCAL] (1) theFol.opeMod.nor.outerStatePort.subgraphStatePort.activeSteps = if theFol.opeMod.nor.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_610) (274) [SCAL] (1) theFol.conWat.mWatIntCon.u2 = theFol.conWat.to_degC.conv.k * theFol.conWat.TWatIn + theFol.conWat.to_degC.conv.p ($RES_SIM_528) (275) [SCAL] (1) theFol.opeMod.transition2.outPort.set = $SEV_110 ($RES_SIM_613) (276) [SCAL] (1) theFolNeg.opeMod.nor.outerStatePort.localActive = $TEV_16 ($RES_SIM_260) (277) [SCAL] (1) theFolNeg.assWatTem.hys.y = $SEV_27 ($RES_SIM_178) (278) [SCAL] (1) theFol.opeMod.warUp.outerStatePort.subgraphStatePort.activeSteps = if theFol.opeMod.warUp.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_700) (279) [SCAL] (1) theFolNeg.opeMod.nor.outerStatePort.subgraphStatePort.activeSteps = if theFolNeg.opeMod.nor.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_262) (280) [FOR-] (2) ($RES_SIM_701) (280) [----] for $i1 in 1:2 loop (280) [----] [SCAL] (1) theFol.opeMod.pumOn.outPort[$i1].reset = false ($RES_SIM_702) (280) [----] end for; (281) [SCAL] (1) theFol.opeMod.pumOn.inPort[1].set = false ($RES_SIM_703) (282) [SCAL] (1) theFolNeg.opeMod.transition2.outPort.set = $SEV_49 ($RES_SIM_265) (283) [FOR-] (2) ($RES_SIM_704) (283) [----] for $i1 in 1:2 loop (283) [----] [SCAL] (1) theFol.opeMod.pumOn.outPort[$i1].available = if $SEV_63[$i1] then theFol.opeMod.pumOn.outerStatePort.localActive else $SEV_130[$i1] ($RES_SIM_705) (283) [----] end for; (284) [SCAL] (1) theFolNeg.opeMod.warUp.outerStatePort.localActive = $TEV_31 ($RES_SIM_350) (285) [SCAL] (1) theFol.opeMod.pumOn.inPort[1].occupied = theFol.opeMod.pumOn.outerStatePort.localActive ($RES_SIM_706) (286) [WHEN] (1)when false then (286) [----] theFol.opeMod.pumOn.oldActive := theFol.opeMod.pumOn.outerStatePort.localActive (286) [----] end when; (287) [SCAL] (1) theFolNeg.opeMod.warUp.outerStatePort.subgraphStatePort.activeSteps = if theFolNeg.opeMod.warUp.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_352) (288) [SCAL] (1) theFol.opeMod.pumOn.newActive = $SEV_131 ($RES_SIM_708) (289) [FOR-] (2) ($RES_SIM_353) (289) [----] for $i1 in 1:2 loop (289) [----] [SCAL] (1) theFolNeg.opeMod.pumOn.outPort[$i1].reset = false ($RES_SIM_354) (289) [----] end for; (290) [SCAL] (1) theFol.opeMod.pumOn.outerStatePort.localActive = $TEV_73 ($RES_SIM_709) (291) [SCAL] (1) theFolNeg.opeMod.pumOn.inPort[1].set = false ($RES_SIM_355) (292) [FOR-] (2) ($RES_SIM_356) (292) [----] for $i1 in 1:2 loop (292) [----] [SCAL] (1) theFolNeg.opeMod.pumOn.outPort[$i1].available = if $SEV_63[$i1] then theFolNeg.opeMod.pumOn.outerStatePort.localActive else $SEV_70[$i1] ($RES_SIM_357) (292) [----] end for; (293) [SCAL] (1) theFolNeg.vol.dynBal.medium.state.p = 99999.99999999999 * theFolNeg.vol.dynBal.medium.p_bar ($RES_SIM_441) (294) [SCAL] (1) theFolNeg.opeMod.pumOn.inPort[1].occupied = theFolNeg.opeMod.pumOn.outerStatePort.localActive ($RES_SIM_358) (295) [SCAL] (1) theFolNeg.vol.dynBal.medium.state.T = -((-273.15) - theFolNeg.vol.dynBal.medium.T_degC) ($RES_SIM_442) (296) [WHEN] (1)when false then (296) [----] theFolNeg.opeMod.pumOn.oldActive := theFolNeg.opeMod.pumOn.outerStatePort.localActive (296) [----] end when; (297) [SCAL] (1) cooWatNeg.ports[1].h_outflow = 4184.0 * ((-273.15) - 2.390057361376673e-4 * ((-1.1428595999999999e6) - cooWat.h_internal)) ($RES_SIM_446) (298) [SCAL] (1) theFol.mWatSet_flow = if theFol.conWat.offStaBy.y then theFol.conWat.const.k else theFol.conWat.mWatIntCon.y ($RES_SIM_530) (299) [SCAL] (1) theFol.conWat.mWatIntCon.y = theFol.conWat.mWatIntCon.u2 * (theFol.conWat.mWatIntCon.a[4] + theFol.conWat.mWatIntCon.a[5] * theFol.conWat.mWatIntCon.u2) + theFol.hys.u * (theFol.conWat.mWatIntCon.a[2] + theFol.conWat.mWatIntCon.a[3] * theFol.hys.u) + theFol.conWat.mWatIntCon.a[1] + theFol.hys.u * theFol.conWat.mWatIntCon.a[6] * theFol.conWat.mWatIntCon.u2 ($RES_SIM_531) (300) [SCAL] (1) cooWatNeg.ports[1].p = cooWatNeg.p_in_internal ($RES_SIM_448) (301) [SCAL] (1) dTWatOut.u2 = TWatOutVal.conv.k * TWatOutVal.u + TWatOutVal.conv.p ($RES_SIM_449) (302) [SCAL] (1) theFol.hys.u = theFol.fil.dPLim.y ($RES_SIM_533) (303) [SCAL] (1) $DER.theFol.fil.dPLim.y = smooth(1, noEvent(if $SEV_90 then theFol.fil.dPLim.fallingSlewRate else if $SEV_91 then theFol.fil.dPLim.raisingSlewRate else theFol.fil.dPLim.thr)) ($RES_SIM_534) (304) [SCAL] (1) theFolNeg.conWat.mWatIntCon.u2 = theFolNeg.conWat.to_degC.conv.k * theFolNeg.conWat.TWatIn + theFolNeg.conWat.to_degC.conv.p ($RES_SIM_180) (305) [SCAL] (1) theFol.opeMod.transition1.outPort.set = $SEV_111 ($RES_SIM_620) (306) [SCAL] (1) theFol.fil.dPLim.u = homotopy(smooth(0, if $SEV_92 then theFol.fil.PMax.k else if $SEV_93 then theFol.fil.PMin.k else theFol.fil.PLim.simplifiedExpr), theFol.fil.PLim.simplifiedExpr) ($RES_SIM_537) (307) [SCAL] (1) theFolNeg.mWatSet_flow = if theFolNeg.conWat.offStaBy.y then theFolNeg.conWat.const.k else theFolNeg.conWat.mWatIntCon.y ($RES_SIM_182) (308) [SCAL] (1) theFolNeg.conWat.mWatIntCon.y = theFolNeg.conWat.mWatIntCon.u2 * (theFolNeg.conWat.mWatIntCon.a[4] + theFolNeg.conWat.mWatIntCon.a[5] * theFolNeg.conWat.mWatIntCon.u2) + theFolNeg.hys.u * (theFolNeg.conWat.mWatIntCon.a[2] + theFolNeg.conWat.mWatIntCon.a[3] * theFolNeg.hys.u) + theFolNeg.conWat.mWatIntCon.a[1] + theFolNeg.hys.u * theFolNeg.conWat.mWatIntCon.a[6] * theFolNeg.conWat.mWatIntCon.u2 ($RES_SIM_183) (309) [SCAL] (1) theFolNeg.hys.u = theFolNeg.fil.dPLim.y ($RES_SIM_185) (310) [SCAL] (1) $DER.theFolNeg.fil.dPLim.y = smooth(1, noEvent(if $SEV_28 then theFolNeg.fil.dPLim.fallingSlewRate else if $SEV_29 then theFolNeg.fil.dPLim.raisingSlewRate else theFolNeg.fil.dPLim.thr)) ($RES_SIM_186) (311) [SCAL] (1) theFol.opeMod.assWatMas.not1.u = $SEV_112 ($RES_SIM_626) (312) [SCAL] (1) theFol.opeMod.assWatMas.nand.y = not $SEV_113 ($RES_SIM_627) (313) [SCAL] (1) theFolNeg.opeMod.transition1.outPort.set = $SEV_50 ($RES_SIM_272) (314) [SCAL] (1) theFolNeg.fil.dPLim.u = homotopy(smooth(0, if $SEV_30 then theFolNeg.fil.PMax.k else if $SEV_31 then theFolNeg.fil.PMin.k else theFolNeg.fil.PLim.simplifiedExpr), theFolNeg.fil.PLim.simplifiedExpr) ($RES_SIM_189) (315) [SCAL] (1) theFol.opeMod.pumOn.outerStatePort.subgraphStatePort.activeSteps = if theFol.opeMod.pumOn.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_711) (316) [FOR-] (2) ($RES_SIM_712) (316) [----] for $i1 in 1:2 loop (316) [----] [SCAL] (1) theFol.opeMod.staBy.outPort[$i1].reset = false ($RES_SIM_713) (316) [----] end for; (317) [SCAL] (1) theFol.opeMod.transition10.localCondition = $SEV_114 ($RES_SIM_629) (318) [SCAL] (1) theFol.opeMod.staBy.inPort[1].set = false ($RES_SIM_714) (319) [FOR-] (2) ($RES_SIM_715) (319) [----] for $i1 in 1:2 loop (319) [----] [SCAL] (1) theFol.opeMod.staBy.outPort[$i1].available = if $SEV_63[$i1] then theFol.opeMod.staBy.outerStatePort.localActive else $SEV_132[$i1] ($RES_SIM_716) (319) [----] end for; (320) [SCAL] (1) theFolNeg.opeMod.pumOn.newActive = $SEV_71 ($RES_SIM_360) (321) [SCAL] (1) theFolNeg.opeMod.pumOn.outerStatePort.localActive = $TEV_34 ($RES_SIM_361) (322) [SCAL] (1) theFolNeg.opeMod.assWatMas.not1.u = $SEV_51 ($RES_SIM_278) (323) [SCAL] (1) theFol.opeMod.staBy.inPort[1].occupied = theFol.opeMod.staBy.outerStatePort.localActive ($RES_SIM_717) (324) [SCAL] (1) theFolNeg.opeMod.assWatMas.nand.y = not $SEV_52 ($RES_SIM_279) (325) [WHEN] (1)when false then (325) [----] theFol.opeMod.staBy.oldActive := theFol.opeMod.staBy.outerStatePort.localActive (325) [----] end when; (326) [SCAL] (1) theFolNeg.opeMod.pumOn.outerStatePort.subgraphStatePort.activeSteps = if theFolNeg.opeMod.pumOn.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_363) (327) [SCAL] (1) theFolNeg.vol.ports[1].m_flow - theFolNeg.m_flow = 0.0 ($RES_SIM_802) (328) [SCAL] (1) theFol.opeMod.staBy.newActive = $SEV_133 ($RES_SIM_719) (329) [FOR-] (2) ($RES_SIM_364) (329) [----] for $i1 in 1:2 loop (329) [----] [SCAL] (1) theFolNeg.opeMod.staBy.outPort[$i1].reset = false ($RES_SIM_365) (329) [----] end for; (330) [SCAL] (1) theFolNeg.opeMod.staBy.inPort[1].set = false ($RES_SIM_366) (331) [SCAL] (1) theFolNeg.vol.ports[2].m_flow - theFolNeg.port_b.m_flow = 0.0 ($RES_SIM_805) (332) [SCAL] (1) dTEng.u2 = TEngVal.conv.k * TEngVal.u + TEngVal.conv.p ($RES_SIM_450) (333) [FOR-] (2) ($RES_SIM_367) (333) [----] for $i1 in 1:2 loop (333) [----] [SCAL] (1) theFolNeg.opeMod.staBy.outPort[$i1].available = if $SEV_63[$i1] then theFolNeg.opeMod.staBy.outerStatePort.localActive else $SEV_72[$i1] ($RES_SIM_368) (333) [----] end for; (334) [SCAL] (1) theFolNeg.port_b.m_flow + sin.ports[2].m_flow = 0.0 ($RES_SIM_806) (335) [SCAL] (1) theFol.TWatOutSet = TWatOutSet.conv.k * TWatOutSet.u + TWatOutSet.conv.p ($RES_SIM_451) (336) [SCAL] (1) -2.390057361376673e-4 * ((-1.1428595999999999e6) - cooWat.h_internal) = TWatIn.conv.k * TWatIn.u + TWatIn.conv.p ($RES_SIM_452) (337) [SCAL] (1) theFolNeg.opeMod.staBy.inPort[1].occupied = theFolNeg.opeMod.staBy.outerStatePort.localActive ($RES_SIM_369) (338) [SCAL] (1) -(theFol.TRoo.Q_flow + theFol.QLos.Q_flow) = 0.0 ($RES_SIM_808) (339) [SCAL] (1) preTem.T = TRoo.conv.k * TRoo.u + TRoo.conv.p ($RES_SIM_453) (340) [FOR-] (12) ($RES_SIM_454) (340) [----] for $i1 in 1:12 loop (340) [----] [SCAL] (1) valDat.y[$i1] = valDat.p_offset[$i1] + Modelica.Blocks.Tables.Internal.getTimeTableValue(valDat.tableID, $i1, time, valDat.nextTimeEventScaled, $TEV_78) ($RES_SIM_455) (340) [----] end for; (341) [WHEN] (1)when {$SEV_82, initial()} then (341) [----] valDat.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(valDat.tableID, time) (341) [----] end when; (342) [WHEN] (1)when {$SEV_82, initial()} then (342) [----] valDat.nextTimeEvent := if valDat.nextTimeEventScaled < 1e60 then valDat.nextTimeEventScaled else 1e60 (342) [----] end when; (343) [SCAL] (1) theFol.fil.assPow.minPow.y = $SEV_95 ($RES_SIM_541) (344) [SCAL] (1) theFol.fil.assPow.maxPow.y = $SEV_96 ($RES_SIM_542) (345) [SCAL] (1) theFol.fil.assPow.not2.u = $SEV_97 ($RES_SIM_543) (346) [SCAL] (1) theFol.fil.assPow.abs1.u = (theFol.fil.assPow.demRat.k / theFol.fil.assPow.demRat.T) * (theFol.fil.PLim.simplifiedExpr - theFol.fil.assPow.demRat.x) ($RES_SIM_545) (347) [SCAL] (1) $DER.theFol.fil.assPow.demRat.x = (theFol.fil.PLim.simplifiedExpr - theFol.fil.assPow.demRat.x) / theFol.fil.assPow.demRat.T ($RES_SIM_546) (348) [SCAL] (1) theFol.fil.assPow.nor.y = not $SEV_98 ($RES_SIM_548) (349) [SCAL] (1) theFolNeg.fil.assPow.minPow.y = $SEV_33 ($RES_SIM_193) (350) [SCAL] (1) theFol.opeMod.transition10.outPort.set = $SEV_115 ($RES_SIM_632) (351) [SCAL] (1) theFolNeg.fil.assPow.maxPow.y = $SEV_34 ($RES_SIM_194) (352) [SCAL] (1) theFolNeg.fil.assPow.not2.u = $SEV_35 ($RES_SIM_195) (353) [SCAL] (1) theFolNeg.fil.assPow.abs1.u = (theFolNeg.fil.assPow.demRat.k / theFolNeg.fil.assPow.demRat.T) * (theFolNeg.fil.PLim.simplifiedExpr - theFolNeg.fil.assPow.demRat.x) ($RES_SIM_197) (354) [SCAL] (1) theFolNeg.opeMod.transition10.localCondition = $SEV_53 ($RES_SIM_281) (355) [SCAL] (1) $DER.theFolNeg.fil.assPow.demRat.x = (theFolNeg.fil.PLim.simplifiedExpr - theFolNeg.fil.assPow.demRat.x) / theFolNeg.fil.assPow.demRat.T ($RES_SIM_198) (356) [SCAL] (1) theFol.opeMod.staBy.outerStatePort.localActive = $TEV_76 ($RES_SIM_720) (357) [SCAL] (1) theFol.opeMod.transition7.localCondition = $SEV_116 ($RES_SIM_637) (358) [SCAL] (1) theFol.opeMod.staBy.outerStatePort.subgraphStatePort.activeSteps = if theFol.opeMod.staBy.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_722) (359) [SCAL] (1) theFolNeg.opeMod.transition10.outPort.set = $SEV_54 ($RES_SIM_284) (360) [SCAL] (1) theFol.eng.QGen1.port.Q_flow = -theFol.eng.QGen_flow * (1.0 + theFol.eng.QGen1.alpha * (theFol.eng.capTheEng.T - theFol.eng.QGen1.T_ref)) ($RES_SIM_725) (361) [WHEN] (1)when false then (361) [----] theFolNeg.opeMod.staBy.oldActive := theFolNeg.opeMod.staBy.outerStatePort.localActive (361) [----] end when; (362) [SCAL] (1) theFolNeg.opeMod.staBy.newActive = $SEV_73 ($RES_SIM_371) (363) [SCAL] (1) theFol.watHea.port_a.Q_flow + theFol.vol.heatPort.Q_flow = 0.0 ($RES_SIM_810) (364) [SCAL] (1) theFolNeg.opeMod.staBy.outerStatePort.localActive = $TEV_37 ($RES_SIM_372) (365) [SCAL] (1) theFolNeg.opeMod.transition7.localCondition = $SEV_55 ($RES_SIM_289) (366) [SCAL] (1) theFol.opeMod.pumOn.outerStatePort.subgraphStatePort.activeSteps + theFol.opeMod.warUp.outerStatePort.subgraphStatePort.activeSteps + theFol.opeMod.cooDow.outerStatePort.subgraphStatePort.activeSteps + theFol.opeMod.nor.outerStatePort.subgraphStatePort.activeSteps + theFol.opeMod.plaOff.outerStatePort.subgraphStatePort.activeSteps + theFol.stateGraphRoot.subgraphStatePort.activeSteps + theFol.opeMod.staBy.outerStatePort.subgraphStatePort.activeSteps = 0.0 ($RES_SIM_811) (367) [SCAL] (1) theFol.eng.conTheLos.dT = preTem.T - theFol.eng.capTheEng.T ($RES_SIM_728) (368) [SCAL] (1) -theFol.QLos.Q_flow = theFol.eng.conTheLos.G * theFol.eng.conTheLos.dT ($RES_SIM_729) (369) [SCAL] (1) theFolNeg.opeMod.staBy.outerStatePort.subgraphStatePort.activeSteps = if theFolNeg.opeMod.staBy.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_374) (370) [SCAL] (1) (theFol.eng.capTheEng.port.Q_flow + theFol.QLos.Q_flow + theFol.eng.QGen1.port.Q_flow) - theFol.watHea.port_a.Q_flow = 0.0 ($RES_SIM_813) (371) [SCAL] (1) dQGen.y = dQGen.k1 * theFol.eng.QGen_flow + dQGen.k2 * QGenVal_flow.u ($RES_SIM_460) (372) [SCAL] (1) theFolNeg.eng.QGen1.port.Q_flow = -theFolNeg.eng.QGen_flow * (1.0 + theFolNeg.eng.QGen1.alpha * (theFolNeg.eng.capTheEng.T - theFolNeg.eng.QGen1.T_ref)) ($RES_SIM_377) (373) [SCAL] (1) theFol.vol.ports[1].m_flow - theFol.m_flow = 0.0 ($RES_SIM_816) (374) [SCAL] (1) dQLos.y = dQLos.k1 * theFol.QLos.Q_flow + dQLos.k2 * QLosVal_flow.u ($RES_SIM_461) (375) [SCAL] (1) dTEng.y = dTEng.k1 * theFol.eng.capTheEng.T + dTEng.k2 * dTEng.u2 ($RES_SIM_462) (376) [SCAL] (1) theFol.vol.ports[2].m_flow - theFol.port_b.m_flow = 0.0 ($RES_SIM_819) (377) [SCAL] (1) dTWatOut.y = dTWatOut.k1 * (273.15 + 2.390057361376673e-4 * (4184.0 * ((-273.15) - ((-273.15) - theFol.vol.dynBal.medium.T_degC)))) + dTWatOut.k2 * dTWatOut.u2 ($RES_SIM_464) (378) [SCAL] (1) dQWat.y = dQWat.k1 * EThe.u + dQWat.k2 * QWatVal_flow.u ($RES_SIM_465) (379) [SCAL] (1) dPEleNet.y = dPEleNet.k1 * EEle.u + dPEleNet.k2 * PEleNetVal.u ($RES_SIM_466) (380) [SCAL] (1) theFol.hys.y = $SEV_99 ($RES_SIM_551) (381) [SCAL] (1) cooWat.ports[1].h_outflow = cooWat.h_internal ($RES_SIM_468) (382) [SCAL] (1) not theFol.opeMod.transition5.localCondition = $SEV_100 ($RES_SIM_552) (383) [-IF-] (1)if theFol.opeMod.plaOff.outerStatePort.localActive then (383) [----] [SCAL] (1) theFol.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off ($RES_SIM_555) (383) [----] elseif theFol.opeMod.staBy.outerStatePort.localActive then (383) [----] [SCAL] (1) theFol.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_SIM_556) (383) [----] elseif theFol.opeMod.pumOn.outerStatePort.localActive then (383) [----] [SCAL] (1) theFol.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.PumpOn ($RES_SIM_557) (383) [----] elseif theFol.opeMod.warUp.outerStatePort.localActive then (383) [----] [SCAL] (1) theFol.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_SIM_558) (383) [----] elseif theFol.opeMod.nor.outerStatePort.localActive then (383) [----] [SCAL] (1) theFol.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_SIM_559) (383) [----] else (383) [----] [SCAL] (1) theFol.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown ($RES_SIM_560) (383) [----] end if; (384) [SCAL] (1) theFol.opeMod.transition7.outPort.set = $SEV_117 ($RES_SIM_640) (385) [SCAL] (1) theFol.eng.capTheEng.C * $DER.theFol.eng.capTheEng.T = theFol.eng.capTheEng.port.Q_flow ($RES_SIM_730) (386) [SCAL] (1) theFol.opeMod.transition9.outPort.set = $SEV_118 ($RES_SIM_647) (387) [SCAL] (1) theFolNeg.opeMod.transition7.outPort.set = $SEV_56 ($RES_SIM_292) (388) [SCAL] (1) theFol.eng.capTheEng.der_T = $DER.theFol.eng.capTheEng.T ($RES_SIM_731) (389) [SCAL] (1) theFol.eng.theConHX.dT = (273.15 + 2.390057361376673e-4 * (4184.0 * ((-273.15) - ((-273.15) - theFol.vol.dynBal.medium.T_degC)))) - theFol.eng.capTheEng.T ($RES_SIM_735) (390) [SCAL] (1) theFolNeg.eng.conTheLos.dT = theFolNeg.QLos.port_b.T - theFolNeg.eng.capTheEng.T ($RES_SIM_380) (391) [SCAL] (1) theFol.watHea.port_a.Q_flow = theFol.eng.theConHX.G * theFol.eng.theConHX.dT ($RES_SIM_736) (392) [SCAL] (1) -theFolNeg.QLos.Q_flow = theFolNeg.eng.conTheLos.G * theFolNeg.eng.conTheLos.dT ($RES_SIM_381) (393) [SCAL] (1) sin.ports[1].m_flow + theFol.port_b.m_flow = 0.0 ($RES_SIM_820) (394) [SCAL] (1) theFolNeg.eng.capTheEng.C * $DER.theFolNeg.eng.capTheEng.T = theFolNeg.eng.capTheEng.port.Q_flow ($RES_SIM_382) (395) [SCAL] (1) theFolNeg.opeMod.transition9.outPort.set = $SEV_57 ($RES_SIM_299) (396) [SCAL] (1) theFol.eneCon.switch3.u2 = false ($RES_SIM_738) (397) [SCAL] (1) theFolNeg.eng.capTheEng.der_T = $DER.theFolNeg.eng.capTheEng.T ($RES_SIM_383) (398) [SCAL] (1) valDat.y[9] = QLosVal_flow.u ($RES_SIM_824) (399) [SCAL] (1) cooWat.ports[1].p = cooWat.p_in_internal ($RES_SIM_470) (400) [SCAL] (1) theFolNeg.eng.theConHX.dT = (273.15 + 2.390057361376673e-4 * (4184.0 * ((-273.15) - ((-273.15) - theFolNeg.vol.dynBal.medium.T_degC)))) - theFolNeg.eng.capTheEng.T ($RES_SIM_387) (401) [SCAL] (1) theFolNeg.watHea.port_a.Q_flow = theFolNeg.eng.theConHX.G * theFolNeg.eng.theConHX.dT ($RES_SIM_388) (402) [SCAL] (1) valDat.y[8] = QWatVal_flow.u ($RES_SIM_827) (403) [FOR-] (2) ($RES_SIM_472) (403) [----] for $i1 in 1:2 loop (403) [----] [SCAL] (1) sin.ports[$i1].h_outflow = 4184.0 * ((-273.15) + sin.T) ($RES_SIM_473) (403) [----] end for; (404) [SCAL] (1) valDat.y[7] = QGenVal_flow.u ($RES_SIM_829) (405) [FOR-] (2) ($RES_SIM_475) (405) [----] for $i1 in 1:2 loop (405) [----] [SCAL] (1) sin.ports[$i1].p = sin.p ($RES_SIM_476) (405) [----] end for; (406) [SCAL] (1) theFolNeg.eneCon.and1.u1 = $SEV_145 ($RES_BND_1486) (407) [SCAL] (1) theFolNeg.eneCon.booExp.y = $SEV_146 ($RES_BND_1485) (408) [SCAL] (1) theFolNeg.preDro.dp = theFolNeg.port_a.p - theFolNeg.preDro.port_b.p ($RES_BND_1484) (409) [SCAL] (1) theFol.opeMod.timer.y = if theFol.opeMod.cooDow.outerStatePort.localActive then time - theFol.opeMod.timer.entryTime else 0.0 ($RES_SIM_562) (410) [SCAL] (1) not theFol.opeMod.transition3.localCondition = $SEV_85 ($RES_SIM_479) (411) [WHEN] (1)when not theFol.opeMod.cooDow.outerStatePort.localActive then (411) [----] theFol.opeMod.timer.entryTime := $PRE.theFol.opeMod.timer.entryTime (411) [----] else when $SEV_101 then (411) [----] theFol.opeMod.timer.entryTime := $PRE.theFol.opeMod.timer.entryTime (411) [----] else when theFol.opeMod.cooDow.outerStatePort.localActive then (411) [----] theFol.opeMod.timer.entryTime := time (411) [----] end when; (412) [WHEN] (1)when not theFol.opeMod.cooDow.outerStatePort.localActive then (412) [----] theFol.opeMod.timer.passed := false (412) [----] else when $SEV_101 then (412) [----] theFol.opeMod.timer.passed := true (412) [----] else when theFol.opeMod.cooDow.outerStatePort.localActive then (412) [----] theFol.opeMod.timer.passed := theFol.opeMod.timer.t <= 0.0 (412) [----] end when; (413) [SCAL] (1) theFol.opeMod.transition4.enableFire = $SEV_102 ($RES_SIM_568) (414) [SCAL] (1) theFol.opeMod.transition4.outPort.set = $SEV_103 ($RES_SIM_569) (415) [SCAL] (1) theFol.opeMod.transition5.outPort.set = $SEV_119 ($RES_SIM_654) (416) [SCAL] (1) theFol.eng.QGen_flow = if theFol.eneCon.switch3.u2 then theFol.eneCon.dumTimDel.k else theFol.eneCon.switch5.u3 ($RES_SIM_742) (417) [SCAL] (1) theFol.eneCon.switch4.y = if theFol.eneCon.switch3.u2 then theFol.eneCon.dumTimDel.k else theFol.eneCon.switch4.u3 ($RES_SIM_743) (418) [SCAL] (1) theFol.mFue_flow = if theFol.eneCon.switch3.u2 then theFol.eneCon.dumTimDel.k else theFol.eneCon.switch3.u3 ($RES_SIM_744) (419) [SCAL] (1) EEle.u = if theFol.eneCon.and1.u1 then theFol.eneCon.PEleTimeDel.k else theFol.eneCon.opeModBas.groHea.u1 ($RES_SIM_745) (420) [SCAL] (1) theFolNeg.eneCon.switch3.u2 = false ($RES_SIM_390) (421) [SCAL] (1) theFol.eneCon.opeModBas.groHea.u1 = if theFol.eneCon.booExp.y then theFol.hys.u else theFol.eneCon.const.k ($RES_SIM_746) (422) [SCAL] (1) theFol.eneCon.switch3.u3 = theFol.eneCon.opeModBas.masFloFue.k * theFol.eneCon.opeModBas.heaGen.u1 ($RES_SIM_748) (423) [SCAL] (1) valDat.y[5] = PEleNetVal.u ($RES_SIM_832) (424) [SCAL] (1) theFolNeg.eng.QGen_flow = if theFolNeg.eneCon.switch3.u2 then theFolNeg.eneCon.dumTimDel.k else theFolNeg.eneCon.switch5.u3 ($RES_SIM_394) (425) [SCAL] (1) theFolNeg.eneCon.switch4.y = if theFolNeg.eneCon.switch3.u2 then theFolNeg.eneCon.dumTimDel.k else theFolNeg.eneCon.switch4.u3 ($RES_SIM_395) (426) [SCAL] (1) theFolNeg.port_b.p = sin.ports[2].p ($RES_SIM_834) (427) [SCAL] (1) theFolNeg.mFue_flow = if theFolNeg.eneCon.switch3.u2 then theFolNeg.eneCon.dumTimDel.k else theFolNeg.eneCon.switch3.u3 ($RES_SIM_396) (428) [SCAL] (1) theFolNeg.m_flow + cooWatNeg.ports[1].m_flow = 0.0 ($RES_SIM_835) (429) [SCAL] (1) avaSig.combiTimeTable.y[1] = avaSig.combiTimeTable.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(avaSig.combiTimeTable.tableID, 1, time, avaSig.combiTimeTable.nextTimeEventScaled, $TEV_79) ($RES_SIM_480) (430) [SCAL] (1) theFolNeg.PEleNet = if theFolNeg.eneCon.and1.u1 then theFolNeg.eneCon.PEleTimeDel.k else theFolNeg.eneCon.opeModBas.groHea.u1 ($RES_SIM_397) (431) [SCAL] (1) cooWatNeg.ports[1].p = theFolNeg.port_a.p ($RES_SIM_836) (432) [WHEN] (1)when {$SEV_86, initial()} then (432) [----] avaSig.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(avaSig.combiTimeTable.tableID, time) (432) [----] end when; (433) [SCAL] (1) theFolNeg.eneCon.opeModBas.groHea.u1 = if theFolNeg.eneCon.booExp.y then theFolNeg.hys.u else theFolNeg.eneCon.const.k ($RES_SIM_398) (434) [SCAL] (1) valDat.y[1] = theFol.PEleDem ($RES_SIM_837) (435) [WHEN] (1)when {$SEV_86, initial()} then (435) [----] avaSig.combiTimeTable.nextTimeEvent := if avaSig.combiTimeTable.nextTimeEventScaled < 1e60 then avaSig.combiTimeTable.nextTimeEventScaled else 1e60 (435) [----] end when; (436) [SCAL] (1) valDat.y[1] = theFolNeg.PEleDem ($RES_SIM_838) (437) [SCAL] (1) valDat.y[11] = TEngVal.u ($RES_SIM_839) (438) [SCAL] (1) theFol.opeMod.transition4.t = if theFol.opeMod.transition4.enableFire then theFol.opeMod.transition4.t_dummy else 0.0 ($RES_SIM_570) (439) [SCAL] (1) theFolNeg.vol.p = theFolNeg.vol.ports[1].p ($RES_BND_1475) (440) [WHEN] (1)when theFol.opeMod.transition4.enableFire then (440) [----] time - theFol.opeMod.transition4.t_dummy := time (440) [----] end when; (441) [SCAL] (1) theFolNeg.dp = theFolNeg.port_a.p - theFolNeg.port_b.p ($RES_BND_1473) (442) [SCAL] (1) theFol.stateGraphRoot.activeSteps = -integer(theFol.stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_489) (443) [SCAL] (1) theFol.opeMod.plaOff.outPort[1].reset = false ($RES_SIM_573) (444) [FOR-] (3) ($RES_SIM_574) (444) [----] for $i1 in 1:3 loop (444) [----] [SCAL] (1) theFol.opeMod.plaOff.inPort[$i1].set = false ($RES_SIM_575) (444) [----] end for; (445) [SCAL] (1) theFol.opeMod.plaOff.outPort[1].available = theFol.opeMod.plaOff.outerStatePort.localActive ($RES_SIM_576) (446) [FOR-] (3) ($RES_SIM_577) (446) [----] for $i1 in 1:3 loop (446) [----] [SCAL] (1) theFol.opeMod.plaOff.inPort[$i1].occupied = if $SEV_42[$i1] then theFol.opeMod.plaOff.outerStatePort.localActive else $SEV_104[$i1] ($RES_SIM_578) (446) [----] end for; (447) [SCAL] (1) theFol.opeMod.transition3.outPort.set = $SEV_120 ($RES_SIM_661) (448) [WHEN] (1)when false then (448) [----] theFol.opeMod.plaOff.oldActive := theFol.opeMod.plaOff.outerStatePort.localActive (448) [----] end when; (449) [SCAL] (1) theFol.opeMod.transition6.localCondition = $SEV_121 ($RES_SIM_666) (450) [SCAL] (1) theFol.eneCon.switch5.u3 = theFol.eneCon.opeModBas.heaGen.u1 * theFol.eneCon.opeModBas.etaQ.eta ($RES_SIM_750) (451) [SCAL] (1) theFol.eneCon.opeModBas.heaGen.u1 = theFol.eneCon.opeModBas.groHea.u1 / theFol.eneCon.opeModBas.etaE.eta ($RES_SIM_751) (452) [SCAL] (1) theFol.eneCon.opeModBas.etaQ.eta = smooth(1, if $SEV_134 then theFol.eneCon.opeModBas.etaQ.y else if $SEV_135 then 0.01 else 0.25 * (0.01 - theFol.eneCon.opeModBas.etaQ.y) * ((-3.0) + (((-0.01) + theFol.eneCon.opeModBas.etaQ.y) / 0.005) ^ 2.0) * (200.0 * ((-0.01) + theFol.eneCon.opeModBas.etaQ.y)) + 0.5 * (0.01 + theFol.eneCon.opeModBas.etaQ.y)) ($RES_SIM_752) (453) [SCAL] (1) not theFol.opeMod.transition9.localCondition = $SEV_122 ($RES_SIM_669) (454) [SCAL] (1) theFol.eneCon.opeModBas.etaQ.y = theFol.m_flow * theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaQ.a[26] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.m_flow ^ 2.0 * theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaQ.a[25] * ((-273.15) + theFol.conWat.TWatIn) + theFol.m_flow * theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaQ.a[24] * ((-273.15) + theFol.conWat.TWatIn) + theFol.m_flow ^ 2.0 * theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaQ.a[23] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.m_flow * theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaQ.a[22] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.m_flow ^ 2.0 * theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaQ.a[21] * ((-273.15) + theFol.conWat.TWatIn) + theFol.m_flow ^ 2.0 * theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaQ.a[20] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.m_flow ^ 2.0 * theFol.eneCon.opeModBas.etaQ.a[19] * ((-273.15) + theFol.conWat.TWatIn) + theFol.m_flow * theFol.eneCon.opeModBas.etaQ.a[18] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.m_flow * theFol.eneCon.opeModBas.etaQ.a[17] * ((-273.15) + theFol.conWat.TWatIn) + theFol.m_flow ^ 2.0 * theFol.eneCon.opeModBas.etaQ.a[16] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaQ.a[15] * ((-273.15) + theFol.conWat.TWatIn) + theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaQ.a[14] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaQ.a[13] * ((-273.15) + theFol.conWat.TWatIn) + theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaQ.a[12] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaQ.a[11] * theFol.m_flow + theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaQ.a[10] * theFol.m_flow ^ 2.0 + theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaQ.a[9] * theFol.m_flow + theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaQ.a[8] * theFol.m_flow ^ 2.0 + theFol.eneCon.opeModBas.etaQ.a[7] * ((-273.15) + theFol.conWat.TWatIn) + theFol.eneCon.opeModBas.etaQ.a[6] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.eneCon.opeModBas.etaQ.a[5] * theFol.m_flow + theFol.eneCon.opeModBas.etaQ.a[4] * theFol.m_flow ^ 2.0 + theFol.eneCon.opeModBas.etaQ.a[3] * theFol.eneCon.opeModBas.groHea.u1 + theFol.eneCon.opeModBas.etaQ.a[2] * theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 + theFol.eneCon.opeModBas.etaQ.a[1] + theFol.m_flow * theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaQ.a[27] * ((-273.15) + theFol.conWat.TWatIn) ($RES_SIM_753) (455) [SCAL] (1) theFol.eneCon.opeModBas.etaE.eta = smooth(1, if $SEV_136 then theFol.eneCon.opeModBas.etaE.y else if $SEV_137 then 0.01 else 0.25 * (0.01 - theFol.eneCon.opeModBas.etaE.y) * ((-3.0) + (((-0.01) + theFol.eneCon.opeModBas.etaE.y) / 0.005) ^ 2.0) * (200.0 * ((-0.01) + theFol.eneCon.opeModBas.etaE.y)) + 0.5 * (0.01 + theFol.eneCon.opeModBas.etaE.y)) ($RES_SIM_754) (456) [SCAL] (1) theFol.eneCon.opeModBas.etaE.y = theFol.m_flow * theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaE.a[26] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.m_flow ^ 2.0 * theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaE.a[25] * ((-273.15) + theFol.conWat.TWatIn) + theFol.m_flow * theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaE.a[24] * ((-273.15) + theFol.conWat.TWatIn) + theFol.m_flow ^ 2.0 * theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaE.a[23] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.m_flow * theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaE.a[22] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.m_flow ^ 2.0 * theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaE.a[21] * ((-273.15) + theFol.conWat.TWatIn) + theFol.m_flow ^ 2.0 * theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaE.a[20] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.m_flow ^ 2.0 * theFol.eneCon.opeModBas.etaE.a[19] * ((-273.15) + theFol.conWat.TWatIn) + theFol.m_flow * theFol.eneCon.opeModBas.etaE.a[18] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.m_flow * theFol.eneCon.opeModBas.etaE.a[17] * ((-273.15) + theFol.conWat.TWatIn) + theFol.m_flow ^ 2.0 * theFol.eneCon.opeModBas.etaE.a[16] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaE.a[15] * ((-273.15) + theFol.conWat.TWatIn) + theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaE.a[14] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaE.a[13] * ((-273.15) + theFol.conWat.TWatIn) + theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaE.a[12] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaE.a[11] * theFol.m_flow + theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaE.a[10] * theFol.m_flow ^ 2.0 + theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaE.a[9] * theFol.m_flow + theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 * theFol.eneCon.opeModBas.etaE.a[8] * theFol.m_flow ^ 2.0 + theFol.eneCon.opeModBas.etaE.a[7] * ((-273.15) + theFol.conWat.TWatIn) + theFol.eneCon.opeModBas.etaE.a[6] * ((-273.15) + theFol.conWat.TWatIn) ^ 2.0 + theFol.eneCon.opeModBas.etaE.a[5] * theFol.m_flow + theFol.eneCon.opeModBas.etaE.a[4] * theFol.m_flow ^ 2.0 + theFol.eneCon.opeModBas.etaE.a[3] * theFol.eneCon.opeModBas.groHea.u1 + theFol.eneCon.opeModBas.etaE.a[2] * theFol.eneCon.opeModBas.groHea.u1 ^ 2.0 + theFol.eneCon.opeModBas.etaE.a[1] + theFol.m_flow * theFol.eneCon.opeModBas.groHea.u1 * theFol.eneCon.opeModBas.etaE.a[27] * ((-273.15) + theFol.conWat.TWatIn) ($RES_SIM_755) (457) [SCAL] (1) valDat.y[10] = TWatOutVal.u ($RES_SIM_840) (458) [SCAL] (1) theFol.eneCon.assFue.abs1.u = (theFol.eneCon.assFue.floChaRat.k / theFol.eneCon.assFue.floChaRat.T) * (theFol.mFue_flow - theFol.eneCon.assFue.floChaRat.x) ($RES_SIM_757) (459) [SCAL] (1) $DER.theFol.eneCon.assFue.floChaRat.x = (theFol.mFue_flow - theFol.eneCon.assFue.floChaRat.x) / theFol.eneCon.assFue.floChaRat.T ($RES_SIM_758) (460) [SCAL] (1) theFol.eneCon.assFue.hys.y = $SEV_138 ($RES_SIM_759) (461) [SCAL] (1) EThe.u = theFol.gai.k * theFol.watHea.port_a.Q_flow ($RES_SIM_490) (462) [SCAL] (1) theFol.fil.PLim.simplifiedExpr = theFol.elePowDem.y ($RES_SIM_491) (463) [SCAL] (1) valDat.y[12] = TWatOutSet.u ($RES_SIM_847) (464) [SCAL] (1) theFol.elePowDem.y = theFol.elePowDem.k * theFol.elePowDem.u ($RES_SIM_492) (465) [SCAL] (1) valDat.y[4] = TRoo.u ($RES_SIM_849) (466) [SCAL] (1) theFol.cooWatCon.addRes.y = theFol.cooWatCon.yResSig.k - theFol.cooWatCon.addPID.u1 ($RES_SIM_495) (467) [SCAL] (1) theFol.opeMod.plaOff.newActive = $SEV_105 ($RES_SIM_580) (468) [SCAL] (1) theFol.cooWatCon.errI2.u2 = theFol.cooWatCon.antWinGai.k * theFol.cooWatCon.antWinErr.y ($RES_SIM_497) (469) [SCAL] (1) theFol.opeMod.plaOff.outerStatePort.localActive = $TEV_48 ($RES_SIM_581) (470) [SCAL] (1) theFol.cooWatCon.antWinErr.y = theFol.cooWatCon.lim.u - theFol.elePowDem.u ($RES_SIM_498) (471) [SCAL] (1) theFol.cooWatCon.lim.u = theFol.cooWatCon.addPID.k1 * theFol.cooWatCon.addPID.u1 + theFol.cooWatCon.addPID.k2 * theFol.cooWatCon.addPID.u2 ($RES_SIM_499) (472) [SCAL] (1) theFol.opeMod.plaOff.outerStatePort.subgraphStatePort.activeSteps = if theFol.opeMod.plaOff.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_583) (473) [SCAL] (1) theFol.powCon.cooDow.y = $SEV_147 ($RES_BND_1460) (474) [SCAL] (1) theFol.opeMod.transition6.outPort.set = $SEV_106 ($RES_SIM_586) (475) [SCAL] (1) theFol.opeMod.hys.y = $SEV_123 ($RES_SIM_670) (476) [SCAL] (1) theFol.opeMod.add2.y = theFol.opeMod.add2.k1 * theFol.opeMod.max.y + theFol.opeMod.add2.k2 * theFol.m_flow ($RES_SIM_671) (477) [SCAL] (1) theFol.opeMod.max.y = max(theFol.opeMod.minWatFlo.k, theFol.opeMod.con.k) ($RES_SIM_672) (478) [FOR-] (2) ($RES_SIM_675) (478) [----] for $i1 in 1:2 loop (478) [----] [SCAL] (1) theFol.opeMod.cooDow.outPort[$i1].reset = false ($RES_SIM_676) (478) [----] end for; (479) [FOR-] (2) ($RES_SIM_677) (479) [----] for $i1 in 1:2 loop (479) [----] [SCAL] (1) theFol.opeMod.cooDow.inPort[$i1].set = false ($RES_SIM_678) (479) [----] end for; (480) [FOR-] (2) ($RES_SIM_679) (480) [----] for $i1 in 1:2 loop (480) [----] [SCAL] (1) theFol.opeMod.cooDow.outPort[$i1].available = if $SEV_63[$i1] then theFol.opeMod.cooDow.outerStatePort.localActive else $SEV_124[$i1] ($RES_SIM_680) (480) [----] end for; (481) [SCAL] (1) theFol.preDro.port_b.h_outflow = cooWat.ports[1].h_outflow ($RES_SIM_763) (482) [SCAL] (1) theFol.preDro.port_a.h_outflow = theFol.vol.ports[1].h_outflow ($RES_SIM_764) (483) [SCAL] (1) theFol.preDro.dp = homotopy(Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(theFol.m_flow, theFol.preDro.k, theFol.preDro.m_flow_turbulent), (theFol.m_flow * theFol.preDro.dp_nominal_pos) / theFol.preDro.m_flow_nominal_pos) ($RES_SIM_765) (484) [SCAL] (1) valDat.y[3] = TWatIn.u ($RES_SIM_852) (485) [SCAL] (1) valDat.y[2] = cooWat.m_flow_in ($RES_SIM_853) (486) [SCAL] (1) theFol.powCon.staBy.y = $SEV_148 ($RES_BND_1459) (487) [SCAL] (1) theFol.conWat.TWatIn = 273.15 + 2.390057361376673e-4 * cooWat.ports[1].h_outflow ($RES_BND_1458) (488) [SCAL] (1) theFol.conWat.offStaBy.y = $SEV_149 ($RES_BND_1456) (489) [SCAL] (1) theFol.fil.dPLim.thr = (theFol.fil.dPLim.u - theFol.fil.dPLim.y) / theFol.fil.dPLim.Td ($RES_BND_1455) (490) [SCAL] (1) theFol.opeMod.warUpCtr.timer.y = if theFol.opeMod.warUp.outerStatePort.localActive then time - theFol.opeMod.warUpCtr.timer.entryTime else 0.0 ($RES_SIM_592) (491) [WHEN] (1)when not theFol.opeMod.warUp.outerStatePort.localActive then (491) [----] theFol.opeMod.and1.u2 := false (491) [----] else when $SEV_107 then (491) [----] theFol.opeMod.and1.u2 := true (491) [----] else when theFol.opeMod.warUp.outerStatePort.localActive then (491) [----] theFol.opeMod.and1.u2 := theFol.opeMod.warUpCtr.timer.t <= 0.0 (491) [----] end when; (492) [WHEN] (1)when not theFol.opeMod.warUp.outerStatePort.localActive then (492) [----] theFol.opeMod.warUpCtr.timer.entryTime := $PRE.theFol.opeMod.warUpCtr.timer.entryTime (492) [----] else when $SEV_107 then (492) [----] theFol.opeMod.warUpCtr.timer.entryTime := $PRE.theFol.opeMod.warUpCtr.timer.entryTime (492) [----] else when theFol.opeMod.warUp.outerStatePort.localActive then (492) [----] theFol.opeMod.warUpCtr.timer.entryTime := time (492) [----] end when; (493) [SCAL] (1) theFol.opeMod.transition8.outPort.set = $SEV_108 ($RES_SIM_597) (494) [FOR-] (2) ($RES_SIM_681) (494) [----] for $i1 in 1:2 loop (494) [----] [SCAL] (1) theFol.opeMod.cooDow.inPort[$i1].occupied = if $SEV_63[$i1] then theFol.opeMod.cooDow.outerStatePort.localActive else $SEV_125[$i1] ($RES_SIM_682) (494) [----] end for; (495) [WHEN] (1)when false then (495) [----] theFol.opeMod.cooDow.oldActive := theFol.opeMod.cooDow.outerStatePort.localActive (495) [----] end when; (496) [SCAL] (1) theFol.opeMod.cooDow.newActive = $SEV_126 ($RES_SIM_684) (497) [SCAL] (1) theFol.opeMod.cooDow.outerStatePort.localActive = $TEV_67 ($RES_SIM_685) (498) [SCAL] (1) theFol.opeMod.cooDow.outerStatePort.subgraphStatePort.activeSteps = if theFol.opeMod.cooDow.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_687) (499) [FOR-] (2) ($RES_SIM_688) (499) [----] for $i1 in 1:2 loop (499) [----] [SCAL] (1) theFol.opeMod.warUp.outPort[$i1].reset = false ($RES_SIM_689) (499) [----] end for; (500) [FOR-] (2) ($RES_SIM_772) (500) [----] for $i1 in 1:2 loop (500) [----] [SCAL] (1) theFol.vol.dynBal.ports[$i1].p = 99999.99999999999 * theFol.vol.dynBal.medium.p_bar ($RES_SIM_773) (500) [----] end for; (501) [FOR-] (2) ($RES_SIM_774) (501) [----] for $i1 in 1:2 loop (501) [----] [SCAL] (1) theFol.vol.dynBal.ports[$i1].h_outflow = 4184.0 * ((-273.15) - ((-273.15) - theFol.vol.dynBal.medium.T_degC)) ($RES_SIM_775) (501) [----] end for; (502) [SCAL] (1) theFol.m_flow + cooWat.ports[1].m_flow = 0.0 ($RES_SIM_861) (503) [SCAL] (1) cooWat.ports[1].p = theFol.port_a.p ($RES_SIM_862) (504) [SCAL] (1) theFol.port_b.p = sin.ports[1].p ($RES_SIM_865) (505) [SCAL] (1) theFolNeg.preDro.port_b.p = theFolNeg.vol.ports[1].p ($RES_SIM_866) (506) [FOR-] (2) ($RES_SIM_690) (506) [----] for $i1 in 1:2 loop (506) [----] [SCAL] (1) theFol.opeMod.warUp.inPort[$i1].set = false ($RES_SIM_691) (506) [----] end for; (507) [FOR-] (2) ($RES_SIM_692) (507) [----] for $i1 in 1:2 loop (507) [----] [SCAL] (1) theFol.opeMod.warUp.outPort[$i1].available = if $SEV_63[$i1] then theFol.opeMod.warUp.outerStatePort.localActive else $SEV_127[$i1] ($RES_SIM_693) (507) [----] end for; (508) [FOR-] (2) ($RES_SIM_694) (508) [----] for $i1 in 1:2 loop (508) [----] [SCAL] (1) theFol.opeMod.warUp.inPort[$i1].occupied = if $SEV_63[$i1] then theFol.opeMod.warUp.outerStatePort.localActive else $SEV_128[$i1] ($RES_SIM_695) (508) [----] end for; (509) [WHEN] (1)when false then (509) [----] theFol.opeMod.warUp.oldActive := theFol.opeMod.warUp.outerStatePort.localActive (509) [----] end when; (510) [SCAL] (1) theFol.vol.dynBal.ports_H_flow[2] = $FUN_2 ($RES_SIM_780) (511) [SCAL] (1) theFol.opeMod.warUp.newActive = $SEV_129 ($RES_SIM_697) (512) [SCAL] (1) theFol.vol.dynBal.ports_H_flow[1] = $FUN_1 ($RES_SIM_781) (513) [SCAL] (1) theFol.opeMod.warUp.outerStatePort.localActive = $TEV_70 ($RES_SIM_698) (514) [SCAL] (1) theFol.vol.dynBal.U = theFol.vol.dynBal.m * (4184.0 * ((-273.15) - ((-273.15) - theFol.vol.dynBal.medium.T_degC))) ($RES_SIM_783) (515) [SCAL] (1) theFol.vol.dynBal.m = theFol.vol.dynBal.fluidVolume * theFol.vol.dynBal.rho_start ($RES_SIM_784) (516) [SCAL] (1) theFolNeg.vol.ports[2].h_outflow = theFolNeg.port_b.h_outflow ($RES_SIM_870) (517) [SCAL] (1) theFolNeg.vol.ports[2].p = theFolNeg.port_b.p ($RES_SIM_871) (518) [SCAL] (1) theFol.vol.dynBal.medium.state.p = 99999.99999999999 * theFol.vol.dynBal.medium.p_bar ($RES_SIM_789) (519) [SCAL] (1) theFol.eneCon.and1.u1 = $SEV_150 ($RES_BND_1438) (520) [SCAL] (1) theFol.eneCon.booExp.y = $SEV_151 ($RES_BND_1437) (521) [SCAL] (1) theFol.preDro.dp = theFol.port_a.p - theFol.preDro.port_b.p ($RES_BND_1436) (522) [SCAL] (1) theFol.vol.dynBal.medium.state.T = -((-273.15) - theFol.vol.dynBal.medium.T_degC) ($RES_SIM_790) (523) [SCAL] (1) -theFolNeg.QLos.Q_flow = 0.0 ($RES_SIM_793) (524) [SCAL] (1) theFolNeg.watHea.port_a.Q_flow + theFolNeg.vol.heatPort.Q_flow = 0.0 ($RES_SIM_795) (525) [SCAL] (1) theFolNeg.opeMod.pumOn.outerStatePort.subgraphStatePort.activeSteps + theFolNeg.opeMod.warUp.outerStatePort.subgraphStatePort.activeSteps + theFolNeg.opeMod.cooDow.outerStatePort.subgraphStatePort.activeSteps + theFolNeg.opeMod.nor.outerStatePort.subgraphStatePort.activeSteps + theFolNeg.opeMod.plaOff.outerStatePort.subgraphStatePort.activeSteps + theFolNeg.stateGraphRoot.subgraphStatePort.activeSteps + theFolNeg.opeMod.staBy.outerStatePort.subgraphStatePort.activeSteps = 0.0 ($RES_SIM_796) (526) [SCAL] (1) (theFolNeg.eng.capTheEng.port.Q_flow + theFolNeg.QLos.Q_flow + theFolNeg.eng.QGen1.port.Q_flow) - theFolNeg.watHea.port_a.Q_flow = 0.0 ($RES_SIM_798) (527) [SCAL] (1) theFol.vol.p = theFol.vol.ports[1].p ($RES_BND_1427) (528) [SCAL] (1) theFol.dp = theFol.port_a.p - theFol.port_b.p ($RES_BND_1425) (529) [SCAL] (1) theFol.opeMod.transition1.outPort.occupied = theFol.opeMod.staBy.inPort[1].occupied ($RES_SIM_1298) (530) [SCAL] (1) theFol.opeMod.transition1.outPort.set = theFol.opeMod.staBy.inPort[1].set ($RES_SIM_1297) (531) [SCAL] (1) theFolNeg.powCon.cooDow.y = $SEV_142 ($RES_BND_1508) (532) [SCAL] (1) theFol.opeMod.staBy.outPort[1].available = theFol.opeMod.transition2.inPort.available ($RES_SIM_1296) (533) [SCAL] (1) theFolNeg.powCon.staBy.y = $SEV_143 ($RES_BND_1507) (534) [SCAL] (1) theFol.opeMod.staBy.outPort[1].reset = theFol.opeMod.transition2.outPort.set ($RES_SIM_1295) (535) [SCAL] (1) theFolNeg.conWat.TWatIn = 273.15 + 2.390057361376673e-4 * cooWatNeg.ports[1].h_outflow ($RES_BND_1506) (536) [SCAL] (1) theFol.opeMod.staBy.outPort[2].available = theFol.opeMod.transition3.inPort.available ($RES_SIM_1294) (537) [SCAL] (1) theFol.opeMod.staBy.outPort[2].reset = theFol.opeMod.transition3.outPort.set ($RES_SIM_1293) (538) [SCAL] (1) theFolNeg.conWat.offStaBy.y = $SEV_144 ($RES_BND_1504) (539) [SCAL] (1) theFol.opeMod.transition2.outPort.occupied = theFol.opeMod.pumOn.inPort[1].occupied ($RES_SIM_1292) (540) [SCAL] (1) theFolNeg.fil.dPLim.thr = (theFolNeg.fil.dPLim.u - theFolNeg.fil.dPLim.y) / theFolNeg.fil.dPLim.Td ($RES_BND_1503) (541) [SCAL] (1) theFol.opeMod.transition2.outPort.set = theFol.opeMod.pumOn.inPort[1].set ($RES_SIM_1291) (542) [SCAL] (1) theFol.opeMod.pumOn.outPort[1].available = theFol.opeMod.transition4.inPort.available ($RES_SIM_1290) (543) [SCAL] (1) theFolNeg.opeMod.cooDow.outPort[2].reset = theFolNeg.opeMod.transition7.outPort.set ($RES_SIM_982) (544) [SCAL] (1) theFolNeg.opeMod.cooDow.outPort[2].available = theFolNeg.opeMod.transition7.inPort.available ($RES_SIM_983) (545) [SCAL] (1) theFolNeg.opeMod.cooDow.outPort[1].reset = theFolNeg.opeMod.transition10.outPort.set ($RES_SIM_984) (546) [SCAL] (1) theFolNeg.opeMod.cooDow.outPort[1].available = theFolNeg.opeMod.transition10.inPort.available ($RES_SIM_985) (547) [SCAL] (1) theFolNeg.opeMod.transition9.outPort.set = theFolNeg.opeMod.cooDow.inPort[2].set ($RES_SIM_986) (548) [SCAL] (1) theFolNeg.opeMod.transition9.outPort.occupied = theFolNeg.opeMod.cooDow.inPort[2].occupied ($RES_SIM_987) (549) [SCAL] (1) theFolNeg.opeMod.transition8.outPort.set = theFolNeg.opeMod.cooDow.inPort[1].set ($RES_SIM_988) (550) [SCAL] (1) theFolNeg.opeMod.transition8.outPort.occupied = theFolNeg.opeMod.cooDow.inPort[1].occupied ($RES_SIM_989) (551) [SCAL] (1) theFol.opeMod.pumOn.outPort[1].reset = theFol.opeMod.transition4.outPort.set ($RES_SIM_1289) (552) [SCAL] (1) theFol.opeMod.pumOn.outPort[2].available = theFol.opeMod.transition5.inPort.available ($RES_SIM_1288) (553) [SCAL] (1) theFol.opeMod.pumOn.outPort[2].reset = theFol.opeMod.transition5.outPort.set ($RES_SIM_1287) (554) [SCAL] (1) theFol.opeMod.warUp.outPort[1].available = theFol.opeMod.transition6.inPort.available ($RES_SIM_1286) (555) [SCAL] (1) theFol.opeMod.warUp.outPort[1].reset = theFol.opeMod.transition6.outPort.set ($RES_SIM_1285) (556) [SCAL] (1) theFol.opeMod.warUp.outPort[2].available = theFol.opeMod.transition9.inPort.available ($RES_SIM_1284) (557) [SCAL] (1) theFol.opeMod.warUp.outPort[2].reset = theFol.opeMod.transition9.outPort.set ($RES_SIM_1283) (558) [SCAL] (1) theFolNeg.opeMod.transition7.outPort.set = theFolNeg.opeMod.warUp.inPort[2].set ($RES_SIM_990) (559) [SCAL] (1) theFolNeg.opeMod.transition7.outPort.occupied = theFolNeg.opeMod.warUp.inPort[2].occupied ($RES_SIM_991) (560) [SCAL] (1) theFol.opeMod.transition4.outPort.occupied = theFol.opeMod.warUp.inPort[1].occupied ($RES_SIM_1280) (561) [SCAL] (1) theFolNeg.opeMod.transition4.outPort.set = theFolNeg.opeMod.warUp.inPort[1].set ($RES_SIM_992) (562) [SCAL] (1) theFolNeg.opeMod.transition4.outPort.occupied = theFolNeg.opeMod.warUp.inPort[1].occupied ($RES_SIM_993) (563) [SCAL] (1) theFolNeg.opeMod.warUp.outPort[2].reset = theFolNeg.opeMod.transition9.outPort.set ($RES_SIM_996) (564) [SCAL] (1) theFolNeg.opeMod.warUp.outPort[2].available = theFolNeg.opeMod.transition9.inPort.available ($RES_SIM_997) (565) [SCAL] (1) theFolNeg.opeMod.warUp.outPort[1].reset = theFolNeg.opeMod.transition6.outPort.set ($RES_SIM_998) (566) [SCAL] (1) theFolNeg.opeMod.warUp.outPort[1].available = theFolNeg.opeMod.transition6.inPort.available ($RES_SIM_999) (567) [SCAL] (1) theFol.opeMod.transition4.outPort.set = theFol.opeMod.warUp.inPort[1].set ($RES_SIM_1279) (568) [SCAL] (1) theFol.opeMod.transition7.outPort.occupied = theFol.opeMod.warUp.inPort[2].occupied ($RES_SIM_1278) (569) [SCAL] (1) theFol.opeMod.transition7.outPort.set = theFol.opeMod.warUp.inPort[2].set ($RES_SIM_1277) (570) [SCAL] (1) theFol.opeMod.transition8.outPort.occupied = theFol.opeMod.cooDow.inPort[1].occupied ($RES_SIM_1276) (571) [SCAL] (1) theFol.opeMod.transition8.outPort.set = theFol.opeMod.cooDow.inPort[1].set ($RES_SIM_1275) (572) [SCAL] (1) theFol.opeMod.transition9.outPort.occupied = theFol.opeMod.cooDow.inPort[2].occupied ($RES_SIM_1274) (573) [SCAL] (1) theFol.opeMod.transition9.outPort.set = theFol.opeMod.cooDow.inPort[2].set ($RES_SIM_1273) (574) [SCAL] (1) theFol.opeMod.cooDow.outPort[1].available = theFol.opeMod.transition10.inPort.available ($RES_SIM_1272) (575) [SCAL] (1) theFol.opeMod.cooDow.outPort[1].reset = theFol.opeMod.transition10.outPort.set ($RES_SIM_1271) (576) [SCAL] (1) theFol.opeMod.cooDow.outPort[2].available = theFol.opeMod.transition7.inPort.available ($RES_SIM_1270) (577) [SCAL] (1) theFol.opeMod.cooDow.outPort[2].reset = theFol.opeMod.transition7.outPort.set ($RES_SIM_1269) (578) [SCAL] (1) $FUN_1 = semiLinear(theFol.vol.dynBal.ports[1].m_flow, theFol.preDro.port_b.h_outflow, theFol.vol.dynBal.ports[1].h_outflow) ($RES_$AUX_1551) (579) [SCAL] (1) $FUN_2 = semiLinear(theFol.vol.dynBal.ports[2].m_flow, sin.ports[1].h_outflow, theFol.vol.dynBal.ports[2].h_outflow) ($RES_$AUX_1550) (580) [ARRY] (2) theFol.vol.dynBal.ports.p = theFol.vol.ports.p ($RES_SIM_1422) (581) [SCAL] (1) 0.0 = sum(theFol.vol.dynBal.ports.m_flow) ($RES_$AUX_1549) (582) [FOR-] (2) ($RES_SIM_1420) (582) [----] for $i1 in 1:2 loop (582) [----] [SCAL] (1) theFol.vol.dynBal.ports[$i1].m_flow - theFol.vol.ports[$i1].m_flow = 0.0 ($RES_SIM_1421) (582) [----] end for; (583) [SCAL] (1) -theFol.vol.heatPort.Q_flow = sum(theFol.vol.dynBal.ports_H_flow) ($RES_$AUX_1548) (584) [SCAL] (1) theFol.eneCon.assFue.abs1.y = abs(theFol.eneCon.assFue.abs1.u) ($RES_$AUX_1547) (585) [SCAL] (1) theFol.eneCon.switch4.u3 = Buildings.Utilities.Math.Functions.polynomial(theFol.eneCon.switch3.u3, theFol.eneCon.opeModBas.masFloAir.a) ($RES_$AUX_1546) (586) [SCAL] (1) $FUN_7 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.staBy.inPort.set) ($RES_$AUX_1545) (587) [SCAL] (1) $FUN_8 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.staBy.outPort.reset) ($RES_$AUX_1544) (588) [SCAL] (1) theFol.opeMod.nor.outPort[1].available = theFol.opeMod.transition8.inPort.available ($RES_SIM_1332) (589) [SCAL] (1) $FUN_9 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.pumOn.inPort.set) ($RES_$AUX_1543) (590) [SCAL] (1) theFol.opeMod.nor.outPort[1].reset = theFol.opeMod.transition8.outPort.set ($RES_SIM_1331) (591) [SCAL] (1) $FUN_10 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.pumOn.outPort.reset) ($RES_$AUX_1542) (592) [SCAL] (1) theFol.opeMod.plaOff.outPort[1].available = theFol.opeMod.transition1.inPort.available ($RES_SIM_1330) (593) [SCAL] (1) $FUN_11 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.warUp.inPort.set) ($RES_$AUX_1541) (594) [SCAL] (1) $FUN_12 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.warUp.outPort.reset) ($RES_$AUX_1540) (595) [SCAL] (1) theFol.vol.ports[2].p = theFol.port_b.p ($RES_SIM_1158) (596) [SCAL] (1) theFol.vol.ports[2].h_outflow = theFol.port_b.h_outflow ($RES_SIM_1157) (597) [SCAL] (1) theFol.preDro.port_b.p = theFol.vol.ports[1].p ($RES_SIM_1153) (598) [SCAL] (1) avaSig.combiTimeTable.y[1] = avaSig.realToBoolean.u ($RES_SIM_1152) (599) [SCAL] (1) theFol.vol.dynBal.ports[1].h_outflow = theFol.vol.ports[1].h_outflow ($RES_SIM_1419) (600) [SCAL] (1) theFol.vol.dynBal.ports[2].h_outflow = theFol.vol.ports[2].h_outflow ($RES_SIM_1418) (601) [SCAL] (1) theFol.opeMod.plaOff.outPort[1].reset = theFol.opeMod.transition1.outPort.set ($RES_SIM_1329) (602) [SCAL] (1) $SEV_96 = not $PRE.theFol.fil.assPow.maxPow.y and theFol.fil.PLim.simplifiedExpr > theFol.fil.assPow.maxPow.uHigh or $PRE.theFol.fil.assPow.maxPow.y and theFol.fil.PLim.simplifiedExpr >= theFol.fil.assPow.maxPow.uLow ($RES_EVT_1799) (603) [SCAL] (1) theFol.opeMod.transition6.outPort.occupied = theFol.opeMod.nor.inPort[1].occupied ($RES_SIM_1328) (604) [SCAL] (1) $FUN_13 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.cooDow.inPort.set) ($RES_$AUX_1539) (605) [SCAL] (1) $SEV_95 = not $PRE.theFol.fil.assPow.minPow.y and theFol.fil.PLim.simplifiedExpr > theFol.fil.assPow.minPow.uHigh or $PRE.theFol.fil.assPow.minPow.y and theFol.fil.PLim.simplifiedExpr >= theFol.fil.assPow.minPow.uLow ($RES_EVT_1798) (606) [SCAL] (1) theFol.opeMod.transition6.outPort.set = theFol.opeMod.nor.inPort[1].set ($RES_SIM_1327) (607) [SCAL] (1) $FUN_14 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.cooDow.outPort.reset) ($RES_$AUX_1538) (608) [SCAL] (1) $FUN_15 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.nor.inPort.set) ($RES_$AUX_1537) (609) [SCAL] (1) $SEV_93 = theFol.fil.PLim.simplifiedExpr < theFol.fil.PMin.k ($RES_EVT_1796) (610) [SCAL] (1) $FUN_16 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.nor.outPort.reset) ($RES_$AUX_1536) (611) [SCAL] (1) $SEV_92 = theFol.fil.PLim.simplifiedExpr > theFol.fil.PMax.k ($RES_EVT_1795) (612) [SCAL] (1) $FUN_17 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.plaOff.inPort.set) ($RES_$AUX_1535) (613) [SCAL] (1) $SEV_91 = theFol.fil.dPLim.thr > theFol.fil.dPLim.raisingSlewRate ($RES_EVT_1794) (614) [SCAL] (1) $FUN_18 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.plaOff.outPort.reset) ($RES_$AUX_1534) (615) [SCAL] (1) $SEV_90 = theFol.fil.dPLim.thr < theFol.fil.dPLim.fallingSlewRate ($RES_EVT_1793) (616) [SCAL] (1) theFol.fil.assPow.abs1.y = abs(theFol.fil.assPow.abs1.u) ($RES_$AUX_1533) (617) [SCAL] (1) $SEV_89 = not $PRE.theFol.assWatTem.hys.y and 273.15 + 2.390057361376673e-4 * (4184.0 * ((-273.15) - ((-273.15) - theFol.vol.dynBal.medium.T_degC))) > theFol.assWatTem.hys.uHigh or $PRE.theFol.assWatTem.hys.y and 273.15 + 2.390057361376673e-4 * (4184.0 * ((-273.15) - ((-273.15) - theFol.vol.dynBal.medium.T_degC))) >= theFol.assWatTem.hys.uLow ($RES_EVT_1792) (618) [SCAL] (1) -cooWat.m_flow_in = sum(cooWat.ports.m_flow) ($RES_$AUX_1532) (619) [SCAL] (1) $SEV_88 = theFol.cooWatCon.lim.u < theFol.cooWatCon.lim.uMin ($RES_EVT_1791) (620) [SCAL] (1) -mWat_flow_negative.k = sum(cooWatNeg.ports.m_flow) ($RES_$AUX_1531) (621) [SCAL] (1) $SEV_87 = theFol.cooWatCon.lim.u > theFol.cooWatCon.lim.uMax ($RES_EVT_1790) (622) [SCAL] (1) $FUN_22 = semiLinear(theFolNeg.vol.dynBal.ports[1].m_flow, theFolNeg.preDro.port_b.h_outflow, theFolNeg.vol.dynBal.ports[1].h_outflow) ($RES_$AUX_1530) (623) [SCAL] (1) $SEV_86 = time >= $PRE.avaSig.combiTimeTable.nextTimeEvent ($RES_EVT_1789) (624) [SCAL] (1) $FUN_23 = semiLinear(theFolNeg.vol.dynBal.ports[2].m_flow, sin.ports[2].h_outflow, theFolNeg.vol.dynBal.ports[2].h_outflow) ($RES_$AUX_1529) (625) [SCAL] (1) $SEV_85 = avaSig.realToBoolean.u >= avaSig.realToBoolean.threshold ($RES_EVT_1788) (626) [SCAL] (1) 0.0 = sum(theFolNeg.vol.dynBal.ports.m_flow) ($RES_$AUX_1528) (627) [SCAL] (1) -theFolNeg.vol.heatPort.Q_flow = sum(theFolNeg.vol.dynBal.ports_H_flow) ($RES_$AUX_1527) (628) [SCAL] (1) theFolNeg.eneCon.assFue.abs1.y = abs(theFolNeg.eneCon.assFue.abs1.u) ($RES_$AUX_1526) (629) [SCAL] (1) $SEV_82 = time >= $PRE.valDat.nextTimeEvent ($RES_EVT_1785) (630) [SCAL] (1) theFolNeg.eneCon.switch4.u3 = Buildings.Utilities.Math.Functions.polynomial(theFolNeg.eneCon.switch3.u3, theFolNeg.eneCon.opeModBas.masFloAir.a) ($RES_$AUX_1525) (631) [SCAL] (1) $FUN_28 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.staBy.inPort.set) ($RES_$AUX_1524) (632) [SCAL] (1) $FUN_29 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.staBy.outPort.reset) ($RES_$AUX_1523) (633) [SCAL] (1) $FUN_30 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.pumOn.inPort.set) ($RES_$AUX_1522) (634) [SCAL] (1) $SEV_78 = not $PRE.theFolNeg.eneCon.assFue.hys.y and theFolNeg.eneCon.assFue.abs1.y > theFolNeg.eneCon.assFue.hys.uHigh or $PRE.theFolNeg.eneCon.assFue.hys.y and theFolNeg.eneCon.assFue.abs1.y >= theFolNeg.eneCon.assFue.hys.uLow ($RES_EVT_1781) (635) [SCAL] (1) $FUN_31 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.pumOn.outPort.reset) ($RES_$AUX_1521) (636) [SCAL] (1) $SEV_77 = (-0.01) + theFolNeg.eneCon.opeModBas.etaE.y < (-0.005) ($RES_EVT_1780) (637) [SCAL] (1) $FUN_32 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.warUp.inPort.set) ($RES_$AUX_1520) (638) [SCAL] (1) $TEV_79 = $PRE.avaSig.combiTimeTable.nextTimeEventScaled ($RES_EVT_1693) (639) [SCAL] (1) $TEV_78 = $PRE.valDat.nextTimeEventScaled ($RES_EVT_1692) (640) [SCAL] (1) $TEV_77 = $PRE.theFol.eneCon.assFue.hys.y ($RES_EVT_1691) (641) [SCAL] (1) $TEV_76 = $PRE.theFol.opeMod.staBy.newActive ($RES_EVT_1690) (642) [ARRY] (2) theFolNeg.vol.dynBal.ports.p = theFolNeg.vol.ports.p ($RES_SIM_1135) (643) [FOR-] (2) ($RES_SIM_1133) (643) [----] for $i1 in 1:2 loop (643) [----] [SCAL] (1) theFolNeg.vol.dynBal.ports[$i1].m_flow - theFolNeg.vol.ports[$i1].m_flow = 0.0 ($RES_SIM_1134) (643) [----] end for; (644) [SCAL] (1) theFolNeg.vol.dynBal.ports[1].h_outflow = theFolNeg.vol.ports[1].h_outflow ($RES_SIM_1132) (645) [SCAL] (1) theFolNeg.vol.dynBal.ports[2].h_outflow = theFolNeg.vol.ports[2].h_outflow ($RES_SIM_1131) (646) [SCAL] (1) theFolNeg.opeMod.nor.outPort[1].available = theFolNeg.opeMod.transition8.inPort.available ($RES_SIM_1045) (647) [SCAL] (1) theFolNeg.opeMod.nor.outPort[1].reset = theFolNeg.opeMod.transition8.outPort.set ($RES_SIM_1044) (648) [SCAL] (1) theFolNeg.opeMod.plaOff.outPort[1].available = theFolNeg.opeMod.transition1.inPort.available ($RES_SIM_1043) (649) [SCAL] (1) theFolNeg.opeMod.plaOff.outPort[1].reset = theFolNeg.opeMod.transition1.outPort.set ($RES_SIM_1042) (650) [SCAL] (1) theFolNeg.opeMod.transition6.outPort.occupied = theFolNeg.opeMod.nor.inPort[1].occupied ($RES_SIM_1041) (651) [SCAL] (1) theFolNeg.opeMod.transition6.outPort.set = theFolNeg.opeMod.nor.inPort[1].set ($RES_SIM_1040) (652) [SCAL] (1) $SEV_76 = (-0.01) + theFolNeg.eneCon.opeModBas.etaE.y > 0.005 ($RES_EVT_1779) (653) [SCAL] (1) $SEV_151 = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp or theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_EVT_1861) (654) [SCAL] (1) $FUN_33 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.warUp.outPort.reset) ($RES_$AUX_1519) (655) [SCAL] (1) $SEV_75 = (-0.01) + theFolNeg.eneCon.opeModBas.etaQ.y < (-0.005) ($RES_EVT_1778) (656) [SCAL] (1) $SEV_150 = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_EVT_1860) (657) [SCAL] (1) $FUN_34 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.cooDow.inPort.set) ($RES_$AUX_1518) (658) [SCAL] (1) $SEV_74 = (-0.01) + theFolNeg.eneCon.opeModBas.etaQ.y > 0.005 ($RES_EVT_1777) (659) [SCAL] (1) $FUN_35 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.cooDow.outPort.reset) ($RES_$AUX_1517) (660) [SCAL] (1) $SEV_73 = $FUN_28 or theFolNeg.opeMod.staBy.outerStatePort.localActive and not $FUN_29 ($RES_EVT_1776) (661) [SCAL] (1) theFol.opeMod.transition3.outPort.occupied = theFol.opeMod.plaOff.inPort[1].occupied ($RES_SIM_1305) (662) [SCAL] (1) $FUN_36 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.nor.inPort.set) ($RES_$AUX_1516) (663) [SCAL] (1) theFol.opeMod.transition3.outPort.set = theFol.opeMod.plaOff.inPort[1].set ($RES_SIM_1304) (664) [SCAL] (1) $FUN_37 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.nor.outPort.reset) ($RES_$AUX_1515) (665) [FOR-] (2) ($RES_EVT_1774) (665) [----] for $i1 in 1:2 loop (665) [----] [SCAL] (1) $SEV_72[$i1] = theFolNeg.opeMod.staBy.outPort[$i1 - 1].available and not theFolNeg.opeMod.staBy.outPort[$i1 - 1].reset ($RES_EVT_1775) (665) [----] end for; (666) [SCAL] (1) theFol.opeMod.transition5.outPort.occupied = theFol.opeMod.plaOff.inPort[2].occupied ($RES_SIM_1303) (667) [SCAL] (1) $FUN_38 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.plaOff.inPort.set) ($RES_$AUX_1514) (668) [SCAL] (1) $SEV_71 = $FUN_30 or theFolNeg.opeMod.pumOn.outerStatePort.localActive and not $FUN_31 ($RES_EVT_1773) (669) [SCAL] (1) theFol.opeMod.transition5.outPort.set = theFol.opeMod.plaOff.inPort[2].set ($RES_SIM_1302) (670) [SCAL] (1) $FUN_39 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.plaOff.outPort.reset) ($RES_$AUX_1513) (671) [SCAL] (1) $TEV_75 = $PRE.theFol.opeMod.staBy.outerStatePort.localActive ($RES_EVT_1689) (672) [SCAL] (1) theFol.opeMod.transition10.outPort.occupied = theFol.opeMod.plaOff.inPort[3].occupied ($RES_SIM_1301) (673) [SCAL] (1) theFolNeg.fil.assPow.abs1.y = abs(theFolNeg.fil.assPow.abs1.u) ($RES_$AUX_1512) (674) [FOR-] (2) ($RES_EVT_1771) (674) [----] for $i1 in 1:2 loop (674) [----] [SCAL] (1) $SEV_70[$i1] = theFolNeg.opeMod.pumOn.outPort[$i1 - 1].available and not theFolNeg.opeMod.pumOn.outPort[$i1 - 1].reset ($RES_EVT_1772) (674) [----] end for; (675) [SCAL] (1) $TEV_74 = $PRE.theFol.opeMod.staBy.oldActive ($RES_EVT_1688) (676) [SCAL] (1) theFol.opeMod.transition10.outPort.set = theFol.opeMod.plaOff.inPort[3].set ($RES_SIM_1300) (677) [SCAL] (1) $SEV_69 = $FUN_32 or theFolNeg.opeMod.warUp.outerStatePort.localActive and not $FUN_33 ($RES_EVT_1770) (678) [SCAL] (1) $TEV_73 = $PRE.theFol.opeMod.pumOn.newActive ($RES_EVT_1687) (679) [SCAL] (1) $TEV_72 = $PRE.theFol.opeMod.pumOn.outerStatePort.localActive ($RES_EVT_1686) (680) [SCAL] (1) $TEV_71 = $PRE.theFol.opeMod.pumOn.oldActive ($RES_EVT_1685) (681) [SCAL] (1) $TEV_70 = $PRE.theFol.opeMod.warUp.newActive ($RES_EVT_1684) (682) [SCAL] (1) $TEV_69 = $PRE.theFol.opeMod.warUp.outerStatePort.localActive ($RES_EVT_1683) (683) [SCAL] (1) $TEV_68 = $PRE.theFol.opeMod.warUp.oldActive ($RES_EVT_1682) (684) [SCAL] (1) $TEV_67 = $PRE.theFol.opeMod.cooDow.newActive ($RES_EVT_1681) (685) [SCAL] (1) $TEV_66 = $PRE.theFol.opeMod.cooDow.outerStatePort.localActive ($RES_EVT_1680) (686) [SCAL] (1) $SEV_149 = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off or theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_EVT_1859) (687) [SCAL] (1) $SEV_148 = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_EVT_1858) (688) [SCAL] (1) $SEV_147 = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy or theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown ($RES_EVT_1857) (689) [SCAL] (1) $SEV_146 = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp or theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_EVT_1856) (690) [SCAL] (1) $SEV_145 = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_EVT_1855) (691) [SCAL] (1) $SEV_144 = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off or theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_EVT_1854) (692) [SCAL] (1) $SEV_143 = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_EVT_1853) (693) [SCAL] (1) $SEV_142 = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy or theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown ($RES_EVT_1852) (694) [FOR-] (2) ($RES_EVT_1768) (694) [----] for $i1 in 1:2 loop (694) [----] [SCAL] (1) $SEV_68[$i1] = theFolNeg.opeMod.warUp.inPort[$i1 - 1].occupied or theFolNeg.opeMod.warUp.inPort[$i1 - 1].set ($RES_EVT_1769) (694) [----] end for; (695) [FOR-] (2) ($RES_EVT_1766) (695) [----] for $i1 in 1:2 loop (695) [----] [SCAL] (1) $SEV_67[$i1] = theFolNeg.opeMod.warUp.outPort[$i1 - 1].available and not theFolNeg.opeMod.warUp.outPort[$i1 - 1].reset ($RES_EVT_1767) (695) [----] end for; (696) [SCAL] (1) $SEV_66 = $FUN_34 or theFolNeg.opeMod.cooDow.outerStatePort.localActive and not $FUN_35 ($RES_EVT_1765) (697) [FOR-] (2) ($RES_EVT_1763) (697) [----] for $i1 in 1:2 loop (697) [----] [SCAL] (1) $SEV_65[$i1] = theFolNeg.opeMod.cooDow.inPort[$i1 - 1].occupied or theFolNeg.opeMod.cooDow.inPort[$i1 - 1].set ($RES_EVT_1764) (697) [----] end for; (698) [SCAL] (1) $TEV_65 = $PRE.theFol.opeMod.cooDow.oldActive ($RES_EVT_1679) (699) [FOR-] (2) ($RES_EVT_1761) (699) [----] for $i1 in 1:2 loop (699) [----] [SCAL] (1) $SEV_64[$i1] = theFolNeg.opeMod.cooDow.outPort[$i1 - 1].available and not theFolNeg.opeMod.cooDow.outPort[$i1 - 1].reset ($RES_EVT_1762) (699) [----] end for; (700) [SCAL] (1) $TEV_64 = $PRE.theFol.opeMod.hys.y ($RES_EVT_1678) (701) [SCAL] (1) $TEV_63 = $PRE.theFol.opeMod.transition3.outPort.set ($RES_EVT_1677) (702) [SCAL] (1) $TEV_62 = $PRE.theFol.opeMod.transition5.outPort.set ($RES_EVT_1676) (703) [SCAL] (1) $TEV_61 = $PRE.theFol.opeMod.transition9.outPort.set ($RES_EVT_1675) (704) [SCAL] (1) $TEV_60 = $PRE.theFol.opeMod.transition7.outPort.set ($RES_EVT_1674) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 614 var 2 --> eqn 698 var 3 --> eqn 249 var 4 --> eqn 700 var 5 --> eqn 274 var 6 --> eqn 718 var 7 --> eqn 721 var 8 --> eqn 724 var 9 --> eqn 389 var 10 --> eqn 726 var 11 --> eqn 735 var 12 --> eqn 517 var 13 --> eqn 548 var 14 --> eqn 214 var 15 --> eqn 640 var 16 --> eqn 560 var 17 --> eqn 509 var 18 --> eqn 324 var 19 --> eqn 598 var 20 --> eqn 304 var 21 --> eqn 343 var 22 --> eqn 402 var 23 --> eqn 490 var 24 --> eqn 523 var 25 --> eqn 466 var 26 --> eqn 745 var 27 --> eqn 528 var 28 --> eqn 532 var 29 --> eqn 533 var 30 --> eqn 431 var 31 --> eqn 766 var 32 --> eqn 365 var 33 --> eqn 712 var 34 --> eqn 15 var 35 --> eqn 17 var 36 --> eqn 250 var 37 --> eqn 251 var 38 --> eqn 18 var 39 --> eqn 232 var 40 --> eqn 326 var 41 --> eqn 510 var 42 --> eqn 727 var 43 --> eqn 447 var 44 --> eqn 321 var 45 --> eqn 648 var 46 --> eqn 501 var 47 --> eqn 404 var 48 --> eqn 238 var 49 --> eqn 19 var 50 --> eqn 20 var 51 --> eqn 21 var 52 --> eqn 22 var 53 --> eqn 24 var 54 --> eqn 464 var 55 --> eqn 667 var 56 --> eqn 445 var 57 --> eqn 26 var 58 --> eqn 427 var 59 --> eqn 539 var 60 --> eqn 51 var 61 --> eqn 201 var 62 --> eqn 52 var 63 --> eqn 187 var 64 --> eqn 55 var 65 --> eqn 56 var 66 --> eqn 173 var 67 --> eqn 299 var 68 --> eqn 259 var 69 --> eqn 707 var 70 --> eqn 364 var 71 --> eqn 84 var 72 --> eqn 442 var 73 --> eqn 470 var 74 --> eqn 463 var 75 --> eqn 279 var 76 --> eqn 529 var 77 --> eqn 505 var 78 --> eqn 606 var 79 --> eqn 219 var 80 --> eqn 597 var 81 --> eqn 57 var 82 --> eqn 58 var 83 --> eqn 59 var 84 --> eqn 60 var 85 --> eqn 416 var 86 --> eqn 62 var 87 --> eqn 213 var 88 --> eqn 355 var 89 --> eqn 64 var 90 --> eqn 13 var 91 --> eqn 14 var 92 --> eqn 99 var 93 --> eqn 100 var 94 --> eqn 346 var 95 --> eqn 46 var 96 --> eqn 47 var 97 --> eqn 53 var 98 --> eqn 54 var 99 --> eqn 594 var 100 --> eqn 237 var 101 --> eqn 480 var 102 --> eqn 424 var 103 --> eqn 661 var 104 --> eqn 662 var 105 --> eqn 737 var 106 --> eqn 101 var 107 --> eqn 260 var 108 --> eqn 430 var 109 --> eqn 734 var 110 --> eqn 102 var 111 --> eqn 730 var 112 --> eqn 104 var 113 --> eqn 557 var 114 --> eqn 643 var 115 --> eqn 728 var 116 --> eqn 106 var 117 --> eqn 725 var 118 --> eqn 123 var 119 --> eqn 723 var 120 --> eqn 125 var 121 --> eqn 503 var 122 --> eqn 720 var 123 --> eqn 127 var 124 --> eqn 701 var 125 --> eqn 699 var 126 --> eqn 128 var 127 --> eqn 697 var 128 --> eqn 129 var 129 --> eqn 439 var 130 --> eqn 369 var 131 --> eqn 172 var 132 --> eqn 241 var 133 --> eqn 328 var 134 --> eqn 357 var 135 --> eqn 441 var 136 --> eqn 428 var 137 --> eqn 272 var 138 --> eqn 549 var 139 --> eqn 550 var 140 --> eqn 513 var 141 --> eqn 391 var 142 --> eqn 397 var 143 --> eqn 567 var 144 --> eqn 568 var 145 --> eqn 492 var 146 --> eqn 493 var 147 --> eqn 494 var 148 --> eqn 181 var 149 --> eqn 621 var 150 --> eqn 696 var 151 --> eqn 130 var 152 --> eqn 695 var 153 --> eqn 131 var 154 --> eqn 133 var 155 --> eqn 135 var 156 --> eqn 153 var 157 --> eqn 293 var 158 --> eqn 686 var 159 --> eqn 358 var 160 --> eqn 610 var 161 --> eqn 601 var 162 --> eqn 400 var 163 --> eqn 305 var 164 --> eqn 454 var 165 --> eqn 458 var 166 --> eqn 563 var 167 --> eqn 678 var 168 --> eqn 676 var 169 --> eqn 674 var 170 --> eqn 672 var 171 --> eqn 671 var 172 --> eqn 622 var 173 --> eqn 668 var 174 --> eqn 658 var 175 --> eqn 370 var 176 --> eqn 657 var 177 --> eqn 655 var 178 --> eqn 521 var 179 --> eqn 491 var 180 --> eqn 465 var 181 --> eqn 481 var 182 --> eqn 581 var 183 --> eqn 79 var 184 --> eqn 770 var 185 --> eqn 771 var 186 --> eqn 764 var 187 --> eqn 765 var 188 --> eqn 564 var 189 --> eqn 177 var 190 --> eqn 266 var 191 --> eqn 290 var 192 --> eqn 291 var 193 --> eqn 628 var 194 --> eqn 583 var 195 --> eqn 280 var 196 --> eqn 197 var 197 --> eqn 468 var 198 --> eqn 401 var 199 --> eqn 297 var 200 --> eqn 522 var 201 --> eqn 318 var 202 --> eqn 319 var 203 --> eqn 482 var 204 --> eqn 349 var 205 --> eqn 403 var 206 --> eqn 656 var 207 --> eqn 514 var 208 --> eqn 618 var 209 --> eqn 292 var 210 --> eqn 283 var 211 --> eqn 590 var 212 --> eqn 460 var 213 --> eqn 461 var 214 --> eqn 265 var 215 --> eqn 390 var 216 --> eqn 296 var 217 --> eqn 418 var 218 --> eqn 252 var 219 --> eqn 540 var 220 --> eqn 511 var 221 --> eqn 210 var 222 --> eqn 408 var 223 --> eqn 351 var 224 --> eqn 352 var 225 --> eqn 174 var 226 --> eqn 340 var 227 --> eqn 82 var 228 --> eqn 477 var 229 --> eqn 335 var 230 --> eqn 486 var 231 --> eqn 162 var 232 --> eqn 221 var 233 --> eqn 544 var 234 --> eqn 163 var 235 --> eqn 164 var 236 --> eqn 165 var 237 --> eqn 166 var 238 --> eqn 167 var 239 --> eqn 168 var 240 --> eqn 307 var 241 --> eqn 308 var 242 --> eqn 169 var 243 --> eqn 520 var 244 --> eqn 170 var 245 --> eqn 171 var 246 --> eqn 333 var 247 --> eqn 473 var 248 --> eqn 612 var 249 --> eqn 588 var 250 --> eqn 459 var 251 --> eqn 426 var 252 --> eqn 375 var 253 --> eqn 376 var 254 --> eqn 377 var 255 --> eqn 378 var 256 --> eqn 379 var 257 --> eqn 380 var 258 --> eqn 381 var 259 --> eqn 382 var 260 --> eqn 383 var 261 --> eqn 384 var 262 --> eqn 385 var 263 --> eqn 386 var 264 --> eqn 719 var 265 --> eqn 722 var 266 --> eqn 258 var 267 --> eqn 275 var 268 --> eqn 317 var 269 --> eqn 474 var 270 --> eqn 202 var 271 --> eqn 420 var 272 --> eqn 234 var 273 --> eqn 78 var 274 --> eqn 278 var 275 --> eqn 754 var 276 --> eqn 755 var 277 --> eqn 469 var 278 --> eqn 756 var 279 --> eqn 757 var 280 --> eqn 267 var 281 --> eqn 758 var 282 --> eqn 649 var 283 --> eqn 759 var 284 --> eqn 585 var 285 --> eqn 555 var 286 --> eqn 556 var 287 --> eqn 760 var 288 --> eqn 761 var 289 --> eqn 551 var 290 --> eqn 495 var 291 --> eqn 559 var 292 --> eqn 338 var 293 --> eqn 193 var 294 --> eqn 194 var 295 --> eqn 195 var 296 --> eqn 303 var 297 --> eqn 356 var 298 --> eqn 456 var 299 --> eqn 309 var 300 --> eqn 276 var 301 --> eqn 5 var 302 --> eqn 6 var 303 --> eqn 7 var 304 --> eqn 394 var 305 --> eqn 8 var 306 --> eqn 216 var 307 --> eqn 9 var 308 --> eqn 208 var 309 --> eqn 218 var 310 --> eqn 10 var 311 --> eqn 562 var 312 --> eqn 429 var 313 --> eqn 16 var 314 --> eqn 393 var 315 --> eqn 203 var 316 --> eqn 287 var 317 --> eqn 334 var 318 --> eqn 433 var 319 --> eqn 207 var 320 --> eqn 44 var 321 --> eqn 546 var 322 --> eqn 479 var 323 --> eqn 739 var 324 --> eqn 86 var 325 --> eqn 43 var 326 --> eqn 642 var 327 --> eqn 659 var 328 --> eqn 50 var 329 --> eqn 246 var 330 --> eqn 83 var 331 --> eqn 35 var 332 --> eqn 85 var 333 --> eqn 87 var 334 --> eqn 329 var 335 --> eqn 88 var 336 --> eqn 337 var 337 --> eqn 192 var 338 --> eqn 288 var 339 --> eqn 289 var 340 --> eqn 200 var 341 --> eqn 395 var 342 --> eqn 374 var 343 --> eqn 663 var 344 --> eqn 664 var 345 --> eqn 189 var 346 --> eqn 38 var 347 --> eqn 191 var 348 --> eqn 524 var 349 --> eqn 569 var 350 --> eqn 570 var 351 --> eqn 263 var 352 --> eqn 89 var 353 --> eqn 608 var 354 --> eqn 90 var 355 --> eqn 372 var 356 --> eqn 91 var 357 --> eqn 95 var 358 --> eqn 115 var 359 --> eqn 116 var 360 --> eqn 117 var 361 --> eqn 176 var 362 --> eqn 519 var 363 --> eqn 118 var 364 --> eqn 119 var 365 --> eqn 120 var 366 --> eqn 243 var 367 --> eqn 478 var 368 --> eqn 209 var 369 --> eqn 36 var 370 --> eqn 48 var 371 --> eqn 49 var 372 --> eqn 80 var 373 --> eqn 81 var 374 --> eqn 506 var 375 --> eqn 40 var 376 --> eqn 301 var 377 --> eqn 121 var 378 --> eqn 215 var 379 --> eqn 122 var 380 --> eqn 398 var 381 --> eqn 124 var 382 --> eqn 451 var 383 --> eqn 126 var 384 --> eqn 144 var 385 --> eqn 148 var 386 --> eqn 565 var 387 --> eqn 566 var 388 --> eqn 554 var 389 --> eqn 255 var 390 --> eqn 149 var 391 --> eqn 145 var 392 --> eqn 146 var 393 --> eqn 147 var 394 --> eqn 150 var 395 --> eqn 518 var 396 --> eqn 151 var 397 --> eqn 353 var 398 --> eqn 406 var 399 --> eqn 248 var 400 --> eqn 530 var 401 --> eqn 531 var 402 --> eqn 496 var 403 --> eqn 497 var 404 --> eqn 498 var 405 --> eqn 300 var 406 --> eqn 475 var 407 --> eqn 446 var 408 --> eqn 313 var 409 --> eqn 457 var 410 --> eqn 217 var 411 --> eqn 553 var 412 --> eqn 198 var 413 --> eqn 96 var 414 --> eqn 97 var 415 --> eqn 98 var 416 --> eqn 261 var 417 --> eqn 688 var 418 --> eqn 350 var 419 --> eqn 361 var 420 --> eqn 77 var 421 --> eqn 178 var 422 --> eqn 684 var 423 --> eqn 448 var 424 --> eqn 575 var 425 --> eqn 423 var 426 --> eqn 767 var 427 --> eqn 768 var 428 --> eqn 762 var 429 --> eqn 763 var 430 --> eqn 571 var 431 --> eqn 647 var 432 --> eqn 572 var 433 --> eqn 682 var 434 --> eqn 561 var 435 --> eqn 578 var 436 --> eqn 731 var 437 --> eqn 732 var 438 --> eqn 507 var 439 --> eqn 331 var 440 --> eqn 577 var 441 --> eqn 359 var 442 --> eqn 302 var 443 --> eqn 366 var 444 --> eqn 311 var 445 --> eqn 312 var 446 --> eqn 37 var 447 --> eqn 541 var 448 --> eqn 285 var 449 --> eqn 286 var 450 --> eqn 435 var 451 --> eqn 576 var 452 --> eqn 502 var 453 --> eqn 281 var 454 --> eqn 282 var 455 --> eqn 230 var 456 --> eqn 680 var 457 --> eqn 211 var 458 --> eqn 392 var 459 --> eqn 236 var 460 --> eqn 74 var 461 --> eqn 76 var 462 --> eqn 268 var 463 --> eqn 229 var 464 --> eqn 512 var 465 --> eqn 407 var 466 --> eqn 188 var 467 --> eqn 413 var 468 --> eqn 316 var 469 --> eqn 39 var 470 --> eqn 264 var 471 --> eqn 330 var 472 --> eqn 387 var 473 --> eqn 602 var 474 --> eqn 245 var 475 --> eqn 444 var 476 --> eqn 434 var 477 --> eqn 409 var 478 --> eqn 536 var 479 --> eqn 277 var 480 --> eqn 75 var 481 --> eqn 244 var 482 --> eqn 702 var 483 --> eqn 703 var 484 --> eqn 320 var 485 --> eqn 704 var 486 --> eqn 705 var 487 --> eqn 738 var 488 --> eqn 743 var 489 --> eqn 746 var 490 --> eqn 747 var 491 --> eqn 748 var 492 --> eqn 360 var 493 --> eqn 709 var 494 --> eqn 749 var 495 --> eqn 388 var 496 --> eqn 714 var 497 --> eqn 440 var 498 --> eqn 452 var 499 --> eqn 453 var 500 --> eqn 692 var 501 --> eqn 708 var 502 --> eqn 690 var 503 --> eqn 222 var 504 --> eqn 223 var 505 --> eqn 437 var 506 --> eqn 205 var 507 --> eqn 499 var 508 --> eqn 179 var 509 --> eqn 591 var 510 --> eqn 552 var 511 --> eqn 750 var 512 --> eqn 751 var 513 --> eqn 752 var 514 --> eqn 753 var 515 --> eqn 527 var 516 --> eqn 769 var 517 --> eqn 772 var 518 --> eqn 773 var 519 --> eqn 257 var 520 --> eqn 774 var 521 --> eqn 175 var 522 --> eqn 775 var 523 --> eqn 776 var 524 --> eqn 225 var 525 --> eqn 226 var 526 --> eqn 534 var 527 --> eqn 535 var 528 --> eqn 199 var 529 --> eqn 354 var 530 --> eqn 421 var 531 --> eqn 716 var 532 --> eqn 645 var 533 --> eqn 644 var 534 --> eqn 710 var 535 --> eqn 711 var 536 --> eqn 417 var 537 --> eqn 593 var 538 --> eqn 1 var 539 --> eqn 624 var 540 --> eqn 2 var 541 --> eqn 284 var 542 --> eqn 3 var 543 --> eqn 4 var 544 --> eqn 23 var 545 --> eqn 25 var 546 --> eqn 27 var 547 --> eqn 28 var 548 --> eqn 29 var 549 --> eqn 336 var 550 --> eqn 638 var 551 --> eqn 30 var 552 --> eqn 367 var 553 --> eqn 368 var 554 --> eqn 269 var 555 --> eqn 341 var 556 --> eqn 600 var 557 --> eqn 220 var 558 --> eqn 542 var 559 --> eqn 483 var 560 --> eqn 415 var 561 --> eqn 231 var 562 --> eqn 31 var 563 --> eqn 32 var 564 --> eqn 206 var 565 --> eqn 33 var 566 --> eqn 34 var 567 --> eqn 61 var 568 --> eqn 63 var 569 --> eqn 547 var 570 --> eqn 182 var 571 --> eqn 65 var 572 --> eqn 66 var 573 --> eqn 41 var 574 --> eqn 42 var 575 --> eqn 67 var 576 --> eqn 68 var 577 --> eqn 339 var 578 --> eqn 373 var 579 --> eqn 414 var 580 --> eqn 204 var 581 --> eqn 487 var 582 --> eqn 227 var 583 --> eqn 543 var 584 --> eqn 515 var 585 --> eqn 240 var 586 --> eqn 471 var 587 --> eqn 500 var 588 --> eqn 545 var 589 --> eqn 45 var 590 --> eqn 69 var 591 --> eqn 371 var 592 --> eqn 70 var 593 --> eqn 71 var 594 --> eqn 72 var 595 --> eqn 103 var 596 --> eqn 105 var 597 --> eqn 107 var 598 --> eqn 108 var 599 --> eqn 109 var 600 --> eqn 595 var 601 --> eqn 110 var 602 --> eqn 589 var 603 --> eqn 462 var 604 --> eqn 396 var 605 --> eqn 488 var 606 --> eqn 73 var 607 --> eqn 325 var 608 --> eqn 489 var 609 --> eqn 235 var 610 --> eqn 653 var 611 --> eqn 634 var 612 --> eqn 651 var 613 --> eqn 419 var 614 --> eqn 646 var 615 --> eqn 650 var 616 --> eqn 256 var 617 --> eqn 111 var 618 --> eqn 641 var 619 --> eqn 112 var 620 --> eqn 574 var 621 --> eqn 484 var 622 --> eqn 332 var 623 --> eqn 113 var 624 --> eqn 114 var 625 --> eqn 132 var 626 --> eqn 134 var 627 --> eqn 136 var 628 --> eqn 137 var 629 --> eqn 314 var 630 --> eqn 138 var 631 --> eqn 139 var 632 --> eqn 327 var 633 --> eqn 242 var 634 --> eqn 92 var 635 --> eqn 93 var 636 --> eqn 94 var 637 --> eqn 140 var 638 --> eqn 295 var 639 --> eqn 691 var 640 --> eqn 141 var 641 --> eqn 142 var 642 --> eqn 143 var 643 --> eqn 504 var 644 --> eqn 271 var 645 --> eqn 156 var 646 --> eqn 157 var 647 --> eqn 184 var 648 --> eqn 158 var 649 --> eqn 159 var 650 --> eqn 160 var 651 --> eqn 161 var 652 --> eqn 616 var 653 --> eqn 582 var 654 --> eqn 604 var 655 --> eqn 472 var 656 --> eqn 587 var 657 --> eqn 233 var 658 --> eqn 438 var 659 --> eqn 537 var 660 --> eqn 11 var 661 --> eqn 12 var 662 --> eqn 516 var 663 --> eqn 347 var 664 --> eqn 348 var 665 --> eqn 412 var 666 --> eqn 180 var 667 --> eqn 298 var 668 --> eqn 262 var 669 --> eqn 584 var 670 --> eqn 652 var 671 --> eqn 741 var 672 --> eqn 742 var 673 --> eqn 322 var 674 --> eqn 323 var 675 --> eqn 626 var 676 --> eqn 294 var 677 --> eqn 432 var 678 --> eqn 422 var 679 --> eqn 508 var 680 --> eqn 573 var 681 --> eqn 436 var 682 --> eqn 525 var 683 --> eqn 580 var 684 --> eqn 247 var 685 --> eqn 740 var 686 --> eqn 630 var 687 --> eqn 399 var 688 --> eqn 538 var 689 --> eqn 270 var 690 --> eqn 239 var 691 --> eqn 224 var 692 --> eqn 410 var 693 --> eqn 733 var 694 --> eqn 152 var 695 --> eqn 154 var 696 --> eqn 155 var 697 --> eqn 666 var 698 --> eqn 669 var 699 --> eqn 673 var 700 --> eqn 675 var 701 --> eqn 677 var 702 --> eqn 679 var 703 --> eqn 632 var 704 --> eqn 636 var 705 --> eqn 476 var 706 --> eqn 660 var 707 --> eqn 706 var 708 --> eqn 579 var 709 --> eqn 315 var 710 --> eqn 455 var 711 --> eqn 443 var 712 --> eqn 253 var 713 --> eqn 254 var 714 --> eqn 526 var 715 --> eqn 586 var 716 --> eqn 411 var 717 --> eqn 345 var 718 --> eqn 681 var 719 --> eqn 683 var 720 --> eqn 306 var 721 --> eqn 694 var 722 --> eqn 685 var 723 --> eqn 212 var 724 --> eqn 687 var 725 --> eqn 689 var 726 --> eqn 342 var 727 --> eqn 693 var 728 --> eqn 186 var 729 --> eqn 485 var 730 --> eqn 273 var 731 --> eqn 449 var 732 --> eqn 450 var 733 --> eqn 425 var 734 --> eqn 467 var 735 --> eqn 558 var 736 --> eqn 228 equation to variable ********************** eqn 1 --> var 538 eqn 2 --> var 540 eqn 3 --> var 542 eqn 4 --> var 543 eqn 5 --> var 301 eqn 6 --> var 302 eqn 7 --> var 303 eqn 8 --> var 305 eqn 9 --> var 307 eqn 10 --> var 310 eqn 11 --> var 660 eqn 12 --> var 661 eqn 13 --> var 90 eqn 14 --> var 91 eqn 15 --> var 34 eqn 16 --> var 313 eqn 17 --> var 35 eqn 18 --> var 38 eqn 19 --> var 49 eqn 20 --> var 50 eqn 21 --> var 51 eqn 22 --> var 52 eqn 23 --> var 544 eqn 24 --> var 53 eqn 25 --> var 545 eqn 26 --> var 57 eqn 27 --> var 546 eqn 28 --> var 547 eqn 29 --> var 548 eqn 30 --> var 551 eqn 31 --> var 562 eqn 32 --> var 563 eqn 33 --> var 565 eqn 34 --> var 566 eqn 35 --> var 331 eqn 36 --> var 369 eqn 37 --> var 446 eqn 38 --> var 346 eqn 39 --> var 469 eqn 40 --> var 375 eqn 41 --> var 573 eqn 42 --> var 574 eqn 43 --> var 325 eqn 44 --> var 320 eqn 45 --> var 589 eqn 46 --> var 95 eqn 47 --> var 96 eqn 48 --> var 370 eqn 49 --> var 371 eqn 50 --> var 328 eqn 51 --> var 60 eqn 52 --> var 62 eqn 53 --> var 97 eqn 54 --> var 98 eqn 55 --> var 64 eqn 56 --> var 65 eqn 57 --> var 81 eqn 58 --> var 82 eqn 59 --> var 83 eqn 60 --> var 84 eqn 61 --> var 567 eqn 62 --> var 86 eqn 63 --> var 568 eqn 64 --> var 89 eqn 65 --> var 571 eqn 66 --> var 572 eqn 67 --> var 575 eqn 68 --> var 576 eqn 69 --> var 590 eqn 70 --> var 592 eqn 71 --> var 593 eqn 72 --> var 594 eqn 73 --> var 606 eqn 74 --> var 460 eqn 75 --> var 480 eqn 76 --> var 461 eqn 77 --> var 420 eqn 78 --> var 273 eqn 79 --> var 183 eqn 80 --> var 372 eqn 81 --> var 373 eqn 82 --> var 227 eqn 83 --> var 330 eqn 84 --> var 71 eqn 85 --> var 332 eqn 86 --> var 324 eqn 87 --> var 333 eqn 88 --> var 335 eqn 89 --> var 352 eqn 90 --> var 354 eqn 91 --> var 356 eqn 92 --> var 634 eqn 93 --> var 635 eqn 94 --> var 636 eqn 95 --> var 357 eqn 96 --> var 413 eqn 97 --> var 414 eqn 98 --> var 415 eqn 99 --> var 92 eqn 100 --> var 93 eqn 101 --> var 106 eqn 102 --> var 110 eqn 103 --> var 595 eqn 104 --> var 112 eqn 105 --> var 596 eqn 106 --> var 116 eqn 107 --> var 597 eqn 108 --> var 598 eqn 109 --> var 599 eqn 110 --> var 601 eqn 111 --> var 617 eqn 112 --> var 619 eqn 113 --> var 623 eqn 114 --> var 624 eqn 115 --> var 358 eqn 116 --> var 359 eqn 117 --> var 360 eqn 118 --> var 363 eqn 119 --> var 364 eqn 120 --> var 365 eqn 121 --> var 377 eqn 122 --> var 379 eqn 123 --> var 118 eqn 124 --> var 381 eqn 125 --> var 120 eqn 126 --> var 383 eqn 127 --> var 123 eqn 128 --> var 126 eqn 129 --> var 128 eqn 130 --> var 151 eqn 131 --> var 153 eqn 132 --> var 625 eqn 133 --> var 154 eqn 134 --> var 626 eqn 135 --> var 155 eqn 136 --> var 627 eqn 137 --> var 628 eqn 138 --> var 630 eqn 139 --> var 631 eqn 140 --> var 637 eqn 141 --> var 640 eqn 142 --> var 641 eqn 143 --> var 642 eqn 144 --> var 384 eqn 145 --> var 391 eqn 146 --> var 392 eqn 147 --> var 393 eqn 148 --> var 385 eqn 149 --> var 390 eqn 150 --> var 394 eqn 151 --> var 396 eqn 152 --> var 694 eqn 153 --> var 156 eqn 154 --> var 695 eqn 155 --> var 696 eqn 156 --> var 645 eqn 157 --> var 646 eqn 158 --> var 648 eqn 159 --> var 649 eqn 160 --> var 650 eqn 161 --> var 651 eqn 162 --> var 231 eqn 163 --> var 234 eqn 164 --> var 235 eqn 165 --> var 236 eqn 166 --> var 237 eqn 167 --> var 238 eqn 168 --> var 239 eqn 169 --> var 242 eqn 170 --> var 244 eqn 171 --> var 245 eqn 172 --> var 131 eqn 173 --> var 66 eqn 174 --> var 225 eqn 175 --> var 521 eqn 176 --> var 361 eqn 177 --> var 189 eqn 178 --> var 421 eqn 179 --> var 508 eqn 180 --> var 666 eqn 181 --> var 148 eqn 182 --> var 570 eqn 183 --> var -1 eqn 184 --> var 647 eqn 185 --> var -1 eqn 186 --> var 728 eqn 187 --> var 63 eqn 188 --> var 466 eqn 189 --> var 345 eqn 190 --> var -1 eqn 191 --> var 347 eqn 192 --> var 337 eqn 193 --> var 293 eqn 194 --> var 294 eqn 195 --> var 295 eqn 196 --> var -1 eqn 197 --> var 196 eqn 198 --> var 412 eqn 199 --> var 528 eqn 200 --> var 340 eqn 201 --> var 61 eqn 202 --> var 270 eqn 203 --> var 315 eqn 204 --> var 580 eqn 205 --> var 506 eqn 206 --> var 564 eqn 207 --> var 319 eqn 208 --> var 308 eqn 209 --> var 368 eqn 210 --> var 221 eqn 211 --> var 457 eqn 212 --> var 723 eqn 213 --> var 87 eqn 214 --> var 14 eqn 215 --> var 378 eqn 216 --> var 306 eqn 217 --> var 410 eqn 218 --> var 309 eqn 219 --> var 79 eqn 220 --> var 557 eqn 221 --> var 232 eqn 222 --> var 503 eqn 223 --> var 504 eqn 224 --> var 691 eqn 225 --> var 524 eqn 226 --> var 525 eqn 227 --> var 582 eqn 228 --> var 736 eqn 229 --> var 463 eqn 230 --> var 455 eqn 231 --> var 561 eqn 232 --> var 39 eqn 233 --> var 657 eqn 234 --> var 272 eqn 235 --> var 609 eqn 236 --> var 459 eqn 237 --> var 100 eqn 238 --> var 48 eqn 239 --> var 690 eqn 240 --> var 585 eqn 241 --> var 132 eqn 242 --> var 633 eqn 243 --> var 366 eqn 244 --> var 481 eqn 245 --> var 474 eqn 246 --> var 329 eqn 247 --> var 684 eqn 248 --> var 399 eqn 249 --> var 3 eqn 250 --> var 36 eqn 251 --> var 37 eqn 252 --> var 218 eqn 253 --> var 712 eqn 254 --> var 713 eqn 255 --> var 389 eqn 256 --> var 616 eqn 257 --> var 519 eqn 258 --> var 266 eqn 259 --> var 68 eqn 260 --> var 107 eqn 261 --> var 416 eqn 262 --> var 668 eqn 263 --> var 351 eqn 264 --> var 470 eqn 265 --> var 214 eqn 266 --> var 190 eqn 267 --> var 280 eqn 268 --> var 462 eqn 269 --> var 554 eqn 270 --> var 689 eqn 271 --> var 644 eqn 272 --> var 137 eqn 273 --> var 730 eqn 274 --> var 5 eqn 275 --> var 267 eqn 276 --> var 300 eqn 277 --> var 479 eqn 278 --> var 274 eqn 279 --> var 75 eqn 280 --> var 195 eqn 281 --> var 453 eqn 282 --> var 454 eqn 283 --> var 210 eqn 284 --> var 541 eqn 285 --> var 448 eqn 286 --> var 449 eqn 287 --> var 316 eqn 288 --> var 338 eqn 289 --> var 339 eqn 290 --> var 191 eqn 291 --> var 192 eqn 292 --> var 209 eqn 293 --> var 157 eqn 294 --> var 676 eqn 295 --> var 638 eqn 296 --> var 216 eqn 297 --> var 199 eqn 298 --> var 667 eqn 299 --> var 67 eqn 300 --> var 405 eqn 301 --> var 376 eqn 302 --> var 442 eqn 303 --> var 296 eqn 304 --> var 20 eqn 305 --> var 163 eqn 306 --> var 720 eqn 307 --> var 240 eqn 308 --> var 241 eqn 309 --> var 299 eqn 310 --> var -1 eqn 311 --> var 444 eqn 312 --> var 445 eqn 313 --> var 408 eqn 314 --> var 629 eqn 315 --> var 709 eqn 316 --> var 468 eqn 317 --> var 268 eqn 318 --> var 201 eqn 319 --> var 202 eqn 320 --> var 484 eqn 321 --> var 44 eqn 322 --> var 673 eqn 323 --> var 674 eqn 324 --> var 18 eqn 325 --> var 607 eqn 326 --> var 40 eqn 327 --> var 632 eqn 328 --> var 133 eqn 329 --> var 334 eqn 330 --> var 471 eqn 331 --> var 439 eqn 332 --> var 622 eqn 333 --> var 246 eqn 334 --> var 317 eqn 335 --> var 229 eqn 336 --> var 549 eqn 337 --> var 336 eqn 338 --> var 292 eqn 339 --> var 577 eqn 340 --> var 226 eqn 341 --> var 555 eqn 342 --> var 726 eqn 343 --> var 21 eqn 344 --> var -1 eqn 345 --> var 717 eqn 346 --> var 94 eqn 347 --> var 663 eqn 348 --> var 664 eqn 349 --> var 204 eqn 350 --> var 418 eqn 351 --> var 223 eqn 352 --> var 224 eqn 353 --> var 397 eqn 354 --> var 529 eqn 355 --> var 88 eqn 356 --> var 297 eqn 357 --> var 134 eqn 358 --> var 159 eqn 359 --> var 441 eqn 360 --> var 492 eqn 361 --> var 419 eqn 362 --> var -1 eqn 363 --> var -1 eqn 364 --> var 70 eqn 365 --> var 32 eqn 366 --> var 443 eqn 367 --> var 552 eqn 368 --> var 553 eqn 369 --> var 130 eqn 370 --> var 175 eqn 371 --> var 591 eqn 372 --> var 355 eqn 373 --> var 578 eqn 374 --> var 342 eqn 375 --> var 252 eqn 376 --> var 253 eqn 377 --> var 254 eqn 378 --> var 255 eqn 379 --> var 256 eqn 380 --> var 257 eqn 381 --> var 258 eqn 382 --> var 259 eqn 383 --> var 260 eqn 384 --> var 261 eqn 385 --> var 262 eqn 386 --> var 263 eqn 387 --> var 472 eqn 388 --> var 495 eqn 389 --> var 9 eqn 390 --> var 215 eqn 391 --> var 141 eqn 392 --> var 458 eqn 393 --> var 314 eqn 394 --> var 304 eqn 395 --> var 341 eqn 396 --> var 604 eqn 397 --> var 142 eqn 398 --> var 380 eqn 399 --> var 687 eqn 400 --> var 162 eqn 401 --> var 198 eqn 402 --> var 22 eqn 403 --> var 205 eqn 404 --> var 47 eqn 405 --> var -1 eqn 406 --> var 398 eqn 407 --> var 465 eqn 408 --> var 222 eqn 409 --> var 477 eqn 410 --> var 692 eqn 411 --> var 716 eqn 412 --> var 665 eqn 413 --> var 467 eqn 414 --> var 579 eqn 415 --> var 560 eqn 416 --> var 85 eqn 417 --> var 536 eqn 418 --> var 217 eqn 419 --> var 613 eqn 420 --> var 271 eqn 421 --> var 530 eqn 422 --> var 678 eqn 423 --> var 425 eqn 424 --> var 102 eqn 425 --> var 733 eqn 426 --> var 251 eqn 427 --> var 58 eqn 428 --> var 136 eqn 429 --> var 312 eqn 430 --> var 108 eqn 431 --> var 30 eqn 432 --> var 677 eqn 433 --> var 318 eqn 434 --> var 476 eqn 435 --> var 450 eqn 436 --> var 681 eqn 437 --> var 505 eqn 438 --> var 658 eqn 439 --> var 129 eqn 440 --> var 497 eqn 441 --> var 135 eqn 442 --> var 72 eqn 443 --> var 711 eqn 444 --> var 475 eqn 445 --> var 56 eqn 446 --> var 407 eqn 447 --> var 43 eqn 448 --> var 423 eqn 449 --> var 731 eqn 450 --> var 732 eqn 451 --> var 382 eqn 452 --> var 498 eqn 453 --> var 499 eqn 454 --> var 164 eqn 455 --> var 710 eqn 456 --> var 298 eqn 457 --> var 409 eqn 458 --> var 165 eqn 459 --> var 250 eqn 460 --> var 212 eqn 461 --> var 213 eqn 462 --> var 603 eqn 463 --> var 74 eqn 464 --> var 54 eqn 465 --> var 180 eqn 466 --> var 25 eqn 467 --> var 734 eqn 468 --> var 197 eqn 469 --> var 277 eqn 470 --> var 73 eqn 471 --> var 586 eqn 472 --> var 655 eqn 473 --> var 247 eqn 474 --> var 269 eqn 475 --> var 406 eqn 476 --> var 705 eqn 477 --> var 228 eqn 478 --> var 367 eqn 479 --> var 322 eqn 480 --> var 101 eqn 481 --> var 181 eqn 482 --> var 203 eqn 483 --> var 559 eqn 484 --> var 621 eqn 485 --> var 729 eqn 486 --> var 230 eqn 487 --> var 581 eqn 488 --> var 605 eqn 489 --> var 608 eqn 490 --> var 23 eqn 491 --> var 179 eqn 492 --> var 145 eqn 493 --> var 146 eqn 494 --> var 147 eqn 495 --> var 290 eqn 496 --> var 402 eqn 497 --> var 403 eqn 498 --> var 404 eqn 499 --> var 507 eqn 500 --> var 587 eqn 501 --> var 46 eqn 502 --> var 452 eqn 503 --> var 121 eqn 504 --> var 643 eqn 505 --> var 77 eqn 506 --> var 374 eqn 507 --> var 438 eqn 508 --> var 679 eqn 509 --> var 17 eqn 510 --> var 41 eqn 511 --> var 220 eqn 512 --> var 464 eqn 513 --> var 140 eqn 514 --> var 207 eqn 515 --> var 584 eqn 516 --> var 662 eqn 517 --> var 12 eqn 518 --> var 395 eqn 519 --> var 362 eqn 520 --> var 243 eqn 521 --> var 178 eqn 522 --> var 200 eqn 523 --> var 24 eqn 524 --> var 348 eqn 525 --> var 682 eqn 526 --> var 714 eqn 527 --> var 515 eqn 528 --> var 27 eqn 529 --> var 76 eqn 530 --> var 400 eqn 531 --> var 401 eqn 532 --> var 28 eqn 533 --> var 29 eqn 534 --> var 526 eqn 535 --> var 527 eqn 536 --> var 478 eqn 537 --> var 659 eqn 538 --> var 688 eqn 539 --> var 59 eqn 540 --> var 219 eqn 541 --> var 447 eqn 542 --> var 558 eqn 543 --> var 583 eqn 544 --> var 233 eqn 545 --> var 588 eqn 546 --> var 321 eqn 547 --> var 569 eqn 548 --> var 13 eqn 549 --> var 138 eqn 550 --> var 139 eqn 551 --> var 289 eqn 552 --> var 510 eqn 553 --> var 411 eqn 554 --> var 388 eqn 555 --> var 285 eqn 556 --> var 286 eqn 557 --> var 113 eqn 558 --> var 735 eqn 559 --> var 291 eqn 560 --> var 16 eqn 561 --> var 434 eqn 562 --> var 311 eqn 563 --> var 166 eqn 564 --> var 188 eqn 565 --> var 386 eqn 566 --> var 387 eqn 567 --> var 143 eqn 568 --> var 144 eqn 569 --> var 349 eqn 570 --> var 350 eqn 571 --> var 430 eqn 572 --> var 432 eqn 573 --> var 680 eqn 574 --> var 620 eqn 575 --> var 424 eqn 576 --> var 451 eqn 577 --> var 440 eqn 578 --> var 435 eqn 579 --> var 708 eqn 580 --> var 683 eqn 581 --> var 182 eqn 582 --> var 653 eqn 583 --> var 194 eqn 584 --> var 669 eqn 585 --> var 284 eqn 586 --> var 715 eqn 587 --> var 656 eqn 588 --> var 249 eqn 589 --> var 602 eqn 590 --> var 211 eqn 591 --> var 509 eqn 592 --> var -1 eqn 593 --> var 537 eqn 594 --> var 99 eqn 595 --> var 600 eqn 596 --> var -1 eqn 597 --> var 80 eqn 598 --> var 19 eqn 599 --> var -1 eqn 600 --> var 556 eqn 601 --> var 161 eqn 602 --> var 473 eqn 603 --> var -1 eqn 604 --> var 654 eqn 605 --> var -1 eqn 606 --> var 78 eqn 607 --> var -1 eqn 608 --> var 353 eqn 609 --> var -1 eqn 610 --> var 160 eqn 611 --> var -1 eqn 612 --> var 248 eqn 613 --> var -1 eqn 614 --> var 1 eqn 615 --> var -1 eqn 616 --> var 652 eqn 617 --> var -1 eqn 618 --> var 208 eqn 619 --> var -1 eqn 620 --> var -1 eqn 621 --> var 149 eqn 622 --> var 172 eqn 623 --> var -1 eqn 624 --> var 539 eqn 625 --> var -1 eqn 626 --> var 675 eqn 627 --> var -1 eqn 628 --> var 193 eqn 629 --> var -1 eqn 630 --> var 686 eqn 631 --> var -1 eqn 632 --> var 703 eqn 633 --> var -1 eqn 634 --> var 611 eqn 635 --> var -1 eqn 636 --> var 704 eqn 637 --> var -1 eqn 638 --> var 550 eqn 639 --> var -1 eqn 640 --> var 15 eqn 641 --> var 618 eqn 642 --> var 326 eqn 643 --> var 114 eqn 644 --> var 533 eqn 645 --> var 532 eqn 646 --> var 614 eqn 647 --> var 431 eqn 648 --> var 45 eqn 649 --> var 282 eqn 650 --> var 615 eqn 651 --> var 612 eqn 652 --> var 670 eqn 653 --> var 610 eqn 654 --> var -1 eqn 655 --> var 177 eqn 656 --> var 206 eqn 657 --> var 176 eqn 658 --> var 174 eqn 659 --> var 327 eqn 660 --> var 706 eqn 661 --> var 103 eqn 662 --> var 104 eqn 663 --> var 343 eqn 664 --> var 344 eqn 665 --> var -1 eqn 666 --> var 697 eqn 667 --> var 55 eqn 668 --> var 173 eqn 669 --> var 698 eqn 670 --> var -1 eqn 671 --> var 171 eqn 672 --> var 170 eqn 673 --> var 699 eqn 674 --> var 169 eqn 675 --> var 700 eqn 676 --> var 168 eqn 677 --> var 701 eqn 678 --> var 167 eqn 679 --> var 702 eqn 680 --> var 456 eqn 681 --> var 718 eqn 682 --> var 433 eqn 683 --> var 719 eqn 684 --> var 422 eqn 685 --> var 722 eqn 686 --> var 158 eqn 687 --> var 724 eqn 688 --> var 417 eqn 689 --> var 725 eqn 690 --> var 502 eqn 691 --> var 639 eqn 692 --> var 500 eqn 693 --> var 727 eqn 694 --> var 721 eqn 695 --> var 152 eqn 696 --> var 150 eqn 697 --> var 127 eqn 698 --> var 2 eqn 699 --> var 125 eqn 700 --> var 4 eqn 701 --> var 124 eqn 702 --> var 482 eqn 703 --> var 483 eqn 704 --> var 485 eqn 705 --> var 486 eqn 706 --> var 707 eqn 707 --> var 69 eqn 708 --> var 501 eqn 709 --> var 493 eqn 710 --> var 534 eqn 711 --> var 535 eqn 712 --> var 33 eqn 713 --> var -1 eqn 714 --> var 496 eqn 715 --> var -1 eqn 716 --> var 531 eqn 717 --> var -1 eqn 718 --> var 6 eqn 719 --> var 264 eqn 720 --> var 122 eqn 721 --> var 7 eqn 722 --> var 265 eqn 723 --> var 119 eqn 724 --> var 8 eqn 725 --> var 117 eqn 726 --> var 10 eqn 727 --> var 42 eqn 728 --> var 115 eqn 729 --> var -1 eqn 730 --> var 111 eqn 731 --> var 436 eqn 732 --> var 437 eqn 733 --> var 693 eqn 734 --> var 109 eqn 735 --> var 11 eqn 736 --> var -1 eqn 737 --> var 105 eqn 738 --> var 487 eqn 739 --> var 323 eqn 740 --> var 685 eqn 741 --> var 671 eqn 742 --> var 672 eqn 743 --> var 488 eqn 744 --> var -1 eqn 745 --> var 26 eqn 746 --> var 489 eqn 747 --> var 490 eqn 748 --> var 491 eqn 749 --> var 494 eqn 750 --> var 511 eqn 751 --> var 512 eqn 752 --> var 513 eqn 753 --> var 514 eqn 754 --> var 275 eqn 755 --> var 276 eqn 756 --> var 278 eqn 757 --> var 279 eqn 758 --> var 281 eqn 759 --> var 283 eqn 760 --> var 287 eqn 761 --> var 288 eqn 762 --> var 428 eqn 763 --> var 429 eqn 764 --> var 186 eqn 765 --> var 187 eqn 766 --> var 31 eqn 767 --> var 426 eqn 768 --> var 427 eqn 769 --> var 516 eqn 770 --> var 184 eqn 771 --> var 185 eqn 772 --> var 517 eqn 773 --> var 518 eqn 774 --> var 520 eqn 775 --> var 522 eqn 776 --> var 523