Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.CHPs.Validation.ThermalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ThermalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001201/0.001202, allocations: 108 kB / 16.42 MB, free: 6.453 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.001143/0.001143, allocations: 187.2 kB / 17.35 MB, free: 5.699 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.254/1.254, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.277/1.277, allocations: 251.7 MB / 0.51 GB, free: 376 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/2.868e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.Validation.ThermalFollowing): time 0.4151/0.4151, allocations: 74.41 MB / 0.799 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02989/0.4451, allocations: 18 MB / 0.8166 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00914/0.4542, allocations: 154.2 kB / 0.8168 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006998/0.4613, allocations: 1.728 MB / 0.8185 GB, free: 7.887 MB / 0.6075 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.0126/0.4739, allocations: 2.809 MB / 0.8212 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01126/0.4852, allocations: 3.9 MB / 0.825 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0174/0.5026, allocations: 11.25 MB / 0.836 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0134/0.516, allocations: 6.885 MB / 0.8427 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008739/0.5248, allocations: 3.906 MB / 0.8465 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006485/0.5313, allocations: 3.546 MB / 0.85 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002867/0.5342, allocations: 0.8945 MB / 0.8509 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007081/0.5413, allocations: 2.446 MB / 0.8533 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of combineBinaries: time 0.01143/0.5527, allocations: 10.71 MB / 0.8637 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of replaceArrayConstructors: time 0.00528/0.558, allocations: 6.774 MB / 0.8703 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002861/0.5609, allocations: 1.157 MB / 0.8715 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.002545/0.5635, allocations: 460.3 kB / 0.8719 GB, free: 11.42 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: 1393 (1340) * Number of variables: 1353 (1293) Notification: Performance of Bindings: time 0.0361/0.5996, allocations: 35.52 MB / 0.9066 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of FunctionAlias: time 0.004513/0.6041, allocations: 3.89 MB / 0.9104 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of Early Inline: time 0.02366/0.6278, allocations: 21.99 MB / 0.9319 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of simplify1: time 0.001511/0.6293, allocations: 1.162 MB / 0.933 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of Alias: time 0.03987/0.6692, allocations: 35.55 MB / 0.9677 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of simplify2: time 0.001335/0.6706, allocations: 0.7764 MB / 0.9685 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of Events: time 0.004643/0.6752, allocations: 4.38 MB / 0.9727 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of Detect States: time 0.004163/0.6794, allocations: 4.93 MB / 0.9776 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of Partitioning: time 0.006177/0.6856, allocations: 5.145 MB / 0.9826 GB, free: 6.137 MB / 0.7637 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (665/744) ********************************* (1) [DISC] (1) protected Boolean theFol.opeMod.transition5.inPort.available (2) [DISC] (1) protected Boolean theFolNeg.opeMod.and1.u2 (3) [DISS] (1) protected Boolean theFol.opeMod.nor.oldActive (4) [DISC] (1) Boolean $SEV_76 (5) [DISC] (1) Boolean $SEV_75 (6) [DISC] (1) protected Boolean theFol.fil.assPow.minPow.y (7) [DISC] (1) Boolean $SEV_74 (8) [DISC] (1) Boolean $SEV_73 (9) [DISC] (1) Boolean $SEV_72 (10) [DISC] (1) Boolean $SEV_71 (11) [ALGB] (1) Real TRoo.u (12) [DISC] (1) protected Boolean theFol.opeMod.transition8.outPort.set (13) [DISC] (1) protected Boolean theFolNeg.opeMod.plaOff.outerStatePort.localActive = theFolNeg.opeMod.plaOff.outerStatePort.localActive (14) [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}) (15) [ALGB] (1) Real TWatOutVal.u (16) [ALGB] (1) protected Real theFolNeg.vol.dynBal.medium.state.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (17) [DISC] (1) protected Boolean theFol.opeMod.transition3.inPort.available (18) [DISC] (1) protected Boolean theFolNeg.assWatTem.hys.y (19) [DISC] (1) protected Boolean theFol.opeMod.assWatMas.nand.y (20) [DISC] (1) protected Boolean theFol.opeMod.staBy.outerStatePort.localActive = theFol.opeMod.staBy.outerStatePort.localActive (21) [DISC] (1) Integer theFol.stateGraphRoot.activeSteps (22) [ALGB] (1) Real theFol.cooWatCon.lim.u (23) [ALGB] (1) Real theFol.mFue_flow (24) [DISC] (1) Boolean $SEV_69 (25) [ALGB] (1) protected Real theFol.opeMod.add2.y (26) [DISC] (2) Boolean[2] theFol.opeMod.cooDow.inPort.set (27) [DISC] (1) Boolean $SEV_67 (28) [DER-] (1) Real $DER.theFol.eng.capTheEng.T (29) [DISC] (1) Boolean $SEV_64 (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] (2) Boolean[2] theFolNeg.opeMod.cooDow.outPort.available (33) [DISC] (1) Boolean $SEV_60 (34) [ALGB] (1) protected Real theFolNeg.vol.dynBal.medium.state.T (start = 293.15, min = 1.0, max = 1e4, nominal = 300.0) (35) [ALGB] (1) protected Real theFol.eneCon.assFue.abs1.u (36) [DISC] (1) protected Boolean theFol.opeMod.transition3.outPort.occupied (37) [ALGB] (1) flow Real theFolNeg.watHea.port_a.Q_flow (38) [DISC] (1) Boolean[1] theFolNeg.opeMod.pumOn.inPort.set (39) [ALGB] (1) protected Real theFol.eneCon.assFue.abs1.y (40) [DISC] (1) protected final Boolean theFol.opeMod.transition6.localCondition = theFol.opeMod.transition6.localCondition (41) [ALGB] (1) protected flow Real theFol.opeMod.staBy.outerStatePort.subgraphStatePort.activeSteps (42) [DISC] (1) Boolean $SEV_59 (43) [DISC] (1) Boolean $SEV_58 (44) [DISC] (1) Boolean $SEV_57 (45) [DISC] (1) Boolean $SEV_56 (46) [DISC] (1) Boolean $SEV_55 (47) [ALGB] (1) Real theFol.eng.QGen_flow (48) [DISC] (1) protected Boolean theFol.opeMod.transition6.outPort.occupied (49) [ALGB] (1) protected Real cooWat.p_in_internal (50) [DISC] (1) Boolean $SEV_54 (51) [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}) (52) [ALGB] (1) Real TWatIn.u (53) [DISC] (1) Boolean $SEV_53 (54) [ALGB] (1) protected Real theFolNeg.eneCon.opeModBas.etaQ.eta (55) [DISC] (1) Boolean $SEV_52 (56) [ALGB] (1) protected Real theFolNeg.opeMod.transition4.t_dummy (57) [DISC] (1) Boolean $SEV_51 (58) [DISC] (1) Boolean $SEV_50 (59) [DER-] (1) Real $DER.ETheVal.y (60) [DISC] (1) protected Boolean theFol.assWatTem.hys.y (61) [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}) (62) [DISC] (1) Boolean[1] theFolNeg.opeMod.staBy.inPort.set (63) [DISC] (1) protected Boolean theFolNeg.opeMod.transition5.inPort.available (64) [DISC] (1) protected Boolean theFol.eneCon.switch3.u2 (65) [ALGB] (1) protected Real theFol.eneCon.switch3.u3 (66) [DISC] (1) protected Boolean theFol.opeMod.transition5.outPort.set (67) [DISC] (1) protected Boolean[1] theFolNeg.opeMod.nor.inPort.set (68) [ALGB] (1) protected Real theFol.opeMod.max.y (69) [DISC] (1) protected final Boolean theFol.opeMod.transition9.localCondition = theFol.opeMod.transition9.localCondition (70) [DISC] (1) protected Boolean theFolNeg.opeMod.transition7.inPort.available (71) [ALGB] (1) protected Real theFolNeg.opeMod.add2.y (72) [ALGB] (1) Real theFolNeg.conWat.TWatIn (73) [DISC] (1) Boolean $SEV_49 (74) [DISC] (1) Boolean $SEV_48 (75) [DISC] (1) Boolean $SEV_47 (76) [DISC] (1) Boolean $SEV_46 (77) [ALGB] (1) protected flow Real theFol.eng.capTheEng.port.Q_flow (78) [DISC] (1) Boolean $SEV_45 (79) [ALGB] (1) Real theFolNeg.cooWatCon.errI2.u2 (80) [DISC] (1) protected Boolean theFolNeg.opeMod.assWatMas.not1.u (81) [DISC] (1) Boolean $SEV_44 (82) [DISC] (1) Boolean $SEV_43 (83) [DISC] (1) Boolean $SEV_42 (84) [DISC] (1) Boolean $SEV_41 (85) [ALGB] (1) protected flow Real theFol.opeMod.pumOn.outerStatePort.subgraphStatePort.activeSteps (86) [DISC] (1) protected Boolean theFol.opeMod.transition2.inPort.available (87) [ALGB] (1) Real theFolNeg.cooWatCon.lim.u (88) [DISS] (1) protected discrete Real avaSig.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (89) [ALGB] (1) Real dQWat.y (90) [ALGB] (1) Real theFol.preDro.port_b.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (91) [ALGB] (1) Real avaSig.realToBoolean.u (92) [DISC] (1) Boolean $FUN_39 (93) [ALGB] (1) protected Real theFolNeg.vol.dynBal.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * theFolNeg.vol.dynBal.medium.p_bar) (94) [DISC] (1) protected Boolean theFol.opeMod.transition7.outPort.set (95) [DISC] (1) Boolean $FUN_38 (96) [DISC] (1) Boolean $SEV_38 (97) [DISC] (1) Boolean $FUN_37 (98) [DISC] (1) Boolean $SEV_37 (99) [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}) (100) [DISC] (1) Boolean $FUN_36 (101) [DISC] (1) Boolean $SEV_36 (102) [DISC] (1) Boolean $FUN_35 (103) [DISC] (1) Boolean $SEV_35 (104) [DISC] (1) Boolean $FUN_34 (105) [DISC] (1) Boolean $SEV_34 (106) [ALGB] (1) protected Real theFol.eneCon.opeModBas.heaGen.u1 (107) [DISC] (1) Boolean $FUN_33 (108) [DISC] (1) Boolean $SEV_33 (109) [DISC] (1) Boolean $FUN_32 (110) [DISC] (3) Boolean[3] $SEV_102[$i1] (111) [DISC] (1) Boolean $SEV_32 (112) [DISC] (1) Boolean $FUN_31 (113) [DISC] (1) Boolean $SEV_31 (114) [DISC] (1) Boolean $FUN_30 (115) [DISC] (1) Boolean $SEV_30 (116) [ALGB] (2) flow Real[2] sin.ports.m_flow (min = {-1e60 for $ports1 in 1:2}, max = {1e60 for $ports1 in 1:2}) (117) [DISC] (1) protected Boolean theFolNeg.fil.assPow.nor.y (118) [DER-] (1) Real $DER.theFol.cooWatCon.addPID.u2 (119) [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}) (120) [DISC] (1) protected Boolean theFolNeg.opeMod.assWatMas.nand.y (121) [DISC] (1) protected Boolean theFolNeg.opeMod.transition9.outPort.set (122) [DISC] (1) protected final Boolean theFol.opeMod.transition5.localCondition = theFol.opeMod.transition5.localCondition (123) [DISC] (1) protected Boolean[1] theFol.opeMod.nor.outPort.available (124) [DISC] (2) Boolean[2] theFol.opeMod.cooDow.inPort.occupied (125) [ALGB] (1) Real EThe.u (126) [DISC] (1) protected Boolean theFolNeg.fil.assPow.maxPow.y (127) [DISC] (2) Boolean[2] theFol.opeMod.warUp.outPort.available (128) [DISC] (3) protected Boolean[3] theFol.opeMod.plaOff.inPort.set (129) [DISC] (1) protected Boolean theFolNeg.opeMod.transition7.outPort.occupied (130) [DISC] (1) Boolean $FUN_29 (131) [DISC] (1) Boolean $SEV_29 (132) [DISC] (1) Boolean $FUN_28 (133) [DISC] (1) Boolean $SEV_27 (134) [DISC] (1) Boolean $SEV_26 (135) [DISC] (1) Boolean $SEV_25 (136) [DISC] (1) Boolean $SEV_24 (137) [ALGB] (1) Real $FUN_23 (138) [DISC] (1) Boolean $SEV_23 (139) [ALGB] (1) Real $FUN_22 (140) [DISC] (1) Boolean $SEV_22 (141) [DISC] (1) Boolean $SEV_21 (142) [DISS] (1) protected Boolean theFol.opeMod.staBy.oldActive (143) [DISC] (1) protected Boolean theFolNeg.opeMod.transition9.outPort.occupied (144) [DISC] (1) protected Boolean theFol.opeMod.transition2.outPort.occupied (145) [DISC] (1) protected final Boolean theFolNeg.opeMod.transition10.localCondition = theFolNeg.opeMod.transition10.localCondition (146) [ALGB] (1) protected flow Real theFol.opeMod.warUp.outerStatePort.subgraphStatePort.activeSteps (147) [DISC] (1) protected Boolean theFolNeg.eneCon.and1.u1 (148) [DISC] (1) protected final Boolean theFol.opeMod.transition3.localCondition = theFol.opeMod.transition3.localCondition (149) [ALGB] (1) Real theFol.port_b.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (150) [ALGB] (1) protected Real theFolNeg.cooWatCon.addPID.y (151) [DISC] (1) Boolean $FUN_18 (152) [DISC] (1) Boolean $FUN_17 (153) [DISC] (1) Boolean $FUN_16 (154) [DISC] (1) Boolean $FUN_15 (155) [DISC] (1) Boolean $FUN_14 (156) [DISC] (1) protected Boolean theFol.opeMod.transition4.outPort.occupied (157) [DISC] (1) Boolean $FUN_13 (158) [DISS] (1) protected discrete Real theFolNeg.opeMod.timer.yAcc (159) [DISC] (1) Boolean $FUN_12 (160) [ALGB] (1) Real theFol.TWatOutSet (161) [DISC] (1) Boolean $FUN_11 (162) [DISC] (1) Boolean $FUN_10 (163) [DISC] (1) protected Boolean theFol.opeMod.plaOff.outerStatePort.localActive = theFol.opeMod.plaOff.outerStatePort.localActive (164) [DISC] (1) protected Boolean[1] theFol.opeMod.plaOff.outPort.reset (165) [ALGB] (1) protected Real theFol.eneCon.switch4.y (166) [ALGB] (1) protected Real theFolNeg.eneCon.opeModBas.groHea.u1 (167) [DISC] (1) protected Boolean theFol.eneCon.and1.u1 (168) [DISC] (1) protected Boolean theFolNeg.opeMod.transition4.inPort.available (169) [DISC] (2) Boolean[2] $SEV_61[$i1] (170) [ALGB] (1) Real theFolNeg.preDro.port_b.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (171) [DER-] (1) Real $DER.EEleVal.y (172) [DISS] (1) protected discrete Real theFol.opeMod.timer.yAcc (173) [ALGB] (1) protected Real theFolNeg.cooWatCon.addPD.u1 (174) [DISC] (2) Boolean[2] theFolNeg.opeMod.warUp.inPort.occupied (175) [DISC] (1) protected Boolean theFolNeg.opeMod.transition6.inPort.available (176) [ALGB] (1) Real theFol.port_a.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (177) [DISC] (1) protected Boolean[1] theFolNeg.opeMod.nor.outPort.available (178) [ALGB] (1) protected Real theFolNeg.eneCon.switch3.u3 (179) [DISC] (1) protected Boolean theFolNeg.eneCon.switch3.u2 (180) [DER-] (1) Real $DER.theFolNeg.fil.assPow.demRat.x (181) [ALGB] (1) protected Real theFolNeg.vol.dynBal.m (start = theFolNeg.vol.V * theFolNeg.vol.rho_start, min = 0.0, StateSelect = default) (182) [ALGB] (1) protected Real theFol.cooWatCon.antWinErr.y (183) [DISC] (2) Boolean[2] theFolNeg.opeMod.pumOn.outPort.reset (184) [ALGB] (1) Real theFol.PEleDem (185) [DISC] (1) protected final Boolean theFol.opeMod.transition10.localCondition = theFol.opeMod.transition10.localCondition (186) [DISC] (1) protected final Boolean theFol.opeMod.transition7.localCondition = theFol.opeMod.transition7.localCondition (187) [DISC] (1) protected Boolean theFol.opeMod.transition1.inPort.available (188) [ALGB] (1) protected Real theFol.fil.PLim.simplifiedExpr (189) [DISC] (1) protected Boolean theFol.opeMod.transition9.inPort.available (190) [DISS] (1) protected Boolean theFolNeg.opeMod.warUp.oldActive (191) [DISC] (1) protected Boolean[1] theFolNeg.opeMod.nor.inPort.occupied (192) [ALGB] (1) Real theFol.dp = theFol.port_a.p - theFol.port_b.p (start = theFol._dp_start) (193) [DISC] (1) protected Boolean theFol.opeMod.transition4.enableFire (194) [DER-] (1) Real $DER.theFolNeg.cooWatCon.addPID.u2 (195) [DISC] (1) protected Boolean theFol.fil.assPow.maxPow.y (196) [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) (197) [ALGB] (1) protected flow Real theFolNeg.eng.QGen1.port.Q_flow (198) [DISC] (1) protected Boolean theFolNeg.opeMod.transition8.outPort.set (199) [ALGB] (1) Real cooWat.m_flow_in (200) [DER-] (1) Real $DER.theFol.eneCon.assFue.floChaRat.x (201) [ALGB] (1) protected Real theFolNeg.cooWatCon.addRes.y (202) [DISC] (1) protected Boolean theFolNeg.opeMod.staBy.newActive (203) [DISC] (2) Boolean[2] theFol.opeMod.staBy.outPort.available (204) [DISC] (1) Boolean theFolNeg.hys.y (205) [ALGB] (1) Real theFolNeg.hys.u (206) [DISC] (1) protected Boolean theFolNeg.opeMod.transition4.outPort.set (207) [ALGB] (1) Real[1] avaSig.combiTimeTable.y (208) [ALGB] (1) protected Real theFolNeg.conWat.mWatIntCon.u2 (209) [ALGB] (1) protected Real theFol.opeMod.transition4.t (210) [DISC] (1) Boolean $TEV_9 (211) [DER-] (1) Real $DER.theFolNeg.eneCon.assFue.floChaRat.x (212) [ALGB] (1) protected Real theFol.fil.dPLim.thr = (theFol.fil.dPLim.u - theFol.fil.dPLim.y) / theFol.fil.dPLim.Td (213) [DISC] (1) Boolean $TEV_8 (214) [DISC] (1) Boolean $TEV_7 (215) [DISC] (1) Boolean $TEV_6 (216) [DISC] (1) Boolean $TEV_5 (217) [DISC] (1) Boolean $TEV_4 (218) [DISC] (1) Boolean $TEV_3 (219) [DISC] (2) Boolean[2] theFol.opeMod.pumOn.outPort.reset (220) [DISC] (1) Boolean $TEV_2 (221) [ALGB] (1) Real theFol.cooWatCon.errI2.u2 (222) [DISC] (1) Boolean $TEV_1 (223) [DISC] (1) Boolean $TEV_0 (224) [ALGB] (1) Real theFol.hys.u (225) [ALGB] (1) protected Real theFolNeg.eneCon.switch4.y (226) [DISC] (1) protected Boolean theFolNeg.opeMod.transition8.outPort.occupied (227) [ALGB] (1) protected flow Real theFolNeg.eng.capTheEng.port.Q_flow (228) [DISS] (1) protected discrete Real theFol.opeMod.timer.entryTime (229) [DISC] (1) Boolean theFol.hys.y (230) [ALGB] (12) Real[12] valDat.y (231) [ALGB] (1) protected flow Real theFolNeg.opeMod.cooDow.outerStatePort.subgraphStatePort.activeSteps (232) [ALGB] (1) Real theFolNeg.PCon (233) [DISC] (1) protected Boolean theFol.opeMod.pumOn.newActive (234) [ALGB] (1) Real theFolNeg.port_b.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (235) [ALGB] (1) protected Real theFolNeg.eneCon.opeModBas.etaQ.y (236) [ALGB] (1) Real dQLos.y (237) [ALGB] (1) Real theFol.cooWatCon.I.u (238) [DISC] (1) protected Boolean theFolNeg.opeMod.transition2.outPort.set (239) [DISC] (1) protected Boolean[1] theFolNeg.opeMod.nor.outPort.reset (240) [DISC] (1) Boolean $SEV_149 (241) [DISC] (1) Boolean $SEV_148 (242) [ALGB] (1) protected Real theFol.eneCon.opeModBas.groHea.u1 (243) [DISC] (1) Boolean $SEV_147 (244) [DISC] (1) Boolean $SEV_146 (245) [ALGB] (1) Real theFol.PCon (246) [DISC] (1) Boolean $SEV_145 (247) [ALGB] (1) protected Real theFol.eneCon.switch4.u3 (248) [DISC] (1) Boolean $SEV_144 (249) [ALGB] (1) Real theFolNeg.QLos.Q_flow (250) [DISC] (2) Boolean[2] theFol.opeMod.warUp.outPort.reset (251) [DISC] (1) Boolean $SEV_143 (252) [DISC] (1) Boolean $SEV_142 (253) [DISC] (1) Boolean $SEV_141 (254) [DISS] (1) protected Boolean theFol.opeMod.cooDow.oldActive (255) [DISC] (1) Boolean $SEV_140 (256) [DISC] (1) protected Boolean[1] theFol.opeMod.plaOff.outPort.available (257) [ALGB] (1) protected Real theFol.vol.dynBal.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - theFol.vol.dynBal.medium.T_degC)) (258) [ALGB] (1) Real theFolNeg.mWatSet_flow (259) [DISC] (3) protected Boolean[3] theFolNeg.opeMod.plaOff.inPort.occupied (260) [DISC] (1) protected Boolean theFolNeg.opeMod.nor.outerStatePort.localActive = theFolNeg.opeMod.nor.outerStatePort.localActive (261) [DISC] (1) Boolean[1] theFol.opeMod.staBy.inPort.occupied (262) [ALGB] (1) Real theFolNeg.port_a.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (263) [DISC] (1) Boolean[1] theFol.opeMod.pumOn.inPort.set (264) [DISC] (1) protected Boolean theFol.opeMod.nor.newActive (265) [DISC] (1) Boolean $SEV_137 (266) [DISC] (1) Boolean $SEV_136 (267) [DISC] (1) protected Boolean theFol.fil.assPow.nor.y (268) [DISC] (1) Boolean $SEV_135 (269) [DISC] (1) protected final Boolean theFolNeg.opeMod.transition9.localCondition = theFolNeg.opeMod.transition9.localCondition (270) [DISC] (1) Boolean $SEV_134 (271) [ALGB] (1) protected Real theFolNeg.fil.PLim.simplifiedExpr (272) [DISC] (1) protected Boolean theFolNeg.opeMod.hys.y (273) [DISC] (1) Boolean $SEV_133 (274) [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}) (275) [DISC] (1) Boolean $SEV_132 (276) [DISC] (1) protected enumeration Buildings.Fluid.CHPs.BaseClasses.Types.Mode(Off, StandBy, PumpOn, WarmUp, Normal, CoolDown) theFol.opeMod.actMod (277) [DISC] (1) Boolean $SEV_130 (278) [DER-] (1) Real $DER.theFol.fil.assPow.demRat.x (279) [ALGB] (1) protected Real theFolNeg.eneCon.opeModBas.etaE.eta (280) [DISC] (1) protected Boolean theFolNeg.opeMod.nor.newActive (281) [DER-] (1) Real $DER.theFol.fil.dPLim.y (282) [DISC] (1) protected Boolean theFolNeg.opeMod.transition7.outPort.set (283) [ALGB] (1) Real theFolNeg.gai.y (284) [DISC] (1) protected Boolean theFolNeg.opeMod.transition1.outPort.occupied (285) [DISC] (1) protected Boolean theFol.opeMod.and1.u2 (286) [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}) (287) [DISC] (1) protected Boolean theFol.opeMod.transition10.outPort.occupied (288) [ALGB] (1) protected Real theFol.cooWatCon.addPID.y (289) [DISC] (1) protected Boolean theFolNeg.opeMod.transition5.outPort.set (290) [DISC] (1) Boolean $SEV_128 (291) [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}) (292) [DISC] (1) Boolean $SEV_125 (293) [DISC] (1) protected Boolean theFolNeg.opeMod.transition3.outPort.occupied (294) [DISC] (1) Boolean $SEV_122 (295) [DISC] (1) Boolean $SEV_121 (296) [ALGB] (1) Real theFol.mWatSet_flow (297) [DISC] (1) Boolean $SEV_120 (298) [ALGB] (1) protected Real theFol.fil.dPLim.u (299) [DISC] (1) protected Boolean[1] theFolNeg.opeMod.plaOff.outPort.available (300) [DISC] (2) Boolean[2] theFolNeg.opeMod.warUp.outPort.available (301) [ALGB] (1) protected Real theFolNeg.eneCon.opeModBas.heaGen.u1 (302) [DISC] (1) protected Boolean theFolNeg.fil.assPow.minPow.y (303) [ALGB] (1) Real preTem.T (304) [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}) (305) [DISC] (3) protected Boolean[3] theFolNeg.opeMod.plaOff.inPort.set (306) [ALGB] (1) protected flow Real theFol.opeMod.plaOff.outerStatePort.subgraphStatePort.activeSteps (307) [DISC] (2) Boolean[2] theFol.opeMod.warUp.inPort.occupied (308) [ALGB] (1) protected Real theFol.cooWatCon.addPD.u1 (309) [DISC] (1) Boolean $SEV_119 (310) [DISC] (1) protected Boolean theFolNeg.opeMod.transition10.inPort.available (311) [DISC] (1) Boolean $SEV_118 (312) [DISC] (1) Boolean[1] theFolNeg.opeMod.staBy.inPort.occupied (313) [DISC] (1) Boolean $SEV_117 (314) [DISC] (1) Boolean $SEV_116 (315) [DISC] (1) Boolean $SEV_115 (316) [DISC] (1) Boolean $SEV_114 (317) [DISC] (1) Boolean $SEV_113 (318) [DISC] (1) protected enumeration Buildings.Fluid.CHPs.BaseClasses.Types.Mode(Off, StandBy, PumpOn, WarmUp, Normal, CoolDown) theFolNeg.opeMod.actMod (319) [DISC] (1) protected Boolean theFolNeg.opeMod.timeDel.y (320) [DISC] (1) protected Boolean theFol.opeMod.plaOff.newActive (321) [DISC] (1) Boolean $SEV_112 (322) [DISC] (1) Boolean $SEV_111 (323) [DISC] (1) Boolean $SEV_110 (324) [DISC] (2) Boolean[2] $SEV_131[$i1] (325) [ALGB] (1) Real theFolNeg.elePowDem.u (326) [ALGB] (1) Real theFolNeg.PEleNet (327) [ALGB] (1) Real theFolNeg.elePowDem.y (328) [DISC] (1) protected Boolean theFolNeg.opeMod.transition3.outPort.set (329) [DISC] (2) Boolean[2] $SEV_127[$i1] (330) [DISC] (2) Boolean[2] $SEV_124[$i1] (331) [ALGB] (1) protected Real theFol.eneCon.opeModBas.etaQ.y (332) [DISC] (1) protected Boolean theFolNeg.opeMod.transition10.outPort.set (333) [ALGB] (1) protected Real theFol.conWat.mWatIntCon.u2 (334) [DISC] (1) Boolean $SEV_109 (335) [ALGB] (1) protected flow Real theFolNeg.opeMod.plaOff.outerStatePort.subgraphStatePort.activeSteps (336) [DISC] (1) Boolean $SEV_108 (337) [DISC] (1) Boolean $SEV_107 (338) [ALGB] (1) Real QGenVal_flow.u (339) [DISC] (1) Boolean $SEV_106 (340) [DISC] (1) Boolean $SEV_105 (341) [DISC] (1) Boolean $SEV_104 (342) [DISC] (1) Boolean $SEV_103 (343) [DISC] (2) Boolean[2] theFol.opeMod.warUp.inPort.set (344) [ALGB] (1) protected flow Real theFol.opeMod.cooDow.outerStatePort.subgraphStatePort.activeSteps (345) [DISS] (1) protected Boolean theFolNeg.opeMod.cooDow.oldActive (346) [ALGB] (1) protected Real theFolNeg.cooWatCon.uSetWp.u (347) [DISC] (1) Boolean $SEV_101 (348) [ALGB] (1) protected Real theFol.cooWatCon.addRes.y (349) [DISC] (1) Boolean $SEV_100 (350) [ALGB] (1) protected Real theFolNeg.cooWatCon.uSetWp.y (351) [DISC] (1) protected Boolean theFolNeg.opeMod.pumOn.newActive (352) [ALGB] (1) protected flow Real theFol.eng.QGen1.port.Q_flow (353) [DISS] (1) protected discrete Real theFolNeg.opeMod.warUpCtr.timer.entryTime (354) [DISC] (2) Boolean[2] theFol.opeMod.cooDow.outPort.reset (355) [DISC] (3) protected Boolean[3] theFol.opeMod.plaOff.inPort.occupied (356) [ALGB] (1) protected flow Real theFol.opeMod.nor.outerStatePort.subgraphStatePort.activeSteps (357) [ALGB] (1) Real theFolNeg.mFue_flow (358) [ALGB] (1) protected Real theFolNeg.eng.theConHX.dT (359) [DISC] (1) protected Boolean theFolNeg.opeMod.warUp.outerStatePort.localActive = theFolNeg.opeMod.warUp.outerStatePort.localActive (360) [ALGB] (1) protected Real theFol.opeMod.timer.y (361) [DISC] (1) protected Boolean theFolNeg.opeMod.transition6.outPort.set (362) [DISC] (1) protected Boolean theFol.opeMod.cooDow.outerStatePort.localActive = theFol.opeMod.cooDow.outerStatePort.localActive (363) [DISC] (1) protected final Boolean theFolNeg.opeMod.transition6.localCondition = theFolNeg.opeMod.transition6.localCondition (364) [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}) (365) [DISC] (1) Boolean[1] theFol.opeMod.staBy.inPort.set (366) [DISC] (1) protected Boolean theFol.opeMod.staBy.newActive (367) [DISC] (1) protected Boolean theFolNeg.opeMod.transition2.outPort.occupied (368) [DER-] (1) Real $DER.EThe.y (369) [ALGB] (1) flow Real[1] cooWatNeg.ports.m_flow (min = {-1e60}, max = {1e60}) (370) [ALGB] (1) Real QWatVal_flow.u (371) [DISC] (1) protected Boolean theFol.opeMod.warUp.outerStatePort.localActive = theFol.opeMod.warUp.outerStatePort.localActive (372) [DISC] (2) Boolean[2] $SEV_62[$i1] (373) [ALGB] (1) Real dTWatOut.y (374) [DISC] (2) Boolean[2] $SEV_65[$i1] (375) [DISC] (2) Boolean[2] $SEV_68[$i1] (376) [DISS] (1) protected Boolean theFol.opeMod.warUp.oldActive (377) [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}) (378) [ALGB] (1) flow Real[1] cooWat.ports.m_flow (min = {-1e60}, max = {1e60}) (379) [ALGB] (1) Real theFol.m_flow = theFol.m_flow (start = theFol._m_flow_start) (380) [ALGB] (1) stream Real theFolNeg.port_b.h_outflow (start = theFolNeg.h_outflow_start, min = -1e10, max = 1e10, nominal = 83680.0) (381) [ALGB] (1) protected Real theFol.eneCon.opeModBas.etaE.eta (382) [ALGB] (1) protected Real cooWatNeg.p_in_internal (383) [ALGB] (1) protected Real theFol.vol.dynBal.m (start = theFol.vol.V * theFol.vol.rho_start, min = 0.0, StateSelect = default) (384) [ALGB] (1) protected Real theFol.fil.assPow.maxRat.u (385) [ALGB] (1) protected flow Real theFolNeg.opeMod.pumOn.outerStatePort.subgraphStatePort.activeSteps (386) [DISC] (1) protected Boolean theFol.opeMod.transition2.outPort.set (387) [DISC] (1) protected Boolean theFol.fil.assPow.maxRat.y (388) [ALGB] (1) Real dTEng.u2 (389) [DISC] (2) Boolean[2] theFol.opeMod.pumOn.outPort.available (390) [DISC] (1) protected Boolean theFolNeg.opeMod.transition5.outPort.occupied (391) [DISC] (1) protected Boolean theFol.powCon.staBy.y = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy (392) [DISC] (2) Boolean[2] theFolNeg.opeMod.warUp.inPort.set (393) [ALGB] (1) protected Real theFol.eng.theConHX.dT (394) [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) (395) [ALGB] (1) protected Real theFol.eneCon.switch5.u3 (396) [DISC] (2) Boolean[2] theFolNeg.opeMod.warUp.outPort.reset (397) [ALGB] (1) protected Real theFol.cooWatCon.divK.y (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) [DISS] (1) protected Boolean theFolNeg.opeMod.plaOff.oldActive (400) [ALGB] (1) protected Real theFol.fil.assPow.abs1.u (401) [ALGB] (1) Real theFol.cooWatCon.errI1.y (402) [DISC] (2) Boolean[2] theFolNeg.opeMod.staBy.outPort.reset (403) [ALGB] (1) Real theFolNeg.cooWatCon.controlError.y (404) [ALGB] (1) protected Real theFol.cooWatCon.addPID.u1 (405) [DISC] (1) protected Boolean theFol.eneCon.assFue.hys.y (406) [DISS] (1) protected Boolean theFolNeg.opeMod.staBy.oldActive (407) [DISC] (1) protected Boolean[1] theFolNeg.opeMod.plaOff.outPort.reset (408) [ALGB] (1) protected Real theFol.eng.conTheLos.dT (409) [ALGB] (1) protected flow Real theFolNeg.opeMod.warUp.outerStatePort.subgraphStatePort.activeSteps (410) [DISC] (1) protected Boolean theFolNeg.opeMod.transition10.outPort.occupied (411) [ALGB] (1) Real theFol.cooWatCon.controlError.y (412) [ALGB] (1) protected Real theFol.conWat.mWatIntCon.y (413) [DISS] (1) protected discrete Real valDat.nextTimeEventScaled (fixed = true, start = 0.0) (414) [ALGB] (1) protected Real theFolNeg.fil.dPLim.thr = (theFolNeg.fil.dPLim.u - theFolNeg.fil.dPLim.y) / theFolNeg.fil.dPLim.Td (415) [ALGB] (1) Real theFolNeg.cooWatCon.errI1.y (416) [ALGB] (1) Real QLosVal_flow.u (417) [ALGB] (1) protected Real theFol.eng.capTheEng.der_T (start = 0.0) (418) [ALGB] (1) flow Real theFol.vol.heatPort.Q_flow (419) [ALGB] (1) stream Real theFol.preDro.port_b.h_outflow (start = 83680.0, min = -1e10, max = 1e10, nominal = 83680.0) (420) [DISC] (1) protected Boolean theFol.opeMod.nor.outerStatePort.localActive = theFol.opeMod.nor.outerStatePort.localActive (421) [DISC] (1) protected Boolean theFolNeg.opeMod.transition3.inPort.available (422) [ALGB] (1) Real theFolNeg.cooWatCon.I.u (423) [ALGB] (1) protected Real theFol.cooWatCon.uSetWp.u (424) [DISC] (1) protected Boolean theFol.opeMod.pumOn.outerStatePort.localActive = theFol.opeMod.pumOn.outerStatePort.localActive (425) [ALGB] (1) protected Real theFol.cooWatCon.uSetWp.y (426) [DISC] (1) Boolean $TEV_75 (427) [DISC] (1) Boolean $TEV_74 (428) [DISC] (1) Boolean $TEV_73 (429) [DISC] (1) Boolean $TEV_72 (430) [DISC] (1) Boolean $TEV_71 (431) [ALGB] (2) flow Real[2] theFolNeg.vol.ports.m_flow (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}) (432) [DISC] (1) Boolean $TEV_70 (433) [DISS] (1) protected discrete Real valDat.nextTimeEvent (fixed = true, start = 0.0) (434) [DISC] (1) protected Boolean theFolNeg.opeMod.transition1.inPort.available (435) [DER-] (1) Real $DER.theFolNeg.eng.capTheEng.T (436) [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}) (437) [ALGB] (1) protected Real theFolNeg.eneCon.assFue.abs1.y (438) [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}) (439) [DISC] (2) Boolean[2] theFolNeg.opeMod.cooDow.outPort.reset (440) [ALGB] (1) flow Real theFol.watHea.port_a.Q_flow (441) [ALGB] (1) protected Real theFolNeg.eneCon.assFue.abs1.u (442) [DISC] (1) protected Boolean theFol.opeMod.transition3.outPort.set (443) [DISS] (1) protected discrete Real theFol.opeMod.warUpCtr.timer.yAcc (444) [DER-] (1) Real $DER.EEle.y (445) [DISC] (1) protected Boolean theFol.opeMod.transition1.outPort.occupied (446) [DISC] (1) protected Boolean theFol.opeMod.cooDow.newActive (447) [DISC] (1) Boolean $TEV_69 (448) [DISC] (1) Boolean $TEV_68 (449) [DISC] (1) Boolean $TEV_67 (450) [DISC] (1) Boolean $TEV_66 (451) [DISC] (1) protected Boolean theFol.opeMod.hys.y (452) [DISC] (1) Boolean $TEV_65 (453) [DISC] (1) Boolean $TEV_64 (454) [DISC] (1) Boolean $TEV_63 (455) [DISC] (1) protected Boolean theFolNeg.opeMod.cooDow.outerStatePort.localActive = theFolNeg.opeMod.cooDow.outerStatePort.localActive (456) [DISC] (1) Boolean $TEV_62 (457) [DISC] (1) protected final Boolean theFolNeg.opeMod.transition5.localCondition = theFolNeg.opeMod.transition5.localCondition (458) [DISC] (1) Boolean $TEV_61 (459) [DISC] (1) Boolean $TEV_60 (460) [DISC] (2) Boolean[2] theFolNeg.opeMod.cooDow.inPort.set (461) [DISC] (2) Boolean[2] theFol.opeMod.cooDow.outPort.available (462) [ALGB] (1) protected Real theFolNeg.eneCon.switch5.u3 (463) [DISC] (1) protected Boolean theFolNeg.opeMod.pumOn.outerStatePort.localActive = theFolNeg.opeMod.pumOn.outerStatePort.localActive (464) [ALGB] (1) Real dTEng.y (465) [DISC] (1) protected Boolean theFolNeg.opeMod.transition6.outPort.occupied (466) [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}) (467) [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}) (468) [ALGB] (1) Real dQGen.y (469) [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 (470) [DISC] (1) Boolean $TEV_59 (471) [DISC] (1) protected Boolean theFolNeg.opeMod.transition4.outPort.occupied (472) [DISC] (1) Boolean $TEV_58 (473) [DISS] (1) protected Boolean theFolNeg.opeMod.nor.oldActive (474) [DISC] (1) Boolean $TEV_57 (475) [DISC] (1) Boolean $TEV_56 (476) [DISC] (1) Boolean $TEV_55 (477) [DISC] (1) Boolean $TEV_54 (478) [DISC] (1) Boolean $TEV_53 (479) [DISC] (1) Boolean $TEV_52 (480) [DISC] (1) Boolean $TEV_51 (481) [DISC] (1) protected Boolean theFol.opeMod.transition1.outPort.set (482) [DISC] (1) protected Boolean theFol.opeMod.transition7.inPort.available (483) [DISC] (1) Boolean $TEV_50 (484) [DISC] (2) Boolean[2] theFolNeg.opeMod.staBy.outPort.available (485) [ALGB] (1) protected Real theFol.powCon.switch.y (486) [DER-] (1) Real $DER.theFolNeg.fil.dPLim.y (487) [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 (488) [ALGB] (1) protected Real theFolNeg.opeMod.max.y (489) [ALGB] (1) Real theFol.conWat.TWatIn (490) [DISS] (1) protected discrete Real avaSig.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (491) [ALGB] (1) protected flow Real theFolNeg.opeMod.staBy.outerStatePort.subgraphStatePort.activeSteps (492) [ALGB] (1) Real theFol.cooWatCon.errP.u2 (493) [DISC] (1) Boolean $TEV_49 (494) [DISC] (1) Boolean $TEV_48 (495) [DISC] (1) Integer theFolNeg.stateGraphRoot.activeSteps (496) [DISC] (1) Boolean $TEV_47 (497) [DISC] (1) Boolean $TEV_46 (498) [DISC] (1) Boolean $TEV_45 (499) [DISC] (1) Boolean $TEV_44 (500) [DISS] (1) protected discrete Real theFol.opeMod.warUpCtr.timer.entryTime (501) [DISS] (1) protected discrete Real theFolNeg.opeMod.timer.entryTime (502) [DISC] (1) Boolean $TEV_43 (503) [DISC] (1) Boolean $TEV_42 (504) [DISC] (1) Boolean $TEV_41 (505) [DISC] (1) Boolean $TEV_40 (506) [ALGB] (1) protected Real theFolNeg.conWat.mWatIntCon.y (507) [ALGB] (1) flow Real theFol.TRoo.Q_flow (508) [ALGB] (1) Real theFol.QLos.Q_flow (509) [DISC] (2) Boolean[2] $SEV_129[$i1] (510) [ALGB] (1) protected Real theFolNeg.eneCon.opeModBas.etaE.y (511) [ALGB] (1) Real theFolNeg.vol.p = theFolNeg.vol.ports[1].p (512) [DISC] (2) Boolean[2] $SEV_126[$i1] (513) [DISC] (2) Boolean[2] $SEV_123[$i1] (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) protected Boolean theFol.opeMod.timeDel.y (528) [DISC] (1) Boolean $TEV_35 (529) [DISC] (1) Boolean $TEV_34 (530) [DISC] (1) Boolean $TEV_33 (531) [DISC] (1) Boolean $TEV_32 (532) [DISC] (1) Boolean $TEV_31 (533) [DISC] (1) protected Boolean theFolNeg.powCon.staBy.y = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy (534) [DISC] (1) Boolean $TEV_30 (535) [ALGB] (1) Real theFol.vol.p = theFol.vol.ports[1].p (536) [DISC] (1) protected Boolean theFol.opeMod.transition4.outPort.set (537) [DISC] (1) protected Boolean theFol.opeMod.transition10.outPort.set (538) [ALGB] (1) protected Real theFol.opeMod.transition4.t_dummy (539) [DISC] (1) protected Boolean theFolNeg.opeMod.transition2.inPort.available (540) [DISC] (1) Boolean[1] theFolNeg.opeMod.pumOn.inPort.occupied (541) [ALGB] (1) Real theFolNeg.dp = theFolNeg.port_a.p - theFolNeg.port_b.p (start = theFolNeg._dp_start) (542) [ALGB] (1) protected Real theFolNeg.cooWatCon.antWinErr.y (543) [DISC] (1) Boolean $FUN_9 (544) [DISC] (1) protected Boolean theFol.opeMod.transition9.outPort.occupied (545) [DISC] (1) Boolean $FUN_8 (546) [ALGB] (2) flow Real[2] theFol.vol.ports.m_flow (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}) (547) [DISC] (1) Boolean $FUN_7 (548) [DISC] (1) protected Boolean theFolNeg.opeMod.cooDow.newActive (549) [DISC] (1) Boolean $TEV_29 (550) [ALGB] (1) Real $FUN_2 (551) [DISC] (1) Boolean $TEV_28 (552) [ALGB] (1) Real $FUN_1 (553) [ALGB] (1) Real theFolNeg.PEleDem (554) [ALGB] (1) Real dTWatOut.u2 (555) [DISC] (1) Boolean $TEV_27 (556) [DISC] (1) Boolean $TEV_26 (557) [DISC] (1) Boolean $TEV_25 (558) [DISC] (1) Boolean $TEV_24 (559) [DISC] (1) Boolean $TEV_23 (560) [DISC] (1) Boolean $TEV_22 (561) [DISC] (1) Boolean[1] theFol.opeMod.pumOn.inPort.occupied (562) [DISC] (1) Boolean $TEV_21 (563) [DISC] (1) Boolean $TEV_20 (564) [DISC] (1) protected Boolean theFolNeg.fil.assPow.maxRat.y (565) [DISS] (1) protected Boolean theFolNeg.opeMod.pumOn.oldActive (566) [ALGB] (1) protected Real theFolNeg.fil.assPow.maxRat.u (567) [DISC] (3) Boolean[3] $SEV_39[$i1] (568) [DISS] (1) protected discrete Real theFolNeg.opeMod.warUpCtr.timer.yAcc (569) [DISC] (3) Boolean[3] $SEV_40[$i1] (570) [DISC] (1) Boolean $TEV_19 (571) [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}) (572) [DISC] (1) Boolean $TEV_18 (573) [DISC] (1) Boolean $TEV_17 (574) [DISC] (1) Boolean $TEV_16 (575) [ALGB] (1) protected Real theFol.eneCon.opeModBas.etaQ.eta (576) [DISC] (1) protected Boolean[1] theFol.opeMod.nor.inPort.set (577) [DISC] (1) Boolean $TEV_15 (578) [DISC] (1) Boolean $TEV_14 (579) [DISC] (1) protected Boolean theFolNeg.opeMod.transition4.enableFire (580) [DISC] (1) Boolean $TEV_13 (581) [DISC] (1) Boolean $TEV_12 (582) [DISC] (1) Boolean $TEV_11 (583) [DISC] (1) Boolean $TEV_10 (584) [DISC] (1) protected Boolean theFol.opeMod.transition6.inPort.available (585) [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 (586) [DISC] (1) protected Boolean theFol.opeMod.transition4.inPort.available (587) [ALGB] (1) Real theFolNeg.eng.QGen_flow (588) [ALGB] (1) flow Real theFolNeg.stateGraphRoot.subgraphStatePort.activeSteps (589) [ALGB] (1) Real theFol.elePowDem.u (590) [ALGB] (1) protected Real theFolNeg.eng.conTheLos.dT (591) [ALGB] (1) stream Real theFol.preDro.port_a.h_outflow (start = 83680.0, min = -1e10, max = 1e10, nominal = 83680.0) (592) [DISC] (2) Boolean[2] $SEV_63[$i1] (593) [ALGB] (1) Real theFol.elePowDem.y (594) [DISC] (2) Boolean[2] $SEV_66[$i1] (595) [DISC] (2) Boolean[2] theFol.opeMod.staBy.outPort.reset (596) [ALGB] (1) flow Real theFol.stateGraphRoot.subgraphStatePort.activeSteps (597) [ALGB] (1) protected Real theFolNeg.opeMod.timer.y (598) [ALGB] (1) protected Real theFolNeg.powCon.switch.y (599) [ALGB] (1) protected Real theFolNeg.vol.dynBal.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - theFolNeg.vol.dynBal.medium.T_degC)) (600) [ALGB] (1) protected Real theFol.vol.dynBal.medium.state.T (start = 293.15, min = 1.0, max = 1e4, nominal = 300.0) (601) [DISC] (1) protected Boolean theFol.opeMod.transition8.inPort.available (602) [DISC] (2) Boolean[2] $SEV_70[$i1] (603) [DISC] (2) Boolean[2] theFolNeg.opeMod.pumOn.outPort.available (604) [DISC] (1) protected Boolean theFolNeg.opeMod.transition9.inPort.available (605) [DISC] (1) protected Boolean theFolNeg.opeMod.warUp.newActive (606) [ALGB] (1) protected Real theFolNeg.cooWatCon.divK.y (607) [DISC] (1) protected Boolean theFol.opeMod.transition9.outPort.set (608) [ALGB] (1) flow Real theFol.port_b.m_flow (min = -1e5, max = 1e60) (609) [ALGB] (1) protected Real theFol.eneCon.opeModBas.etaE.y (610) [DISC] (1) protected Boolean theFol.opeMod.warUp.newActive (611) [ALGB] (1) Real theFolNeg.QLos.port_b.T (start = 288.15, min = 0.0, nominal = 300.0) (612) [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 (613) [ALGB] (1) protected Real theFol.vol.dynBal.medium.state.p (start = 3e5, min = 0.0, max = 1e8, nominal = 1e5) (614) [ALGB] (1) protected Real theFolNeg.opeMod.warUpCtr.timer.y (615) [DISC] (1) protected Boolean theFol.opeMod.transition7.outPort.occupied (616) [ALGB] (1) protected Real theFolNeg.fil.assPow.abs1.u (617) [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) (618) [DISC] (1) protected Boolean[1] theFol.opeMod.nor.outPort.reset (619) [ALGB] (1) protected Real theFolNeg.cooWatCon.addPID.u1 (620) [DISC] (1) protected Boolean theFolNeg.eneCon.assFue.hys.y (621) [DISC] (1) protected Boolean theFolNeg.opeMod.staBy.outerStatePort.localActive = theFolNeg.opeMod.staBy.outerStatePort.localActive (622) [DISC] (1) protected Boolean theFol.opeMod.transition5.outPort.occupied (623) [DISC] (1) Boolean $SEV_99 (624) [DISC] (1) Boolean $SEV_98 (625) [DISC] (1) Boolean $SEV_97 (626) [DISC] (1) Boolean $SEV_96 (627) [DISC] (1) Boolean $SEV_95 (628) [DISC] (1) Boolean $SEV_94 (629) [DISC] (1) Boolean $SEV_93 (630) [DISC] (1) Boolean $SEV_92 (631) [DISC] (1) Boolean $SEV_90 (632) [DISC] (1) protected Boolean theFol.opeMod.transition8.outPort.occupied (633) [DISC] (1) protected Boolean theFol.opeMod.transition10.inPort.available (634) [ALGB] (1) Real theFolNeg.m_flow = theFolNeg.m_flow (start = theFolNeg._m_flow_start) (635) [ALGB] (1) stream Real theFol.port_b.h_outflow (start = theFol.h_outflow_start, min = -1e10, max = 1e10, nominal = 83680.0) (636) [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}) (637) [DISS] (1) protected Boolean theFol.opeMod.pumOn.oldActive (638) [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 (639) [ALGB] (1) protected Real theFolNeg.eng.capTheEng.der_T (start = 0.0) (640) [DISC] (2) Boolean[2] theFolNeg.opeMod.cooDow.inPort.occupied (641) [DISC] (1) protected Boolean theFol.opeMod.transition6.outPort.set (642) [ALGB] (1) flow Real theFolNeg.vol.heatPort.Q_flow (643) [DISC] (1) protected final Boolean theFolNeg.opeMod.transition7.localCondition = theFolNeg.opeMod.transition7.localCondition (644) [ALGB] (1) protected Real theFolNeg.fil.dPLim.u (645) [DISC] (1) Boolean $SEV_89 (646) [DISC] (1) Boolean $SEV_88 (647) [ALGB] (1) protected flow Real theFolNeg.opeMod.nor.outerStatePort.subgraphStatePort.activeSteps (648) [ALGB] (1) protected Real theFolNeg.eneCon.switch4.u3 (649) [DISC] (1) Boolean $SEV_87 (650) [DISC] (1) protected Boolean theFolNeg.opeMod.plaOff.newActive (651) [DISC] (1) Boolean $SEV_86 (652) [DISC] (1) Boolean $SEV_85 (653) [DISC] (1) Boolean $SEV_84 (654) [DISC] (1) Boolean $SEV_83 (655) [DISC] (1) protected Boolean theFol.opeMod.assWatMas.not1.u (656) [DISC] (1) Boolean $SEV_82 (657) [ALGB] (1) protected Real theFolNeg.opeMod.transition4.t (658) [ALGB] (1) Real TEngVal.u (659) [DISC] (1) protected Boolean[1] theFol.opeMod.nor.inPort.occupied (660) [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}) (661) [ALGB] (1) Real dPEleNet.y (662) [ALGB] (1) Real EEle.u (663) [ALGB] (1) protected Real theFol.vol.dynBal.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * theFol.vol.dynBal.medium.p_bar) (664) [ALGB] (1) stream Real theFolNeg.preDro.port_a.h_outflow (start = 83680.0, min = -1e10, max = 1e10, nominal = 83680.0) (665) [DISC] (1) Boolean $SEV_79 system eqns Equations (712/784) ********************************* (1) [SCAL] (1) $TEV_41 = $PRE.theFol.opeMod.timer.entryTime ($RES_EVT_1673) (2) [SCAL] (1) $TEV_40 = $PRE.theFol.hys.y ($RES_EVT_1672) (3) [SCAL] (1) $TEV_39 = $PRE.theFol.fil.assPow.maxPow.y ($RES_EVT_1671) (4) [SCAL] (1) $TEV_38 = $PRE.theFol.fil.assPow.minPow.y ($RES_EVT_1670) (5) [SCAL] (1) theFolNeg.opeMod.transition5.outPort.occupied = theFolNeg.opeMod.plaOff.inPort[2].occupied ($RES_SIM_1029) (6) [SCAL] (1) theFolNeg.opeMod.transition5.outPort.set = theFolNeg.opeMod.plaOff.inPort[2].set ($RES_SIM_1028) (7) [SCAL] (1) theFolNeg.opeMod.transition10.outPort.occupied = theFolNeg.opeMod.plaOff.inPort[3].occupied ($RES_SIM_1027) (8) [SCAL] (1) theFolNeg.opeMod.transition10.outPort.set = theFolNeg.opeMod.plaOff.inPort[3].set ($RES_SIM_1026) (9) [SCAL] (1) theFolNeg.opeMod.transition1.outPort.occupied = theFolNeg.opeMod.staBy.inPort[1].occupied ($RES_SIM_1024) (10) [SCAL] (1) theFolNeg.opeMod.transition1.outPort.set = theFolNeg.opeMod.staBy.inPort[1].set ($RES_SIM_1023) (11) [FOR-] (2) ($RES_EVT_1848) (11) [----] for $i1 in 1:2 loop (11) [----] [SCAL] (1) $SEV_127[$i1] = theFol.opeMod.warUp.inPort[$i1 - 1].occupied or theFol.opeMod.warUp.inPort[$i1 - 1].set ($RES_EVT_1849) (11) [----] end for; (12) [SCAL] (1) theFolNeg.opeMod.staBy.outPort[1].available = theFolNeg.opeMod.transition2.inPort.available ($RES_SIM_1022) (13) [SCAL] (1) theFolNeg.opeMod.staBy.outPort[1].reset = theFolNeg.opeMod.transition2.outPort.set ($RES_SIM_1021) (14) [FOR-] (2) ($RES_EVT_1846) (14) [----] for $i1 in 1:2 loop (14) [----] [SCAL] (1) $SEV_126[$i1] = theFol.opeMod.warUp.outPort[$i1 - 1].available and not theFol.opeMod.warUp.outPort[$i1 - 1].reset ($RES_EVT_1847) (14) [----] end for; (15) [SCAL] (1) theFolNeg.opeMod.staBy.outPort[2].available = theFolNeg.opeMod.transition3.inPort.available ($RES_SIM_1020) (16) [SCAL] (1) $SEV_125 = $FUN_13 or theFol.opeMod.cooDow.outerStatePort.localActive and not $FUN_14 ($RES_EVT_1845) (17) [FOR-] (2) ($RES_EVT_1843) (17) [----] for $i1 in 1:2 loop (17) [----] [SCAL] (1) $SEV_124[$i1] = theFol.opeMod.cooDow.inPort[$i1 - 1].occupied or theFol.opeMod.cooDow.inPort[$i1 - 1].set ($RES_EVT_1844) (17) [----] end for; (18) [SCAL] (1) $SEV_49 = 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_1759) (19) [FOR-] (2) ($RES_EVT_1841) (19) [----] for $i1 in 1:2 loop (19) [----] [SCAL] (1) $SEV_123[$i1] = theFol.opeMod.cooDow.outPort[$i1 - 1].available and not theFol.opeMod.cooDow.outPort[$i1 - 1].reset ($RES_EVT_1842) (19) [----] end for; (20) [SCAL] (1) $SEV_48 = (not theFol.opeMod.transition3.localCondition and theFolNeg.opeMod.transition1.inPort.available) and not theFolNeg.opeMod.transition1.outPort.occupied ($RES_EVT_1758) (21) [SCAL] (1) $SEV_122 = 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_1840) (22) [SCAL] (1) $SEV_47 = (not theFolNeg.opeMod.transition5.localCondition and theFolNeg.opeMod.transition2.inPort.available) and not theFolNeg.opeMod.transition2.outPort.occupied ($RES_EVT_1757) (23) [SCAL] (1) $SEV_46 = $FUN_36 or theFolNeg.opeMod.nor.outerStatePort.localActive and not $FUN_37 ($RES_EVT_1756) (24) [SCAL] (1) $SEV_45 = (theFolNeg.opeMod.transition9.localCondition and theFolNeg.opeMod.transition8.inPort.available) and not theFolNeg.opeMod.transition8.outPort.occupied ($RES_EVT_1755) (25) [SCAL] (1) $SEV_44 = theFolNeg.opeMod.warUp.outerStatePort.localActive and not edge(false) ($RES_EVT_1754) (26) [SCAL] (1) $SEV_43 = theFolNeg.opeMod.warUpCtr.timer.y >= theFolNeg.opeMod.warUpCtr.timeDel.threshold ($RES_EVT_1753) (27) [SCAL] (1) $SEV_42 = (theFolNeg.opeMod.transition6.localCondition and theFolNeg.opeMod.transition6.inPort.available) and not theFolNeg.opeMod.transition6.outPort.occupied ($RES_EVT_1752) (28) [SCAL] (1) $TEV_37 = $PRE.theFol.assWatTem.hys.y ($RES_EVT_1669) (29) [SCAL] (1) $SEV_41 = $FUN_38 or theFolNeg.opeMod.plaOff.outerStatePort.localActive and not $FUN_39 ($RES_EVT_1751) (30) [SCAL] (1) $TEV_36 = $PRE.theFolNeg.eneCon.assFue.hys.y ($RES_EVT_1668) (31) [SCAL] (1) $TEV_35 = $PRE.theFolNeg.opeMod.staBy.newActive ($RES_EVT_1667) (32) [SCAL] (1) $TEV_34 = $PRE.theFolNeg.opeMod.staBy.outerStatePort.localActive ($RES_EVT_1666) (33) [SCAL] (1) $TEV_33 = $PRE.theFolNeg.opeMod.staBy.oldActive ($RES_EVT_1665) (34) [SCAL] (1) $TEV_32 = $PRE.theFolNeg.opeMod.pumOn.newActive ($RES_EVT_1664) (35) [SCAL] (1) $TEV_31 = $PRE.theFolNeg.opeMod.pumOn.outerStatePort.localActive ($RES_EVT_1663) (36) [SCAL] (1) $TEV_30 = $PRE.theFolNeg.opeMod.pumOn.oldActive ($RES_EVT_1662) (37) [SCAL] (1) $TEV_29 = $PRE.theFolNeg.opeMod.warUp.newActive ($RES_EVT_1661) (38) [SCAL] (1) $TEV_28 = $PRE.theFolNeg.opeMod.warUp.outerStatePort.localActive ($RES_EVT_1660) (39) [SCAL] (1) theFolNeg.opeMod.staBy.outPort[2].reset = theFolNeg.opeMod.transition3.outPort.set ($RES_SIM_1019) (40) [SCAL] (1) theFolNeg.opeMod.transition2.outPort.occupied = theFolNeg.opeMod.pumOn.inPort[1].occupied ($RES_SIM_1018) (41) [SCAL] (1) theFolNeg.opeMod.transition2.outPort.set = theFolNeg.opeMod.pumOn.inPort[1].set ($RES_SIM_1017) (42) [SCAL] (1) theFolNeg.opeMod.pumOn.outPort[1].available = theFolNeg.opeMod.transition4.inPort.available ($RES_SIM_1016) (43) [SCAL] (1) theFolNeg.opeMod.pumOn.outPort[1].reset = theFolNeg.opeMod.transition4.outPort.set ($RES_SIM_1015) (44) [SCAL] (1) theFolNeg.opeMod.pumOn.outPort[2].available = theFolNeg.opeMod.transition5.inPort.available ($RES_SIM_1014) (45) [SCAL] (1) $SEV_121 = theFol.opeMod.hys.y and not theFol.opeMod.transition5.localCondition ($RES_EVT_1839) (46) [SCAL] (1) theFolNeg.opeMod.pumOn.outPort[2].reset = theFolNeg.opeMod.transition5.outPort.set ($RES_SIM_1013) (47) [SCAL] (1) $SEV_120 = not theFol.opeMod.transition9.localCondition and theFol.opeMod.and1.u2 ($RES_EVT_1838) (48) [SCAL] (1) theFolNeg.opeMod.warUp.outPort[1].available = theFolNeg.opeMod.transition6.inPort.available ($RES_SIM_1012) (49) [SCAL] (1) $SEV_119 = (theFol.opeMod.transition3.localCondition and theFol.opeMod.transition3.inPort.available) and not theFol.opeMod.transition3.outPort.occupied ($RES_EVT_1837) (50) [SCAL] (1) theFolNeg.opeMod.warUp.outPort[1].reset = theFolNeg.opeMod.transition6.outPort.set ($RES_SIM_1011) (51) [SCAL] (1) $SEV_118 = (theFol.opeMod.transition5.localCondition and theFol.opeMod.transition5.inPort.available) and not theFol.opeMod.transition5.outPort.occupied ($RES_EVT_1836) (52) [SCAL] (1) theFolNeg.opeMod.warUp.outPort[2].available = theFolNeg.opeMod.transition9.inPort.available ($RES_SIM_1010) (53) [SCAL] (1) $SEV_117 = (theFol.opeMod.transition9.localCondition and theFol.opeMod.transition9.inPort.available) and not theFol.opeMod.transition9.outPort.occupied ($RES_EVT_1835) (54) [SCAL] (1) $SEV_116 = (theFol.opeMod.transition7.localCondition and theFol.opeMod.transition7.inPort.available) and not theFol.opeMod.transition7.outPort.occupied ($RES_EVT_1834) (55) [SCAL] (1) $SEV_115 = theFol.opeMod.optCooDow.k and not theFol.opeMod.transition9.localCondition ($RES_EVT_1833) (56) [SCAL] (1) $SEV_114 = (theFol.opeMod.transition10.localCondition and theFol.opeMod.transition10.inPort.available) and not theFol.opeMod.transition10.outPort.occupied ($RES_EVT_1832) (57) [FOR-] (3) ($RES_EVT_1749) (57) [----] for $i1 in 1:3 loop (57) [----] [SCAL] (1) $SEV_40[$i1] = theFolNeg.opeMod.plaOff.inPort[$i1 - 1].occupied or theFolNeg.opeMod.plaOff.inPort[$i1 - 1].set ($RES_EVT_1750) (57) [----] end for; (58) [SCAL] (1) $SEV_113 = theFol.opeMod.timeDel.y and theFol.opeMod.transition9.localCondition ($RES_EVT_1831) (59) [SCAL] (1) $SEV_112 = not theFol.opeMod.transition5.localCondition and not theFol.opeMod.assWatMas.not1.u ($RES_EVT_1830) (60) [FOR-] (3) ($RES_EVT_1747) (60) [----] for $i1 in 1:3 loop (60) [----] [SCAL] (1) $SEV_39[$i1] = $i1 == 1 ($RES_EVT_1748) (60) [----] end for; (61) [SCAL] (1) $SEV_38 = theFolNeg.opeMod.transition4.enableFire and time >= ((time - theFolNeg.opeMod.transition4.t_dummy) + theFolNeg.opeMod.transition4.waitTime) ($RES_EVT_1746) (62) [SCAL] (1) $SEV_37 = (not theFolNeg.opeMod.transition9.localCondition and theFolNeg.opeMod.transition4.inPort.available) and not theFolNeg.opeMod.transition4.outPort.occupied ($RES_EVT_1745) (63) [SCAL] (1) $SEV_36 = theFolNeg.opeMod.timer.y >= theFolNeg.opeMod.timeDel.threshold ($RES_EVT_1744) (64) [SCAL] (1) $SEV_35 = theFolNeg.opeMod.cooDow.outerStatePort.localActive and not edge(false) ($RES_EVT_1743) (65) [SCAL] (1) $SEV_34 = not theFol.opeMod.transition3.localCondition and theFolNeg.hys.y ($RES_EVT_1742) (66) [SCAL] (1) $TEV_27 = $PRE.theFolNeg.opeMod.warUp.oldActive ($RES_EVT_1659) (67) [SCAL] (1) $SEV_33 = 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_1741) (68) [SCAL] (1) $TEV_26 = $PRE.theFolNeg.opeMod.cooDow.newActive ($RES_EVT_1658) (69) [SCAL] (1) $SEV_32 = theFolNeg.fil.assPow.maxPow.y or not theFolNeg.fil.assPow.minPow.y ($RES_EVT_1740) (70) [SCAL] (1) $TEV_25 = $PRE.theFolNeg.opeMod.cooDow.outerStatePort.localActive ($RES_EVT_1657) (71) [SCAL] (1) $TEV_24 = $PRE.theFolNeg.opeMod.cooDow.oldActive ($RES_EVT_1656) (72) [SCAL] (1) $TEV_23 = $PRE.theFolNeg.opeMod.hys.y ($RES_EVT_1655) (73) [SCAL] (1) $TEV_22 = $PRE.theFolNeg.opeMod.transition3.outPort.set ($RES_EVT_1654) (74) [SCAL] (1) $TEV_21 = $PRE.theFolNeg.opeMod.transition5.outPort.set ($RES_EVT_1653) (75) [SCAL] (1) $TEV_20 = $PRE.theFolNeg.opeMod.transition9.outPort.set ($RES_EVT_1652) (76) [SCAL] (1) $TEV_19 = $PRE.theFolNeg.opeMod.transition7.outPort.set ($RES_EVT_1651) (77) [SCAL] (1) $TEV_18 = $PRE.theFolNeg.opeMod.transition10.outPort.set ($RES_EVT_1650) (78) [SCAL] (1) theFolNeg.opeMod.warUp.outPort[2].reset = theFolNeg.opeMod.transition9.outPort.set ($RES_SIM_1009) (79) [SCAL] (1) theFolNeg.opeMod.transition4.outPort.occupied = theFolNeg.opeMod.warUp.inPort[1].occupied ($RES_SIM_1006) (80) [SCAL] (1) theFolNeg.opeMod.transition4.outPort.set = theFolNeg.opeMod.warUp.inPort[1].set ($RES_SIM_1005) (81) [SCAL] (1) theFolNeg.opeMod.transition7.outPort.occupied = theFolNeg.opeMod.warUp.inPort[2].occupied ($RES_SIM_1004) (82) [SCAL] (1) $SEV_111 = 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_1829) (83) [SCAL] (1) theFolNeg.opeMod.transition7.outPort.set = theFolNeg.opeMod.warUp.inPort[2].set ($RES_SIM_1003) (84) [SCAL] (1) $SEV_110 = (not theFol.opeMod.transition3.localCondition and theFol.opeMod.transition1.inPort.available) and not theFol.opeMod.transition1.outPort.occupied ($RES_EVT_1828) (85) [SCAL] (1) theFolNeg.opeMod.transition8.outPort.occupied = theFolNeg.opeMod.cooDow.inPort[1].occupied ($RES_SIM_1002) (86) [SCAL] (1) $SEV_109 = (not theFol.opeMod.transition5.localCondition and theFol.opeMod.transition2.inPort.available) and not theFol.opeMod.transition2.outPort.occupied ($RES_EVT_1827) (87) [SCAL] (1) theFolNeg.opeMod.transition8.outPort.set = theFolNeg.opeMod.cooDow.inPort[1].set ($RES_SIM_1001) (88) [SCAL] (1) $SEV_108 = $FUN_15 or theFol.opeMod.nor.outerStatePort.localActive and not $FUN_16 ($RES_EVT_1826) (89) [SCAL] (1) theFolNeg.opeMod.transition9.outPort.occupied = theFolNeg.opeMod.cooDow.inPort[2].occupied ($RES_SIM_1000) (90) [SCAL] (1) $SEV_107 = (theFol.opeMod.transition9.localCondition and theFol.opeMod.transition8.inPort.available) and not theFol.opeMod.transition8.outPort.occupied ($RES_EVT_1825) (91) [SCAL] (1) $SEV_106 = theFol.opeMod.warUp.outerStatePort.localActive and not edge(false) ($RES_EVT_1824) (92) [SCAL] (1) $SEV_105 = theFol.opeMod.warUpCtr.timer.y >= theFol.opeMod.warUpCtr.timeDel.threshold ($RES_EVT_1823) (93) [SCAL] (1) $SEV_104 = (theFol.opeMod.transition6.localCondition and theFol.opeMod.transition6.inPort.available) and not theFol.opeMod.transition6.outPort.occupied ($RES_EVT_1822) (94) [SCAL] (1) $SEV_31 = theFolNeg.fil.assPow.maxRat.u >= theFolNeg.fil.assPow.maxRat.threshold ($RES_EVT_1739) (95) [SCAL] (1) $SEV_103 = $FUN_17 or theFol.opeMod.plaOff.outerStatePort.localActive and not $FUN_18 ($RES_EVT_1821) (96) [SCAL] (1) $SEV_30 = 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_1738) (97) [SCAL] (1) $SEV_29 = 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_1737) (98) [SCAL] (1) $SEV_27 = theFolNeg.fil.PLim.simplifiedExpr < theFolNeg.fil.PMin.k ($RES_EVT_1735) (99) [SCAL] (1) $SEV_26 = theFolNeg.fil.PLim.simplifiedExpr > theFolNeg.fil.PMax.k ($RES_EVT_1734) (100) [SCAL] (1) $SEV_25 = theFolNeg.fil.dPLim.thr > theFolNeg.fil.dPLim.raisingSlewRate ($RES_EVT_1733) (101) [SCAL] (1) $SEV_24 = theFolNeg.fil.dPLim.thr < theFolNeg.fil.dPLim.fallingSlewRate ($RES_EVT_1732) (102) [SCAL] (1) $TEV_17 = $PRE.theFolNeg.opeMod.assWatMas.not1.u ($RES_EVT_1649) (103) [SCAL] (1) $SEV_23 = 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_1731) (104) [SCAL] (1) $TEV_16 = $PRE.theFolNeg.opeMod.transition1.outPort.set ($RES_EVT_1648) (105) [SCAL] (1) $SEV_22 = theFolNeg.cooWatCon.lim.u < theFolNeg.cooWatCon.lim.uMin ($RES_EVT_1730) (106) [SCAL] (1) $TEV_15 = $PRE.theFolNeg.opeMod.transition2.outPort.set ($RES_EVT_1647) (107) [SCAL] (1) $TEV_14 = $PRE.theFolNeg.opeMod.nor.newActive ($RES_EVT_1646) (108) [SCAL] (1) $TEV_13 = $PRE.theFolNeg.opeMod.nor.outerStatePort.localActive ($RES_EVT_1645) (109) [SCAL] (1) $TEV_12 = $PRE.theFolNeg.opeMod.nor.oldActive ($RES_EVT_1644) (110) [SCAL] (1) $TEV_11 = $PRE.theFolNeg.opeMod.transition8.outPort.set ($RES_EVT_1643) (111) [SCAL] (1) $TEV_10 = $PRE.theFolNeg.opeMod.warUpCtr.timer.entryTime ($RES_EVT_1642) (112) [SCAL] (1) $TEV_9 = $PRE.theFolNeg.opeMod.transition6.outPort.set ($RES_EVT_1641) (113) [SCAL] (1) $TEV_8 = $PRE.theFolNeg.opeMod.plaOff.newActive ($RES_EVT_1640) (114) [FOR-] (3) ($RES_EVT_1819) (114) [----] for $i1 in 1:3 loop (114) [----] [SCAL] (1) $SEV_102[$i1] = theFol.opeMod.plaOff.inPort[$i1 - 1].occupied or theFol.opeMod.plaOff.inPort[$i1 - 1].set ($RES_EVT_1820) (114) [----] end for; (115) [SCAL] (1) $SEV_101 = theFol.opeMod.transition4.enableFire and time >= ((time - theFol.opeMod.transition4.t_dummy) + theFol.opeMod.transition4.waitTime) ($RES_EVT_1818) (116) [SCAL] (1) $SEV_100 = (not theFol.opeMod.transition9.localCondition and theFol.opeMod.transition4.inPort.available) and not theFol.opeMod.transition4.outPort.occupied ($RES_EVT_1817) (117) [SCAL] (1) $SEV_99 = theFol.opeMod.timer.y >= theFol.opeMod.timeDel.threshold ($RES_EVT_1816) (118) [SCAL] (1) $SEV_98 = theFol.opeMod.cooDow.outerStatePort.localActive and not edge(false) ($RES_EVT_1815) (119) [SCAL] (1) $SEV_97 = not theFol.opeMod.transition3.localCondition and theFol.hys.y ($RES_EVT_1814) (120) [SCAL] (1) $SEV_96 = 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_1813) (121) [SCAL] (1) $SEV_95 = theFol.fil.assPow.maxPow.y or not theFol.fil.assPow.minPow.y ($RES_EVT_1812) (122) [SCAL] (1) $SEV_21 = theFolNeg.cooWatCon.lim.u > theFolNeg.cooWatCon.lim.uMax ($RES_EVT_1729) (123) [SCAL] (1) $SEV_94 = theFol.fil.assPow.maxRat.u >= theFol.fil.assPow.maxRat.threshold ($RES_EVT_1811) (124) [SCAL] (1) $SEV_93 = 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_1810) (125) [SCAL] (1) $TEV_7 = $PRE.theFolNeg.opeMod.plaOff.outerStatePort.localActive ($RES_EVT_1639) (126) [SCAL] (1) $TEV_6 = $PRE.theFolNeg.opeMod.plaOff.oldActive ($RES_EVT_1638) (127) [SCAL] (1) $TEV_5 = $PRE.theFolNeg.opeMod.transition4.enableFire ($RES_EVT_1637) (128) [SCAL] (1) $TEV_4 = $PRE.theFolNeg.opeMod.timer.entryTime ($RES_EVT_1636) (129) [SCAL] (1) $TEV_3 = $PRE.theFolNeg.hys.y ($RES_EVT_1635) (130) [SCAL] (1) $TEV_2 = $PRE.theFolNeg.fil.assPow.maxPow.y ($RES_EVT_1634) (131) [SCAL] (1) $TEV_1 = $PRE.theFolNeg.fil.assPow.minPow.y ($RES_EVT_1633) (132) [SCAL] (1) $TEV_0 = $PRE.theFolNeg.assWatTem.hys.y ($RES_EVT_1632) (133) [SCAL] (1) $SEV_92 = 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_1809) (134) [SCAL] (1) $SEV_90 = theFol.fil.PLim.simplifiedExpr < theFol.fil.PMin.k ($RES_EVT_1807) (135) [SCAL] (1) $SEV_89 = theFol.fil.PLim.simplifiedExpr > theFol.fil.PMax.k ($RES_EVT_1806) (136) [SCAL] (1) $SEV_88 = theFol.fil.dPLim.thr > theFol.fil.dPLim.raisingSlewRate ($RES_EVT_1805) (137) [SCAL] (1) $SEV_87 = theFol.fil.dPLim.thr < theFol.fil.dPLim.fallingSlewRate ($RES_EVT_1804) (138) [SCAL] (1) $SEV_86 = 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_1803) (139) [SCAL] (1) $SEV_85 = theFol.cooWatCon.lim.u < theFol.cooWatCon.lim.uMin ($RES_EVT_1802) (140) [SCAL] (1) $SEV_84 = theFol.cooWatCon.lim.u > theFol.cooWatCon.lim.uMax ($RES_EVT_1801) (141) [SCAL] (1) $SEV_83 = time >= $PRE.avaSig.combiTimeTable.nextTimeEvent ($RES_EVT_1800) (142) [SCAL] (1) $TEV_75 = $PRE.avaSig.combiTimeTable.nextTimeEventScaled ($RES_EVT_1707) (143) [SCAL] (1) $TEV_74 = $PRE.valDat.nextTimeEventScaled ($RES_EVT_1706) (144) [SCAL] (1) $TEV_73 = $PRE.theFol.eneCon.assFue.hys.y ($RES_EVT_1705) (145) [SCAL] (1) $TEV_72 = $PRE.theFol.opeMod.staBy.newActive ($RES_EVT_1704) (146) [SCAL] (1) $TEV_71 = $PRE.theFol.opeMod.staBy.outerStatePort.localActive ($RES_EVT_1703) (147) [SCAL] (1) $TEV_70 = $PRE.theFol.opeMod.staBy.oldActive ($RES_EVT_1702) (148) [SCAL] (1) $TEV_69 = $PRE.theFol.opeMod.pumOn.newActive ($RES_EVT_1701) (149) [SCAL] (1) $TEV_68 = $PRE.theFol.opeMod.pumOn.outerStatePort.localActive ($RES_EVT_1700) (150) [SCAL] (1) $DER.theFolNeg.fil.assPow.demRat.x = (theFolNeg.fil.PLim.simplifiedExpr - theFolNeg.fil.assPow.demRat.x) / theFolNeg.fil.assPow.demRat.T ($RES_SIM_200) (151) [SCAL] (1) theFolNeg.fil.assPow.nor.y = not $SEV_32 ($RES_SIM_202) (152) [SCAL] (1) $DER.ETheVal.y = ETheVal.k * QWatVal_flow.u ($RES_SIM_119) (153) [SCAL] (1) theFolNeg.hys.y = $SEV_33 ($RES_SIM_205) (154) [SCAL] (1) not theFolNeg.opeMod.transition5.localCondition = $SEV_34 ($RES_SIM_206) (155) [-IF-] (1)if theFolNeg.opeMod.plaOff.outerStatePort.localActive then (155) [----] [SCAL] (1) theFolNeg.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off ($RES_SIM_209) (155) [----] elseif theFolNeg.opeMod.staBy.outerStatePort.localActive then (155) [----] [SCAL] (1) theFolNeg.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_SIM_210) (155) [----] elseif theFolNeg.opeMod.pumOn.outerStatePort.localActive then (155) [----] [SCAL] (1) theFolNeg.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.PumpOn ($RES_SIM_211) (155) [----] elseif theFolNeg.opeMod.warUp.outerStatePort.localActive then (155) [----] [SCAL] (1) theFolNeg.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_SIM_212) (155) [----] elseif theFolNeg.opeMod.nor.outerStatePort.localActive then (155) [----] [SCAL] (1) theFolNeg.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_SIM_213) (155) [----] else (155) [----] [SCAL] (1) theFolNeg.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown ($RES_SIM_214) (155) [----] end if; (156) [SCAL] (1) $DER.EEleVal.y = EEleVal.k * PEleNetVal.u ($RES_SIM_122) (157) [SCAL] (1) $DER.EThe.y = EThe.k * EThe.u ($RES_SIM_125) (158) [SCAL] (1) $DER.EEle.y = EEle.k * EEle.u ($RES_SIM_128) (159) [SCAL] (1) theFolNeg.opeMod.timer.y = if theFolNeg.opeMod.cooDow.outerStatePort.localActive then time - theFolNeg.opeMod.timer.entryTime else 0.0 ($RES_SIM_216) (160) [WHEN] (1)when not theFolNeg.opeMod.cooDow.outerStatePort.localActive then (160) [----] theFolNeg.opeMod.timer.yAcc := $PRE.theFolNeg.opeMod.timer.y (160) [----] else when false then (160) [----] theFolNeg.opeMod.timer.yAcc := 0.0 (160) [----] end when; (161) [WHEN] (1)when false then (161) [----] theFolNeg.opeMod.timer.entryTime := time (161) [----] else when $SEV_35 then (161) [----] theFolNeg.opeMod.timer.entryTime := time (161) [----] end when; (162) [SCAL] (1) theFolNeg.opeMod.transition9.outPort.set = $SEV_55 ($RES_SIM_305) (163) [SCAL] (1) theFolNeg.opeMod.timeDel.y = $SEV_36 ($RES_SIM_220) (164) [SCAL] (1) theFolNeg.opeMod.transition4.enableFire = $SEV_37 ($RES_SIM_224) (165) [SCAL] (1) theFolNeg.opeMod.transition4.outPort.set = $SEV_38 ($RES_SIM_225) (166) [SCAL] (1) theFolNeg.opeMod.transition4.t = if theFolNeg.opeMod.transition4.enableFire then theFolNeg.opeMod.transition4.t_dummy else 0.0 ($RES_SIM_226) (167) [WHEN] (1)when theFolNeg.opeMod.transition4.enableFire then (167) [----] time - theFolNeg.opeMod.transition4.t_dummy := time (167) [----] end when; (168) [SCAL] (1) theFolNeg.opeMod.transition5.outPort.set = $SEV_56 ($RES_SIM_312) (169) [SCAL] (1) theFolNeg.opeMod.plaOff.outPort[1].reset = false ($RES_SIM_229) (170) [SCAL] (1) theFolNeg.eng.QGen_flow = if theFolNeg.eneCon.switch3.u2 then theFolNeg.eneCon.dumTimDel.k else theFolNeg.eneCon.switch5.u3 ($RES_SIM_400) (171) [SCAL] (1) theFolNeg.eneCon.switch4.y = if theFolNeg.eneCon.switch3.u2 then theFolNeg.eneCon.dumTimDel.k else theFolNeg.eneCon.switch4.u3 ($RES_SIM_401) (172) [SCAL] (1) theFolNeg.mFue_flow = if theFolNeg.eneCon.switch3.u2 then theFolNeg.eneCon.dumTimDel.k else theFolNeg.eneCon.switch3.u3 ($RES_SIM_402) (173) [SCAL] (1) theFolNeg.opeMod.transition3.outPort.set = $SEV_57 ($RES_SIM_319) (174) [SCAL] (1) theFolNeg.PEleNet = if theFolNeg.eneCon.and1.u1 then theFolNeg.eneCon.PEleTimeDel.k else theFolNeg.eneCon.opeModBas.groHea.u1 ($RES_SIM_403) (175) [SCAL] (1) theFolNeg.eneCon.opeModBas.groHea.u1 = if theFolNeg.eneCon.booExp.y then theFolNeg.hys.u else theFolNeg.eneCon.const.k ($RES_SIM_404) (176) [SCAL] (1) theFolNeg.eneCon.switch3.u3 = theFolNeg.eneCon.opeModBas.masFloFue.k * theFolNeg.eneCon.opeModBas.heaGen.u1 ($RES_SIM_406) (177) [SCAL] (1) theFolNeg.eneCon.switch5.u3 = theFolNeg.eneCon.opeModBas.heaGen.u1 * theFolNeg.eneCon.opeModBas.etaQ.eta ($RES_SIM_408) (178) [SCAL] (1) theFolNeg.eneCon.opeModBas.heaGen.u1 = theFolNeg.eneCon.opeModBas.groHea.u1 / theFolNeg.eneCon.opeModBas.etaE.eta ($RES_SIM_409) (179) [SCAL] (1) theFolNeg.stateGraphRoot.activeSteps = -integer(theFolNeg.stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_141) (180) [SCAL] (1) theFolNeg.gai.y = theFolNeg.gai.k * theFolNeg.watHea.port_a.Q_flow ($RES_SIM_142) (181) [SCAL] (1) theFolNeg.fil.PLim.simplifiedExpr = theFolNeg.elePowDem.y ($RES_SIM_143) (182) [SCAL] (1) theFolNeg.elePowDem.y = theFolNeg.elePowDem.k * theFolNeg.elePowDem.u ($RES_SIM_144) (183) [FOR-] (3) ($RES_SIM_230) (183) [----] for $i1 in 1:3 loop (183) [----] [SCAL] (1) theFolNeg.opeMod.plaOff.inPort[$i1].set = false ($RES_SIM_231) (183) [----] end for; (184) [SCAL] (1) theFolNeg.cooWatCon.addRes.y = theFolNeg.cooWatCon.divK.y - theFolNeg.cooWatCon.addPID.u1 ($RES_SIM_147) (185) [SCAL] (1) theFolNeg.cooWatCon.divK.y = theFolNeg.cooWatCon.divK.k * theFolNeg.cooWatCon.yResSig.k ($RES_SIM_148) (186) [SCAL] (1) theFolNeg.opeMod.plaOff.outPort[1].available = theFolNeg.opeMod.plaOff.outerStatePort.localActive ($RES_SIM_232) (187) [FOR-] (3) ($RES_SIM_233) (187) [----] for $i1 in 1:3 loop (187) [----] [SCAL] (1) theFolNeg.opeMod.plaOff.inPort[$i1].occupied = if $SEV_39[$i1] then theFolNeg.opeMod.plaOff.outerStatePort.localActive else $SEV_40[$i1] ($RES_SIM_234) (187) [----] end for; (188) [WHEN] (1)when false then (188) [----] theFolNeg.opeMod.plaOff.oldActive := theFolNeg.opeMod.plaOff.outerStatePort.localActive (188) [----] end when; (189) [SCAL] (1) theFolNeg.opeMod.plaOff.newActive = $SEV_41 ($RES_SIM_236) (190) [SCAL] (1) theFolNeg.opeMod.plaOff.outerStatePort.localActive = $TEV_8 ($RES_SIM_237) (191) [SCAL] (1) theFolNeg.opeMod.plaOff.outerStatePort.subgraphStatePort.activeSteps = if theFolNeg.opeMod.plaOff.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_239) (192) [SCAL] (1) theFolNeg.opeMod.transition6.localCondition = $SEV_58 ($RES_SIM_324) (193) [SCAL] (1) theFolNeg.eneCon.opeModBas.etaQ.eta = smooth(1, if $SEV_72 then theFolNeg.eneCon.opeModBas.etaQ.y else if $SEV_73 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_410) (194) [SCAL] (1) not theFolNeg.opeMod.transition9.localCondition = $SEV_59 ($RES_SIM_327) (195) [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_411) (196) [SCAL] (1) theFolNeg.opeMod.hys.y = $SEV_60 ($RES_SIM_328) (197) [SCAL] (1) theFolNeg.eneCon.opeModBas.etaE.eta = smooth(1, if $SEV_74 then theFolNeg.eneCon.opeModBas.etaE.y else if $SEV_75 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_412) (198) [SCAL] (1) theFolNeg.opeMod.add2.y = theFolNeg.opeMod.add2.k1 * theFolNeg.opeMod.max.y + theFolNeg.opeMod.add2.k2 * theFolNeg.m_flow ($RES_SIM_329) (199) [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_413) (200) [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_415) (201) [SCAL] (1) $DER.theFolNeg.eneCon.assFue.floChaRat.x = (theFolNeg.mFue_flow - theFolNeg.eneCon.assFue.floChaRat.x) / theFolNeg.eneCon.assFue.floChaRat.T ($RES_SIM_416) (202) [SCAL] (1) theFol.cooWatCon.addRes.y = theFol.cooWatCon.divK.y - theFol.cooWatCon.addPID.u1 ($RES_SIM_500) (203) [SCAL] (1) theFolNeg.eneCon.assFue.hys.y = $SEV_76 ($RES_SIM_417) (204) [SCAL] (1) theFol.cooWatCon.divK.y = theFol.cooWatCon.divK.k * theFol.cooWatCon.yResSig.k ($RES_SIM_501) (205) [SCAL] (1) theFol.cooWatCon.errI2.u2 = theFol.cooWatCon.antWinGai.k * theFol.cooWatCon.antWinErr.y ($RES_SIM_503) (206) [SCAL] (1) theFol.cooWatCon.antWinErr.y = theFol.cooWatCon.lim.u - theFol.elePowDem.u ($RES_SIM_504) (207) [SCAL] (1) theFol.cooWatCon.addPID.y = theFol.cooWatCon.addPID.k1 * theFol.cooWatCon.addPID.u1 + theFol.cooWatCon.addPID.k2 * theFol.cooWatCon.addPID.u2 ($RES_SIM_505) (208) [SCAL] (1) theFolNeg.cooWatCon.errI2.u2 = theFolNeg.cooWatCon.antWinGai.k * theFolNeg.cooWatCon.antWinErr.y ($RES_SIM_150) (209) [SCAL] (1) theFol.cooWatCon.lim.u = theFol.cooWatCon.gainPID.k * theFol.cooWatCon.addPID.y ($RES_SIM_506) (210) [SCAL] (1) theFolNeg.cooWatCon.antWinErr.y = theFolNeg.cooWatCon.lim.u - theFolNeg.elePowDem.u ($RES_SIM_151) (211) [SCAL] (1) theFol.cooWatCon.addPID.u1 = theFol.cooWatCon.addPD.k1 * theFol.cooWatCon.addPD.u1 ($RES_SIM_507) (212) [SCAL] (1) theFolNeg.cooWatCon.addPID.y = theFolNeg.cooWatCon.addPID.k1 * theFolNeg.cooWatCon.addPID.u1 + theFolNeg.cooWatCon.addPID.k2 * theFolNeg.cooWatCon.addPID.u2 ($RES_SIM_152) (213) [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_508) (214) [SCAL] (1) theFolNeg.cooWatCon.lim.u = theFolNeg.cooWatCon.gainPID.k * theFolNeg.cooWatCon.addPID.y ($RES_SIM_153) (215) [SCAL] (1) theFol.cooWatCon.uSetWp.y = theFol.cooWatCon.uSetWp.k * theFol.cooWatCon.uSetWp.u ($RES_SIM_509) (216) [SCAL] (1) theFolNeg.cooWatCon.addPID.u1 = theFolNeg.cooWatCon.addPD.k1 * theFolNeg.cooWatCon.addPD.u1 ($RES_SIM_154) (217) [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_155) (218) [SCAL] (1) theFolNeg.cooWatCon.uSetWp.y = theFolNeg.cooWatCon.uSetWp.k * theFolNeg.cooWatCon.uSetWp.u ($RES_SIM_156) (219) [SCAL] (1) theFolNeg.cooWatCon.uSetWp.u = theFolNeg.cooWatCon.uS_revAct.k * theFol.TWatOutSet ($RES_SIM_157) (220) [SCAL] (1) theFolNeg.opeMod.transition6.outPort.set = $SEV_42 ($RES_SIM_242) (221) [SCAL] (1) theFolNeg.elePowDem.u = homotopy(smooth(0, noEvent(if $SEV_21 then theFolNeg.cooWatCon.lim.uMax else if $SEV_22 then theFolNeg.cooWatCon.lim.uMin else theFolNeg.cooWatCon.lim.u)), theFolNeg.cooWatCon.lim.u) ($RES_SIM_159) (222) [SCAL] (1) theFolNeg.opeMod.max.y = max(theFolNeg.opeMod.minWatFlo.k, theFolNeg.opeMod.con.k) ($RES_SIM_330) (223) [SCAL] (1) theFolNeg.opeMod.and1.u2 = $SEV_43 ($RES_SIM_248) (224) [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_249) (225) [FOR-] (2) ($RES_SIM_333) (225) [----] for $i1 in 1:2 loop (225) [----] [SCAL] (1) theFolNeg.opeMod.cooDow.outPort[$i1].reset = false ($RES_SIM_334) (225) [----] end for; (226) [FOR-] (2) ($RES_SIM_335) (226) [----] for $i1 in 1:2 loop (226) [----] [SCAL] (1) theFolNeg.opeMod.cooDow.inPort[$i1].set = false ($RES_SIM_336) (226) [----] end for; (227) [FOR-] (2) ($RES_SIM_337) (227) [----] for $i1 in 1:2 loop (227) [----] [SCAL] (1) theFolNeg.opeMod.cooDow.outPort[$i1].available = if $SEV_61[$i1] then theFolNeg.opeMod.cooDow.outerStatePort.localActive else $SEV_62[$i1] ($RES_SIM_338) (227) [----] end for; (228) [SCAL] (1) theFolNeg.preDro.port_b.h_outflow = cooWatNeg.ports[1].h_outflow ($RES_SIM_421) (229) [SCAL] (1) theFolNeg.preDro.port_a.h_outflow = theFolNeg.vol.ports[1].h_outflow ($RES_SIM_422) (230) [FOR-] (2) ($RES_SIM_339) (230) [----] for $i1 in 1:2 loop (230) [----] [SCAL] (1) theFolNeg.opeMod.cooDow.inPort[$i1].occupied = if $SEV_61[$i1] then theFolNeg.opeMod.cooDow.outerStatePort.localActive else $SEV_63[$i1] ($RES_SIM_340) (230) [----] end for; (231) [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_423) (232) [SCAL] (1) theFol.cooWatCon.uSetWp.u = theFol.cooWatCon.uS_revAct.k * theFol.TWatOutSet ($RES_SIM_510) (233) [SCAL] (1) theFol.elePowDem.u = homotopy(smooth(0, noEvent(if $SEV_84 then theFol.cooWatCon.lim.uMax else if $SEV_85 then theFol.cooWatCon.lim.uMin else theFol.cooWatCon.lim.u)), theFol.cooWatCon.lim.u) ($RES_SIM_512) (234) [SCAL] (1) theFol.cooWatCon.I.u = theFol.cooWatCon.errI1.y - theFol.cooWatCon.errI2.u2 ($RES_SIM_513) (235) [SCAL] (1) theFol.cooWatCon.errI1.y = theFol.cooWatCon.uSetWp.u - theFol.cooWatCon.errP.u2 ($RES_SIM_514) (236) [SCAL] (1) theFolNeg.cooWatCon.I.u = theFolNeg.cooWatCon.errI1.y - theFolNeg.cooWatCon.errI2.u2 ($RES_SIM_160) (237) [SCAL] (1) theFol.cooWatCon.addPD.u1 = theFol.cooWatCon.uSetWp.y - theFol.cooWatCon.errP.u2 ($RES_SIM_515) (238) [SCAL] (1) theFolNeg.cooWatCon.errI1.y = theFolNeg.cooWatCon.uSetWp.u - theFolNeg.cooWatCon.errP.u2 ($RES_SIM_161) (239) [SCAL] (1) theFolNeg.cooWatCon.addPD.u1 = theFolNeg.cooWatCon.uSetWp.y - theFolNeg.cooWatCon.errP.u2 ($RES_SIM_162) (240) [SCAL] (1) $DER.theFol.cooWatCon.addPID.u2 = theFol.cooWatCon.I.k * theFol.cooWatCon.I.u ($RES_SIM_517) (241) [SCAL] (1) theFol.opeMod.and1.u2 = $SEV_105 ($RES_SIM_601) (242) [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_518) (243) [SCAL] (1) $DER.theFolNeg.cooWatCon.addPID.u2 = theFolNeg.cooWatCon.I.k * theFolNeg.cooWatCon.I.u ($RES_SIM_164) (244) [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_602) (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_165) (246) [WHEN] (1)when not theFol.opeMod.warUp.outerStatePort.localActive then (246) [----] theFol.opeMod.warUpCtr.timer.yAcc := $PRE.theFol.opeMod.warUpCtr.timer.y (246) [----] else when false then (246) [----] theFol.opeMod.warUpCtr.timer.yAcc := 0.0 (246) [----] end when; (247) [WHEN] (1)when false then (247) [----] theFol.opeMod.warUpCtr.timer.entryTime := time (247) [----] else when $SEV_106 then (247) [----] theFol.opeMod.warUpCtr.timer.entryTime := time (247) [----] end when; (248) [WHEN] (1)when not theFolNeg.opeMod.warUp.outerStatePort.localActive then (248) [----] theFolNeg.opeMod.warUpCtr.timer.yAcc := $PRE.theFolNeg.opeMod.warUpCtr.timer.y (248) [----] else when false then (248) [----] theFolNeg.opeMod.warUpCtr.timer.yAcc := 0.0 (248) [----] end when; (249) [WHEN] (1)when false then (249) [----] theFolNeg.opeMod.warUpCtr.timer.entryTime := time (249) [----] else when $SEV_44 then (249) [----] theFolNeg.opeMod.warUpCtr.timer.entryTime := time (249) [----] end when; (250) [SCAL] (1) theFol.opeMod.transition8.outPort.set = $SEV_107 ($RES_SIM_608) (251) [SCAL] (1) theFolNeg.opeMod.transition8.outPort.set = $SEV_45 ($RES_SIM_255) (252) [WHEN] (1)when false then (252) [----] theFolNeg.opeMod.cooDow.oldActive := theFolNeg.opeMod.cooDow.outerStatePort.localActive (252) [----] end when; (253) [SCAL] (1) theFolNeg.opeMod.cooDow.newActive = $SEV_64 ($RES_SIM_342) (254) [SCAL] (1) theFolNeg.opeMod.cooDow.outerStatePort.localActive = $TEV_26 ($RES_SIM_343) (255) [SCAL] (1) theFolNeg.opeMod.cooDow.outerStatePort.subgraphStatePort.activeSteps = if theFolNeg.opeMod.cooDow.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_345) (256) [FOR-] (2) ($RES_SIM_346) (256) [----] for $i1 in 1:2 loop (256) [----] [SCAL] (1) theFolNeg.opeMod.warUp.outPort[$i1].reset = false ($RES_SIM_347) (256) [----] end for; (257) [FOR-] (2) ($RES_SIM_430) (257) [----] for $i1 in 1:2 loop (257) [----] [SCAL] (1) theFolNeg.vol.dynBal.ports[$i1].p = 99999.99999999999 * theFolNeg.vol.dynBal.medium.p_bar ($RES_SIM_431) (257) [----] end for; (258) [FOR-] (2) ($RES_SIM_348) (258) [----] for $i1 in 1:2 loop (258) [----] [SCAL] (1) theFolNeg.opeMod.warUp.inPort[$i1].set = false ($RES_SIM_349) (258) [----] end for; (259) [FOR-] (2) ($RES_SIM_432) (259) [----] for $i1 in 1:2 loop (259) [----] [SCAL] (1) theFolNeg.vol.dynBal.ports[$i1].h_outflow = 4184.0 * ((-273.15) - ((-273.15) - theFolNeg.vol.dynBal.medium.T_degC)) ($RES_SIM_433) (259) [----] end for; (260) [SCAL] (1) theFolNeg.vol.dynBal.ports_H_flow[2] = $FUN_23 ($RES_SIM_438) (261) [SCAL] (1) theFolNeg.vol.dynBal.ports_H_flow[1] = $FUN_22 ($RES_SIM_439) (262) [SCAL] (1) theFol.PCon = if theFol.powCon.cooDow.y then theFol.powCon.switch.y else theFol.powCon.const.k ($RES_SIM_524) (263) [SCAL] (1) theFol.powCon.switch.y = if theFol.powCon.staBy.y then theFol.powCon.staByCon.k else theFol.powCon.cooDowCon.k ($RES_SIM_525) (264) [SCAL] (1) theFolNeg.PCon = if theFolNeg.powCon.cooDow.y then theFolNeg.powCon.switch.y else theFolNeg.powCon.const.k ($RES_SIM_171) (265) [SCAL] (1) theFolNeg.powCon.switch.y = if theFolNeg.powCon.staBy.y then theFolNeg.powCon.staByCon.k else theFolNeg.powCon.cooDowCon.k ($RES_SIM_172) (266) [SCAL] (1) theFol.opeMod.nor.outPort[1].reset = false ($RES_SIM_613) (267) [SCAL] (1) theFol.opeMod.nor.inPort[1].set = false ($RES_SIM_614) (268) [SCAL] (1) theFol.opeMod.nor.outPort[1].available = theFol.opeMod.nor.outerStatePort.localActive ($RES_SIM_615) (269) [SCAL] (1) theFolNeg.opeMod.nor.outPort[1].reset = false ($RES_SIM_260) (270) [SCAL] (1) theFol.opeMod.nor.inPort[1].occupied = theFol.opeMod.nor.outerStatePort.localActive ($RES_SIM_616) (271) [SCAL] (1) theFolNeg.opeMod.nor.inPort[1].set = false ($RES_SIM_261) (272) [WHEN] (1)when false then (272) [----] theFol.opeMod.nor.oldActive := theFol.opeMod.nor.outerStatePort.localActive (272) [----] end when; (273) [SCAL] (1) theFolNeg.opeMod.nor.outPort[1].available = theFolNeg.opeMod.nor.outerStatePort.localActive ($RES_SIM_262) (274) [FOR-] (2) ($RES_SIM_701) (274) [----] for $i1 in 1:2 loop (274) [----] [SCAL] (1) theFol.opeMod.warUp.inPort[$i1].set = false ($RES_SIM_702) (274) [----] end for; (275) [SCAL] (1) theFol.opeMod.nor.newActive = $SEV_108 ($RES_SIM_618) (276) [SCAL] (1) theFolNeg.opeMod.nor.inPort[1].occupied = theFolNeg.opeMod.nor.outerStatePort.localActive ($RES_SIM_263) (277) [SCAL] (1) theFol.opeMod.nor.outerStatePort.localActive = $TEV_51 ($RES_SIM_619) (278) [WHEN] (1)when false then (278) [----] theFolNeg.opeMod.nor.oldActive := theFolNeg.opeMod.nor.outerStatePort.localActive (278) [----] end when; (279) [FOR-] (2) ($RES_SIM_703) (279) [----] for $i1 in 1:2 loop (279) [----] [SCAL] (1) theFol.opeMod.warUp.outPort[$i1].available = if $SEV_61[$i1] then theFol.opeMod.warUp.outerStatePort.localActive else $SEV_126[$i1] ($RES_SIM_704) (279) [----] end for; (280) [SCAL] (1) theFolNeg.opeMod.nor.newActive = $SEV_46 ($RES_SIM_265) (281) [SCAL] (1) theFolNeg.opeMod.nor.outerStatePort.localActive = $TEV_14 ($RES_SIM_266) (282) [FOR-] (2) ($RES_SIM_705) (282) [----] for $i1 in 1:2 loop (282) [----] [SCAL] (1) theFol.opeMod.warUp.inPort[$i1].occupied = if $SEV_61[$i1] then theFol.opeMod.warUp.outerStatePort.localActive else $SEV_127[$i1] ($RES_SIM_706) (282) [----] end for; (283) [FOR-] (2) ($RES_SIM_350) (283) [----] for $i1 in 1:2 loop (283) [----] [SCAL] (1) theFolNeg.opeMod.warUp.outPort[$i1].available = if $SEV_61[$i1] then theFolNeg.opeMod.warUp.outerStatePort.localActive else $SEV_65[$i1] ($RES_SIM_351) (283) [----] end for; (284) [SCAL] (1) theFolNeg.opeMod.nor.outerStatePort.subgraphStatePort.activeSteps = if theFolNeg.opeMod.nor.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_268) (285) [WHEN] (1)when false then (285) [----] theFol.opeMod.warUp.oldActive := theFol.opeMod.warUp.outerStatePort.localActive (285) [----] end when; (286) [FOR-] (2) ($RES_SIM_352) (286) [----] for $i1 in 1:2 loop (286) [----] [SCAL] (1) theFolNeg.opeMod.warUp.inPort[$i1].occupied = if $SEV_61[$i1] then theFolNeg.opeMod.warUp.outerStatePort.localActive else $SEV_66[$i1] ($RES_SIM_353) (286) [----] end for; (287) [SCAL] (1) theFol.opeMod.warUp.newActive = $SEV_128 ($RES_SIM_708) (288) [SCAL] (1) theFol.opeMod.warUp.outerStatePort.localActive = $TEV_66 ($RES_SIM_709) (289) [WHEN] (1)when false then (289) [----] theFolNeg.opeMod.warUp.oldActive := theFolNeg.opeMod.warUp.outerStatePort.localActive (289) [----] end when; (290) [SCAL] (1) theFolNeg.opeMod.warUp.newActive = $SEV_67 ($RES_SIM_355) (291) [SCAL] (1) theFolNeg.opeMod.warUp.outerStatePort.localActive = $TEV_29 ($RES_SIM_356) (292) [SCAL] (1) theFolNeg.vol.dynBal.U = theFolNeg.vol.dynBal.m * (4184.0 * ((-273.15) - ((-273.15) - theFolNeg.vol.dynBal.medium.T_degC))) ($RES_SIM_441) (293) [SCAL] (1) theFolNeg.opeMod.warUp.outerStatePort.subgraphStatePort.activeSteps = if theFolNeg.opeMod.warUp.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_358) (294) [SCAL] (1) theFolNeg.vol.dynBal.m = theFolNeg.vol.dynBal.fluidVolume * theFolNeg.vol.dynBal.rho_start ($RES_SIM_442) (295) [FOR-] (2) ($RES_SIM_359) (295) [----] for $i1 in 1:2 loop (295) [----] [SCAL] (1) theFolNeg.opeMod.pumOn.outPort[$i1].reset = false ($RES_SIM_360) (295) [----] end for; (296) [SCAL] (1) theFolNeg.vol.dynBal.medium.state.p = 99999.99999999999 * theFolNeg.vol.dynBal.medium.p_bar ($RES_SIM_444) (297) [SCAL] (1) theFolNeg.vol.dynBal.medium.state.T = -((-273.15) - theFolNeg.vol.dynBal.medium.T_degC) ($RES_SIM_445) (298) [SCAL] (1) theFol.assWatTem.hys.y = $SEV_86 ($RES_SIM_533) (299) [SCAL] (1) theFol.conWat.mWatIntCon.u2 = theFol.conWat.to_degC.conv.k * theFol.conWat.TWatIn + theFol.conWat.to_degC.conv.p ($RES_SIM_535) (300) [SCAL] (1) theFolNeg.assWatTem.hys.y = $SEV_23 ($RES_SIM_180) (301) [SCAL] (1) theFol.mWatSet_flow = if theFol.conWat.offStaBy.y then theFol.conWat.const.k else theFol.conWat.mWatIntCon.y ($RES_SIM_537) (302) [SCAL] (1) theFolNeg.conWat.mWatIntCon.u2 = theFolNeg.conWat.to_degC.conv.k * theFolNeg.conWat.TWatIn + theFolNeg.conWat.to_degC.conv.p ($RES_SIM_182) (303) [SCAL] (1) theFol.opeMod.nor.outerStatePort.subgraphStatePort.activeSteps = if theFol.opeMod.nor.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_621) (304) [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_538) (305) [SCAL] (1) theFolNeg.mWatSet_flow = if theFolNeg.conWat.offStaBy.y then theFolNeg.conWat.const.k else theFolNeg.conWat.mWatIntCon.y ($RES_SIM_184) (306) [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_185) (307) [SCAL] (1) theFol.opeMod.transition2.outPort.set = $SEV_109 ($RES_SIM_624) (308) [SCAL] (1) theFolNeg.hys.u = theFolNeg.fil.dPLim.y ($RES_SIM_187) (309) [SCAL] (1) theFolNeg.opeMod.transition2.outPort.set = $SEV_47 ($RES_SIM_271) (310) [SCAL] (1) $DER.theFolNeg.fil.dPLim.y = smooth(1, noEvent(if $SEV_24 then theFolNeg.fil.dPLim.fallingSlewRate else if $SEV_25 then theFolNeg.fil.dPLim.raisingSlewRate else theFolNeg.fil.dPLim.thr)) ($RES_SIM_188) (311) [SCAL] (1) theFol.opeMod.warUp.outerStatePort.subgraphStatePort.activeSteps = if theFol.opeMod.warUp.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_711) (312) [FOR-] (2) ($RES_SIM_712) (312) [----] for $i1 in 1:2 loop (312) [----] [SCAL] (1) theFol.opeMod.pumOn.outPort[$i1].reset = false ($RES_SIM_713) (312) [----] end for; (313) [SCAL] (1) theFol.opeMod.pumOn.inPort[1].set = false ($RES_SIM_714) (314) [FOR-] (2) ($RES_SIM_715) (314) [----] for $i1 in 1:2 loop (314) [----] [SCAL] (1) theFol.opeMod.pumOn.outPort[$i1].available = if $SEV_61[$i1] then theFol.opeMod.pumOn.outerStatePort.localActive else $SEV_129[$i1] ($RES_SIM_716) (314) [----] end for; (315) [SCAL] (1) theFolNeg.opeMod.pumOn.inPort[1].set = false ($RES_SIM_361) (316) [SCAL] (1) theFolNeg.opeMod.transition1.outPort.set = $SEV_48 ($RES_SIM_278) (317) [SCAL] (1) theFol.opeMod.pumOn.inPort[1].occupied = theFol.opeMod.pumOn.outerStatePort.localActive ($RES_SIM_717) (318) [FOR-] (2) ($RES_SIM_362) (318) [----] for $i1 in 1:2 loop (318) [----] [SCAL] (1) theFolNeg.opeMod.pumOn.outPort[$i1].available = if $SEV_61[$i1] then theFolNeg.opeMod.pumOn.outerStatePort.localActive else $SEV_68[$i1] ($RES_SIM_363) (318) [----] end for; (319) [WHEN] (1)when false then (319) [----] theFol.opeMod.pumOn.oldActive := theFol.opeMod.pumOn.outerStatePort.localActive (319) [----] end when; (320) [SCAL] (1) theFol.opeMod.pumOn.newActive = $SEV_130 ($RES_SIM_719) (321) [SCAL] (1) theFolNeg.opeMod.pumOn.inPort[1].occupied = theFolNeg.opeMod.pumOn.outerStatePort.localActive ($RES_SIM_364) (322) [SCAL] (1) -theFolNeg.QLos.Q_flow = 0.0 ($RES_SIM_803) (323) [WHEN] (1)when false then (323) [----] theFolNeg.opeMod.pumOn.oldActive := theFolNeg.opeMod.pumOn.outerStatePort.localActive (323) [----] end when; (324) [SCAL] (1) theFolNeg.opeMod.pumOn.newActive = $SEV_69 ($RES_SIM_366) (325) [SCAL] (1) theFolNeg.watHea.port_a.Q_flow + theFolNeg.vol.heatPort.Q_flow = 0.0 ($RES_SIM_805) (326) [SCAL] (1) theFolNeg.opeMod.pumOn.outerStatePort.localActive = $TEV_32 ($RES_SIM_367) (327) [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_806) (328) [SCAL] (1) cooWatNeg.ports[1].h_outflow = 4184.0 * ((-273.15) - 2.390057361376673e-4 * ((-1.1428595999999999e6) - cooWat.h_internal)) ($RES_SIM_451) (329) [SCAL] (1) theFolNeg.opeMod.pumOn.outerStatePort.subgraphStatePort.activeSteps = if theFolNeg.opeMod.pumOn.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_369) (330) [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_808) (331) [SCAL] (1) cooWatNeg.ports[1].p = cooWatNeg.p_in_internal ($RES_SIM_453) (332) [SCAL] (1) dTWatOut.u2 = TWatOutVal.conv.k * TWatOutVal.u + TWatOutVal.conv.p ($RES_SIM_454) (333) [SCAL] (1) dTEng.u2 = TEngVal.conv.k * TEngVal.u + TEngVal.conv.p ($RES_SIM_455) (334) [SCAL] (1) theFol.TWatOutSet = TWatOutSet.conv.k * TWatOutSet.u + TWatOutSet.conv.p ($RES_SIM_456) (335) [SCAL] (1) theFol.hys.u = theFol.fil.dPLim.y ($RES_SIM_540) (336) [SCAL] (1) -2.390057361376673e-4 * ((-1.1428595999999999e6) - cooWat.h_internal) = TWatIn.conv.k * TWatIn.u + TWatIn.conv.p ($RES_SIM_457) (337) [SCAL] (1) $DER.theFol.fil.dPLim.y = smooth(1, noEvent(if $SEV_87 then theFol.fil.dPLim.fallingSlewRate else if $SEV_88 then theFol.fil.dPLim.raisingSlewRate else theFol.fil.dPLim.thr)) ($RES_SIM_541) (338) [SCAL] (1) preTem.T = TRoo.conv.k * TRoo.u + TRoo.conv.p ($RES_SIM_458) (339) [FOR-] (12) ($RES_SIM_459) (339) [----] for $i1 in 1:12 loop (339) [----] [SCAL] (1) valDat.y[$i1] = valDat.p_offset[$i1] + Modelica.Blocks.Tables.Internal.getTimeTableValue(valDat.tableID, $i1, time, valDat.nextTimeEventScaled, $TEV_74) ($RES_SIM_460) (339) [----] end for; (340) [SCAL] (1) theFol.fil.dPLim.u = homotopy(smooth(0, if $SEV_89 then theFol.fil.PMax.k else if $SEV_90 then theFol.fil.PMin.k else theFol.fil.PLim.simplifiedExpr), theFol.fil.PLim.simplifiedExpr) ($RES_SIM_544) (341) [SCAL] (1) theFolNeg.fil.dPLim.u = homotopy(smooth(0, if $SEV_26 then theFolNeg.fil.PMax.k else if $SEV_27 then theFolNeg.fil.PMin.k else theFolNeg.fil.PLim.simplifiedExpr), theFolNeg.fil.PLim.simplifiedExpr) ($RES_SIM_191) (342) [SCAL] (1) theFol.opeMod.transition1.outPort.set = $SEV_110 ($RES_SIM_631) (343) [SCAL] (1) theFol.fil.assPow.minPow.y = $SEV_92 ($RES_SIM_548) (344) [SCAL] (1) theFol.fil.assPow.maxPow.y = $SEV_93 ($RES_SIM_549) (345) [SCAL] (1) theFolNeg.fil.assPow.minPow.y = $SEV_29 ($RES_SIM_195) (346) [SCAL] (1) theFolNeg.fil.assPow.maxPow.y = $SEV_30 ($RES_SIM_196) (347) [SCAL] (1) theFolNeg.fil.assPow.maxRat.y = $SEV_31 ($RES_SIM_197) (348) [SCAL] (1) theFol.opeMod.pumOn.outerStatePort.localActive = $TEV_69 ($RES_SIM_720) (349) [SCAL] (1) theFol.opeMod.assWatMas.not1.u = $SEV_111 ($RES_SIM_637) (350) [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_199) (351) [SCAL] (1) theFol.opeMod.assWatMas.nand.y = not $SEV_112 ($RES_SIM_638) (352) [SCAL] (1) theFol.opeMod.pumOn.outerStatePort.subgraphStatePort.activeSteps = if theFol.opeMod.pumOn.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_722) (353) [SCAL] (1) theFolNeg.opeMod.assWatMas.not1.u = $SEV_49 ($RES_SIM_284) (354) [FOR-] (2) ($RES_SIM_723) (354) [----] for $i1 in 1:2 loop (354) [----] [SCAL] (1) theFol.opeMod.staBy.outPort[$i1].reset = false ($RES_SIM_724) (354) [----] end for; (355) [SCAL] (1) theFolNeg.opeMod.assWatMas.nand.y = not $SEV_50 ($RES_SIM_285) (356) [SCAL] (1) theFol.opeMod.staBy.inPort[1].set = false ($RES_SIM_725) (357) [FOR-] (2) ($RES_SIM_370) (357) [----] for $i1 in 1:2 loop (357) [----] [SCAL] (1) theFolNeg.opeMod.staBy.outPort[$i1].reset = false ($RES_SIM_371) (357) [----] end for; (358) [SCAL] (1) theFolNeg.opeMod.transition10.localCondition = $SEV_51 ($RES_SIM_287) (359) [FOR-] (2) ($RES_SIM_726) (359) [----] for $i1 in 1:2 loop (359) [----] [SCAL] (1) theFol.opeMod.staBy.outPort[$i1].available = if $SEV_61[$i1] then theFol.opeMod.staBy.outerStatePort.localActive else $SEV_131[$i1] ($RES_SIM_727) (359) [----] end for; (360) [SCAL] (1) theFolNeg.opeMod.staBy.inPort[1].set = false ($RES_SIM_372) (361) [SCAL] (1) theFol.opeMod.staBy.inPort[1].occupied = theFol.opeMod.staBy.outerStatePort.localActive ($RES_SIM_728) (362) [FOR-] (2) ($RES_SIM_373) (362) [----] for $i1 in 1:2 loop (362) [----] [SCAL] (1) theFolNeg.opeMod.staBy.outPort[$i1].available = if $SEV_61[$i1] then theFolNeg.opeMod.staBy.outerStatePort.localActive else $SEV_70[$i1] ($RES_SIM_374) (362) [----] end for; (363) [SCAL] (1) theFolNeg.vol.ports[1].m_flow - theFolNeg.m_flow = 0.0 ($RES_SIM_812) (364) [WHEN] (1)when false then (364) [----] theFol.opeMod.staBy.oldActive := theFol.opeMod.staBy.outerStatePort.localActive (364) [----] end when; (365) [SCAL] (1) theFolNeg.opeMod.staBy.inPort[1].occupied = theFolNeg.opeMod.staBy.outerStatePort.localActive ($RES_SIM_375) (366) [WHEN] (1)when false then (366) [----] theFolNeg.opeMod.staBy.oldActive := theFolNeg.opeMod.staBy.outerStatePort.localActive (366) [----] end when; (367) [SCAL] (1) theFolNeg.vol.ports[2].m_flow - theFolNeg.port_b.m_flow = 0.0 ($RES_SIM_815) (368) [SCAL] (1) theFolNeg.opeMod.staBy.newActive = $SEV_71 ($RES_SIM_377) (369) [SCAL] (1) theFolNeg.port_b.m_flow + sin.ports[2].m_flow = 0.0 ($RES_SIM_816) (370) [WHEN] (1)when {$SEV_79, initial()} then (370) [----] valDat.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(valDat.tableID, time) (370) [----] end when; (371) [SCAL] (1) theFolNeg.opeMod.staBy.outerStatePort.localActive = $TEV_35 ($RES_SIM_378) (372) [WHEN] (1)when {$SEV_79, initial()} then (372) [----] valDat.nextTimeEvent := if valDat.nextTimeEventScaled < 1e60 then valDat.nextTimeEventScaled else 1e60 (372) [----] end when; (373) [SCAL] (1) -(theFol.TRoo.Q_flow + theFol.QLos.Q_flow) = 0.0 ($RES_SIM_818) (374) [SCAL] (1) dQGen.y = dQGen.k1 * theFol.eng.QGen_flow + dQGen.k2 * QGenVal_flow.u ($RES_SIM_465) (375) [SCAL] (1) dQLos.y = dQLos.k1 * theFol.QLos.Q_flow + dQLos.k2 * QLosVal_flow.u ($RES_SIM_466) (376) [SCAL] (1) theFol.fil.assPow.maxRat.y = $SEV_94 ($RES_SIM_550) (377) [SCAL] (1) dTEng.y = dTEng.k1 * theFol.eng.capTheEng.T + dTEng.k2 * dTEng.u2 ($RES_SIM_467) (378) [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_552) (379) [SCAL] (1) theFolNeg.vol.p = theFolNeg.vol.ports[1].p ($RES_BND_1493) (380) [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_469) (381) [SCAL] (1) $DER.theFol.fil.assPow.demRat.x = (theFol.fil.PLim.simplifiedExpr - theFol.fil.assPow.demRat.x) / theFol.fil.assPow.demRat.T ($RES_SIM_553) (382) [SCAL] (1) theFolNeg.dp = theFolNeg.port_a.p - theFolNeg.port_b.p ($RES_BND_1491) (383) [SCAL] (1) theFol.fil.assPow.nor.y = not $SEV_95 ($RES_SIM_555) (384) [SCAL] (1) theFol.opeMod.transition10.localCondition = $SEV_113 ($RES_SIM_640) (385) [SCAL] (1) theFol.hys.y = $SEV_96 ($RES_SIM_558) (386) [SCAL] (1) not theFol.opeMod.transition5.localCondition = $SEV_97 ($RES_SIM_559) (387) [SCAL] (1) theFol.opeMod.transition10.outPort.set = $SEV_114 ($RES_SIM_643) (388) [SCAL] (1) theFolNeg.opeMod.transition10.outPort.set = $SEV_52 ($RES_SIM_290) (389) [SCAL] (1) theFol.opeMod.staBy.newActive = $SEV_132 ($RES_SIM_730) (390) [SCAL] (1) theFol.opeMod.staBy.outerStatePort.localActive = $TEV_72 ($RES_SIM_731) (391) [SCAL] (1) theFol.opeMod.transition7.localCondition = $SEV_115 ($RES_SIM_648) (392) [SCAL] (1) theFol.opeMod.staBy.outerStatePort.subgraphStatePort.activeSteps = if theFol.opeMod.staBy.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_733) (393) [SCAL] (1) theFolNeg.opeMod.transition7.localCondition = $SEV_53 ($RES_SIM_295) (394) [SCAL] (1) theFolNeg.opeMod.staBy.outerStatePort.subgraphStatePort.activeSteps = if theFolNeg.opeMod.staBy.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_380) (395) [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_736) (396) [SCAL] (1) theFolNeg.opeMod.transition7.outPort.set = $SEV_54 ($RES_SIM_298) (397) [SCAL] (1) theFol.watHea.port_a.Q_flow + theFol.vol.heatPort.Q_flow = 0.0 ($RES_SIM_820) (398) [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_821) (399) [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_383) (400) [SCAL] (1) theFol.eng.conTheLos.dT = preTem.T - theFol.eng.capTheEng.T ($RES_SIM_739) (401) [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_823) (402) [SCAL] (1) theFolNeg.eng.conTheLos.dT = theFolNeg.QLos.port_b.T - theFolNeg.eng.capTheEng.T ($RES_SIM_386) (403) [SCAL] (1) dQWat.y = dQWat.k1 * EThe.u + dQWat.k2 * QWatVal_flow.u ($RES_SIM_470) (404) [SCAL] (1) -theFolNeg.QLos.Q_flow = theFolNeg.eng.conTheLos.G * theFolNeg.eng.conTheLos.dT ($RES_SIM_387) (405) [SCAL] (1) theFol.vol.ports[1].m_flow - theFol.m_flow = 0.0 ($RES_SIM_826) (406) [SCAL] (1) dPEleNet.y = dPEleNet.k1 * EEle.u + dPEleNet.k2 * PEleNetVal.u ($RES_SIM_471) (407) [SCAL] (1) theFolNeg.eng.capTheEng.C * $DER.theFolNeg.eng.capTheEng.T = theFolNeg.eng.capTheEng.port.Q_flow ($RES_SIM_388) (408) [SCAL] (1) theFolNeg.eng.capTheEng.der_T = $DER.theFolNeg.eng.capTheEng.T ($RES_SIM_389) (409) [SCAL] (1) cooWat.ports[1].h_outflow = cooWat.h_internal ($RES_SIM_473) (410) [SCAL] (1) theFol.vol.ports[2].m_flow - theFol.port_b.m_flow = 0.0 ($RES_SIM_829) (411) [SCAL] (1) cooWat.ports[1].p = cooWat.p_in_internal ($RES_SIM_475) (412) [FOR-] (2) ($RES_SIM_477) (412) [----] for $i1 in 1:2 loop (412) [----] [SCAL] (1) sin.ports[$i1].h_outflow = 4184.0 * ((-273.15) + sin.T) ($RES_SIM_478) (412) [----] end for; (413) [-IF-] (1)if theFol.opeMod.plaOff.outerStatePort.localActive then (413) [----] [SCAL] (1) theFol.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off ($RES_SIM_562) (413) [----] elseif theFol.opeMod.staBy.outerStatePort.localActive then (413) [----] [SCAL] (1) theFol.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_SIM_563) (413) [----] elseif theFol.opeMod.pumOn.outerStatePort.localActive then (413) [----] [SCAL] (1) theFol.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.PumpOn ($RES_SIM_564) (413) [----] elseif theFol.opeMod.warUp.outerStatePort.localActive then (413) [----] [SCAL] (1) theFol.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_SIM_565) (413) [----] elseif theFol.opeMod.nor.outerStatePort.localActive then (413) [----] [SCAL] (1) theFol.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_SIM_566) (413) [----] else (413) [----] [SCAL] (1) theFol.opeMod.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown ($RES_SIM_567) (413) [----] end if; (414) [SCAL] (1) theFol.opeMod.transition7.outPort.set = $SEV_116 ($RES_SIM_651) (415) [SCAL] (1) theFol.opeMod.timer.y = if theFol.opeMod.cooDow.outerStatePort.localActive then time - theFol.opeMod.timer.entryTime else 0.0 ($RES_SIM_569) (416) [SCAL] (1) -theFol.QLos.Q_flow = theFol.eng.conTheLos.G * theFol.eng.conTheLos.dT ($RES_SIM_740) (417) [SCAL] (1) theFol.eng.capTheEng.C * $DER.theFol.eng.capTheEng.T = theFol.eng.capTheEng.port.Q_flow ($RES_SIM_741) (418) [SCAL] (1) theFol.opeMod.transition9.outPort.set = $SEV_117 ($RES_SIM_658) (419) [SCAL] (1) theFol.eng.capTheEng.der_T = $DER.theFol.eng.capTheEng.T ($RES_SIM_742) (420) [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_746) (421) [SCAL] (1) sin.ports[1].m_flow + theFol.port_b.m_flow = 0.0 ($RES_SIM_830) (422) [SCAL] (1) theFol.watHea.port_a.Q_flow = theFol.eng.theConHX.G * theFol.eng.theConHX.dT ($RES_SIM_747) (423) [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_393) (424) [SCAL] (1) theFol.eneCon.switch3.u2 = false ($RES_SIM_749) (425) [SCAL] (1) theFolNeg.watHea.port_a.Q_flow = theFolNeg.eng.theConHX.G * theFolNeg.eng.theConHX.dT ($RES_SIM_394) (426) [SCAL] (1) valDat.y[9] = QLosVal_flow.u ($RES_SIM_834) (427) [SCAL] (1) theFolNeg.eneCon.switch3.u2 = false ($RES_SIM_396) (428) [FOR-] (2) ($RES_SIM_480) (428) [----] for $i1 in 1:2 loop (428) [----] [SCAL] (1) sin.ports[$i1].p = sin.p ($RES_SIM_481) (428) [----] end for; (429) [SCAL] (1) valDat.y[8] = QWatVal_flow.u ($RES_SIM_837) (430) [SCAL] (1) valDat.y[7] = QGenVal_flow.u ($RES_SIM_839) (431) [SCAL] (1) theFol.powCon.cooDow.y = $SEV_145 ($RES_BND_1478) (432) [SCAL] (1) not theFol.opeMod.transition3.localCondition = $SEV_82 ($RES_SIM_484) (433) [SCAL] (1) theFol.powCon.staBy.y = $SEV_146 ($RES_BND_1477) (434) [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_75) ($RES_SIM_485) (435) [SCAL] (1) theFol.conWat.TWatIn = 273.15 + 2.390057361376673e-4 * cooWat.ports[1].h_outflow ($RES_BND_1476) (436) [WHEN] (1)when {$SEV_83, initial()} then (436) [----] avaSig.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(avaSig.combiTimeTable.tableID, time) (436) [----] end when; (437) [WHEN] (1)when not theFol.opeMod.cooDow.outerStatePort.localActive then (437) [----] theFol.opeMod.timer.yAcc := $PRE.theFol.opeMod.timer.y (437) [----] else when false then (437) [----] theFol.opeMod.timer.yAcc := 0.0 (437) [----] end when; (438) [WHEN] (1)when {$SEV_83, initial()} then (438) [----] avaSig.combiTimeTable.nextTimeEvent := if avaSig.combiTimeTable.nextTimeEventScaled < 1e60 then avaSig.combiTimeTable.nextTimeEventScaled else 1e60 (438) [----] end when; (439) [WHEN] (1)when false then (439) [----] theFol.opeMod.timer.entryTime := time (439) [----] else when $SEV_98 then (439) [----] theFol.opeMod.timer.entryTime := time (439) [----] end when; (440) [SCAL] (1) theFol.conWat.offStaBy.y = $SEV_147 ($RES_BND_1474) (441) [SCAL] (1) theFol.fil.dPLim.thr = (theFol.fil.dPLim.u - theFol.fil.dPLim.y) / theFol.fil.dPLim.Td ($RES_BND_1473) (442) [SCAL] (1) theFol.opeMod.timeDel.y = $SEV_99 ($RES_SIM_573) (443) [SCAL] (1) theFol.opeMod.transition4.enableFire = $SEV_100 ($RES_SIM_577) (444) [SCAL] (1) theFol.opeMod.transition4.outPort.set = $SEV_101 ($RES_SIM_578) (445) [SCAL] (1) theFol.opeMod.transition4.t = if theFol.opeMod.transition4.enableFire then theFol.opeMod.transition4.t_dummy else 0.0 ($RES_SIM_579) (446) [SCAL] (1) theFol.opeMod.transition5.outPort.set = $SEV_118 ($RES_SIM_665) (447) [SCAL] (1) theFol.eng.QGen_flow = if theFol.eneCon.switch3.u2 then theFol.eneCon.dumTimDel.k else theFol.eneCon.switch5.u3 ($RES_SIM_753) (448) [SCAL] (1) theFol.eneCon.switch4.y = if theFol.eneCon.switch3.u2 then theFol.eneCon.dumTimDel.k else theFol.eneCon.switch4.u3 ($RES_SIM_754) (449) [SCAL] (1) theFol.mFue_flow = if theFol.eneCon.switch3.u2 then theFol.eneCon.dumTimDel.k else theFol.eneCon.switch3.u3 ($RES_SIM_755) (450) [SCAL] (1) EEle.u = if theFol.eneCon.and1.u1 then theFol.eneCon.PEleTimeDel.k else theFol.eneCon.opeModBas.groHea.u1 ($RES_SIM_756) (451) [SCAL] (1) theFol.eneCon.opeModBas.groHea.u1 = if theFol.eneCon.booExp.y then theFol.hys.u else theFol.eneCon.const.k ($RES_SIM_757) (452) [SCAL] (1) valDat.y[5] = PEleNetVal.u ($RES_SIM_842) (453) [SCAL] (1) theFol.eneCon.switch3.u3 = theFol.eneCon.opeModBas.masFloFue.k * theFol.eneCon.opeModBas.heaGen.u1 ($RES_SIM_759) (454) [SCAL] (1) theFolNeg.port_b.p = sin.ports[2].p ($RES_SIM_844) (455) [SCAL] (1) theFolNeg.m_flow + cooWatNeg.ports[1].m_flow = 0.0 ($RES_SIM_845) (456) [SCAL] (1) cooWatNeg.ports[1].p = theFolNeg.port_a.p ($RES_SIM_846) (457) [SCAL] (1) valDat.y[1] = theFol.PEleDem ($RES_SIM_847) (458) [SCAL] (1) valDat.y[1] = theFolNeg.PEleDem ($RES_SIM_848) (459) [SCAL] (1) valDat.y[11] = TEngVal.u ($RES_SIM_849) (460) [SCAL] (1) theFol.stateGraphRoot.activeSteps = -integer(theFol.stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_494) (461) [SCAL] (1) EThe.u = theFol.gai.k * theFol.watHea.port_a.Q_flow ($RES_SIM_495) (462) [SCAL] (1) theFol.fil.PLim.simplifiedExpr = theFol.elePowDem.y ($RES_SIM_496) (463) [SCAL] (1) theFol.elePowDem.y = theFol.elePowDem.k * theFol.elePowDem.u ($RES_SIM_497) (464) [WHEN] (1)when theFol.opeMod.transition4.enableFire then (464) [----] time - theFol.opeMod.transition4.t_dummy := time (464) [----] end when; (465) [SCAL] (1) theFol.opeMod.plaOff.outPort[1].reset = false ($RES_SIM_582) (466) [FOR-] (3) ($RES_SIM_583) (466) [----] for $i1 in 1:3 loop (466) [----] [SCAL] (1) theFol.opeMod.plaOff.inPort[$i1].set = false ($RES_SIM_584) (466) [----] end for; (467) [SCAL] (1) theFol.opeMod.plaOff.outPort[1].available = theFol.opeMod.plaOff.outerStatePort.localActive ($RES_SIM_585) (468) [FOR-] (3) ($RES_SIM_586) (468) [----] for $i1 in 1:3 loop (468) [----] [SCAL] (1) theFol.opeMod.plaOff.inPort[$i1].occupied = if $SEV_39[$i1] then theFol.opeMod.plaOff.outerStatePort.localActive else $SEV_102[$i1] ($RES_SIM_587) (468) [----] end for; (469) [WHEN] (1)when false then (469) [----] theFol.opeMod.plaOff.oldActive := theFol.opeMod.plaOff.outerStatePort.localActive (469) [----] end when; (470) [SCAL] (1) theFol.opeMod.transition3.outPort.set = $SEV_119 ($RES_SIM_672) (471) [SCAL] (1) theFol.opeMod.plaOff.newActive = $SEV_103 ($RES_SIM_589) (472) [SCAL] (1) theFol.opeMod.transition6.localCondition = $SEV_120 ($RES_SIM_677) (473) [SCAL] (1) theFol.eneCon.switch5.u3 = theFol.eneCon.opeModBas.heaGen.u1 * theFol.eneCon.opeModBas.etaQ.eta ($RES_SIM_761) (474) [SCAL] (1) theFol.eneCon.opeModBas.heaGen.u1 = theFol.eneCon.opeModBas.groHea.u1 / theFol.eneCon.opeModBas.etaE.eta ($RES_SIM_762) (475) [SCAL] (1) theFol.eneCon.opeModBas.etaQ.eta = smooth(1, if $SEV_133 then theFol.eneCon.opeModBas.etaQ.y else if $SEV_134 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_763) (476) [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_764) (477) [SCAL] (1) theFol.eneCon.opeModBas.etaE.eta = smooth(1, if $SEV_135 then theFol.eneCon.opeModBas.etaE.y else if $SEV_136 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_765) (478) [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_766) (479) [SCAL] (1) valDat.y[10] = TWatOutVal.u ($RES_SIM_850) (480) [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_768) (481) [SCAL] (1) $DER.theFol.eneCon.assFue.floChaRat.x = (theFol.mFue_flow - theFol.eneCon.assFue.floChaRat.x) / theFol.eneCon.assFue.floChaRat.T ($RES_SIM_769) (482) [SCAL] (1) valDat.y[12] = TWatOutSet.u ($RES_SIM_857) (483) [SCAL] (1) valDat.y[4] = TRoo.u ($RES_SIM_859) (484) [SCAL] (1) theFol.eneCon.and1.u1 = $SEV_148 ($RES_BND_1456) (485) [SCAL] (1) theFol.opeMod.plaOff.outerStatePort.localActive = $TEV_45 ($RES_SIM_590) (486) [SCAL] (1) theFol.eneCon.booExp.y = $SEV_149 ($RES_BND_1455) (487) [SCAL] (1) theFol.preDro.dp = theFol.port_a.p - theFol.preDro.port_b.p ($RES_BND_1454) (488) [SCAL] (1) theFol.opeMod.plaOff.outerStatePort.subgraphStatePort.activeSteps = if theFol.opeMod.plaOff.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_592) (489) [SCAL] (1) theFol.opeMod.transition6.outPort.set = $SEV_104 ($RES_SIM_595) (490) [SCAL] (1) not theFol.opeMod.transition9.localCondition = $SEV_121 ($RES_SIM_680) (491) [SCAL] (1) theFol.opeMod.hys.y = $SEV_122 ($RES_SIM_681) (492) [SCAL] (1) theFol.opeMod.add2.y = theFol.opeMod.add2.k1 * theFol.opeMod.max.y + theFol.opeMod.add2.k2 * theFol.m_flow ($RES_SIM_682) (493) [SCAL] (1) theFol.opeMod.max.y = max(theFol.opeMod.minWatFlo.k, theFol.opeMod.con.k) ($RES_SIM_683) (494) [FOR-] (2) ($RES_SIM_686) (494) [----] for $i1 in 1:2 loop (494) [----] [SCAL] (1) theFol.opeMod.cooDow.outPort[$i1].reset = false ($RES_SIM_687) (494) [----] end for; (495) [SCAL] (1) theFol.eneCon.assFue.hys.y = $SEV_137 ($RES_SIM_770) (496) [FOR-] (2) ($RES_SIM_688) (496) [----] for $i1 in 1:2 loop (496) [----] [SCAL] (1) theFol.opeMod.cooDow.inPort[$i1].set = false ($RES_SIM_689) (496) [----] end for; (497) [SCAL] (1) theFol.preDro.port_b.h_outflow = cooWat.ports[1].h_outflow ($RES_SIM_774) (498) [SCAL] (1) theFol.preDro.port_a.h_outflow = theFol.vol.ports[1].h_outflow ($RES_SIM_775) (499) [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_776) (500) [SCAL] (1) valDat.y[3] = TWatIn.u ($RES_SIM_862) (501) [SCAL] (1) valDat.y[2] = cooWat.m_flow_in ($RES_SIM_863) (502) [SCAL] (1) theFol.vol.p = theFol.vol.ports[1].p ($RES_BND_1445) (503) [SCAL] (1) theFol.dp = theFol.port_a.p - theFol.port_b.p ($RES_BND_1443) (504) [FOR-] (2) ($RES_SIM_690) (504) [----] for $i1 in 1:2 loop (504) [----] [SCAL] (1) theFol.opeMod.cooDow.outPort[$i1].available = if $SEV_61[$i1] then theFol.opeMod.cooDow.outerStatePort.localActive else $SEV_123[$i1] ($RES_SIM_691) (504) [----] end for; (505) [FOR-] (2) ($RES_SIM_692) (505) [----] for $i1 in 1:2 loop (505) [----] [SCAL] (1) theFol.opeMod.cooDow.inPort[$i1].occupied = if $SEV_61[$i1] then theFol.opeMod.cooDow.outerStatePort.localActive else $SEV_124[$i1] ($RES_SIM_693) (505) [----] end for; (506) [WHEN] (1)when false then (506) [----] theFol.opeMod.cooDow.oldActive := theFol.opeMod.cooDow.outerStatePort.localActive (506) [----] end when; (507) [SCAL] (1) theFol.opeMod.cooDow.newActive = $SEV_125 ($RES_SIM_695) (508) [SCAL] (1) theFol.opeMod.cooDow.outerStatePort.localActive = $TEV_63 ($RES_SIM_696) (509) [SCAL] (1) theFol.opeMod.cooDow.outerStatePort.subgraphStatePort.activeSteps = if theFol.opeMod.cooDow.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_698) (510) [FOR-] (2) ($RES_SIM_699) (510) [----] for $i1 in 1:2 loop (510) [----] [SCAL] (1) theFol.opeMod.warUp.outPort[$i1].reset = false ($RES_SIM_700) (510) [----] end for; (511) [FOR-] (2) ($RES_SIM_783) (511) [----] for $i1 in 1:2 loop (511) [----] [SCAL] (1) theFol.vol.dynBal.ports[$i1].p = 99999.99999999999 * theFol.vol.dynBal.medium.p_bar ($RES_SIM_784) (511) [----] end for; (512) [FOR-] (2) ($RES_SIM_785) (512) [----] for $i1 in 1:2 loop (512) [----] [SCAL] (1) theFol.vol.dynBal.ports[$i1].h_outflow = 4184.0 * ((-273.15) - ((-273.15) - theFol.vol.dynBal.medium.T_degC)) ($RES_SIM_786) (512) [----] end for; (513) [SCAL] (1) theFol.m_flow + cooWat.ports[1].m_flow = 0.0 ($RES_SIM_871) (514) [SCAL] (1) cooWat.ports[1].p = theFol.port_a.p ($RES_SIM_872) (515) [SCAL] (1) theFolNeg.powCon.cooDow.y = $SEV_140 ($RES_BND_1526) (516) [SCAL] (1) theFol.port_b.p = sin.ports[1].p ($RES_SIM_875) (517) [SCAL] (1) theFolNeg.powCon.staBy.y = $SEV_141 ($RES_BND_1525) (518) [SCAL] (1) theFolNeg.preDro.port_b.p = theFolNeg.vol.ports[1].p ($RES_SIM_876) (519) [SCAL] (1) theFolNeg.conWat.TWatIn = 273.15 + 2.390057361376673e-4 * cooWatNeg.ports[1].h_outflow ($RES_BND_1524) (520) [SCAL] (1) theFolNeg.conWat.offStaBy.y = $SEV_142 ($RES_BND_1522) (521) [SCAL] (1) theFolNeg.fil.dPLim.thr = (theFolNeg.fil.dPLim.u - theFolNeg.fil.dPLim.y) / theFolNeg.fil.dPLim.Td ($RES_BND_1521) (522) [SCAL] (1) theFol.vol.dynBal.ports_H_flow[2] = $FUN_2 ($RES_SIM_791) (523) [SCAL] (1) theFol.vol.dynBal.ports_H_flow[1] = $FUN_1 ($RES_SIM_792) (524) [SCAL] (1) theFol.vol.dynBal.U = theFol.vol.dynBal.m * (4184.0 * ((-273.15) - ((-273.15) - theFol.vol.dynBal.medium.T_degC))) ($RES_SIM_794) (525) [SCAL] (1) theFol.vol.dynBal.m = theFol.vol.dynBal.fluidVolume * theFol.vol.dynBal.rho_start ($RES_SIM_795) (526) [SCAL] (1) theFolNeg.vol.ports[2].h_outflow = theFolNeg.port_b.h_outflow ($RES_SIM_880) (527) [SCAL] (1) theFol.vol.dynBal.medium.state.p = 99999.99999999999 * theFol.vol.dynBal.medium.p_bar ($RES_SIM_797) (528) [SCAL] (1) theFolNeg.vol.ports[2].p = theFolNeg.port_b.p ($RES_SIM_881) (529) [SCAL] (1) theFol.vol.dynBal.medium.state.T = -((-273.15) - theFol.vol.dynBal.medium.T_degC) ($RES_SIM_798) (530) [SCAL] (1) theFol.opeMod.transition4.outPort.occupied = theFol.opeMod.warUp.inPort[1].occupied ($RES_SIM_1297) (531) [SCAL] (1) theFol.opeMod.transition4.outPort.set = theFol.opeMod.warUp.inPort[1].set ($RES_SIM_1296) (532) [SCAL] (1) theFol.opeMod.transition7.outPort.occupied = theFol.opeMod.warUp.inPort[2].occupied ($RES_SIM_1295) (533) [SCAL] (1) theFol.opeMod.transition7.outPort.set = theFol.opeMod.warUp.inPort[2].set ($RES_SIM_1294) (534) [SCAL] (1) theFol.opeMod.transition8.outPort.occupied = theFol.opeMod.cooDow.inPort[1].occupied ($RES_SIM_1293) (535) [SCAL] (1) theFolNeg.eneCon.and1.u1 = $SEV_143 ($RES_BND_1504) (536) [SCAL] (1) theFol.opeMod.transition8.outPort.set = theFol.opeMod.cooDow.inPort[1].set ($RES_SIM_1292) (537) [SCAL] (1) theFolNeg.eneCon.booExp.y = $SEV_144 ($RES_BND_1503) (538) [SCAL] (1) theFol.opeMod.transition9.outPort.occupied = theFol.opeMod.cooDow.inPort[2].occupied ($RES_SIM_1291) (539) [SCAL] (1) theFolNeg.preDro.dp = theFolNeg.port_a.p - theFolNeg.preDro.port_b.p ($RES_BND_1502) (540) [SCAL] (1) theFol.opeMod.transition9.outPort.set = theFol.opeMod.cooDow.inPort[2].set ($RES_SIM_1290) (541) [SCAL] (1) theFol.opeMod.cooDow.outPort[1].available = theFol.opeMod.transition10.inPort.available ($RES_SIM_1289) (542) [SCAL] (1) theFol.opeMod.cooDow.outPort[1].reset = theFol.opeMod.transition10.outPort.set ($RES_SIM_1288) (543) [SCAL] (1) theFol.opeMod.cooDow.outPort[2].available = theFol.opeMod.transition7.inPort.available ($RES_SIM_1287) (544) [SCAL] (1) theFol.opeMod.cooDow.outPort[2].reset = theFol.opeMod.transition7.outPort.set ($RES_SIM_1286) (545) [SCAL] (1) theFolNeg.opeMod.cooDow.outPort[2].reset = theFolNeg.opeMod.transition7.outPort.set ($RES_SIM_995) (546) [SCAL] (1) theFolNeg.opeMod.cooDow.outPort[2].available = theFolNeg.opeMod.transition7.inPort.available ($RES_SIM_996) (547) [SCAL] (1) theFolNeg.opeMod.cooDow.outPort[1].reset = theFolNeg.opeMod.transition10.outPort.set ($RES_SIM_997) (548) [SCAL] (1) theFolNeg.opeMod.cooDow.outPort[1].available = theFolNeg.opeMod.transition10.inPort.available ($RES_SIM_998) (549) [SCAL] (1) theFolNeg.opeMod.transition9.outPort.set = theFolNeg.opeMod.cooDow.inPort[2].set ($RES_SIM_999) (550) [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_1569) (551) [ARRY] (2) theFol.vol.dynBal.ports.p = theFol.vol.ports.p ($RES_SIM_1440) (552) [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_1568) (553) [SCAL] (1) 0.0 = sum(theFol.vol.dynBal.ports.m_flow) ($RES_$AUX_1567) (554) [SCAL] (1) -theFol.vol.heatPort.Q_flow = sum(theFol.vol.dynBal.ports_H_flow) ($RES_$AUX_1566) (555) [SCAL] (1) theFol.eneCon.assFue.abs1.y = abs(theFol.eneCon.assFue.abs1.u) ($RES_$AUX_1565) (556) [SCAL] (1) theFol.eneCon.switch4.u3 = Buildings.Utilities.Math.Functions.polynomial(theFol.eneCon.switch3.u3, theFol.eneCon.opeModBas.masFloAir.a) ($RES_$AUX_1564) (557) [SCAL] (1) $FUN_7 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.staBy.inPort.set) ($RES_$AUX_1563) (558) [SCAL] (1) $FUN_8 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.staBy.outPort.reset) ($RES_$AUX_1562) (559) [SCAL] (1) $FUN_9 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.pumOn.inPort.set) ($RES_$AUX_1561) (560) [SCAL] (1) $FUN_10 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.pumOn.outPort.reset) ($RES_$AUX_1560) (561) [SCAL] (1) theFol.vol.ports[2].p = theFol.port_b.p ($RES_SIM_1172) (562) [SCAL] (1) theFol.vol.ports[2].h_outflow = theFol.port_b.h_outflow ($RES_SIM_1171) (563) [FOR-] (2) ($RES_SIM_1438) (563) [----] for $i1 in 1:2 loop (563) [----] [SCAL] (1) theFol.vol.dynBal.ports[$i1].m_flow - theFol.vol.ports[$i1].m_flow = 0.0 ($RES_SIM_1439) (563) [----] end for; (564) [SCAL] (1) theFol.vol.dynBal.ports[1].h_outflow = theFol.vol.ports[1].h_outflow ($RES_SIM_1437) (565) [SCAL] (1) theFol.vol.dynBal.ports[2].h_outflow = theFol.vol.ports[2].h_outflow ($RES_SIM_1436) (566) [SCAL] (1) theFol.opeMod.nor.outPort[1].available = theFol.opeMod.transition8.inPort.available ($RES_SIM_1349) (567) [SCAL] (1) theFol.opeMod.nor.outPort[1].reset = theFol.opeMod.transition8.outPort.set ($RES_SIM_1348) (568) [SCAL] (1) $FUN_11 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.warUp.inPort.set) ($RES_$AUX_1559) (569) [SCAL] (1) theFol.opeMod.plaOff.outPort[1].available = theFol.opeMod.transition1.inPort.available ($RES_SIM_1347) (570) [SCAL] (1) $FUN_12 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.warUp.outPort.reset) ($RES_$AUX_1558) (571) [SCAL] (1) theFol.opeMod.plaOff.outPort[1].reset = theFol.opeMod.transition1.outPort.set ($RES_SIM_1346) (572) [SCAL] (1) $FUN_13 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.cooDow.inPort.set) ($RES_$AUX_1557) (573) [SCAL] (1) theFol.opeMod.transition6.outPort.occupied = theFol.opeMod.nor.inPort[1].occupied ($RES_SIM_1345) (574) [SCAL] (1) $FUN_14 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.cooDow.outPort.reset) ($RES_$AUX_1556) (575) [SCAL] (1) theFol.opeMod.transition6.outPort.set = theFol.opeMod.nor.inPort[1].set ($RES_SIM_1344) (576) [SCAL] (1) $FUN_15 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.nor.inPort.set) ($RES_$AUX_1555) (577) [SCAL] (1) $FUN_16 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.nor.outPort.reset) ($RES_$AUX_1554) (578) [SCAL] (1) $FUN_17 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.plaOff.inPort.set) ($RES_$AUX_1553) (579) [SCAL] (1) $FUN_18 = Modelica.StateGraph.Temporary.anyTrue(theFol.opeMod.plaOff.outPort.reset) ($RES_$AUX_1552) (580) [SCAL] (1) theFol.fil.assPow.maxRat.u = abs(theFol.fil.assPow.abs1.u) ($RES_$AUX_1551) (581) [SCAL] (1) -cooWat.m_flow_in = sum(cooWat.ports.m_flow) ($RES_$AUX_1550) (582) [SCAL] (1) theFol.preDro.port_b.p = theFol.vol.ports[1].p ($RES_SIM_1167) (583) [SCAL] (1) avaSig.combiTimeTable.y[1] = avaSig.realToBoolean.u ($RES_SIM_1166) (584) [SCAL] (1) -mWat_flow_negative.k = sum(cooWatNeg.ports.m_flow) ($RES_$AUX_1549) (585) [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_1548) (586) [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_1547) (587) [SCAL] (1) 0.0 = sum(theFolNeg.vol.dynBal.ports.m_flow) ($RES_$AUX_1546) (588) [SCAL] (1) -theFolNeg.vol.heatPort.Q_flow = sum(theFolNeg.vol.dynBal.ports_H_flow) ($RES_$AUX_1545) (589) [SCAL] (1) theFolNeg.eneCon.assFue.abs1.y = abs(theFolNeg.eneCon.assFue.abs1.u) ($RES_$AUX_1544) (590) [SCAL] (1) theFolNeg.eneCon.switch4.u3 = Buildings.Utilities.Math.Functions.polynomial(theFolNeg.eneCon.switch3.u3, theFolNeg.eneCon.opeModBas.masFloAir.a) ($RES_$AUX_1543) (591) [SCAL] (1) $FUN_28 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.staBy.inPort.set) ($RES_$AUX_1542) (592) [SCAL] (1) $FUN_29 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.staBy.outPort.reset) ($RES_$AUX_1541) (593) [SCAL] (1) $FUN_30 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.pumOn.inPort.set) ($RES_$AUX_1540) (594) [SCAL] (1) $SEV_82 = avaSig.realToBoolean.u >= avaSig.realToBoolean.threshold ($RES_EVT_1799) (595) [SCAL] (1) $FUN_31 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.pumOn.outPort.reset) ($RES_$AUX_1539) (596) [SCAL] (1) $FUN_32 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.warUp.inPort.set) ($RES_$AUX_1538) (597) [SCAL] (1) $FUN_33 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.warUp.outPort.reset) ($RES_$AUX_1537) (598) [SCAL] (1) $SEV_79 = time >= $PRE.valDat.nextTimeEvent ($RES_EVT_1796) (599) [SCAL] (1) $FUN_34 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.cooDow.inPort.set) ($RES_$AUX_1536) (600) [SCAL] (1) $FUN_35 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.cooDow.outPort.reset) ($RES_$AUX_1535) (601) [SCAL] (1) $FUN_36 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.nor.inPort.set) ($RES_$AUX_1534) (602) [SCAL] (1) $SEV_76 = 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_1793) (603) [SCAL] (1) theFol.opeMod.transition3.outPort.occupied = theFol.opeMod.plaOff.inPort[1].occupied ($RES_SIM_1322) (604) [SCAL] (1) $FUN_37 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.nor.outPort.reset) ($RES_$AUX_1533) (605) [SCAL] (1) $SEV_75 = (-0.01) + theFolNeg.eneCon.opeModBas.etaE.y < (-0.005) ($RES_EVT_1792) (606) [SCAL] (1) theFol.opeMod.transition3.outPort.set = theFol.opeMod.plaOff.inPort[1].set ($RES_SIM_1321) (607) [SCAL] (1) $FUN_38 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.plaOff.inPort.set) ($RES_$AUX_1532) (608) [SCAL] (1) $SEV_74 = (-0.01) + theFolNeg.eneCon.opeModBas.etaE.y > 0.005 ($RES_EVT_1791) (609) [SCAL] (1) theFol.opeMod.transition5.outPort.occupied = theFol.opeMod.plaOff.inPort[2].occupied ($RES_SIM_1320) (610) [SCAL] (1) $FUN_39 = Modelica.StateGraph.Temporary.anyTrue(theFolNeg.opeMod.plaOff.outPort.reset) ($RES_$AUX_1531) (611) [SCAL] (1) $SEV_73 = (-0.01) + theFolNeg.eneCon.opeModBas.etaQ.y < (-0.005) ($RES_EVT_1790) (612) [SCAL] (1) theFolNeg.fil.assPow.maxRat.u = abs(theFolNeg.fil.assPow.abs1.u) ($RES_$AUX_1530) (613) [ARRY] (2) theFolNeg.vol.dynBal.ports.p = theFolNeg.vol.ports.p ($RES_SIM_1149) (614) [FOR-] (2) ($RES_SIM_1147) (614) [----] for $i1 in 1:2 loop (614) [----] [SCAL] (1) theFolNeg.vol.dynBal.ports[$i1].m_flow - theFolNeg.vol.ports[$i1].m_flow = 0.0 ($RES_SIM_1148) (614) [----] end for; (615) [SCAL] (1) theFolNeg.vol.dynBal.ports[1].h_outflow = theFolNeg.vol.ports[1].h_outflow ($RES_SIM_1146) (616) [SCAL] (1) theFolNeg.vol.dynBal.ports[2].h_outflow = theFolNeg.vol.ports[2].h_outflow ($RES_SIM_1145) (617) [SCAL] (1) theFolNeg.opeMod.nor.outPort[1].available = theFolNeg.opeMod.transition8.inPort.available ($RES_SIM_1058) (618) [SCAL] (1) theFolNeg.opeMod.nor.outPort[1].reset = theFolNeg.opeMod.transition8.outPort.set ($RES_SIM_1057) (619) [SCAL] (1) theFolNeg.opeMod.plaOff.outPort[1].available = theFolNeg.opeMod.transition1.inPort.available ($RES_SIM_1056) (620) [SCAL] (1) theFolNeg.opeMod.plaOff.outPort[1].reset = theFolNeg.opeMod.transition1.outPort.set ($RES_SIM_1055) (621) [SCAL] (1) theFolNeg.opeMod.transition6.outPort.occupied = theFolNeg.opeMod.nor.inPort[1].occupied ($RES_SIM_1054) (622) [SCAL] (1) theFolNeg.opeMod.transition6.outPort.set = theFolNeg.opeMod.nor.inPort[1].set ($RES_SIM_1053) (623) [SCAL] (1) $SEV_149 = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp or theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_EVT_1873) (624) [SCAL] (1) theFol.opeMod.transition5.outPort.set = theFol.opeMod.plaOff.inPort[2].set ($RES_SIM_1319) (625) [SCAL] (1) $SEV_148 = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_EVT_1872) (626) [SCAL] (1) $SEV_72 = (-0.01) + theFolNeg.eneCon.opeModBas.etaQ.y > 0.005 ($RES_EVT_1789) (627) [SCAL] (1) theFol.opeMod.transition10.outPort.occupied = theFol.opeMod.plaOff.inPort[3].occupied ($RES_SIM_1318) (628) [SCAL] (1) $SEV_147 = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off or theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_EVT_1871) (629) [SCAL] (1) $SEV_71 = $FUN_28 or theFolNeg.opeMod.staBy.outerStatePort.localActive and not $FUN_29 ($RES_EVT_1788) (630) [SCAL] (1) theFol.opeMod.transition10.outPort.set = theFol.opeMod.plaOff.inPort[3].set ($RES_SIM_1317) (631) [SCAL] (1) $SEV_146 = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_EVT_1870) (632) [FOR-] (2) ($RES_EVT_1786) (632) [----] for $i1 in 1:2 loop (632) [----] [SCAL] (1) $SEV_70[$i1] = theFolNeg.opeMod.staBy.outPort[$i1 - 1].available and not theFolNeg.opeMod.staBy.outPort[$i1 - 1].reset ($RES_EVT_1787) (632) [----] end for; (633) [SCAL] (1) theFol.opeMod.transition1.outPort.occupied = theFol.opeMod.staBy.inPort[1].occupied ($RES_SIM_1315) (634) [SCAL] (1) $SEV_69 = $FUN_30 or theFolNeg.opeMod.pumOn.outerStatePort.localActive and not $FUN_31 ($RES_EVT_1785) (635) [SCAL] (1) theFol.opeMod.transition1.outPort.set = theFol.opeMod.staBy.inPort[1].set ($RES_SIM_1314) (636) [SCAL] (1) theFol.opeMod.staBy.outPort[1].available = theFol.opeMod.transition2.inPort.available ($RES_SIM_1313) (637) [FOR-] (2) ($RES_EVT_1783) (637) [----] for $i1 in 1:2 loop (637) [----] [SCAL] (1) $SEV_68[$i1] = theFolNeg.opeMod.pumOn.outPort[$i1 - 1].available and not theFolNeg.opeMod.pumOn.outPort[$i1 - 1].reset ($RES_EVT_1784) (637) [----] end for; (638) [SCAL] (1) theFol.opeMod.staBy.outPort[1].reset = theFol.opeMod.transition2.outPort.set ($RES_SIM_1312) (639) [SCAL] (1) $SEV_67 = $FUN_32 or theFolNeg.opeMod.warUp.outerStatePort.localActive and not $FUN_33 ($RES_EVT_1782) (640) [SCAL] (1) $TEV_67 = $PRE.theFol.opeMod.pumOn.oldActive ($RES_EVT_1699) (641) [SCAL] (1) theFol.opeMod.staBy.outPort[2].available = theFol.opeMod.transition3.inPort.available ($RES_SIM_1311) (642) [SCAL] (1) $TEV_66 = $PRE.theFol.opeMod.warUp.newActive ($RES_EVT_1698) (643) [SCAL] (1) theFol.opeMod.staBy.outPort[2].reset = theFol.opeMod.transition3.outPort.set ($RES_SIM_1310) (644) [FOR-] (2) ($RES_EVT_1780) (644) [----] for $i1 in 1:2 loop (644) [----] [SCAL] (1) $SEV_66[$i1] = theFolNeg.opeMod.warUp.inPort[$i1 - 1].occupied or theFolNeg.opeMod.warUp.inPort[$i1 - 1].set ($RES_EVT_1781) (644) [----] end for; (645) [SCAL] (1) $TEV_65 = $PRE.theFol.opeMod.warUp.outerStatePort.localActive ($RES_EVT_1697) (646) [SCAL] (1) $TEV_64 = $PRE.theFol.opeMod.warUp.oldActive ($RES_EVT_1696) (647) [SCAL] (1) $TEV_63 = $PRE.theFol.opeMod.cooDow.newActive ($RES_EVT_1695) (648) [SCAL] (1) $TEV_62 = $PRE.theFol.opeMod.cooDow.outerStatePort.localActive ($RES_EVT_1694) (649) [SCAL] (1) $TEV_61 = $PRE.theFol.opeMod.cooDow.oldActive ($RES_EVT_1693) (650) [SCAL] (1) $TEV_60 = $PRE.theFol.opeMod.hys.y ($RES_EVT_1692) (651) [SCAL] (1) $TEV_59 = $PRE.theFol.opeMod.transition3.outPort.set ($RES_EVT_1691) (652) [SCAL] (1) $TEV_58 = $PRE.theFol.opeMod.transition5.outPort.set ($RES_EVT_1690) (653) [SCAL] (1) $SEV_145 = theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy or theFol.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown ($RES_EVT_1869) (654) [SCAL] (1) $SEV_144 = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp or theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_EVT_1868) (655) [SCAL] (1) $SEV_143 = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_EVT_1867) (656) [SCAL] (1) $SEV_142 = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off or theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_EVT_1866) (657) [SCAL] (1) $SEV_141 = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_EVT_1865) (658) [SCAL] (1) $SEV_140 = theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy or theFolNeg.opeMod.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown ($RES_EVT_1864) (659) [SCAL] (1) theFol.opeMod.transition2.outPort.occupied = theFol.opeMod.pumOn.inPort[1].occupied ($RES_SIM_1309) (660) [SCAL] (1) theFol.opeMod.transition2.outPort.set = theFol.opeMod.pumOn.inPort[1].set ($RES_SIM_1308) (661) [SCAL] (1) $SEV_137 = 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_1861) (662) [FOR-] (2) ($RES_EVT_1778) (662) [----] for $i1 in 1:2 loop (662) [----] [SCAL] (1) $SEV_65[$i1] = theFolNeg.opeMod.warUp.outPort[$i1 - 1].available and not theFolNeg.opeMod.warUp.outPort[$i1 - 1].reset ($RES_EVT_1779) (662) [----] end for; (663) [SCAL] (1) theFol.opeMod.pumOn.outPort[1].available = theFol.opeMod.transition4.inPort.available ($RES_SIM_1307) (664) [SCAL] (1) $SEV_136 = (-0.01) + theFol.eneCon.opeModBas.etaE.y < (-0.005) ($RES_EVT_1860) (665) [SCAL] (1) $SEV_64 = $FUN_34 or theFolNeg.opeMod.cooDow.outerStatePort.localActive and not $FUN_35 ($RES_EVT_1777) (666) [SCAL] (1) theFol.opeMod.pumOn.outPort[1].reset = theFol.opeMod.transition4.outPort.set ($RES_SIM_1306) (667) [SCAL] (1) theFol.opeMod.pumOn.outPort[2].available = theFol.opeMod.transition5.inPort.available ($RES_SIM_1305) (668) [FOR-] (2) ($RES_EVT_1775) (668) [----] for $i1 in 1:2 loop (668) [----] [SCAL] (1) $SEV_63[$i1] = theFolNeg.opeMod.cooDow.inPort[$i1 - 1].occupied or theFolNeg.opeMod.cooDow.inPort[$i1 - 1].set ($RES_EVT_1776) (668) [----] end for; (669) [SCAL] (1) theFol.opeMod.pumOn.outPort[2].reset = theFol.opeMod.transition5.outPort.set ($RES_SIM_1304) (670) [SCAL] (1) theFol.opeMod.warUp.outPort[1].available = theFol.opeMod.transition6.inPort.available ($RES_SIM_1303) (671) [FOR-] (2) ($RES_EVT_1773) (671) [----] for $i1 in 1:2 loop (671) [----] [SCAL] (1) $SEV_62[$i1] = theFolNeg.opeMod.cooDow.outPort[$i1 - 1].available and not theFolNeg.opeMod.cooDow.outPort[$i1 - 1].reset ($RES_EVT_1774) (671) [----] end for; (672) [SCAL] (1) theFol.opeMod.warUp.outPort[1].reset = theFol.opeMod.transition6.outPort.set ($RES_SIM_1302) (673) [SCAL] (1) $TEV_57 = $PRE.theFol.opeMod.transition9.outPort.set ($RES_EVT_1689) (674) [SCAL] (1) theFol.opeMod.warUp.outPort[2].available = theFol.opeMod.transition9.inPort.available ($RES_SIM_1301) (675) [FOR-] (2) ($RES_EVT_1771) (675) [----] for $i1 in 1:2 loop (675) [----] [SCAL] (1) $SEV_61[$i1] = $i1 == 1 ($RES_EVT_1772) (675) [----] end for; (676) [SCAL] (1) $TEV_56 = $PRE.theFol.opeMod.transition7.outPort.set ($RES_EVT_1688) (677) [SCAL] (1) theFol.opeMod.warUp.outPort[2].reset = theFol.opeMod.transition9.outPort.set ($RES_SIM_1300) (678) [SCAL] (1) $SEV_60 = 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_1770) (679) [SCAL] (1) $TEV_55 = $PRE.theFol.opeMod.transition10.outPort.set ($RES_EVT_1687) (680) [SCAL] (1) $TEV_54 = $PRE.theFol.opeMod.assWatMas.not1.u ($RES_EVT_1686) (681) [SCAL] (1) $TEV_53 = $PRE.theFol.opeMod.transition1.outPort.set ($RES_EVT_1685) (682) [SCAL] (1) $TEV_52 = $PRE.theFol.opeMod.transition2.outPort.set ($RES_EVT_1684) (683) [SCAL] (1) $TEV_51 = $PRE.theFol.opeMod.nor.newActive ($RES_EVT_1683) (684) [SCAL] (1) $TEV_50 = $PRE.theFol.opeMod.nor.outerStatePort.localActive ($RES_EVT_1682) (685) [SCAL] (1) $TEV_49 = $PRE.theFol.opeMod.nor.oldActive ($RES_EVT_1681) (686) [SCAL] (1) $TEV_48 = $PRE.theFol.opeMod.transition8.outPort.set ($RES_EVT_1680) (687) [SCAL] (1) $SEV_135 = (-0.01) + theFol.eneCon.opeModBas.etaE.y > 0.005 ($RES_EVT_1859) (688) [SCAL] (1) $SEV_134 = (-0.01) + theFol.eneCon.opeModBas.etaQ.y < (-0.005) ($RES_EVT_1858) (689) [SCAL] (1) $SEV_133 = (-0.01) + theFol.eneCon.opeModBas.etaQ.y > 0.005 ($RES_EVT_1857) (690) [SCAL] (1) theFolNeg.opeMod.transition3.outPort.occupied = theFolNeg.opeMod.plaOff.inPort[1].occupied ($RES_SIM_1031) (691) [SCAL] (1) $SEV_132 = $FUN_7 or theFol.opeMod.staBy.outerStatePort.localActive and not $FUN_8 ($RES_EVT_1856) (692) [SCAL] (1) theFolNeg.opeMod.transition3.outPort.set = theFolNeg.opeMod.plaOff.inPort[1].set ($RES_SIM_1030) (693) [FOR-] (2) ($RES_EVT_1854) (693) [----] for $i1 in 1:2 loop (693) [----] [SCAL] (1) $SEV_131[$i1] = theFol.opeMod.staBy.outPort[$i1 - 1].available and not theFol.opeMod.staBy.outPort[$i1 - 1].reset ($RES_EVT_1855) (693) [----] end for; (694) [SCAL] (1) $SEV_130 = $FUN_9 or theFol.opeMod.pumOn.outerStatePort.localActive and not $FUN_10 ($RES_EVT_1853) (695) [SCAL] (1) $SEV_59 = theFolNeg.opeMod.hys.y and not theFolNeg.opeMod.transition5.localCondition ($RES_EVT_1769) (696) [FOR-] (2) ($RES_EVT_1851) (696) [----] for $i1 in 1:2 loop (696) [----] [SCAL] (1) $SEV_129[$i1] = theFol.opeMod.pumOn.outPort[$i1 - 1].available and not theFol.opeMod.pumOn.outPort[$i1 - 1].reset ($RES_EVT_1852) (696) [----] end for; (697) [SCAL] (1) $SEV_58 = not theFolNeg.opeMod.transition9.localCondition and theFolNeg.opeMod.and1.u2 ($RES_EVT_1768) (698) [SCAL] (1) $SEV_128 = $FUN_11 or theFol.opeMod.warUp.outerStatePort.localActive and not $FUN_12 ($RES_EVT_1850) (699) [SCAL] (1) $SEV_57 = (not (not theFol.opeMod.transition3.localCondition) and theFolNeg.opeMod.transition3.inPort.available) and not theFolNeg.opeMod.transition3.outPort.occupied ($RES_EVT_1767) (700) [SCAL] (1) $SEV_56 = (theFolNeg.opeMod.transition5.localCondition and theFolNeg.opeMod.transition5.inPort.available) and not theFolNeg.opeMod.transition5.outPort.occupied ($RES_EVT_1766) (701) [SCAL] (1) $SEV_55 = (theFolNeg.opeMod.transition9.localCondition and theFolNeg.opeMod.transition9.inPort.available) and not theFolNeg.opeMod.transition9.outPort.occupied ($RES_EVT_1765) (702) [SCAL] (1) $SEV_54 = (theFolNeg.opeMod.transition7.localCondition and theFolNeg.opeMod.transition7.inPort.available) and not theFolNeg.opeMod.transition7.outPort.occupied ($RES_EVT_1764) (703) [SCAL] (1) $SEV_53 = theFolNeg.opeMod.optCooDow.k and not theFolNeg.opeMod.transition9.localCondition ($RES_EVT_1763) (704) [SCAL] (1) $SEV_52 = (theFolNeg.opeMod.transition10.localCondition and theFolNeg.opeMod.transition10.inPort.available) and not theFolNeg.opeMod.transition10.outPort.occupied ($RES_EVT_1762) (705) [SCAL] (1) $TEV_47 = $PRE.theFol.opeMod.warUpCtr.timer.entryTime ($RES_EVT_1679) (706) [SCAL] (1) $SEV_51 = theFolNeg.opeMod.timeDel.y and theFolNeg.opeMod.transition9.localCondition ($RES_EVT_1761) (707) [SCAL] (1) $TEV_46 = $PRE.theFol.opeMod.transition6.outPort.set ($RES_EVT_1678) (708) [SCAL] (1) $SEV_50 = not theFolNeg.opeMod.transition5.localCondition and not theFolNeg.opeMod.assWatMas.not1.u ($RES_EVT_1760) (709) [SCAL] (1) $TEV_45 = $PRE.theFol.opeMod.plaOff.newActive ($RES_EVT_1677) (710) [SCAL] (1) $TEV_44 = $PRE.theFol.opeMod.plaOff.outerStatePort.localActive ($RES_EVT_1676) (711) [SCAL] (1) $TEV_43 = $PRE.theFol.opeMod.plaOff.oldActive ($RES_EVT_1675) (712) [SCAL] (1) $TEV_42 = $PRE.theFol.opeMod.transition4.enableFire ($RES_EVT_1674) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 734 var 2 --> eqn 237 var 3 --> eqn 294 var 4 --> eqn 663 var 5 --> eqn 666 var 6 --> eqn 385 var 7 --> eqn 669 var 8 --> eqn 672 var 9 --> eqn 689 var 10 --> eqn 692 var 11 --> eqn 535 var 12 --> eqn 268 var 13 --> eqn 204 var 14 --> eqn 570 var 15 --> eqn 612 var 16 --> eqn 531 var 17 --> eqn 324 var 18 --> eqn 706 var 19 --> eqn 328 var 20 --> eqn 393 var 21 --> eqn 436 var 22 --> eqn 508 var 23 --> eqn 223 var 24 --> eqn 497 var 25 --> eqn 698 var 26 --> eqn 544 var 27 --> eqn 549 var 28 --> eqn 550 var 29 --> eqn 704 var 30 --> eqn 464 var 31 --> eqn 732 var 32 --> eqn 413 var 33 --> eqn 680 var 34 --> eqn 243 var 35 --> eqn 244 var 36 --> eqn 748 var 37 --> eqn 325 var 38 --> eqn 532 var 39 --> eqn 664 var 40 --> eqn 472 var 41 --> eqn 345 var 42 --> eqn 615 var 43 --> eqn 524 var 44 --> eqn 438 var 45 --> eqn 766 var 46 --> eqn 769 var 47 --> eqn 771 var 48 --> eqn 178 var 49 --> eqn 773 var 50 --> eqn 495 var 51 --> eqn 634 var 52 --> eqn 457 var 53 --> eqn 774 var 54 --> eqn 455 var 55 --> eqn 554 var 56 --> eqn 775 var 57 --> eqn 207 var 58 --> eqn 434 var 59 --> eqn 177 var 60 --> eqn 778 var 61 --> eqn 780 var 62 --> eqn 162 var 63 --> eqn 326 var 64 --> eqn 276 var 65 --> eqn 675 var 66 --> eqn 405 var 67 --> eqn 48 var 68 --> eqn 471 var 69 --> eqn 501 var 70 --> eqn 494 var 71 --> eqn 293 var 72 --> eqn 545 var 73 --> eqn 542 var 74 --> eqn 605 var 75 --> eqn 212 var 76 --> eqn 578 var 77 --> eqn 21 var 78 --> eqn 24 var 79 --> eqn 26 var 80 --> eqn 27 var 81 --> eqn 447 var 82 --> eqn 28 var 83 --> eqn 222 var 84 --> eqn 395 var 85 --> eqn 29 var 86 --> eqn 30 var 87 --> eqn 31 var 88 --> eqn 33 var 89 --> eqn 394 var 90 --> eqn 700 var 91 --> eqn 228 var 92 --> eqn 484 var 93 --> eqn 449 var 94 --> eqn 643 var 95 --> eqn 644 var 96 --> eqn 671 var 97 --> eqn 277 var 98 --> eqn 461 var 99 --> eqn 668 var 100 --> eqn 69 var 101 --> eqn 665 var 102 --> eqn 70 var 103 --> eqn 568 var 104 --> eqn 611 var 105 --> eqn 662 var 106 --> eqn 71 var 107 --> eqn 661 var 108 --> eqn 72 var 109 --> eqn 660 var 110 --> eqn 73 var 111 --> eqn 526 var 112 --> eqn 658 var 113 --> eqn 75 var 114 --> eqn 657 var 115 --> eqn 122 var 116 --> eqn 123 var 117 --> eqn 124 var 118 --> eqn 77 var 119 --> eqn 656 var 120 --> eqn 102 var 121 --> eqn 654 var 122 --> eqn 104 var 123 --> eqn 468 var 124 --> eqn 415 var 125 --> eqn 161 var 126 --> eqn 258 var 127 --> eqn 359 var 128 --> eqn 398 var 129 --> eqn 172 var 130 --> eqn 432 var 131 --> eqn 290 var 132 --> eqn 560 var 133 --> eqn 561 var 134 --> eqn 509 var 135 --> eqn 388 var 136 --> eqn 302 var 137 --> eqn 303 var 138 --> eqn 514 var 139 --> eqn 515 var 140 --> eqn 516 var 141 --> eqn 89 var 142 --> eqn 653 var 143 --> eqn 105 var 144 --> eqn 652 var 145 --> eqn 106 var 146 --> eqn 107 var 147 --> eqn 108 var 148 --> eqn 109 var 149 --> eqn 282 var 150 --> eqn 111 var 151 --> eqn 646 var 152 --> eqn 113 var 153 --> eqn 132 var 154 --> eqn 410 var 155 --> eqn 97 var 156 --> eqn 725 var 157 --> eqn 402 var 158 --> eqn 339 var 159 --> eqn 594 var 160 --> eqn 480 var 161 --> eqn 575 var 162 --> eqn 226 var 163 --> eqn 640 var 164 --> eqn 639 var 165 --> eqn 638 var 166 --> eqn 637 var 167 --> eqn 635 var 168 --> eqn 589 var 169 --> eqn 633 var 170 --> eqn 170 var 171 --> eqn 631 var 172 --> eqn 365 var 173 --> eqn 629 var 174 --> eqn 620 var 175 --> eqn 537 var 176 --> eqn 513 var 177 --> eqn 496 var 178 --> eqn 185 var 179 --> eqn 536 var 180 --> eqn 46 var 181 --> eqn 744 var 182 --> eqn 745 var 183 --> eqn 577 var 184 --> eqn 166 var 185 --> eqn 485 var 186 --> eqn 257 var 187 --> eqn 312 var 188 --> eqn 313 var 189 --> eqn 52 var 190 --> eqn 539 var 191 --> eqn 295 var 192 --> eqn 186 var 193 --> eqn 474 var 194 --> eqn 160 var 195 --> eqn 321 var 196 --> eqn 220 var 197 --> eqn 322 var 198 --> eqn 323 var 199 --> eqn 505 var 200 --> eqn 430 var 201 --> eqn 437 var 202 --> eqn 630 var 203 --> eqn 510 var 204 --> eqn 743 var 205 --> eqn 316 var 206 --> eqn 299 var 207 --> eqn 557 var 208 --> eqn 491 var 209 --> eqn 261 var 210 --> eqn 386 var 211 --> eqn 319 var 212 --> eqn 445 var 213 --> eqn 269 var 214 --> eqn 555 var 215 --> eqn 533 var 216 --> eqn 196 var 217 --> eqn 414 var 218 --> eqn 403 var 219 --> eqn 404 var 220 --> eqn 163 var 221 --> eqn 336 var 222 --> eqn 47 var 223 --> eqn 482 var 224 --> eqn 330 var 225 --> eqn 493 var 226 --> eqn 120 var 227 --> eqn 215 var 228 --> eqn 489 var 229 --> eqn 121 var 230 --> eqn 135 var 231 --> eqn 136 var 232 --> eqn 137 var 233 --> eqn 138 var 234 --> eqn 139 var 235 --> eqn 340 var 236 --> eqn 341 var 237 --> eqn 140 var 238 --> eqn 219 var 239 --> eqn 141 var 240 --> eqn 142 var 241 --> eqn 366 var 242 --> eqn 181 var 243 --> eqn 93 var 244 --> eqn 361 var 245 --> eqn 487 var 246 --> eqn 431 var 247 --> eqn 370 var 248 --> eqn 371 var 249 --> eqn 372 var 250 --> eqn 373 var 251 --> eqn 374 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 273 var 260 --> eqn 286 var 261 --> eqn 351 var 262 --> eqn 502 var 263 --> eqn 209 var 264 --> eqn 421 var 265 --> eqn 252 var 266 --> eqn 45 var 267 --> eqn 291 var 268 --> eqn 686 var 269 --> eqn 688 var 270 --> eqn 499 var 271 --> eqn 691 var 272 --> eqn 694 var 273 --> eqn 284 var 274 --> eqn 719 var 275 --> eqn 616 var 276 --> eqn 720 var 277 --> eqn 353 var 278 --> eqn 566 var 279 --> eqn 567 var 280 --> eqn 721 var 281 --> eqn 722 var 282 --> eqn 723 var 283 --> eqn 562 var 284 --> eqn 724 var 285 --> eqn 517 var 286 --> eqn 571 var 287 --> eqn 333 var 288 --> eqn 199 var 289 --> eqn 200 var 290 --> eqn 201 var 291 --> eqn 305 var 292 --> eqn 406 var 293 --> eqn 598 var 294 --> eqn 342 var 295 --> eqn 298 var 296 --> eqn 727 var 297 --> eqn 731 var 298 --> eqn 429 var 299 --> eqn 757 var 300 --> eqn 208 var 301 --> eqn 758 var 302 --> eqn 191 var 303 --> eqn 210 var 304 --> eqn 759 var 305 --> eqn 573 var 306 --> eqn 761 var 307 --> eqn 460 var 308 --> eqn 765 var 309 --> eqn 427 var 310 --> eqn 211 var 311 --> eqn 304 var 312 --> eqn 368 var 313 --> eqn 442 var 314 --> eqn 190 var 315 --> eqn 9 var 316 --> eqn 259 var 317 --> eqn 504 var 318 --> eqn 690 var 319 --> eqn 221 var 320 --> eqn 50 var 321 --> eqn 770 var 322 --> eqn 610 var 323 --> eqn 621 var 324 --> eqn 18 var 325 --> eqn 760 var 326 --> eqn 25 var 327 --> eqn 49 var 328 --> eqn 329 var 329 --> eqn 51 var 330 --> eqn 382 var 331 --> eqn 198 var 332 --> eqn 308 var 333 --> eqn 309 var 334 --> eqn 188 var 335 --> eqn 387 var 336 --> eqn 369 var 337 --> eqn 625 var 338 --> eqn 626 var 339 --> eqn 193 var 340 --> eqn 6 var 341 --> eqn 195 var 342 --> eqn 540 var 343 --> eqn 306 var 344 --> eqn 307 var 345 --> eqn 255 var 346 --> eqn 53 var 347 --> eqn 607 var 348 --> eqn 55 var 349 --> eqn 411 var 350 --> eqn 57 var 351 --> eqn 58 var 352 --> eqn 59 var 353 --> eqn 60 var 354 --> eqn 64 var 355 --> eqn 165 var 356 --> eqn 173 var 357 --> eqn 523 var 358 --> eqn 65 var 359 --> eqn 90 var 360 --> eqn 92 var 361 --> eqn 763 var 362 --> eqn 764 var 363 --> eqn 235 var 364 --> eqn 184 var 365 --> eqn 192 var 366 --> eqn 183 var 367 --> eqn 11 var 368 --> eqn 12 var 369 --> eqn 19 var 370 --> eqn 20 var 371 --> eqn 528 var 372 --> eqn 8 var 373 --> eqn 327 var 374 --> eqn 94 var 375 --> eqn 205 var 376 --> eqn 96 var 377 --> eqn 98 var 378 --> eqn 478 var 379 --> eqn 99 var 380 --> eqn 100 var 381 --> eqn 101 var 382 --> eqn 103 var 383 --> eqn 296 var 384 --> eqn 297 var 385 --> eqn 565 var 386 --> eqn 270 var 387 --> eqn 233 var 388 --> eqn 125 var 389 --> eqn 216 var 390 --> eqn 126 var 391 --> eqn 232 var 392 --> eqn 355 var 393 --> eqn 441 var 394 --> eqn 267 var 395 --> eqn 546 var 396 --> eqn 547 var 397 --> eqn 518 var 398 --> eqn 519 var 399 --> eqn 520 var 400 --> eqn 331 var 401 --> eqn 182 var 402 --> eqn 470 var 403 --> eqn 318 var 404 --> eqn 462 var 405 --> eqn 234 var 406 --> eqn 564 var 407 --> eqn 206 var 408 --> eqn 280 var 409 --> eqn 647 var 410 --> eqn 399 var 411 --> eqn 435 var 412 --> eqn 44 var 413 --> eqn 167 var 414 --> eqn 645 var 415 --> eqn 477 var 416 --> eqn 315 var 417 --> eqn 739 var 418 --> eqn 740 var 419 --> eqn 426 var 420 --> eqn 728 var 421 --> eqn 729 var 422 --> eqn 701 var 423 --> eqn 702 var 424 --> eqn 311 var 425 --> eqn 582 var 426 --> eqn 614 var 427 --> eqn 642 var 428 --> eqn 572 var 429 --> eqn 585 var 430 --> eqn 529 var 431 --> eqn 362 var 432 --> eqn 584 var 433 --> eqn 641 var 434 --> eqn 360 var 435 --> eqn 335 var 436 --> eqn 422 var 437 --> eqn 364 var 438 --> eqn 343 var 439 --> eqn 344 var 440 --> eqn 5 var 441 --> eqn 481 var 442 --> eqn 88 var 443 --> eqn 91 var 444 --> eqn 467 var 445 --> eqn 583 var 446 --> eqn 525 var 447 --> eqn 54 var 448 --> eqn 86 var 449 --> eqn 218 var 450 --> eqn 249 var 451 --> eqn 202 var 452 --> eqn 424 var 453 --> eqn 253 var 454 --> eqn 14 var 455 --> eqn 43 var 456 --> eqn 263 var 457 --> eqn 225 var 458 --> eqn 548 var 459 --> eqn 412 var 460 --> eqn 179 var 461 --> eqn 446 var 462 --> eqn 320 var 463 --> eqn 7 var 464 --> eqn 260 var 465 --> eqn 332 var 466 --> eqn 416 var 467 --> eqn 580 var 468 --> eqn 256 var 469 --> eqn 473 var 470 --> eqn 466 var 471 --> eqn 443 var 472 --> eqn 551 var 473 --> eqn 300 var 474 --> eqn 17 var 475 --> eqn 254 var 476 --> eqn 250 var 477 --> eqn 390 var 478 --> eqn 229 var 479 --> eqn 152 var 480 --> eqn 153 var 481 --> eqn 154 var 482 --> eqn 155 var 483 --> eqn 156 var 484 --> eqn 409 var 485 --> eqn 677 var 486 --> eqn 157 var 487 --> eqn 418 var 488 --> eqn 682 var 489 --> eqn 453 var 490 --> eqn 475 var 491 --> eqn 476 var 492 --> eqn 650 var 493 --> eqn 676 var 494 --> eqn 648 var 495 --> eqn 239 var 496 --> eqn 240 var 497 --> eqn 469 var 498 --> eqn 214 var 499 --> eqn 522 var 500 --> eqn 264 var 501 --> eqn 168 var 502 --> eqn 697 var 503 --> eqn 563 var 504 --> eqn 158 var 505 --> eqn 159 var 506 --> eqn 705 var 507 --> eqn 707 var 508 --> eqn 543 var 509 --> eqn 711 var 510 --> eqn 712 var 511 --> eqn 713 var 512 --> eqn 272 var 513 --> eqn 714 var 514 --> eqn 164 var 515 --> eqn 715 var 516 --> eqn 716 var 517 --> eqn 95 var 518 --> eqn 242 var 519 --> eqn 558 var 520 --> eqn 559 var 521 --> eqn 187 var 522 --> eqn 357 var 523 --> eqn 423 var 524 --> eqn 684 var 525 --> eqn 623 var 526 --> eqn 613 var 527 --> eqn 678 var 528 --> eqn 679 var 529 --> eqn 420 var 530 --> eqn 574 var 531 --> eqn 717 var 532 --> eqn 87 var 533 --> eqn 718 var 534 --> eqn 301 var 535 --> eqn 742 var 536 --> eqn 746 var 537 --> eqn 749 var 538 --> eqn 750 var 539 --> eqn 751 var 540 --> eqn 752 var 541 --> eqn 753 var 542 --> eqn 384 var 543 --> eqn 602 var 544 --> eqn 754 var 545 --> eqn 407 var 546 --> eqn 408 var 547 --> eqn 285 var 548 --> eqn 338 var 549 --> eqn 579 var 550 --> eqn 236 var 551 --> eqn 483 var 552 --> eqn 486 var 553 --> eqn 440 var 554 --> eqn 227 var 555 --> eqn 755 var 556 --> eqn 756 var 557 --> eqn 189 var 558 --> eqn 777 var 559 --> eqn 779 var 560 --> eqn 781 var 561 --> eqn 782 var 562 --> eqn 265 var 563 --> eqn 171 var 564 --> eqn 783 var 565 --> eqn 784 var 566 --> eqn 1 var 567 --> eqn 2 var 568 --> eqn 334 var 569 --> eqn 419 var 570 --> eqn 463 var 571 --> eqn 767 var 572 --> eqn 768 var 573 --> eqn 213 var 574 --> eqn 425 var 575 --> eqn 15 var 576 --> eqn 16 var 577 --> eqn 22 var 578 --> eqn 23 var 579 --> eqn 245 var 580 --> eqn 488 var 581 --> eqn 534 var 582 --> eqn 231 var 583 --> eqn 500 var 584 --> eqn 521 var 585 --> eqn 262 var 586 --> eqn 10 var 587 --> eqn 3 var 588 --> eqn 367 var 589 --> eqn 4 var 590 --> eqn 32 var 591 --> eqn 34 var 592 --> eqn 490 var 593 --> eqn 35 var 594 --> eqn 36 var 595 --> eqn 37 var 596 --> eqn 38 var 597 --> eqn 39 var 598 --> eqn 576 var 599 --> eqn 40 var 600 --> eqn 556 var 601 --> eqn 492 var 602 --> eqn 433 var 603 --> eqn 512 var 604 --> eqn 13 var 605 --> eqn 352 var 606 --> eqn 428 var 607 --> eqn 224 var 608 --> eqn 619 var 609 --> eqn 597 var 610 --> eqn 618 var 611 --> eqn 451 var 612 --> eqn 624 var 613 --> eqn 617 var 614 --> eqn 271 var 615 --> eqn 41 var 616 --> eqn 581 var 617 --> eqn 42 var 618 --> eqn 609 var 619 --> eqn 506 var 620 --> eqn 363 var 621 --> eqn 74 var 622 --> eqn 76 var 623 --> eqn 78 var 624 --> eqn 79 var 625 --> eqn 80 var 626 --> eqn 81 var 627 --> eqn 347 var 628 --> eqn 82 var 629 --> eqn 83 var 630 --> eqn 389 var 631 --> eqn 354 var 632 --> eqn 673 var 633 --> eqn 66 var 634 --> eqn 67 var 635 --> eqn 68 var 636 --> eqn 266 var 637 --> eqn 61 var 638 --> eqn 62 var 639 --> eqn 63 var 640 --> eqn 84 var 641 --> eqn 283 var 642 --> eqn 649 var 643 --> eqn 85 var 644 --> eqn 110 var 645 --> eqn 112 var 646 --> eqn 527 var 647 --> eqn 289 var 648 --> eqn 114 var 649 --> eqn 115 var 650 --> eqn 174 var 651 --> eqn 116 var 652 --> eqn 117 var 653 --> eqn 118 var 654 --> eqn 119 var 655 --> eqn 738 var 656 --> eqn 538 var 657 --> eqn 730 var 658 --> eqn 180 var 659 --> eqn 358 var 660 --> eqn 251 var 661 --> eqn 450 var 662 --> eqn 552 var 663 --> eqn 735 var 664 --> eqn 736 var 665 --> eqn 511 var 666 --> eqn 709 var 667 --> eqn 710 var 668 --> eqn 396 var 669 --> eqn 397 var 670 --> eqn 444 var 671 --> eqn 169 var 672 --> eqn 287 var 673 --> eqn 281 var 674 --> eqn 588 var 675 --> eqn 627 var 676 --> eqn 695 var 677 --> eqn 696 var 678 --> eqn 348 var 679 --> eqn 349 var 680 --> eqn 56 var 681 --> eqn 317 var 682 --> eqn 197 var 683 --> eqn 465 var 684 --> eqn 456 var 685 --> eqn 530 var 686 --> eqn 314 var 687 --> eqn 448 var 688 --> eqn 479 var 689 --> eqn 586 var 690 --> eqn 238 var 691 --> eqn 591 var 692 --> eqn 392 var 693 --> eqn 553 var 694 --> eqn 288 var 695 --> eqn 230 var 696 --> eqn 217 var 697 --> eqn 417 var 698 --> eqn 670 var 699 --> eqn 127 var 700 --> eqn 128 var 701 --> eqn 129 var 702 --> eqn 130 var 703 --> eqn 131 var 704 --> eqn 133 var 705 --> eqn 134 var 706 --> eqn 143 var 707 --> eqn 144 var 708 --> eqn 593 var 709 --> eqn 600 var 710 --> eqn 503 var 711 --> eqn 622 var 712 --> eqn 674 var 713 --> eqn 587 var 714 --> eqn 350 var 715 --> eqn 596 var 716 --> eqn 454 var 717 --> eqn 247 var 718 --> eqn 248 var 719 --> eqn 541 var 720 --> eqn 356 var 721 --> eqn 439 var 722 --> eqn 383 var 723 --> eqn 145 var 724 --> eqn 146 var 725 --> eqn 310 var 726 --> eqn 651 var 727 --> eqn 147 var 728 --> eqn 203 var 729 --> eqn 148 var 730 --> eqn 149 var 731 --> eqn 150 var 732 --> eqn 151 var 733 --> eqn 391 var 734 --> eqn 655 var 735 --> eqn 176 var 736 --> eqn 507 var 737 --> eqn 292 var 738 --> eqn 458 var 739 --> eqn 459 var 740 --> eqn 452 var 741 --> eqn 498 var 742 --> eqn 569 var 743 --> eqn 246 var 744 --> eqn 659 equation to variable ********************** eqn 1 --> var 566 eqn 2 --> var 567 eqn 3 --> var 587 eqn 4 --> var 589 eqn 5 --> var 440 eqn 6 --> var 340 eqn 7 --> var 463 eqn 8 --> var 372 eqn 9 --> var 315 eqn 10 --> var 586 eqn 11 --> var 367 eqn 12 --> var 368 eqn 13 --> var 604 eqn 14 --> var 454 eqn 15 --> var 575 eqn 16 --> var 576 eqn 17 --> var 474 eqn 18 --> var 324 eqn 19 --> var 369 eqn 20 --> var 370 eqn 21 --> var 77 eqn 22 --> var 577 eqn 23 --> var 578 eqn 24 --> var 78 eqn 25 --> var 326 eqn 26 --> var 79 eqn 27 --> var 80 eqn 28 --> var 82 eqn 29 --> var 85 eqn 30 --> var 86 eqn 31 --> var 87 eqn 32 --> var 590 eqn 33 --> var 88 eqn 34 --> var 591 eqn 35 --> var 593 eqn 36 --> var 594 eqn 37 --> var 595 eqn 38 --> var 596 eqn 39 --> var 597 eqn 40 --> var 599 eqn 41 --> var 615 eqn 42 --> var 617 eqn 43 --> var 455 eqn 44 --> var 412 eqn 45 --> var 266 eqn 46 --> var 180 eqn 47 --> var 222 eqn 48 --> var 67 eqn 49 --> var 327 eqn 50 --> var 320 eqn 51 --> var 329 eqn 52 --> var 189 eqn 53 --> var 346 eqn 54 --> var 447 eqn 55 --> var 348 eqn 56 --> var 680 eqn 57 --> var 350 eqn 58 --> var 351 eqn 59 --> var 352 eqn 60 --> var 353 eqn 61 --> var 637 eqn 62 --> var 638 eqn 63 --> var 639 eqn 64 --> var 354 eqn 65 --> var 358 eqn 66 --> var 633 eqn 67 --> var 634 eqn 68 --> var 635 eqn 69 --> var 100 eqn 70 --> var 102 eqn 71 --> var 106 eqn 72 --> var 108 eqn 73 --> var 110 eqn 74 --> var 621 eqn 75 --> var 113 eqn 76 --> var 622 eqn 77 --> var 118 eqn 78 --> var 623 eqn 79 --> var 624 eqn 80 --> var 625 eqn 81 --> var 626 eqn 82 --> var 628 eqn 83 --> var 629 eqn 84 --> var 640 eqn 85 --> var 643 eqn 86 --> var 448 eqn 87 --> var 532 eqn 88 --> var 442 eqn 89 --> var 141 eqn 90 --> var 359 eqn 91 --> var 443 eqn 92 --> var 360 eqn 93 --> var 243 eqn 94 --> var 374 eqn 95 --> var 517 eqn 96 --> var 376 eqn 97 --> var 155 eqn 98 --> var 377 eqn 99 --> var 379 eqn 100 --> var 380 eqn 101 --> var 381 eqn 102 --> var 120 eqn 103 --> var 382 eqn 104 --> var 122 eqn 105 --> var 143 eqn 106 --> var 145 eqn 107 --> var 146 eqn 108 --> var 147 eqn 109 --> var 148 eqn 110 --> var 644 eqn 111 --> var 150 eqn 112 --> var 645 eqn 113 --> var 152 eqn 114 --> var 648 eqn 115 --> var 649 eqn 116 --> var 651 eqn 117 --> var 652 eqn 118 --> var 653 eqn 119 --> var 654 eqn 120 --> var 226 eqn 121 --> var 229 eqn 122 --> var 115 eqn 123 --> var 116 eqn 124 --> var 117 eqn 125 --> var 388 eqn 126 --> var 390 eqn 127 --> var 699 eqn 128 --> var 700 eqn 129 --> var 701 eqn 130 --> var 702 eqn 131 --> var 703 eqn 132 --> var 153 eqn 133 --> var 704 eqn 134 --> var 705 eqn 135 --> var 230 eqn 136 --> var 231 eqn 137 --> var 232 eqn 138 --> var 233 eqn 139 --> var 234 eqn 140 --> var 237 eqn 141 --> var 239 eqn 142 --> var 240 eqn 143 --> var 706 eqn 144 --> var 707 eqn 145 --> var 723 eqn 146 --> var 724 eqn 147 --> var 727 eqn 148 --> var 729 eqn 149 --> var 730 eqn 150 --> var 731 eqn 151 --> var 732 eqn 152 --> var 479 eqn 153 --> var 480 eqn 154 --> var 481 eqn 155 --> var 482 eqn 156 --> var 483 eqn 157 --> var 486 eqn 158 --> var 504 eqn 159 --> var 505 eqn 160 --> var 194 eqn 161 --> var 125 eqn 162 --> var 62 eqn 163 --> var 220 eqn 164 --> var 514 eqn 165 --> var 355 eqn 166 --> var 184 eqn 167 --> var 413 eqn 168 --> var 501 eqn 169 --> var 671 eqn 170 --> var 170 eqn 171 --> var 563 eqn 172 --> var 129 eqn 173 --> var 356 eqn 174 --> var 650 eqn 175 --> var -1 eqn 176 --> var 735 eqn 177 --> var 59 eqn 178 --> var 48 eqn 179 --> var 460 eqn 180 --> var 658 eqn 181 --> var 242 eqn 182 --> var 401 eqn 183 --> var 366 eqn 184 --> var 364 eqn 185 --> var 178 eqn 186 --> var 192 eqn 187 --> var 521 eqn 188 --> var 334 eqn 189 --> var 557 eqn 190 --> var 314 eqn 191 --> var 302 eqn 192 --> var 365 eqn 193 --> var 339 eqn 194 --> var -1 eqn 195 --> var 341 eqn 196 --> var 216 eqn 197 --> var 682 eqn 198 --> var 331 eqn 199 --> var 288 eqn 200 --> var 289 eqn 201 --> var 290 eqn 202 --> var 451 eqn 203 --> var 728 eqn 204 --> var 13 eqn 205 --> var 375 eqn 206 --> var 407 eqn 207 --> var 57 eqn 208 --> var 300 eqn 209 --> var 263 eqn 210 --> var 303 eqn 211 --> var 310 eqn 212 --> var 75 eqn 213 --> var 573 eqn 214 --> var 498 eqn 215 --> var 227 eqn 216 --> var 389 eqn 217 --> var 696 eqn 218 --> var 449 eqn 219 --> var 238 eqn 220 --> var 196 eqn 221 --> var 319 eqn 222 --> var 83 eqn 223 --> var 23 eqn 224 --> var 607 eqn 225 --> var 457 eqn 226 --> var 162 eqn 227 --> var 554 eqn 228 --> var 91 eqn 229 --> var 478 eqn 230 --> var 695 eqn 231 --> var 582 eqn 232 --> var 391 eqn 233 --> var 387 eqn 234 --> var 405 eqn 235 --> var 363 eqn 236 --> var 550 eqn 237 --> var 2 eqn 238 --> var 690 eqn 239 --> var 495 eqn 240 --> var 496 eqn 241 --> var -1 eqn 242 --> var 518 eqn 243 --> var 34 eqn 244 --> var 35 eqn 245 --> var 579 eqn 246 --> var 743 eqn 247 --> var 717 eqn 248 --> var 718 eqn 249 --> var 450 eqn 250 --> var 476 eqn 251 --> var 660 eqn 252 --> var 265 eqn 253 --> var 453 eqn 254 --> var 475 eqn 255 --> var 345 eqn 256 --> var 468 eqn 257 --> var 186 eqn 258 --> var 126 eqn 259 --> var 316 eqn 260 --> var 464 eqn 261 --> var 209 eqn 262 --> var 585 eqn 263 --> var 456 eqn 264 --> var 500 eqn 265 --> var 562 eqn 266 --> var 636 eqn 267 --> var 394 eqn 268 --> var 12 eqn 269 --> var 213 eqn 270 --> var 386 eqn 271 --> var 614 eqn 272 --> var 512 eqn 273 --> var 259 eqn 274 --> var -1 eqn 275 --> var -1 eqn 276 --> var 64 eqn 277 --> var 97 eqn 278 --> var -1 eqn 279 --> var -1 eqn 280 --> var 408 eqn 281 --> var 673 eqn 282 --> var 149 eqn 283 --> var 641 eqn 284 --> var 273 eqn 285 --> var 547 eqn 286 --> var 260 eqn 287 --> var 672 eqn 288 --> var 694 eqn 289 --> var 647 eqn 290 --> var 131 eqn 291 --> var 267 eqn 292 --> var 737 eqn 293 --> var 71 eqn 294 --> var 3 eqn 295 --> var 191 eqn 296 --> var 383 eqn 297 --> var 384 eqn 298 --> var 295 eqn 299 --> var 206 eqn 300 --> var 473 eqn 301 --> var 534 eqn 302 --> var 136 eqn 303 --> var 137 eqn 304 --> var 311 eqn 305 --> var 291 eqn 306 --> var 343 eqn 307 --> var 344 eqn 308 --> var 332 eqn 309 --> var 333 eqn 310 --> var 725 eqn 311 --> var 424 eqn 312 --> var 187 eqn 313 --> var 188 eqn 314 --> var 686 eqn 315 --> var 416 eqn 316 --> var 205 eqn 317 --> var 681 eqn 318 --> var 403 eqn 319 --> var 211 eqn 320 --> var 462 eqn 321 --> var 195 eqn 322 --> var 197 eqn 323 --> var 198 eqn 324 --> var 17 eqn 325 --> var 37 eqn 326 --> var 63 eqn 327 --> var 373 eqn 328 --> var 19 eqn 329 --> var 328 eqn 330 --> var 224 eqn 331 --> var 400 eqn 332 --> var 465 eqn 333 --> var 287 eqn 334 --> var 568 eqn 335 --> var 435 eqn 336 --> var 221 eqn 337 --> var -1 eqn 338 --> var 548 eqn 339 --> var 158 eqn 340 --> var 235 eqn 341 --> var 236 eqn 342 --> var 294 eqn 343 --> var 438 eqn 344 --> var 439 eqn 345 --> var 41 eqn 346 --> var -1 eqn 347 --> var 627 eqn 348 --> var 678 eqn 349 --> var 679 eqn 350 --> var 714 eqn 351 --> var 261 eqn 352 --> var 605 eqn 353 --> var 277 eqn 354 --> var 631 eqn 355 --> var 392 eqn 356 --> var 720 eqn 357 --> var 522 eqn 358 --> var 659 eqn 359 --> var 127 eqn 360 --> var 434 eqn 361 --> var 244 eqn 362 --> var 431 eqn 363 --> var 620 eqn 364 --> var 437 eqn 365 --> var 172 eqn 366 --> var 241 eqn 367 --> var 588 eqn 368 --> var 312 eqn 369 --> var 336 eqn 370 --> var 247 eqn 371 --> var 248 eqn 372 --> var 249 eqn 373 --> var 250 eqn 374 --> var 251 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 330 eqn 383 --> var 722 eqn 384 --> var 542 eqn 385 --> var 6 eqn 386 --> var 210 eqn 387 --> var 335 eqn 388 --> var 135 eqn 389 --> var 630 eqn 390 --> var 477 eqn 391 --> var 733 eqn 392 --> var 692 eqn 393 --> var 20 eqn 394 --> var 89 eqn 395 --> var 84 eqn 396 --> var 668 eqn 397 --> var 669 eqn 398 --> var 128 eqn 399 --> var 410 eqn 400 --> var -1 eqn 401 --> var -1 eqn 402 --> var 157 eqn 403 --> var 218 eqn 404 --> var 219 eqn 405 --> var 66 eqn 406 --> var 292 eqn 407 --> var 545 eqn 408 --> var 546 eqn 409 --> var 484 eqn 410 --> var 154 eqn 411 --> var 349 eqn 412 --> var 459 eqn 413 --> var 32 eqn 414 --> var 217 eqn 415 --> var 124 eqn 416 --> var 466 eqn 417 --> var 697 eqn 418 --> var 487 eqn 419 --> var 569 eqn 420 --> var 529 eqn 421 --> var 264 eqn 422 --> var 436 eqn 423 --> var 523 eqn 424 --> var 452 eqn 425 --> var 574 eqn 426 --> var 419 eqn 427 --> var 309 eqn 428 --> var 606 eqn 429 --> var 298 eqn 430 --> var 200 eqn 431 --> var 246 eqn 432 --> var 130 eqn 433 --> var 602 eqn 434 --> var 58 eqn 435 --> var 411 eqn 436 --> var 21 eqn 437 --> var 201 eqn 438 --> var 44 eqn 439 --> var 721 eqn 440 --> var 553 eqn 441 --> var 393 eqn 442 --> var 313 eqn 443 --> var 471 eqn 444 --> var 670 eqn 445 --> var 212 eqn 446 --> var 461 eqn 447 --> var 81 eqn 448 --> var 687 eqn 449 --> var 93 eqn 450 --> var 661 eqn 451 --> var 611 eqn 452 --> var 740 eqn 453 --> var 489 eqn 454 --> var 716 eqn 455 --> var 54 eqn 456 --> var 684 eqn 457 --> var 52 eqn 458 --> var 738 eqn 459 --> var 739 eqn 460 --> var 307 eqn 461 --> var 98 eqn 462 --> var 404 eqn 463 --> var 570 eqn 464 --> var 30 eqn 465 --> var 683 eqn 466 --> var 470 eqn 467 --> var 444 eqn 468 --> var 123 eqn 469 --> var 497 eqn 470 --> var 402 eqn 471 --> var 68 eqn 472 --> var 40 eqn 473 --> var 469 eqn 474 --> var 193 eqn 475 --> var 490 eqn 476 --> var 491 eqn 477 --> var 415 eqn 478 --> var 378 eqn 479 --> var 688 eqn 480 --> var 160 eqn 481 --> var 441 eqn 482 --> var 223 eqn 483 --> var 551 eqn 484 --> var 92 eqn 485 --> var 185 eqn 486 --> var 552 eqn 487 --> var 245 eqn 488 --> var 580 eqn 489 --> var 228 eqn 490 --> var 592 eqn 491 --> var 208 eqn 492 --> var 601 eqn 493 --> var 225 eqn 494 --> var 70 eqn 495 --> var 50 eqn 496 --> var 177 eqn 497 --> var 24 eqn 498 --> var 741 eqn 499 --> var 270 eqn 500 --> var 583 eqn 501 --> var 69 eqn 502 --> var 262 eqn 503 --> var 710 eqn 504 --> var 317 eqn 505 --> var 199 eqn 506 --> var 619 eqn 507 --> var 736 eqn 508 --> var 22 eqn 509 --> var 134 eqn 510 --> var 203 eqn 511 --> var 665 eqn 512 --> var 603 eqn 513 --> var 176 eqn 514 --> var 138 eqn 515 --> var 139 eqn 516 --> var 140 eqn 517 --> var 285 eqn 518 --> var 397 eqn 519 --> var 398 eqn 520 --> var 399 eqn 521 --> var 584 eqn 522 --> var 499 eqn 523 --> var 357 eqn 524 --> var 43 eqn 525 --> var 446 eqn 526 --> var 111 eqn 527 --> var 646 eqn 528 --> var 371 eqn 529 --> var 430 eqn 530 --> var 685 eqn 531 --> var 16 eqn 532 --> var 38 eqn 533 --> var 215 eqn 534 --> var 581 eqn 535 --> var 11 eqn 536 --> var 179 eqn 537 --> var 175 eqn 538 --> var 656 eqn 539 --> var 190 eqn 540 --> var 342 eqn 541 --> var 719 eqn 542 --> var 73 eqn 543 --> var 508 eqn 544 --> var 26 eqn 545 --> var 72 eqn 546 --> var 395 eqn 547 --> var 396 eqn 548 --> var 458 eqn 549 --> var 27 eqn 550 --> var 28 eqn 551 --> var 472 eqn 552 --> var 662 eqn 553 --> var 693 eqn 554 --> var 55 eqn 555 --> var 214 eqn 556 --> var 600 eqn 557 --> var 207 eqn 558 --> var 519 eqn 559 --> var 520 eqn 560 --> var 132 eqn 561 --> var 133 eqn 562 --> var 283 eqn 563 --> var 503 eqn 564 --> var 406 eqn 565 --> var 385 eqn 566 --> var 278 eqn 567 --> var 279 eqn 568 --> var 103 eqn 569 --> var 742 eqn 570 --> var 14 eqn 571 --> var 286 eqn 572 --> var 428 eqn 573 --> var 305 eqn 574 --> var 530 eqn 575 --> var 161 eqn 576 --> var 598 eqn 577 --> var 183 eqn 578 --> var 76 eqn 579 --> var 549 eqn 580 --> var 467 eqn 581 --> var 616 eqn 582 --> var 425 eqn 583 --> var 445 eqn 584 --> var 432 eqn 585 --> var 429 eqn 586 --> var 689 eqn 587 --> var 713 eqn 588 --> var 674 eqn 589 --> var 168 eqn 590 --> var -1 eqn 591 --> var 691 eqn 592 --> var -1 eqn 593 --> var 708 eqn 594 --> var 159 eqn 595 --> var -1 eqn 596 --> var 715 eqn 597 --> var 609 eqn 598 --> var 293 eqn 599 --> var -1 eqn 600 --> var 709 eqn 601 --> var -1 eqn 602 --> var 543 eqn 603 --> var -1 eqn 604 --> var -1 eqn 605 --> var 74 eqn 606 --> var -1 eqn 607 --> var 347 eqn 608 --> var -1 eqn 609 --> var 618 eqn 610 --> var 322 eqn 611 --> var 104 eqn 612 --> var 15 eqn 613 --> var 526 eqn 614 --> var 426 eqn 615 --> var 42 eqn 616 --> var 275 eqn 617 --> var 613 eqn 618 --> var 610 eqn 619 --> var 608 eqn 620 --> var 174 eqn 621 --> var 323 eqn 622 --> var 711 eqn 623 --> var 525 eqn 624 --> var 612 eqn 625 --> var 337 eqn 626 --> var 338 eqn 627 --> var 675 eqn 628 --> var -1 eqn 629 --> var 173 eqn 630 --> var 202 eqn 631 --> var 171 eqn 632 --> var -1 eqn 633 --> var 169 eqn 634 --> var 51 eqn 635 --> var 167 eqn 636 --> var -1 eqn 637 --> var 166 eqn 638 --> var 165 eqn 639 --> var 164 eqn 640 --> var 163 eqn 641 --> var 433 eqn 642 --> var 427 eqn 643 --> var 94 eqn 644 --> var 95 eqn 645 --> var 414 eqn 646 --> var 151 eqn 647 --> var 409 eqn 648 --> var 494 eqn 649 --> var 642 eqn 650 --> var 492 eqn 651 --> var 726 eqn 652 --> var 144 eqn 653 --> var 142 eqn 654 --> var 121 eqn 655 --> var 734 eqn 656 --> var 119 eqn 657 --> var 114 eqn 658 --> var 112 eqn 659 --> var 744 eqn 660 --> var 109 eqn 661 --> var 107 eqn 662 --> var 105 eqn 663 --> var 4 eqn 664 --> var 39 eqn 665 --> var 101 eqn 666 --> var 5 eqn 667 --> var -1 eqn 668 --> var 99 eqn 669 --> var 7 eqn 670 --> var 698 eqn 671 --> var 96 eqn 672 --> var 8 eqn 673 --> var 632 eqn 674 --> var 712 eqn 675 --> var 65 eqn 676 --> var 493 eqn 677 --> var 485 eqn 678 --> var 527 eqn 679 --> var 528 eqn 680 --> var 33 eqn 681 --> var -1 eqn 682 --> var 488 eqn 683 --> var -1 eqn 684 --> var 524 eqn 685 --> var -1 eqn 686 --> var 268 eqn 687 --> var -1 eqn 688 --> var 269 eqn 689 --> var 9 eqn 690 --> var 318 eqn 691 --> var 271 eqn 692 --> var 10 eqn 693 --> var -1 eqn 694 --> var 272 eqn 695 --> var 676 eqn 696 --> var 677 eqn 697 --> var 502 eqn 698 --> var 25 eqn 699 --> var -1 eqn 700 --> var 90 eqn 701 --> var 422 eqn 702 --> var 423 eqn 703 --> var -1 eqn 704 --> var 29 eqn 705 --> var 506 eqn 706 --> var 18 eqn 707 --> var 507 eqn 708 --> var -1 eqn 709 --> var 666 eqn 710 --> var 667 eqn 711 --> var 509 eqn 712 --> var 510 eqn 713 --> var 511 eqn 714 --> var 513 eqn 715 --> var 515 eqn 716 --> var 516 eqn 717 --> var 531 eqn 718 --> var 533 eqn 719 --> var 274 eqn 720 --> var 276 eqn 721 --> var 280 eqn 722 --> var 281 eqn 723 --> var 282 eqn 724 --> var 284 eqn 725 --> var 156 eqn 726 --> var -1 eqn 727 --> var 296 eqn 728 --> var 420 eqn 729 --> var 421 eqn 730 --> var 657 eqn 731 --> var 297 eqn 732 --> var 31 eqn 733 --> var -1 eqn 734 --> var 1 eqn 735 --> var 663 eqn 736 --> var 664 eqn 737 --> var -1 eqn 738 --> var 655 eqn 739 --> var 417 eqn 740 --> var 418 eqn 741 --> var -1 eqn 742 --> var 535 eqn 743 --> var 204 eqn 744 --> var 181 eqn 745 --> var 182 eqn 746 --> var 536 eqn 747 --> var -1 eqn 748 --> var 36 eqn 749 --> var 537 eqn 750 --> var 538 eqn 751 --> var 539 eqn 752 --> var 540 eqn 753 --> var 541 eqn 754 --> var 544 eqn 755 --> var 555 eqn 756 --> var 556 eqn 757 --> var 299 eqn 758 --> var 301 eqn 759 --> var 304 eqn 760 --> var 325 eqn 761 --> var 306 eqn 762 --> var -1 eqn 763 --> var 361 eqn 764 --> var 362 eqn 765 --> var 308 eqn 766 --> var 45 eqn 767 --> var 571 eqn 768 --> var 572 eqn 769 --> var 46 eqn 770 --> var 321 eqn 771 --> var 47 eqn 772 --> var -1 eqn 773 --> var 49 eqn 774 --> var 53 eqn 775 --> var 56 eqn 776 --> var -1 eqn 777 --> var 558 eqn 778 --> var 60 eqn 779 --> var 559 eqn 780 --> var 61 eqn 781 --> var 560 eqn 782 --> var 561 eqn 783 --> var 564 eqn 784 --> var 565