Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 110 kB / 16.38 MB, free: 6.441 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.001257/0.001257, allocations: 187.1 kB / 17.31 MB, free: 5.789 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.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.357e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.01151/0.01155, allocations: 8.945 MB / 0.6816 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009556/0.02117, allocations: 4.449 MB / 0.6859 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002962/0.02417, allocations: 43.81 kB / 0.686 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.02679, allocations: 0.8306 MB / 0.6868 GB, free: 7.566 MB / 0.5606 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.002643/0.02944, allocations: 0.6285 MB / 0.6874 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.03289, allocations: 1.419 MB / 0.6888 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00485/0.03775, allocations: 3.571 MB / 0.6923 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003283/0.04104, allocations: 2.402 MB / 0.6946 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.04267, allocations: 1.3 MB / 0.6959 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.0439, allocations: 1.341 MB / 0.6972 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003658/0.04428, allocations: 320 kB / 0.6975 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.04561, allocations: 0.7143 MB / 0.6982 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.00294/0.04857, allocations: 4.316 MB / 0.7024 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.00174/0.05032, allocations: 2.797 MB / 0.7052 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007916/0.05112, allocations: 422.7 kB / 0.7056 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.000654/0.05178, allocations: 198.4 kB / 0.7057 GB, free: 3.98 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 557 (537) * Number of variables: 537 (521) Notification: Performance of Bindings: time 0.01454/0.06632, allocations: 14.49 MB / 0.7199 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.002158/0.0685, allocations: 1.947 MB / 0.7218 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.0121/0.08062, allocations: 10.96 MB / 0.7325 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simplify1: time 0.000884/0.08154, allocations: 0.6749 MB / 0.7332 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of Alias: time 0.01619/0.09774, allocations: 13.6 MB / 0.7464 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of simplify2: time 0.001096/0.09887, allocations: 0.5345 MB / 0.747 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of Events: time 0.002586/0.1015, allocations: 2.127 MB / 0.749 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of Detect States: time 0.002372/0.1039, allocations: 2.39 MB / 0.7514 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.002821/0.1067, allocations: 2.419 MB / 0.7537 GB, free: 0.8281 MB / 0.6231 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (313/340) ********************************* (1) [ALGB] (1) protected Real eneConTimDel.opeModBas.etaQ.y (2) [ALGB] (1) protected Real[1] mWat_flow.tab.y (3) [DISS] (1) protected discrete Real avaSig.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (4) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.QGroMax.y (5) [DISC] (2) Boolean[2] $SEV_46[$i1] (6) [ALGB] (1) Real[1] mWat_flow.y (7) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.etaQ.y (8) [DISC] (1) protected Real PEle.b (9) [ALGB] (1) protected flow Real con.warUp.outerStatePort.subgraphStatePort.activeSteps (10) [DISC] (1) protected Real PEle.a (11) [DISS] (1) protected Boolean con.pumOn.oldActive (12) [ALGB] (1) protected Real eneConTimDel.switch4.y (13) [ALGB] (1) protected Real eneConEngTem.switch2.u1 (14) [DISC] (1) protected Boolean eneConTimDel.assFue.hys.y (15) [DISC] (1) protected Boolean con.transition1.outPort.occupied (16) [DER-] (1) Real $DER.eneConEngTem.assFue.floChaRat.x (17) [DISC] (1) protected Boolean con.transition7.inPort.available (18) [DISC] (1) protected Boolean[1] con.plaOff.outPort.reset (19) [DISC] (1) protected Boolean con.transition5.outPort.occupied (20) [ALGB] (1) protected Real eneConEngTem.switch3.u3 (21) [DISC] (1) protected Boolean eneConEngTem.switch3.u2 (22) [DISS] (1) protected Boolean con.plaOff.oldActive (23) [ALGB] (1) protected Real eneConEngTem.switch3.u1 (24) [DISC] (3) protected Boolean[3] con.plaOff.inPort.occupied (25) [DISC] (1) protected discrete Real PEle.nextEvent (fixed = true, start = 0.0) (26) [ALGB] (1) protected flow Real con.pumOn.outerStatePort.subgraphStatePort.activeSteps (27) [DISC] (1) protected Boolean con.transition6.inPort.available (28) [ALGB] (1) protected Real eneConTimDel.opeModBas.etaE.eta (29) [ALGB] (1) protected Real eneConEngTem.switch4.u3 (30) [DISS] (1) protected Boolean con.warUp.oldActive (31) [ALGB] (1) protected Real eneConEngTem.switch4.u1 (32) [DISC] (1) protected Boolean con.transition1.inPort.available (33) [DISC] (1) protected Boolean con.plaOff.outerStatePort.localActive = con.plaOff.outerStatePort.localActive (34) [ALGB] (1) Real eneConTimDel.mFue_flow (35) [ALGB] (1) protected Real eneConEngTem.switch5.u3 (36) [DISC] (1) protected discrete Real PEle.nextEventScaled (fixed = true, start = 0.0) (37) [ALGB] (1) protected Real eneConEngTem.switch5.u1 (38) [DISC] (1) protected Boolean[1] con.nor.outPort.reset (39) [DISC] (1) Boolean[1] con.staBy.inPort.set (40) [DISC] (1) protected Boolean[1] con.nor.outPort.available (41) [DISC] (2) Boolean[2] con.staBy.outPort.reset (42) [ALGB] (1) protected Real con.max.y (43) [ALGB] (1) protected flow Real con.staBy.outerStatePort.subgraphStatePort.activeSteps (44) [DISC] (1) protected Boolean con.assWatMas.not1.u (45) [ALGB] (1) protected Real eneConEngTem.opeModBas.etaQ.eta (46) [DISC] (1) protected Boolean eneConTimDel.booExp.y = con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp or con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal (47) [DISC] (1) protected Boolean con.nor.outerStatePort.localActive = con.nor.outerStatePort.localActive (48) [ALGB] (1) protected Real eneConEngTem.opeModBas.heaGen.u1 (49) [DISC] (1) Boolean[1] con.pumOn.inPort.set (50) [DISC] (1) protected Boolean con.transition10.inPort.available (51) [DISC] (1) protected Boolean[1] con.nor.inPort.occupied (52) [DISC] (1) protected Boolean eneConEngTem.opeModWarUpEngTem.temChe.y (53) [ALGB] (1) protected Real eneConTimDel.opeModBas.etaQ.eta (54) [ALGB] (1) protected Real eneConTimDel.switch2.y (55) [DISC] (1) protected Integer PEle.last (start = 1) (56) [DISC] (1) Boolean $TEV_9 (57) [DISC] (1) Boolean $TEV_8 (58) [DISC] (2) Boolean[2] con.pumOn.outPort.reset (59) [DISC] (1) Boolean $TEV_7 (60) [DISC] (1) Boolean $TEV_6 (61) [DISC] (2) Boolean[2] con.cooDow.inPort.occupied (62) [DISC] (1) Boolean $TEV_5 (63) [DISC] (1) Boolean $TEV_4 (64) [DISC] (1) Boolean $TEV_3 (65) [DISC] (1) Boolean $TEV_2 (66) [DISC] (1) Boolean $TEV_1 (67) [DISC] (1) Boolean $TEV_0 (68) [DISC] (1) protected Boolean con.transition9.outPort.occupied (69) [DISC] (1) protected Boolean eneConTimDel.and1.u1 (70) [DISC] (1) protected final Boolean con.transition9.localCondition = con.transition9.localCondition (71) [DISC] (1) protected Boolean con.cooDow.newActive (72) [ALGB] (1) protected Real eneConEngTem.opeModBas.etaE.eta (73) [DISC] (1) protected Boolean con.transition5.inPort.available (74) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.unlFueFloWarUp.y (75) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.smoothMax.y (76) [DISC] (1) protected Boolean con.transition3.outPort.occupied (77) [DISC] (2) Boolean[2] con.cooDow.outPort.reset (78) [DISC] (3) protected Boolean[3] con.plaOff.inPort.set (79) [DISC] (1) protected Integer stateGraphRoot.activeSteps (80) [DISC] (1) protected Boolean con.transition10.outPort.occupied (81) [DISC] (1) protected Boolean eneConEngTem.booExp.y = con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp or con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal (82) [ALGB] (1) protected Real con.transition4.t (83) [DISC] (2) Boolean[2] $SEV_55[$i1] (84) [DISC] (1) protected Boolean con.warUpCtr.hysPow.y (85) [DISC] (1) protected Boolean con.hys.y (86) [DISS] (1) protected discrete Real avaSig.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (87) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.heaGro.y (88) [DISC] (1) protected Boolean con.pumOn.outerStatePort.localActive = con.pumOn.outerStatePort.localActive (89) [DISC] (2) Boolean[2] con.warUp.outPort.available (90) [DISS] (1) protected Boolean con.timer.passed (91) [DISS] (1) protected Boolean con.staBy.oldActive (92) [DISS] (1) protected discrete Real runSig.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (93) [DISC] (1) protected final Boolean con.transition3.localCondition = con.transition3.localCondition (94) [DISC] (1) Boolean $SEV_80 (95) [DISC] (2) Boolean[2] con.staBy.outPort.available (96) [ALGB] (1) protected Real eneConEngTem.switch5.y (97) [DISC] (1) protected Boolean con.cooDow.outerStatePort.localActive = con.cooDow.outerStatePort.localActive (98) [ALGB] (1) Real eneConEngTem.PEle (99) [DISC] (1) Boolean $SEV_79 (100) [DISC] (1) Boolean $SEV_78 (101) [DISC] (1) Boolean $SEV_77 (102) [DISC] (1) protected Boolean con.transition7.outPort.occupied (103) [DISC] (1) Boolean $SEV_76 (104) [DISC] (1) Boolean $SEV_75 (105) [DISC] (1) Boolean $SEV_74 (106) [DISC] (1) Boolean $SEV_73 (107) [DISC] (1) Boolean $SEV_72 (108) [ALGB] (1) Real runSig.realToBoolean.u (109) [DISC] (1) Boolean $SEV_71 (110) [DISC] (1) Boolean $SEV_70 (111) [ALGB] (1) protected Real con.warUpCtr.add.y (112) [DISC] (1) protected Boolean con.warUp.outerStatePort.localActive = con.warUp.outerStatePort.localActive (113) [DISC] (1) protected Boolean con.plaOff.newActive (114) [ALGB] (1) protected Real eneConEngTem.opeModBas.etaE.mWat_flow (115) [DISC] (1) protected Boolean con.and1.u2 (116) [ALGB] (1) Real[1] runSig.combiTimeTable.y (117) [DISC] (2) Boolean[2] con.warUp.inPort.set (118) [DISC] (1) protected final Boolean con.transition10.localCondition = con.transition10.localCondition (119) [ALGB] (1) protected Real eneConEngTem.opeModBas.groHea.u1 (120) [DISC] (1) protected Boolean con.nor.newActive (121) [DISC] (1) protected Boolean con.transition4.enableFire (122) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.add.y (123) [DISC] (1) Boolean $SEV_69 (124) [DISC] (1) Boolean $SEV_68 (125) [DISS] (1) protected discrete Real mWat_flow.tab.nextTimeEvent (fixed = true, start = 0.0) (126) [DISC] (2) Boolean[2] $SEV_53[$i1] (127) [DISC] (1) Boolean $SEV_67 (128) [ALGB] (1) protected Real eneConEngTem.switch4.y (129) [DISC] (1) Boolean $SEV_66 (130) [DISC] (1) Boolean $SEV_65 (131) [DISC] (1) Boolean $SEV_64 (132) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.maxFueFlo.u (133) [DISC] (1) Boolean $SEV_63 (134) [DISC] (1) protected Boolean con.transition1.outPort.set (135) [DISC] (1) Boolean $SEV_62 (136) [DISC] (1) Boolean $SEV_61 (137) [DISS] (1) protected discrete Real mWat_flow.tab.nextTimeEventScaled (fixed = true, start = 0.0) (138) [DISC] (1) Boolean $SEV_60 (139) [DISC] (2) Boolean[2] con.cooDow.inPort.set (140) [DISC] (1) protected Boolean con.transition9.outPort.set (141) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.maxFueFlo.y (142) [DISC] (1) protected Boolean con.assWatMas.nand.y (143) [ALGB] (1) Real con.TEng (144) [ALGB] (1) protected flow Real con.nor.outerStatePort.subgraphStatePort.activeSteps (145) [DISC] (2) Boolean[2] con.warUp.inPort.occupied (146) [ALGB] (1) protected Real eneConTimDel.opeModBas.groHea.u1 (147) [DISC] (1) protected Boolean con.transition3.outPort.set (148) [DISC] (1) protected Boolean con.transition7.outPort.set (149) [ALGB] (1) protected Real con.transition4.t_dummy (150) [DISC] (1) Boolean $SEV_59 (151) [DISC] (1) Boolean $SEV_58 (152) [ALGB] (1) Real eneConEngTem.mFue_flow (153) [DISC] (1) Boolean $SEV_57 (154) [DISC] (1) Boolean $SEV_56 (155) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.smoothMax.u1 (156) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.smoothMax2.y (157) [DISC] (1) Boolean $SEV_54 (158) [ALGB] (1) protected Real eneConEngTem.opeModBas.etaQ.y (159) [DISC] (1) Boolean $SEV_52 (160) [ALGB] (1) protected Real con.warUpCtr.add1.y (161) [DISC] (1) protected Boolean eneConEngTem.assFue.hys.y (162) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.etaQ.eta (163) [DISC] (3) Boolean[3] $SEV_24[$i1] (164) [DISC] (1) protected Boolean con.pumOn.newActive (165) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.add2.y (166) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.division1.y (167) [DISC] (1) protected Boolean con.transition8.inPort.available (168) [DISC] (1) Boolean $SEV_49 (169) [ALGB] (1) protected Real eneConTimDel.switch5.u3 (170) [DISC] (1) protected Boolean con.warUpCtr.hysTem.y (171) [DISC] (1) Boolean $SEV_45 (172) [DISC] (1) protected Boolean eneConEngTem.and1.u1 (173) [DISC] (1) Boolean $SEV_44 (174) [DISC] (1) Boolean $SEV_43 (175) [DISC] (1) Boolean $SEV_42 (176) [DISC] (1) Boolean $SEV_41 (177) [DISC] (1) Boolean $SEV_40 (178) [ALGB] (1) protected flow Real stateGraphRoot.subgraphStatePort.activeSteps (179) [DISC] (1) protected Boolean con.transition6.outPort.occupied (180) [ALGB] (1) protected Real eneConTimDel.switch4.u3 (181) [DISC] (1) protected Boolean con.transition2.inPort.available (182) [DISC] (1) protected final Boolean con.transition7.localCondition = con.transition7.localCondition (183) [ALGB] (1) protected Real eneConEngTem.opeModBas.etaE.y (184) [DISC] (1) Boolean $FUN_9 (185) [DISC] (1) Boolean $FUN_8 (186) [DISC] (1) protected Boolean con.warUp.newActive (187) [DISC] (1) Boolean $FUN_7 (188) [DISC] (1) Boolean $FUN_6 (189) [DISC] (2) Boolean[2] $SEV_51[$i1] (190) [DISC] (1) protected Boolean[1] con.nor.inPort.set (191) [DISC] (1) protected Boolean eneConTimDel.switch3.u2 (192) [DISS] (1) protected Boolean con.cooDow.oldActive (193) [ALGB] (1) protected Real eneConTimDel.switch3.u3 (194) [DISC] (1) Integer $FUN_21 (195) [DISC] (3) Boolean[3] $SEV_23[$i1] (196) [ALGB] (1) Real $FUN_20 (197) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.gain.u (198) [DISC] (1) Boolean $SEV_39 (199) [DISC] (1) Boolean $SEV_38 (200) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.gain.y (201) [DISC] (1) Boolean $SEV_37 (202) [DISC] (1) Boolean[1] con.staBy.inPort.occupied (203) [DISC] (1) Boolean $SEV_36 (204) [DISC] (1) Boolean $SEV_35 (205) [DISC] (1) Boolean $SEV_34 (206) [DISC] (1) Boolean $SEV_33 (207) [DISC] (1) Boolean $SEV_32 (208) [DISC] (1) Boolean $SEV_31 (209) [DISC] (1) Boolean $SEV_30 (210) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.etaE.eta (211) [DISC] (1) protected Boolean con.transition2.outPort.set (212) [ALGB] (1) protected Real eneConEngTem.assFue.abs1.y (213) [DISC] (1) protected Boolean con.transition8.outPort.set (214) [ALGB] (1) protected Real eneConEngTem.assFue.abs1.u (215) [ALGB] (1) Real $FUN_19 (216) [DISC] (1) Boolean $TEV_43 (217) [ALGB] (1) Real $FUN_18 (218) [DISC] (1) Boolean $TEV_42 (219) [DISC] (1) Boolean $FUN_17 (220) [ALGB] (1) protected flow Real con.plaOff.outerStatePort.subgraphStatePort.activeSteps (221) [DISC] (1) Boolean $TEV_41 (222) [DISC] (1) Boolean $FUN_16 (223) [DISC] (1) Boolean $TEV_40 (224) [DISC] (1) Boolean $FUN_15 (225) [DISC] (1) Boolean $FUN_14 (226) [DISC] (1) Boolean $FUN_13 (227) [DISC] (1) Boolean $FUN_12 (228) [DISC] (1) Boolean $FUN_11 (229) [DISC] (1) Boolean $FUN_10 (230) [DISC] (1) protected Boolean con.transition4.outPort.set (231) [DISC] (2) Boolean[2] $SEV_50[$i1] (232) [DISC] (2) Boolean[2] con.pumOn.outPort.available (233) [DISC] (1) Boolean $SEV_29 (234) [DISC] (1) protected Boolean con.transition6.outPort.set (235) [DISC] (1) Boolean $SEV_28 (236) [DISC] (1) Boolean $SEV_27 (237) [DISC] (1) Boolean $SEV_26 (238) [DISC] (1) Boolean $SEV_25 (239) [DISC] (1) protected Boolean con.staBy.outerStatePort.localActive = con.staBy.outerStatePort.localActive (240) [DISC] (1) Boolean $SEV_22 (241) [DISC] (1) Boolean $SEV_21 (242) [DISC] (1) Boolean $SEV_20 (243) [ALGB] (1) protected Real con.assWatMas.hys.u (244) [DISC] (1) Boolean $TEV_39 (245) [DISC] (1) Boolean $TEV_38 (246) [DISC] (1) Boolean $TEV_37 (247) [DISC] (1) Boolean $TEV_36 (248) [DISC] (1) Boolean $TEV_35 (249) [ALGB] (1) protected Real con.add2.y (250) [DISC] (1) Boolean $TEV_34 (251) [DISC] (1) Boolean $TEV_33 (252) [DISC] (1) Boolean $TEV_32 (253) [ALGB] (1) Real[1] avaSig.combiTimeTable.y (254) [DISC] (1) Boolean $TEV_31 (255) [DISC] (1) Boolean $TEV_30 (256) [ALGB] (1) Real avaSig.realToBoolean.u (257) [DISC] (1) protected Boolean con.staBy.newActive (258) [ALGB] (1) Real eneConTimDel.mWat_flow (259) [DISC] (1) Boolean[1] con.pumOn.inPort.occupied (260) [DISC] (2) Boolean[2] $SEV_48[$i1] (261) [DISC] (1) protected Boolean con.transition9.inPort.available (262) [ALGB] (1) protected Real eneConTimDel.assFue.abs1.u (263) [DISC] (1) Boolean $SEV_19 (264) [DISC] (1) Boolean $SEV_18 (265) [DISC] (1) Boolean $SEV_16 (266) [ALGB] (1) protected Real eneConTimDel.assFue.abs1.y (267) [DISC] (1) Boolean $SEV_15 (268) [DISC] (1) protected Boolean con.transition2.outPort.occupied (269) [DER-] (1) Real $DER.eneConTimDel.assFue.floChaRat.x (270) [DISC] (1) Boolean $TEV_29 (271) [DISC] (1) protected Boolean con.transition4.inPort.available (272) [DISC] (1) Boolean $TEV_28 (273) [DISC] (1) Boolean $TEV_27 (274) [DISC] (1) Boolean $TEV_26 (275) [DISC] (1) Boolean $TEV_25 (276) [DISC] (1) protected Boolean con.transition4.outPort.occupied (277) [DISC] (1) Boolean $TEV_24 (278) [DISC] (1) Boolean $TEV_23 (279) [DISC] (1) Boolean $TEV_22 (280) [DISC] (1) Boolean $TEV_21 (281) [DISC] (1) Boolean $TEV_20 (282) [DISC] (1) protected Boolean con.transition3.inPort.available (283) [DISC] (1) protected Boolean con.transition8.outPort.occupied (284) [DISS] (1) protected discrete Real con.timer.entryTime (285) [ALGB] (1) protected Real con.timer.y (286) [DISC] (1) protected final Boolean con.transition5.localCondition = con.transition5.localCondition (287) [ALGB] (1) protected Real eneConTimDel.opeModBas.heaGen.u1 (288) [DISC] (2) Boolean[2] con.cooDow.outPort.available (289) [DISC] (1) protected Boolean con.transition10.outPort.set (290) [DISC] (1) protected enumeration Buildings.Fluid.CHPs.BaseClasses.Types.Mode(Off, StandBy, PumpOn, WarmUp, Normal, CoolDown) con.actMod (291) [ALGB] (1) protected Real eneConTimDel.opeModBas.etaE.y (292) [DISC] (1) protected final Boolean con.transition6.localCondition = con.transition6.localCondition (293) [ALGB] (1) Real con.PEleNet (294) [DISC] (2) Boolean[2] $SEV_47[$i1] (295) [DISS] (1) protected discrete Real runSig.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (296) [DISC] (1) Boolean $TEV_19 (297) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.etaE.y (298) [DISC] (1) Boolean $TEV_18 (299) [DISC] (1) Boolean $TEV_17 (300) [DISC] (1) Boolean $TEV_16 (301) [DISS] (1) protected Boolean con.nor.oldActive (302) [DISC] (1) Boolean $TEV_15 (303) [DISC] (1) Boolean $TEV_14 (304) [DISC] (1) Boolean $TEV_13 (305) [DISC] (1) protected Boolean[1] con.plaOff.outPort.available (306) [DISC] (1) Boolean $TEV_12 (307) [DISC] (1) Boolean $TEV_11 (308) [DISC] (1) Boolean $TEV_10 (309) [DISC] (1) protected Boolean con.warUpCtr.or2.y (310) [DISC] (2) Boolean[2] con.warUp.outPort.reset (311) [ALGB] (1) protected Real eneConTimDel.switch5.y (312) [DISC] (1) protected Boolean con.transition5.outPort.set (313) [ALGB] (1) protected flow Real con.cooDow.outerStatePort.subgraphStatePort.activeSteps system eqns Equations (326/360) ********************************* (1) [FOR-] (2) ($RES_EVT_725) (1) [----] for $i1 in 1:2 loop (1) [----] [SCAL] (1) $SEV_48[$i1] = con.cooDow.inPort[$i1 - 1].occupied or con.cooDow.inPort[$i1 - 1].set ($RES_EVT_726) (1) [----] end for; (2) [SCAL] (1) eneConTimDel.switch5.y = if eneConTimDel.switch3.u2 then eneConTimDel.dumTimDel.k else eneConTimDel.switch5.u3 ($RES_SIM_255) (3) [SCAL] (1) eneConTimDel.switch4.y = if eneConTimDel.switch3.u2 then eneConTimDel.dumTimDel.k else eneConTimDel.switch4.u3 ($RES_SIM_256) (4) [SCAL] (1) $SEV_49 = $FUN_12 or con.cooDow.outerStatePort.localActive and not $FUN_13 ($RES_EVT_727) (5) [SCAL] (1) eneConTimDel.mFue_flow = if eneConTimDel.switch3.u2 then eneConTimDel.dumTimDel.k else eneConTimDel.switch3.u3 ($RES_SIM_257) (6) [FOR-] (2) ($RES_EVT_728) (6) [----] for $i1 in 1:2 loop (6) [----] [SCAL] (1) $SEV_50[$i1] = con.warUp.outPort[$i1 - 1].available and not con.warUp.outPort[$i1 - 1].reset ($RES_EVT_729) (6) [----] end for; (7) [SCAL] (1) eneConTimDel.switch2.y = if eneConTimDel.and1.u1 then eneConTimDel.PEleTimeDel.k else eneConTimDel.opeModBas.groHea.u1 ($RES_SIM_258) (8) [SCAL] (1) eneConTimDel.opeModBas.groHea.u1 = if eneConTimDel.booExp.y then eneConEngTem.PEle else eneConTimDel.const.k ($RES_SIM_259) (9) [SCAL] (1) $TEV_7 = $PRE.con.warUpCtr.or2.y ($RES_EVT_640) (10) [SCAL] (1) avaSig.combiTimeTable.y[1] = avaSig.realToBoolean.u ($RES_SIM_345) (11) [SCAL] (1) con.transition9.outPort.set = $SEV_40 ($RES_SIM_170) (12) [SCAL] (1) $TEV_8 = $PRE.con.warUpCtr.hysPow.y ($RES_EVT_641) (13) [SCAL] (1) $TEV_9 = $PRE.con.warUpCtr.hysTem.y ($RES_EVT_642) (14) [SCAL] (1) runSig.combiTimeTable.y[1] = runSig.realToBoolean.u ($RES_SIM_347) (15) [SCAL] (1) $TEV_10 = $PRE.con.transition8.outPort.set ($RES_EVT_643) (16) [SCAL] (1) $TEV_11 = $PRE.con.nor.oldActive ($RES_EVT_644) (17) [SCAL] (1) $TEV_12 = $PRE.con.nor.outerStatePort.localActive ($RES_EVT_645) (18) [SCAL] (1) $TEV_13 = $PRE.con.nor.newActive ($RES_EVT_646) (19) [SCAL] (1) $TEV_14 = $PRE.con.transition2.outPort.set ($RES_EVT_647) (20) [SCAL] (1) con.transition5.outPort.set = $SEV_41 ($RES_SIM_177) (21) [SCAL] (1) $TEV_15 = $PRE.con.transition1.outPort.set ($RES_EVT_648) (22) [SCAL] (1) $TEV_16 = $PRE.con.assWatMas.not1.u ($RES_EVT_649) (23) [FOR-] (2) ($RES_EVT_730) (23) [----] for $i1 in 1:2 loop (23) [----] [SCAL] (1) $SEV_51[$i1] = con.warUp.inPort[$i1 - 1].occupied or con.warUp.inPort[$i1 - 1].set ($RES_EVT_731) (23) [----] end for; (24) [SCAL] (1) eneConTimDel.switch3.u3 = eneConTimDel.opeModBas.masFloFue.k * eneConTimDel.opeModBas.heaGen.u1 ($RES_SIM_261) (25) [SCAL] (1) $SEV_52 = $FUN_10 or con.warUp.outerStatePort.localActive and not $FUN_11 ($RES_EVT_732) (26) [FOR-] (2) ($RES_EVT_733) (26) [----] for $i1 in 1:2 loop (26) [----] [SCAL] (1) $SEV_53[$i1] = con.pumOn.outPort[$i1 - 1].available and not con.pumOn.outPort[$i1 - 1].reset ($RES_EVT_734) (26) [----] end for; (27) [SCAL] (1) eneConTimDel.switch5.u3 = eneConTimDel.opeModBas.heaGen.u1 * eneConTimDel.opeModBas.etaQ.eta ($RES_SIM_263) (28) [SCAL] (1) eneConTimDel.opeModBas.heaGen.u1 = eneConTimDel.opeModBas.groHea.u1 / eneConTimDel.opeModBas.etaE.eta ($RES_SIM_264) (29) [SCAL] (1) $SEV_54 = $FUN_8 or con.pumOn.outerStatePort.localActive and not $FUN_9 ($RES_EVT_735) (30) [SCAL] (1) eneConTimDel.opeModBas.etaQ.eta = smooth(1, if $SEV_58 then eneConTimDel.opeModBas.etaQ.y else if $SEV_59 then 0.01 else 0.25 * (0.01 - eneConTimDel.opeModBas.etaQ.y) * ((-3.0) + (((-0.01) + eneConTimDel.opeModBas.etaQ.y) / 0.005) ^ 2.0) * (200.0 * ((-0.01) + eneConTimDel.opeModBas.etaQ.y)) + 0.5 * (0.01 + eneConTimDel.opeModBas.etaQ.y)) ($RES_SIM_265) (31) [FOR-] (2) ($RES_EVT_736) (31) [----] for $i1 in 1:2 loop (31) [----] [SCAL] (1) $SEV_55[$i1] = con.staBy.outPort[$i1 - 1].available and not con.staBy.outPort[$i1 - 1].reset ($RES_EVT_737) (31) [----] end for; (32) [SCAL] (1) eneConTimDel.opeModBas.etaQ.y = eneConTimDel.mWat_flow * eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaQ.a[26] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.mWat_flow ^ 2.0 * eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaQ.a[25] * ((-273.15) + TWatIn.k) + eneConTimDel.mWat_flow * eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaQ.a[24] * ((-273.15) + TWatIn.k) + eneConTimDel.mWat_flow ^ 2.0 * eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaQ.a[23] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.mWat_flow * eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaQ.a[22] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.mWat_flow ^ 2.0 * eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaQ.a[21] * ((-273.15) + TWatIn.k) + eneConTimDel.mWat_flow ^ 2.0 * eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaQ.a[20] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.mWat_flow ^ 2.0 * eneConTimDel.opeModBas.etaQ.a[19] * ((-273.15) + TWatIn.k) + eneConTimDel.mWat_flow * eneConTimDel.opeModBas.etaQ.a[18] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.mWat_flow * eneConTimDel.opeModBas.etaQ.a[17] * ((-273.15) + TWatIn.k) + eneConTimDel.mWat_flow ^ 2.0 * eneConTimDel.opeModBas.etaQ.a[16] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaQ.a[15] * ((-273.15) + TWatIn.k) + eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaQ.a[14] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaQ.a[13] * ((-273.15) + TWatIn.k) + eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaQ.a[12] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaQ.a[11] * eneConTimDel.mWat_flow + eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaQ.a[10] * eneConTimDel.mWat_flow ^ 2.0 + eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaQ.a[9] * eneConTimDel.mWat_flow + eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaQ.a[8] * eneConTimDel.mWat_flow ^ 2.0 + eneConTimDel.opeModBas.etaQ.a[7] * ((-273.15) + TWatIn.k) + eneConTimDel.opeModBas.etaQ.a[6] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.opeModBas.etaQ.a[5] * eneConTimDel.mWat_flow + eneConTimDel.opeModBas.etaQ.a[4] * eneConTimDel.mWat_flow ^ 2.0 + eneConTimDel.opeModBas.etaQ.a[3] * eneConTimDel.opeModBas.groHea.u1 + eneConTimDel.opeModBas.etaQ.a[2] * eneConTimDel.opeModBas.groHea.u1 ^ 2.0 + eneConTimDel.opeModBas.etaQ.a[1] + eneConTimDel.mWat_flow * eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaQ.a[27] * ((-273.15) + TWatIn.k) ($RES_SIM_266) (33) [SCAL] (1) eneConTimDel.opeModBas.etaE.eta = smooth(1, if $SEV_60 then eneConTimDel.opeModBas.etaE.y else if $SEV_61 then 0.01 else 0.25 * (0.01 - eneConTimDel.opeModBas.etaE.y) * ((-3.0) + (((-0.01) + eneConTimDel.opeModBas.etaE.y) / 0.005) ^ 2.0) * (200.0 * ((-0.01) + eneConTimDel.opeModBas.etaE.y)) + 0.5 * (0.01 + eneConTimDel.opeModBas.etaE.y)) ($RES_SIM_267) (34) [SCAL] (1) $SEV_56 = $FUN_6 or con.staBy.outerStatePort.localActive and not $FUN_7 ($RES_EVT_738) (35) [SCAL] (1) eneConTimDel.opeModBas.etaE.y = eneConTimDel.mWat_flow * eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaE.a[26] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.mWat_flow ^ 2.0 * eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaE.a[25] * ((-273.15) + TWatIn.k) + eneConTimDel.mWat_flow * eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaE.a[24] * ((-273.15) + TWatIn.k) + eneConTimDel.mWat_flow ^ 2.0 * eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaE.a[23] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.mWat_flow * eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaE.a[22] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.mWat_flow ^ 2.0 * eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaE.a[21] * ((-273.15) + TWatIn.k) + eneConTimDel.mWat_flow ^ 2.0 * eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaE.a[20] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.mWat_flow ^ 2.0 * eneConTimDel.opeModBas.etaE.a[19] * ((-273.15) + TWatIn.k) + eneConTimDel.mWat_flow * eneConTimDel.opeModBas.etaE.a[18] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.mWat_flow * eneConTimDel.opeModBas.etaE.a[17] * ((-273.15) + TWatIn.k) + eneConTimDel.mWat_flow ^ 2.0 * eneConTimDel.opeModBas.etaE.a[16] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaE.a[15] * ((-273.15) + TWatIn.k) + eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaE.a[14] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaE.a[13] * ((-273.15) + TWatIn.k) + eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaE.a[12] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaE.a[11] * eneConTimDel.mWat_flow + eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaE.a[10] * eneConTimDel.mWat_flow ^ 2.0 + eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaE.a[9] * eneConTimDel.mWat_flow + eneConTimDel.opeModBas.groHea.u1 ^ 2.0 * eneConTimDel.opeModBas.etaE.a[8] * eneConTimDel.mWat_flow ^ 2.0 + eneConTimDel.opeModBas.etaE.a[7] * ((-273.15) + TWatIn.k) + eneConTimDel.opeModBas.etaE.a[6] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConTimDel.opeModBas.etaE.a[5] * eneConTimDel.mWat_flow + eneConTimDel.opeModBas.etaE.a[4] * eneConTimDel.mWat_flow ^ 2.0 + eneConTimDel.opeModBas.etaE.a[3] * eneConTimDel.opeModBas.groHea.u1 + eneConTimDel.opeModBas.etaE.a[2] * eneConTimDel.opeModBas.groHea.u1 ^ 2.0 + eneConTimDel.opeModBas.etaE.a[1] + eneConTimDel.mWat_flow * eneConTimDel.opeModBas.groHea.u1 * eneConTimDel.opeModBas.etaE.a[27] * ((-273.15) + TWatIn.k) ($RES_SIM_268) (36) [SCAL] (1) $SEV_57 = time >= $PRE.mWat_flow.tab.nextTimeEvent ($RES_EVT_739) (37) [SCAL] (1) $TEV_17 = $PRE.con.transition10.outPort.set ($RES_EVT_650) (38) [SCAL] (1) $TEV_18 = $PRE.con.transition7.outPort.set ($RES_EVT_651) (39) [SCAL] (1) con.cooDow.outPort[2].reset = con.transition7.outPort.set ($RES_SIM_356) (40) [SCAL] (1) $TEV_19 = $PRE.con.transition9.outPort.set ($RES_EVT_652) (41) [SCAL] (1) con.cooDow.outPort[2].available = con.transition7.inPort.available ($RES_SIM_357) (42) [SCAL] (1) $TEV_20 = $PRE.con.transition5.outPort.set ($RES_EVT_653) (43) [SCAL] (1) con.cooDow.outPort[1].reset = con.transition10.outPort.set ($RES_SIM_358) (44) [SCAL] (1) $TEV_21 = $PRE.con.transition3.outPort.set ($RES_EVT_654) (45) [SCAL] (1) con.cooDow.outPort[1].available = con.transition10.inPort.available ($RES_SIM_359) (46) [SCAL] (1) con.transition3.outPort.set = $SEV_42 ($RES_SIM_184) (47) [SCAL] (1) $TEV_22 = $PRE.con.hys.y ($RES_EVT_655) (48) [SCAL] (1) $TEV_23 = $PRE.con.cooDow.oldActive ($RES_EVT_656) (49) [SCAL] (1) $TEV_24 = $PRE.con.cooDow.outerStatePort.localActive ($RES_EVT_657) (50) [SCAL] (1) $TEV_25 = $PRE.con.cooDow.newActive ($RES_EVT_658) (51) [SCAL] (1) $TEV_26 = $PRE.con.warUp.oldActive ($RES_EVT_659) (52) [SCAL] (1) con.transition6.localCondition = $SEV_43 ($RES_SIM_189) (53) [SCAL] (1) $SEV_58 = (-0.01) + eneConTimDel.opeModBas.etaQ.y > 0.005 ($RES_EVT_740) (54) [SCAL] (1) eneConTimDel.assFue.abs1.u = (eneConTimDel.assFue.floChaRat.k / eneConTimDel.assFue.floChaRat.T) * (eneConTimDel.mFue_flow - eneConTimDel.assFue.floChaRat.x) ($RES_SIM_270) (55) [SCAL] (1) $SEV_59 = (-0.01) + eneConTimDel.opeModBas.etaQ.y < (-0.005) ($RES_EVT_741) (56) [SCAL] (1) $DER.eneConTimDel.assFue.floChaRat.x = (eneConTimDel.mFue_flow - eneConTimDel.assFue.floChaRat.x) / eneConTimDel.assFue.floChaRat.T ($RES_SIM_271) (57) [SCAL] (1) $SEV_60 = (-0.01) + eneConTimDel.opeModBas.etaE.y > 0.005 ($RES_EVT_742) (58) [SCAL] (1) eneConTimDel.assFue.hys.y = $SEV_62 ($RES_SIM_272) (59) [SCAL] (1) $SEV_61 = (-0.01) + eneConTimDel.opeModBas.etaE.y < (-0.005) ($RES_EVT_743) (60) [SCAL] (1) $SEV_62 = not $PRE.eneConTimDel.assFue.hys.y and eneConTimDel.assFue.abs1.y > eneConTimDel.assFue.hys.uHigh or $PRE.eneConTimDel.assFue.hys.y and eneConTimDel.assFue.abs1.y >= eneConTimDel.assFue.hys.uLow ($RES_EVT_744) (61) [SCAL] (1) $SEV_63 = (-0.01) + eneConEngTem.opeModWarUpEngTem.etaQ.y > 0.005 ($RES_EVT_745) (62) [SCAL] (1) eneConEngTem.switch3.u2 = eneConEngTem.and1.u1 ($RES_SIM_275) (63) [SCAL] (1) $SEV_64 = (-0.01) + eneConEngTem.opeModWarUpEngTem.etaQ.y < (-0.005) ($RES_EVT_746) (64) [SCAL] (1) $SEV_65 = (-0.01) + eneConEngTem.opeModWarUpEngTem.etaE.y > 0.005 ($RES_EVT_747) (65) [SCAL] (1) $SEV_66 = (-0.01) + eneConEngTem.opeModWarUpEngTem.etaE.y < (-0.005) ($RES_EVT_748) (66) [SCAL] (1) eneConEngTem.switch5.y = if eneConEngTem.switch3.u2 then eneConEngTem.switch5.u1 else eneConEngTem.switch5.u3 ($RES_SIM_278) (67) [SCAL] (1) $SEV_67 = not $PRE.eneConEngTem.opeModWarUpEngTem.temChe.y and eneConEngTem.opeModWarUpEngTem.smoothMax.u1 > eneConEngTem.opeModWarUpEngTem.temChe.uHigh or $PRE.eneConEngTem.opeModWarUpEngTem.temChe.y and eneConEngTem.opeModWarUpEngTem.smoothMax.u1 >= eneConEngTem.opeModWarUpEngTem.temChe.uLow ($RES_EVT_749) (68) [SCAL] (1) eneConEngTem.switch4.y = if eneConEngTem.switch3.u2 then eneConEngTem.switch4.u1 else eneConEngTem.switch4.u3 ($RES_SIM_279) (69) [SCAL] (1) con.transition9.outPort.set = con.cooDow.inPort[2].set ($RES_SIM_360) (70) [SCAL] (1) con.transition9.outPort.occupied = con.cooDow.inPort[2].occupied ($RES_SIM_361) (71) [SCAL] (1) con.transition8.outPort.set = con.cooDow.inPort[1].set ($RES_SIM_362) (72) [SCAL] (1) con.transition8.outPort.occupied = con.cooDow.inPort[1].occupied ($RES_SIM_363) (73) [SCAL] (1) con.transition7.outPort.set = con.warUp.inPort[2].set ($RES_SIM_364) (74) [SCAL] (1) $TEV_27 = $PRE.con.warUp.outerStatePort.localActive ($RES_EVT_660) (75) [SCAL] (1) con.transition7.outPort.occupied = con.warUp.inPort[2].occupied ($RES_SIM_365) (76) [SCAL] (1) $TEV_28 = $PRE.con.warUp.newActive ($RES_EVT_661) (77) [SCAL] (1) con.transition4.outPort.set = con.warUp.inPort[1].set ($RES_SIM_366) (78) [SCAL] (1) $TEV_29 = $PRE.con.pumOn.oldActive ($RES_EVT_662) (79) [SCAL] (1) not con.transition9.localCondition = $SEV_44 ($RES_SIM_192) (80) [SCAL] (1) con.transition4.outPort.occupied = con.warUp.inPort[1].occupied ($RES_SIM_367) (81) [SCAL] (1) $TEV_30 = $PRE.con.pumOn.outerStatePort.localActive ($RES_EVT_663) (82) [SCAL] (1) con.hys.y = $SEV_45 ($RES_SIM_193) (83) [SCAL] (1) $TEV_31 = $PRE.con.pumOn.newActive ($RES_EVT_664) (84) [SCAL] (1) con.add2.y = con.add2.k1 * con.max.y + con.add2.k2 * con.assWatMas.hys.u ($RES_SIM_194) (85) [SCAL] (1) $TEV_32 = $PRE.con.staBy.oldActive ($RES_EVT_665) (86) [SCAL] (1) con.max.y = max(con.minWatFlo.k, con.con.k) ($RES_SIM_195) (87) [SCAL] (1) $TEV_33 = $PRE.con.staBy.outerStatePort.localActive ($RES_EVT_666) (88) [SCAL] (1) $TEV_34 = $PRE.con.staBy.newActive ($RES_EVT_667) (89) [SCAL] (1) $TEV_35 = $PRE.eneConTimDel.assFue.hys.y ($RES_EVT_668) (90) [FOR-] (2) ($RES_SIM_198) (90) [----] for $i1 in 1:2 loop (90) [----] [SCAL] (1) con.cooDow.outPort[$i1].reset = false ($RES_SIM_199) (90) [----] end for; (91) [SCAL] (1) $TEV_36 = $PRE.eneConEngTem.opeModWarUpEngTem.temChe.y ($RES_EVT_669) (92) [SCAL] (1) $SEV_68 = eneConEngTem.opeModWarUpEngTem.add.y - eneConEngTem.opeModWarUpEngTem.min2.k > eneConEngTem.opeModWarUpEngTem.smoothMax2.deltaX ($RES_EVT_750) (93) [ARRY] (1) mWat_flow.tab.y = mWat_flow.y ($RES_SIM_454) (94) [SCAL] (1) $SEV_69 = eneConEngTem.opeModWarUpEngTem.add.y - eneConEngTem.opeModWarUpEngTem.min2.k < (-eneConEngTem.opeModWarUpEngTem.smoothMax2.deltaX) ($RES_EVT_751) (95) [SCAL] (1) eneConEngTem.mFue_flow = if eneConEngTem.switch3.u2 then eneConEngTem.switch3.u1 else eneConEngTem.switch3.u3 ($RES_SIM_280) (96) [SCAL] (1) $SEV_70 = eneConEngTem.opeModWarUpEngTem.smoothMax2.deltaX > 0.0 ($RES_EVT_752) (97) [SCAL] (1) con.PEleNet = if eneConEngTem.and1.u1 then eneConEngTem.switch2.u1 else eneConEngTem.opeModBas.groHea.u1 ($RES_SIM_281) (98) [SCAL] (1) $SEV_71 = eneConEngTem.opeModWarUpEngTem.smoothMax.u1 - eneConEngTem.opeModWarUpEngTem.min1.k > eneConEngTem.opeModWarUpEngTem.smoothMax.deltaX ($RES_EVT_753) (99) [SCAL] (1) eneConEngTem.opeModBas.groHea.u1 = if eneConEngTem.booExp.y then eneConEngTem.PEle else eneConEngTem.const.k ($RES_SIM_282) (100) [SCAL] (1) $SEV_72 = eneConEngTem.opeModWarUpEngTem.smoothMax.u1 - eneConEngTem.opeModWarUpEngTem.min1.k < (-eneConEngTem.opeModWarUpEngTem.smoothMax.deltaX) ($RES_EVT_754) (101) [SCAL] (1) $SEV_73 = eneConEngTem.opeModWarUpEngTem.smoothMax.deltaX > 0.0 ($RES_EVT_755) (102) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.heaGro.y = eneConEngTem.opeModWarUpEngTem.heaGro.k * eneConEngTem.switch3.u1 ($RES_SIM_284) (103) [SCAL] (1) $SEV_74 = (-0.01) + eneConEngTem.opeModBas.etaQ.y > 0.005 ($RES_EVT_756) (104) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.maxFueFlo.u = eneConEngTem.opeModWarUpEngTem.masFloFue.k * eneConEngTem.opeModWarUpEngTem.QGroMax.y ($RES_SIM_285) (105) [SCAL] (1) $SEV_75 = (-0.01) + eneConEngTem.opeModBas.etaQ.y < (-0.005) ($RES_EVT_757) (106) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.add.y = eneConEngTem.opeModWarUpEngTem.add.k1 * TRoo.k + eneConEngTem.opeModWarUpEngTem.add.k2 * con.TEng ($RES_SIM_286) (107) [SCAL] (1) $SEV_76 = (-0.01) + eneConEngTem.opeModBas.etaE.y > 0.005 ($RES_EVT_758) (108) [SCAL] (1) $SEV_77 = (-0.01) + eneConEngTem.opeModBas.etaE.y < (-0.005) ($RES_EVT_759) (109) [SCAL] (1) con.warUp.outPort[2].reset = con.transition9.outPort.set ($RES_SIM_370) (110) [SCAL] (1) con.warUp.outPort[2].available = con.transition9.inPort.available ($RES_SIM_371) (111) [SCAL] (1) con.warUp.outPort[1].reset = con.transition6.outPort.set ($RES_SIM_372) (112) [SCAL] (1) con.warUp.outPort[1].available = con.transition6.inPort.available ($RES_SIM_373) (113) [SCAL] (1) con.pumOn.outPort[2].reset = con.transition5.outPort.set ($RES_SIM_374) (114) [SCAL] (1) $TEV_37 = $PRE.eneConEngTem.assFue.hys.y ($RES_EVT_670) (115) [SCAL] (1) con.pumOn.outPort[2].available = con.transition5.inPort.available ($RES_SIM_375) (116) [SCAL] (1) $TEV_38 = $PRE.PEle.nextEvent ($RES_EVT_671) (117) [SCAL] (1) con.pumOn.outPort[1].reset = con.transition4.outPort.set ($RES_SIM_376) (118) [SCAL] (1) $TEV_39 = time < TEng.startTime ($RES_EVT_672) (119) [SCAL] (1) con.pumOn.outPort[1].available = con.transition4.inPort.available ($RES_SIM_377) (120) [SCAL] (1) $TEV_40 = time < (TEng.startTime + TEng.duration) ($RES_EVT_673) (121) [SCAL] (1) con.transition2.outPort.set = con.pumOn.inPort[1].set ($RES_SIM_378) (122) [SCAL] (1) $TEV_41 = $PRE.avaSig.combiTimeTable.nextTimeEventScaled ($RES_EVT_674) (123) [SCAL] (1) con.transition2.outPort.occupied = con.pumOn.inPort[1].occupied ($RES_SIM_379) (124) [SCAL] (1) $TEV_42 = $PRE.runSig.combiTimeTable.nextTimeEventScaled ($RES_EVT_675) (125) [SCAL] (1) $TEV_43 = $PRE.mWat_flow.tab.nextTimeEventScaled ($RES_EVT_676) (126) [SCAL] (1) $SEV_78 = not $PRE.eneConEngTem.assFue.hys.y and eneConEngTem.assFue.abs1.y > eneConEngTem.assFue.hys.uHigh or $PRE.eneConEngTem.assFue.hys.y and eneConEngTem.assFue.abs1.y >= eneConEngTem.assFue.hys.uLow ($RES_EVT_760) (127) [SCAL] (1) $SEV_79 = con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_EVT_761) (128) [SCAL] (1) eneConEngTem.switch2.u1 = eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.division1.y ($RES_SIM_290) (129) [SCAL] (1) $SEV_80 = con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp or con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_EVT_762) (130) [SCAL] (1) eneConEngTem.booExp.y = $SEV_80 ($RES_BND_592) (131) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.division1.y = eneConEngTem.opeModWarUpEngTem.powCoe.k / eneConEngTem.opeModWarUpEngTem.gain.u ($RES_SIM_292) (132) [SCAL] (1) eneConEngTem.and1.u1 = $SEV_79 ($RES_BND_593) (133) [SCAL] (1) eneConEngTem.switch5.u1 = eneConEngTem.opeModWarUpEngTem.etaQ.eta * eneConEngTem.opeModWarUpEngTem.heaGro.y ($RES_SIM_293) (134) [SCAL] (1) eneConTimDel.booExp.y = $SEV_80 ($RES_BND_594) (135) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.etaQ.eta = smooth(1, if $SEV_63 then eneConEngTem.opeModWarUpEngTem.etaQ.y else if $SEV_64 then 0.01 else 0.25 * (0.01 - eneConEngTem.opeModWarUpEngTem.etaQ.y) * ((-3.0) + (((-0.01) + eneConEngTem.opeModWarUpEngTem.etaQ.y) / 0.005) ^ 2.0) * (200.0 * ((-0.01) + eneConEngTem.opeModWarUpEngTem.etaQ.y)) + 0.5 * (0.01 + eneConEngTem.opeModWarUpEngTem.etaQ.y)) ($RES_SIM_294) (136) [SCAL] (1) eneConTimDel.and1.u1 = $SEV_79 ($RES_BND_595) (137) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.etaQ.y = eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaQ.a[26] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaQ.a[25] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaQ.a[24] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaQ.a[23] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaQ.a[22] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaQ.a[21] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaQ.a[20] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaQ.a[19] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModWarUpEngTem.etaQ.a[18] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModWarUpEngTem.etaQ.a[17] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaQ.a[16] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaQ.a[15] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaQ.a[14] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaQ.a[13] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaQ.a[12] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaQ.a[11] * eneConEngTem.opeModBas.etaE.mWat_flow + eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaQ.a[10] * eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 + eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaQ.a[9] * eneConEngTem.opeModBas.etaE.mWat_flow + eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaQ.a[8] * eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 + eneConEngTem.opeModWarUpEngTem.etaQ.a[7] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModWarUpEngTem.etaQ.a[6] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModWarUpEngTem.etaQ.a[5] * eneConEngTem.opeModBas.etaE.mWat_flow + eneConEngTem.opeModWarUpEngTem.etaQ.a[4] * eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 + eneConEngTem.opeModWarUpEngTem.etaQ.a[3] * eneConEngTem.opeModWarUpEngTem.PEleMax.k + eneConEngTem.opeModWarUpEngTem.etaQ.a[2] * eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 + eneConEngTem.opeModWarUpEngTem.etaQ.a[1] + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaQ.a[27] * ((-273.15) + TWatIn.k) ($RES_SIM_295) (138) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.unlFueFloWarUp.y = eneConEngTem.opeModWarUpEngTem.maxFueFlo.u * eneConEngTem.opeModWarUpEngTem.add2.y ($RES_SIM_296) (139) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.add2.y = eneConEngTem.opeModWarUpEngTem.add2.k1 * eneConEngTem.opeModWarUpEngTem.gain.y + eneConEngTem.opeModWarUpEngTem.add2.k2 * eneConEngTem.opeModWarUpEngTem.min2.k ($RES_SIM_297) (140) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.gain.y = eneConEngTem.opeModWarUpEngTem.gain.k * eneConEngTem.opeModWarUpEngTem.gain.u ($RES_SIM_298) (141) [SCAL] (1) con.staBy.outPort[2].reset = con.transition3.outPort.set ($RES_SIM_380) (142) [SCAL] (1) con.staBy.outPort[2].available = con.transition3.inPort.available ($RES_SIM_381) (143) [SCAL] (1) con.staBy.outPort[1].reset = con.transition2.outPort.set ($RES_SIM_382) (144) [SCAL] (1) con.staBy.outPort[1].available = con.transition2.inPort.available ($RES_SIM_383) (145) [SCAL] (1) con.transition1.outPort.set = con.staBy.inPort[1].set ($RES_SIM_384) (146) [SCAL] (1) con.transition1.outPort.occupied = con.staBy.inPort[1].occupied ($RES_SIM_385) (147) [SCAL] (1) con.transition10.outPort.set = con.plaOff.inPort[3].set ($RES_SIM_387) (148) [SCAL] (1) con.transition10.outPort.occupied = con.plaOff.inPort[3].occupied ($RES_SIM_388) (149) [SCAL] (1) con.transition5.outPort.set = con.plaOff.inPort[2].set ($RES_SIM_389) (150) [SCAL] (1) $SEV_15 = avaSig.realToBoolean.u >= avaSig.realToBoolean.threshold ($RES_EVT_688) (151) [SCAL] (1) $SEV_16 = time >= $PRE.avaSig.combiTimeTable.nextTimeEvent ($RES_EVT_689) (152) [SCAL] (1) con.transition5.outPort.occupied = con.plaOff.inPort[2].occupied ($RES_SIM_390) (153) [SCAL] (1) con.transition3.outPort.set = con.plaOff.inPort[1].set ($RES_SIM_391) (154) [SCAL] (1) con.transition3.outPort.occupied = con.plaOff.inPort[1].occupied ($RES_SIM_392) (155) [SCAL] (1) $SEV_18 = runSig.realToBoolean.u >= runSig.realToBoolean.threshold ($RES_EVT_691) (156) [SCAL] (1) $SEV_19 = time >= $PRE.runSig.combiTimeTable.nextTimeEvent ($RES_EVT_692) (157) [SCAL] (1) $SEV_20 = con.cooDow.outerStatePort.localActive and time >= (con.timer.t + $PRE.con.timer.entryTime) ($RES_EVT_693) (158) [SCAL] (1) $SEV_21 = (not con.transition9.localCondition and con.transition4.inPort.available) and not con.transition4.outPort.occupied ($RES_EVT_694) (159) [SCAL] (1) $SEV_22 = con.transition4.enableFire and time >= ((time - con.transition4.t_dummy) + con.transition4.waitTime) ($RES_EVT_695) (160) [FOR-] (3) ($RES_EVT_696) (160) [----] for $i1 in 1:3 loop (160) [----] [SCAL] (1) $SEV_23[$i1] = $i1 == 1 ($RES_EVT_697) (160) [----] end for; (161) [FOR-] (3) ($RES_EVT_698) (161) [----] for $i1 in 1:3 loop (161) [----] [SCAL] (1) $SEV_24[$i1] = con.plaOff.inPort[$i1 - 1].occupied or con.plaOff.inPort[$i1 - 1].set ($RES_EVT_699) (161) [----] end for; (162) [ALGO] (5) ($RES_SIM_51) (162) [----] assert(not (PEle.table[1, 1] > 0.0 or PEle.table[1, 1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(PEle.table[1, 1], 6, 0, true), AssertionLevel.error); (162) [----] when {time >= $PRE.PEle.nextEvent, initial()} then (162) [----] (PEle.a, PEle.b, PEle.nextEventScaled, PEle.last) := ($FUN_18, $FUN_19, $FUN_20, $FUN_21); (162) [----] PEle.nextEvent := PEle.nextEventScaled; (162) [----] end when; (163) [SCAL] (1) stateGraphRoot.activeSteps = -integer(stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_55) (164) [SCAL] (1) eneConEngTem.PEle = PEle.a * time + PEle.b ($RES_SIM_57) (165) [SCAL] (1) con.plaOff.newActive = $SEV_25 ($RES_SIM_100) (166) [SCAL] (1) con.plaOff.outerStatePort.localActive = $TEV_5 ($RES_SIM_101) (167) [SCAL] (1) con.plaOff.outerStatePort.subgraphStatePort.activeSteps = if con.plaOff.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_103) (168) [SCAL] (1) con.transition6.outPort.set = $SEV_26 ($RES_SIM_106) (169) [SCAL] (1) con.TEng = TEng.offset + (if $TEV_39 then 0.0 else if $TEV_40 then (TEng.height * (time - TEng.startTime)) / TEng.duration else TEng.height) ($RES_SIM_60) (170) [SCAL] (1) not con.transition3.localCondition = $SEV_15 ($RES_SIM_62) (171) [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_41) ($RES_SIM_63) (172) [WHEN] (1)when {$SEV_16, initial()} then (172) [----] avaSig.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(avaSig.combiTimeTable.tableID, time) (172) [----] end when; (173) [WHEN] (1)when {$SEV_16, initial()} then (173) [----] avaSig.combiTimeTable.nextTimeEvent := if avaSig.combiTimeTable.nextTimeEventScaled < 1e60 then avaSig.combiTimeTable.nextTimeEventScaled else 1e60 (173) [----] end when; (174) [SCAL] (1) not con.transition5.localCondition = $SEV_18 ($RES_SIM_68) (175) [SCAL] (1) runSig.combiTimeTable.y[1] = runSig.combiTimeTable.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(runSig.combiTimeTable.tableID, 1, time, runSig.combiTimeTable.nextTimeEventScaled, $TEV_42) ($RES_SIM_69) (176) [SCAL] (1) con.and1.u2 = $TEV_7 ($RES_SIM_111) (177) [SCAL] (1) con.warUpCtr.or2.y = $SEV_27 ($RES_SIM_112) (178) [SCAL] (1) con.warUpCtr.hysPow.y = $SEV_28 ($RES_SIM_113) (179) [SCAL] (1) con.warUpCtr.add1.y = con.warUpCtr.add1.k1 * con.PEleNet + con.warUpCtr.add1.k2 * eneConEngTem.PEle ($RES_SIM_114) (180) [SCAL] (1) con.warUpCtr.add.y = con.warUpCtr.add.k1 * con.TEng + con.warUpCtr.add.k2 * con.warUpCtr.temEngNom.k ($RES_SIM_116) (181) [SCAL] (1) con.warUpCtr.hysTem.y = $SEV_29 ($RES_SIM_117) (182) [WHEN] (1)when {$SEV_19, initial()} then (182) [----] runSig.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(runSig.combiTimeTable.tableID, time) (182) [----] end when; (183) [WHEN] (1)when {$SEV_19, initial()} then (183) [----] runSig.combiTimeTable.nextTimeEvent := if runSig.combiTimeTable.nextTimeEventScaled < 1e60 then runSig.combiTimeTable.nextTimeEventScaled else 1e60 (183) [----] end when; (184) [FOR-] (2) ($RES_SIM_200) (184) [----] for $i1 in 1:2 loop (184) [----] [SCAL] (1) con.cooDow.inPort[$i1].set = false ($RES_SIM_201) (184) [----] end for; (185) [FOR-] (2) ($RES_SIM_202) (185) [----] for $i1 in 1:2 loop (185) [----] [SCAL] (1) con.cooDow.outPort[$i1].available = if $SEV_46[$i1] then con.cooDow.outerStatePort.localActive else $SEV_47[$i1] ($RES_SIM_203) (185) [----] end for; (186) [-IF-] (1)if con.plaOff.outerStatePort.localActive then (186) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off ($RES_SIM_75) (186) [----] elseif con.staBy.outerStatePort.localActive then (186) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_SIM_76) (186) [----] elseif con.pumOn.outerStatePort.localActive then (186) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.PumpOn ($RES_SIM_77) (186) [----] elseif con.warUp.outerStatePort.localActive then (186) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_SIM_78) (186) [----] elseif con.nor.outerStatePort.localActive then (186) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_SIM_79) (186) [----] else (186) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown ($RES_SIM_80) (186) [----] end if; (187) [FOR-] (2) ($RES_SIM_204) (187) [----] for $i1 in 1:2 loop (187) [----] [SCAL] (1) con.cooDow.inPort[$i1].occupied = if $SEV_46[$i1] then con.cooDow.outerStatePort.localActive else $SEV_48[$i1] ($RES_SIM_205) (187) [----] end for; (188) [WHEN] (1)when false then (188) [----] con.cooDow.oldActive := con.cooDow.outerStatePort.localActive (188) [----] end when; (189) [SCAL] (1) con.cooDow.newActive = $SEV_49 ($RES_SIM_207) (190) [SCAL] (1) con.cooDow.outerStatePort.localActive = $TEV_25 ($RES_SIM_208) (191) [SCAL] (1) con.transition8.outPort.set = $SEV_30 ($RES_SIM_120) (192) [SCAL] (1) con.nor.outPort[1].reset = false ($RES_SIM_125) (193) [SCAL] (1) con.nor.inPort[1].set = false ($RES_SIM_126) (194) [SCAL] (1) con.nor.outPort[1].available = con.nor.outerStatePort.localActive ($RES_SIM_127) (195) [SCAL] (1) con.nor.inPort[1].occupied = con.nor.outerStatePort.localActive ($RES_SIM_128) (196) [WHEN] (1)when false then (196) [----] con.nor.oldActive := con.nor.outerStatePort.localActive (196) [----] end when; (197) [SCAL] (1) con.cooDow.outerStatePort.subgraphStatePort.activeSteps = if con.cooDow.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_210) (198) [SCAL] (1) con.timer.y = if con.cooDow.outerStatePort.localActive then time - con.timer.entryTime else 0.0 ($RES_SIM_82) (199) [FOR-] (2) ($RES_SIM_211) (199) [----] for $i1 in 1:2 loop (199) [----] [SCAL] (1) con.warUp.outPort[$i1].reset = false ($RES_SIM_212) (199) [----] end for; (200) [WHEN] (1)when not con.cooDow.outerStatePort.localActive then (200) [----] con.timer.passed := false (200) [----] else when $SEV_20 then (200) [----] con.timer.passed := true (200) [----] else when con.cooDow.outerStatePort.localActive then (200) [----] con.timer.passed := con.timer.t <= 0.0 (200) [----] end when; (201) [WHEN] (1)when not con.cooDow.outerStatePort.localActive then (201) [----] con.timer.entryTime := $PRE.con.timer.entryTime (201) [----] else when $SEV_20 then (201) [----] con.timer.entryTime := $PRE.con.timer.entryTime (201) [----] else when con.cooDow.outerStatePort.localActive then (201) [----] con.timer.entryTime := time (201) [----] end when; (202) [FOR-] (2) ($RES_SIM_213) (202) [----] for $i1 in 1:2 loop (202) [----] [SCAL] (1) con.warUp.inPort[$i1].set = false ($RES_SIM_214) (202) [----] end for; (203) [FOR-] (2) ($RES_SIM_215) (203) [----] for $i1 in 1:2 loop (203) [----] [SCAL] (1) con.warUp.outPort[$i1].available = if $SEV_46[$i1] then con.warUp.outerStatePort.localActive else $SEV_50[$i1] ($RES_SIM_216) (203) [----] end for; (204) [SCAL] (1) con.transition4.enableFire = $SEV_21 ($RES_SIM_88) (205) [FOR-] (2) ($RES_SIM_217) (205) [----] for $i1 in 1:2 loop (205) [----] [SCAL] (1) con.warUp.inPort[$i1].occupied = if $SEV_46[$i1] then con.warUp.outerStatePort.localActive else $SEV_51[$i1] ($RES_SIM_218) (205) [----] end for; (206) [SCAL] (1) con.transition4.outPort.set = $SEV_22 ($RES_SIM_89) (207) [WHEN] (1)when false then (207) [----] con.warUp.oldActive := con.warUp.outerStatePort.localActive (207) [----] end when; (208) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.smoothMax.u1 = eneConEngTem.opeModWarUpEngTem.add1.k1 * eneConEngTem.opeModWarUpEngTem.TEngNom.k + eneConEngTem.opeModWarUpEngTem.add1.k2 * TRoo.k ($RES_SIM_300) (209) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.gain.u = eneConEngTem.opeModWarUpEngTem.smoothMax.y / eneConEngTem.opeModWarUpEngTem.smoothMax2.y ($RES_SIM_302) (210) [SCAL] (1) eneConEngTem.switch3.u1 = min(eneConEngTem.opeModWarUpEngTem.maxFueFlo.y, eneConEngTem.opeModWarUpEngTem.unlFueFloWarUp.y) ($RES_SIM_303) (211) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.maxFueFlo.y = eneConEngTem.opeModWarUpEngTem.maxFueFlo.k * eneConEngTem.opeModWarUpEngTem.maxFueFlo.u ($RES_SIM_304) (212) [SCAL] (1) con.nor.newActive = $SEV_31 ($RES_SIM_130) (213) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.QGroMax.y = eneConEngTem.opeModWarUpEngTem.PEleMax.k / eneConEngTem.opeModWarUpEngTem.etaE.eta ($RES_SIM_306) (214) [SCAL] (1) con.nor.outerStatePort.localActive = $TEV_13 ($RES_SIM_131) (215) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.etaE.eta = smooth(1, if $SEV_65 then eneConEngTem.opeModWarUpEngTem.etaE.y else if $SEV_66 then 0.01 else 0.25 * (0.01 - eneConEngTem.opeModWarUpEngTem.etaE.y) * ((-3.0) + (((-0.01) + eneConEngTem.opeModWarUpEngTem.etaE.y) / 0.005) ^ 2.0) * (200.0 * ((-0.01) + eneConEngTem.opeModWarUpEngTem.etaE.y)) + 0.5 * (0.01 + eneConEngTem.opeModWarUpEngTem.etaE.y)) ($RES_SIM_307) (216) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.etaE.y = eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaE.a[26] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaE.a[25] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaE.a[24] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaE.a[23] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaE.a[22] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaE.a[21] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaE.a[20] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaE.a[19] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModWarUpEngTem.etaE.a[18] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModWarUpEngTem.etaE.a[17] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaE.a[16] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaE.a[15] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaE.a[14] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaE.a[13] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaE.a[12] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaE.a[11] * eneConEngTem.opeModBas.etaE.mWat_flow + eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaE.a[10] * eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 + eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaE.a[9] * eneConEngTem.opeModBas.etaE.mWat_flow + eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 * eneConEngTem.opeModWarUpEngTem.etaE.a[8] * eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 + eneConEngTem.opeModWarUpEngTem.etaE.a[7] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModWarUpEngTem.etaE.a[6] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModWarUpEngTem.etaE.a[5] * eneConEngTem.opeModBas.etaE.mWat_flow + eneConEngTem.opeModWarUpEngTem.etaE.a[4] * eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 + eneConEngTem.opeModWarUpEngTem.etaE.a[3] * eneConEngTem.opeModWarUpEngTem.PEleMax.k + eneConEngTem.opeModWarUpEngTem.etaE.a[2] * eneConEngTem.opeModWarUpEngTem.PEleMax.k ^ 2.0 + eneConEngTem.opeModWarUpEngTem.etaE.a[1] + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.etaE.a[27] * ((-273.15) + TWatIn.k) ($RES_SIM_308) (217) [SCAL] (1) con.nor.outerStatePort.subgraphStatePort.activeSteps = if con.nor.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_133) (218) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.temChe.y = $SEV_67 ($RES_SIM_309) (219) [SCAL] (1) con.transition2.outPort.set = $SEV_32 ($RES_SIM_136) (220) [SCAL] (1) con.transition4.t = if con.transition4.enableFire then con.transition4.t_dummy else 0.0 ($RES_SIM_90) (221) [SCAL] (1) con.warUp.newActive = $SEV_52 ($RES_SIM_220) (222) [WHEN] (1)when con.transition4.enableFire then (222) [----] time - con.transition4.t_dummy := time (222) [----] end when; (223) [SCAL] (1) con.warUp.outerStatePort.localActive = $TEV_28 ($RES_SIM_221) (224) [SCAL] (1) con.plaOff.outPort[1].reset = false ($RES_SIM_93) (225) [FOR-] (3) ($RES_SIM_94) (225) [----] for $i1 in 1:3 loop (225) [----] [SCAL] (1) con.plaOff.inPort[$i1].set = false ($RES_SIM_95) (225) [----] end for; (226) [SCAL] (1) con.warUp.outerStatePort.subgraphStatePort.activeSteps = if con.warUp.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_223) (227) [FOR-] (2) ($RES_SIM_224) (227) [----] for $i1 in 1:2 loop (227) [----] [SCAL] (1) con.pumOn.outPort[$i1].reset = false ($RES_SIM_225) (227) [----] end for; (228) [SCAL] (1) con.plaOff.outPort[1].available = con.plaOff.outerStatePort.localActive ($RES_SIM_96) (229) [FOR-] (3) ($RES_SIM_97) (229) [----] for $i1 in 1:3 loop (229) [----] [SCAL] (1) con.plaOff.inPort[$i1].occupied = if $SEV_23[$i1] then con.plaOff.outerStatePort.localActive else $SEV_24[$i1] ($RES_SIM_98) (229) [----] end for; (230) [SCAL] (1) con.pumOn.inPort[1].set = false ($RES_SIM_226) (231) [FOR-] (2) ($RES_SIM_227) (231) [----] for $i1 in 1:2 loop (231) [----] [SCAL] (1) con.pumOn.outPort[$i1].available = if $SEV_46[$i1] then con.pumOn.outerStatePort.localActive else $SEV_53[$i1] ($RES_SIM_228) (231) [----] end for; (232) [WHEN] (1)when false then (232) [----] con.plaOff.oldActive := con.plaOff.outerStatePort.localActive (232) [----] end when; (233) [SCAL] (1) eneConEngTem.assFue.abs1.y = abs(eneConEngTem.assFue.abs1.u) ($RES_$AUX_631) (234) [SCAL] (1) con.pumOn.inPort[1].occupied = con.pumOn.outerStatePort.localActive ($RES_SIM_229) (235) [SCAL] (1) eneConEngTem.switch4.u3 = Buildings.Utilities.Math.Functions.polynomial(eneConEngTem.switch3.u3, eneConEngTem.opeModBas.masFloAir.a) ($RES_$AUX_630) (236) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.smoothMax2.y = smooth(1, if $SEV_68 then eneConEngTem.opeModWarUpEngTem.add.y else if $SEV_69 then eneConEngTem.opeModWarUpEngTem.min2.k else if $SEV_70 then 0.25 * (eneConEngTem.opeModWarUpEngTem.min2.k - eneConEngTem.opeModWarUpEngTem.add.y) * ((-3.0) + ((eneConEngTem.opeModWarUpEngTem.add.y - eneConEngTem.opeModWarUpEngTem.min2.k) / eneConEngTem.opeModWarUpEngTem.smoothMax2.deltaX) ^ 2.0) * ((eneConEngTem.opeModWarUpEngTem.add.y - eneConEngTem.opeModWarUpEngTem.min2.k) / eneConEngTem.opeModWarUpEngTem.smoothMax2.deltaX) + 0.5 * (eneConEngTem.opeModWarUpEngTem.add.y + eneConEngTem.opeModWarUpEngTem.min2.k) else 0.5 * (eneConEngTem.opeModWarUpEngTem.add.y + eneConEngTem.opeModWarUpEngTem.min2.k)) ($RES_SIM_310) (237) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.smoothMax.y = smooth(1, if $SEV_71 then eneConEngTem.opeModWarUpEngTem.smoothMax.u1 else if $SEV_72 then eneConEngTem.opeModWarUpEngTem.min1.k else if $SEV_73 then 0.25 * (eneConEngTem.opeModWarUpEngTem.min1.k - eneConEngTem.opeModWarUpEngTem.smoothMax.u1) * ((-3.0) + ((eneConEngTem.opeModWarUpEngTem.smoothMax.u1 - eneConEngTem.opeModWarUpEngTem.min1.k) / eneConEngTem.opeModWarUpEngTem.smoothMax.deltaX) ^ 2.0) * ((eneConEngTem.opeModWarUpEngTem.smoothMax.u1 - eneConEngTem.opeModWarUpEngTem.min1.k) / eneConEngTem.opeModWarUpEngTem.smoothMax.deltaX) + 0.5 * (eneConEngTem.opeModWarUpEngTem.smoothMax.u1 + eneConEngTem.opeModWarUpEngTem.min1.k) else 0.5 * (eneConEngTem.opeModWarUpEngTem.smoothMax.u1 + eneConEngTem.opeModWarUpEngTem.min1.k)) ($RES_SIM_311) (238) [SCAL] (1) eneConEngTem.switch3.u3 = eneConEngTem.opeModBas.masFloFue.k * eneConEngTem.opeModBas.heaGen.u1 ($RES_SIM_312) (239) [SCAL] (1) eneConEngTem.switch5.u3 = eneConEngTem.opeModBas.heaGen.u1 * eneConEngTem.opeModBas.etaQ.eta ($RES_SIM_314) (240) [SCAL] (1) eneConEngTem.opeModBas.heaGen.u1 = eneConEngTem.opeModBas.groHea.u1 / eneConEngTem.opeModBas.etaE.eta ($RES_SIM_315) (241) [SCAL] (1) eneConEngTem.opeModBas.etaQ.eta = smooth(1, if $SEV_74 then eneConEngTem.opeModBas.etaQ.y else if $SEV_75 then 0.01 else 0.25 * (0.01 - eneConEngTem.opeModBas.etaQ.y) * ((-3.0) + (((-0.01) + eneConEngTem.opeModBas.etaQ.y) / 0.005) ^ 2.0) * (200.0 * ((-0.01) + eneConEngTem.opeModBas.etaQ.y)) + 0.5 * (0.01 + eneConEngTem.opeModBas.etaQ.y)) ($RES_SIM_316) (242) [SCAL] (1) eneConEngTem.opeModBas.etaQ.y = eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaQ.a[26] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaQ.a[25] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaQ.a[24] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaQ.a[23] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaQ.a[22] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaQ.a[21] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaQ.a[20] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModBas.etaQ.a[19] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModBas.etaQ.a[18] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModBas.etaQ.a[17] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModBas.etaQ.a[16] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaQ.a[15] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaQ.a[14] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaQ.a[13] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaQ.a[12] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaQ.a[11] * eneConEngTem.opeModBas.etaE.mWat_flow + eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaQ.a[10] * eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 + eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaQ.a[9] * eneConEngTem.opeModBas.etaE.mWat_flow + eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaQ.a[8] * eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 + eneConEngTem.opeModBas.etaQ.a[7] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaQ.a[6] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaQ.a[5] * eneConEngTem.opeModBas.etaE.mWat_flow + eneConEngTem.opeModBas.etaQ.a[4] * eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 + eneConEngTem.opeModBas.etaQ.a[3] * eneConEngTem.opeModBas.groHea.u1 + eneConEngTem.opeModBas.etaQ.a[2] * eneConEngTem.opeModBas.groHea.u1 ^ 2.0 + eneConEngTem.opeModBas.etaQ.a[1] + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaQ.a[27] * ((-273.15) + TWatIn.k) ($RES_SIM_317) (243) [SCAL] (1) eneConEngTem.opeModBas.etaE.eta = smooth(1, if $SEV_76 then eneConEngTem.opeModBas.etaE.y else if $SEV_77 then 0.01 else 0.25 * (0.01 - eneConEngTem.opeModBas.etaE.y) * ((-3.0) + (((-0.01) + eneConEngTem.opeModBas.etaE.y) / 0.005) ^ 2.0) * (200.0 * ((-0.01) + eneConEngTem.opeModBas.etaE.y)) + 0.5 * (0.01 + eneConEngTem.opeModBas.etaE.y)) ($RES_SIM_318) (244) [SCAL] (1) con.transition1.outPort.set = $SEV_33 ($RES_SIM_143) (245) [SCAL] (1) eneConEngTem.opeModBas.etaE.y = eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaE.a[26] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaE.a[25] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaE.a[24] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaE.a[23] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaE.a[22] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaE.a[21] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaE.a[20] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModBas.etaE.a[19] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModBas.etaE.a[18] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModBas.etaE.a[17] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 * eneConEngTem.opeModBas.etaE.a[16] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaE.a[15] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaE.a[14] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaE.a[13] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaE.a[12] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaE.a[11] * eneConEngTem.opeModBas.etaE.mWat_flow + eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaE.a[10] * eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 + eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaE.a[9] * eneConEngTem.opeModBas.etaE.mWat_flow + eneConEngTem.opeModBas.groHea.u1 ^ 2.0 * eneConEngTem.opeModBas.etaE.a[8] * eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 + eneConEngTem.opeModBas.etaE.a[7] * ((-273.15) + TWatIn.k) + eneConEngTem.opeModBas.etaE.a[6] * ((-273.15) + TWatIn.k) ^ 2.0 + eneConEngTem.opeModBas.etaE.a[5] * eneConEngTem.opeModBas.etaE.mWat_flow + eneConEngTem.opeModBas.etaE.a[4] * eneConEngTem.opeModBas.etaE.mWat_flow ^ 2.0 + eneConEngTem.opeModBas.etaE.a[3] * eneConEngTem.opeModBas.groHea.u1 + eneConEngTem.opeModBas.etaE.a[2] * eneConEngTem.opeModBas.groHea.u1 ^ 2.0 + eneConEngTem.opeModBas.etaE.a[1] + eneConEngTem.opeModBas.etaE.mWat_flow * eneConEngTem.opeModBas.groHea.u1 * eneConEngTem.opeModBas.etaE.a[27] * ((-273.15) + TWatIn.k) ($RES_SIM_319) (246) [SCAL] (1) con.assWatMas.not1.u = $SEV_34 ($RES_SIM_149) (247) [SCAL] (1) $SEV_25 = $FUN_16 or con.plaOff.outerStatePort.localActive and not $FUN_17 ($RES_EVT_700) (248) [WHEN] (1)when false then (248) [----] con.pumOn.oldActive := con.pumOn.outerStatePort.localActive (248) [----] end when; (249) [SCAL] (1) $SEV_26 = (con.transition6.localCondition and con.transition6.inPort.available) and not con.transition6.outPort.occupied ($RES_EVT_701) (250) [SCAL] (1) eneConEngTem.switch4.u1 = Buildings.Utilities.Math.Functions.polynomial(eneConEngTem.switch3.u1, eneConEngTem.opeModWarUpEngTem.masFloAir.a) ($RES_$AUX_629) (251) [SCAL] (1) con.pumOn.newActive = $SEV_54 ($RES_SIM_231) (252) [SCAL] (1) $SEV_27 = con.warUpCtr.hysTem.y or con.warUpCtr.hysPow.y ($RES_EVT_702) (253) [SCAL] (1) eneConTimDel.assFue.abs1.y = abs(eneConTimDel.assFue.abs1.u) ($RES_$AUX_628) (254) [SCAL] (1) con.pumOn.outerStatePort.localActive = $TEV_31 ($RES_SIM_232) (255) [SCAL] (1) $SEV_28 = not $PRE.con.warUpCtr.hysPow.y and con.warUpCtr.add1.y > con.warUpCtr.hysPow.uHigh or $PRE.con.warUpCtr.hysPow.y and con.warUpCtr.add1.y >= con.warUpCtr.hysPow.uLow ($RES_EVT_703) (256) [SCAL] (1) eneConTimDel.switch4.u3 = Buildings.Utilities.Math.Functions.polynomial(eneConTimDel.switch3.u3, eneConTimDel.opeModBas.masFloAir.a) ($RES_$AUX_627) (257) [SCAL] (1) $SEV_29 = not $PRE.con.warUpCtr.hysTem.y and con.warUpCtr.add.y > con.warUpCtr.hysTem.uHigh or $PRE.con.warUpCtr.hysTem.y and con.warUpCtr.add.y >= con.warUpCtr.hysTem.uLow ($RES_EVT_704) (258) [SCAL] (1) $FUN_6 = Modelica.StateGraph.Temporary.anyTrue(con.staBy.inPort.set) ($RES_$AUX_626) (259) [SCAL] (1) con.pumOn.outerStatePort.subgraphStatePort.activeSteps = if con.pumOn.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_234) (260) [SCAL] (1) $SEV_30 = (con.transition9.localCondition and con.transition8.inPort.available) and not con.transition8.outPort.occupied ($RES_EVT_705) (261) [SCAL] (1) $FUN_7 = Modelica.StateGraph.Temporary.anyTrue(con.staBy.outPort.reset) ($RES_$AUX_625) (262) [FOR-] (2) ($RES_SIM_235) (262) [----] for $i1 in 1:2 loop (262) [----] [SCAL] (1) con.staBy.outPort[$i1].reset = false ($RES_SIM_236) (262) [----] end for; (263) [SCAL] (1) $SEV_31 = $FUN_14 or con.nor.outerStatePort.localActive and not $FUN_15 ($RES_EVT_706) (264) [SCAL] (1) $FUN_8 = Modelica.StateGraph.Temporary.anyTrue(con.pumOn.inPort.set) ($RES_$AUX_624) (265) [SCAL] (1) $SEV_32 = (not con.transition5.localCondition and con.transition2.inPort.available) and not con.transition2.outPort.occupied ($RES_EVT_707) (266) [SCAL] (1) $FUN_9 = Modelica.StateGraph.Temporary.anyTrue(con.pumOn.outPort.reset) ($RES_$AUX_623) (267) [SCAL] (1) con.staBy.inPort[1].set = false ($RES_SIM_237) (268) [SCAL] (1) $SEV_33 = (not con.transition3.localCondition and con.transition1.inPort.available) and not con.transition1.outPort.occupied ($RES_EVT_708) (269) [SCAL] (1) $FUN_10 = Modelica.StateGraph.Temporary.anyTrue(con.warUp.inPort.set) ($RES_$AUX_622) (270) [FOR-] (2) ($RES_SIM_238) (270) [----] for $i1 in 1:2 loop (270) [----] [SCAL] (1) con.staBy.outPort[$i1].available = if $SEV_46[$i1] then con.staBy.outerStatePort.localActive else $SEV_55[$i1] ($RES_SIM_239) (270) [----] end for; (271) [SCAL] (1) $SEV_34 = not $PRE.con.assWatMas.not1.u and con.assWatMas.hys.u > con.assWatMas.hys.uHigh or $PRE.con.assWatMas.not1.u and con.assWatMas.hys.u >= con.assWatMas.hys.uLow ($RES_EVT_709) (272) [SCAL] (1) $FUN_11 = Modelica.StateGraph.Temporary.anyTrue(con.warUp.outPort.reset) ($RES_$AUX_621) (273) [SCAL] (1) $FUN_12 = Modelica.StateGraph.Temporary.anyTrue(con.cooDow.inPort.set) ($RES_$AUX_620) (274) [SCAL] (1) eneConEngTem.assFue.abs1.u = (eneConEngTem.assFue.floChaRat.k / eneConEngTem.assFue.floChaRat.T) * (eneConEngTem.mFue_flow - eneConEngTem.assFue.floChaRat.x) ($RES_SIM_321) (275) [SCAL] (1) $DER.eneConEngTem.assFue.floChaRat.x = (eneConEngTem.mFue_flow - eneConEngTem.assFue.floChaRat.x) / eneConEngTem.assFue.floChaRat.T ($RES_SIM_322) (276) [SCAL] (1) eneConEngTem.assFue.hys.y = $SEV_78 ($RES_SIM_323) (277) [SCAL] (1) con.assWatMas.nand.y = not $SEV_35 ($RES_SIM_150) (278) [SCAL] (1) con.pumOn.outerStatePort.subgraphStatePort.activeSteps + con.warUp.outerStatePort.subgraphStatePort.activeSteps + con.cooDow.outerStatePort.subgraphStatePort.activeSteps + con.nor.outerStatePort.subgraphStatePort.activeSteps + con.plaOff.outerStatePort.subgraphStatePort.activeSteps + stateGraphRoot.subgraphStatePort.activeSteps + con.staBy.outerStatePort.subgraphStatePort.activeSteps = 0.0 ($RES_SIM_326) (279) [SCAL] (1) con.transition10.localCondition = $SEV_36 ($RES_SIM_152) (280) [SCAL] (1) con.transition10.outPort.set = $SEV_37 ($RES_SIM_155) (281) [SCAL] (1) con.transition6.outPort.set = con.nor.inPort[1].set ($RES_SIM_414) (282) [SCAL] (1) $SEV_35 = not con.transition5.localCondition and not con.assWatMas.not1.u ($RES_EVT_710) (283) [SCAL] (1) con.transition6.outPort.occupied = con.nor.inPort[1].occupied ($RES_SIM_415) (284) [SCAL] (1) con.staBy.inPort[1].occupied = con.staBy.outerStatePort.localActive ($RES_SIM_240) (285) [SCAL] (1) $SEV_36 = con.timer.passed and con.transition9.localCondition ($RES_EVT_711) (286) [SCAL] (1) $FUN_13 = Modelica.StateGraph.Temporary.anyTrue(con.cooDow.outPort.reset) ($RES_$AUX_619) (287) [SCAL] (1) con.plaOff.outPort[1].reset = con.transition1.outPort.set ($RES_SIM_416) (288) [WHEN] (1)when false then (288) [----] con.staBy.oldActive := con.staBy.outerStatePort.localActive (288) [----] end when; (289) [SCAL] (1) $SEV_37 = (con.transition10.localCondition and con.transition10.inPort.available) and not con.transition10.outPort.occupied ($RES_EVT_712) (290) [SCAL] (1) $FUN_14 = Modelica.StateGraph.Temporary.anyTrue(con.nor.inPort.set) ($RES_$AUX_618) (291) [SCAL] (1) con.plaOff.outPort[1].available = con.transition1.inPort.available ($RES_SIM_417) (292) [SCAL] (1) con.staBy.newActive = $SEV_56 ($RES_SIM_242) (293) [SCAL] (1) $SEV_38 = con.optCooDow.k and not con.transition9.localCondition ($RES_EVT_713) (294) [SCAL] (1) $FUN_15 = Modelica.StateGraph.Temporary.anyTrue(con.nor.outPort.reset) ($RES_$AUX_617) (295) [SCAL] (1) con.staBy.outerStatePort.localActive = $TEV_34 ($RES_SIM_243) (296) [SCAL] (1) $SEV_39 = (con.transition7.localCondition and con.transition7.inPort.available) and not con.transition7.outPort.occupied ($RES_EVT_714) (297) [SCAL] (1) $FUN_16 = Modelica.StateGraph.Temporary.anyTrue(con.plaOff.inPort.set) ($RES_$AUX_616) (298) [SCAL] (1) con.nor.outPort[1].reset = con.transition8.outPort.set ($RES_SIM_419) (299) [SCAL] (1) $SEV_40 = (con.transition9.localCondition and con.transition9.inPort.available) and not con.transition9.outPort.occupied ($RES_EVT_715) (300) [SCAL] (1) $FUN_17 = Modelica.StateGraph.Temporary.anyTrue(con.plaOff.outPort.reset) ($RES_$AUX_615) (301) [SCAL] (1) con.staBy.outerStatePort.subgraphStatePort.activeSteps = if con.staBy.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_245) (302) [SCAL] (1) $SEV_41 = (con.transition5.localCondition and con.transition5.inPort.available) and not con.transition5.outPort.occupied ($RES_EVT_716) (303) [TUPL] (4) ($FUN_18, $FUN_19, $FUN_20, $FUN_21) = Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.PEle.getInterpolationCoefficients(PEle.table, PEle.offset, PEle.startTime, time, PEle.last, 1e-13, PEle.shiftTime) ($RES_$AUX_614) (304) [SCAL] (1) mWat_flow.tab.y[1] = mWat_flow.tab.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(mWat_flow.tab.tableID, 1, time, mWat_flow.tab.nextTimeEventScaled, $TEV_43) ($RES_SIM_246) (305) [SCAL] (1) $SEV_42 = (con.transition3.localCondition and con.transition3.inPort.available) and not con.transition3.outPort.occupied ($RES_EVT_717) (306) [WHEN] (1)when {$SEV_57, initial()} then (306) [----] mWat_flow.tab.nextTimeEvent := if mWat_flow.tab.nextTimeEventScaled < 1e60 then mWat_flow.tab.nextTimeEventScaled else 1e60 (306) [----] end when; (307) [SCAL] (1) $SEV_43 = not con.transition9.localCondition and con.and1.u2 ($RES_EVT_718) (308) [WHEN] (1)when {$SEV_57, initial()} then (308) [----] mWat_flow.tab.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(mWat_flow.tab.tableID, time) (308) [----] end when; (309) [SCAL] (1) $SEV_44 = con.hys.y and not con.transition5.localCondition ($RES_EVT_719) (310) [SCAL] (1) mWat_flow.y[1] = eneConEngTem.opeModBas.etaE.mWat_flow ($RES_SIM_333) (311) [SCAL] (1) mWat_flow.y[1] = con.assWatMas.hys.u ($RES_SIM_334) (312) [SCAL] (1) mWat_flow.y[1] = eneConTimDel.mWat_flow ($RES_SIM_335) (313) [SCAL] (1) con.transition7.localCondition = $SEV_38 ($RES_SIM_160) (314) [SCAL] (1) $TEV_0 = $PRE.con.timer.passed ($RES_EVT_633) (315) [SCAL] (1) con.transition7.outPort.set = $SEV_39 ($RES_SIM_163) (316) [SCAL] (1) $TEV_1 = $PRE.con.timer.entryTime ($RES_EVT_634) (317) [SCAL] (1) $TEV_2 = $PRE.con.transition4.enableFire ($RES_EVT_635) (318) [SCAL] (1) $TEV_3 = $PRE.con.plaOff.oldActive ($RES_EVT_636) (319) [SCAL] (1) $TEV_4 = $PRE.con.plaOff.outerStatePort.localActive ($RES_EVT_637) (320) [SCAL] (1) $TEV_5 = $PRE.con.plaOff.newActive ($RES_EVT_638) (321) [SCAL] (1) $TEV_6 = $PRE.con.transition6.outPort.set ($RES_EVT_639) (322) [SCAL] (1) con.nor.outPort[1].available = con.transition8.inPort.available ($RES_SIM_420) (323) [SCAL] (1) $SEV_45 = not $PRE.con.hys.y and con.add2.y > con.hys.uHigh or $PRE.con.hys.y and con.add2.y >= con.hys.uLow ($RES_EVT_720) (324) [FOR-] (2) ($RES_EVT_721) (324) [----] for $i1 in 1:2 loop (324) [----] [SCAL] (1) $SEV_46[$i1] = $i1 == 1 ($RES_EVT_722) (324) [----] end for; (325) [SCAL] (1) eneConTimDel.switch3.u2 = false ($RES_SIM_251) (326) [FOR-] (2) ($RES_EVT_723) (326) [----] for $i1 in 1:2 loop (326) [----] [SCAL] (1) $SEV_47[$i1] = con.cooDow.outPort[$i1 - 1].available and not con.cooDow.outPort[$i1 - 1].reset ($RES_EVT_724) (326) [----] end for; =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 37 var 2 --> eqn 336 var 3 --> eqn 186 var 4 --> eqn 234 var 5 --> eqn 356 var 6 --> eqn 357 var 7 --> eqn 99 var 8 --> eqn 143 var 9 --> eqn 174 var 10 --> eqn 249 var 11 --> eqn 175 var 12 --> eqn 275 var 13 --> eqn 4 var 14 --> eqn 134 var 15 --> eqn 63 var 16 --> eqn 152 var 17 --> eqn 304 var 18 --> eqn 46 var 19 --> eqn 245 var 20 --> eqn 158 var 21 --> eqn 265 var 22 --> eqn 67 var 23 --> eqn 259 var 24 --> eqn 231 var 25 --> eqn 253 var 26 --> eqn 254 var 27 --> eqn 255 var 28 --> eqn 176 var 29 --> eqn 286 var 30 --> eqn 118 var 31 --> eqn 38 var 32 --> eqn 262 var 33 --> eqn 228 var 34 --> eqn 277 var 35 --> eqn 320 var 36 --> eqn 180 var 37 --> eqn 6 var 38 --> eqn 266 var 39 --> eqn 173 var 40 --> eqn 139 var 41 --> eqn 209 var 42 --> eqn 295 var 43 --> eqn 211 var 44 --> eqn 149 var 45 --> eqn 290 var 46 --> eqn 91 var 47 --> eqn 330 var 48 --> eqn 273 var 49 --> eqn 268 var 50 --> eqn 140 var 51 --> eqn 235 var 52 --> eqn 267 var 53 --> eqn 256 var 54 --> eqn 50 var 55 --> eqn 212 var 56 --> eqn 239 var 57 --> eqn 34 var 58 --> eqn 9 var 59 --> eqn 332 var 60 --> eqn 15 var 61 --> eqn 14 var 62 --> eqn 123 var 63 --> eqn 119 var 64 --> eqn 11 var 65 --> eqn 353 var 66 --> eqn 203 var 67 --> eqn 204 var 68 --> eqn 352 var 69 --> eqn 351 var 70 --> eqn 350 var 71 --> eqn 349 var 72 --> eqn 348 var 73 --> eqn 346 var 74 --> eqn 75 var 75 --> eqn 142 var 76 --> eqn 84 var 77 --> eqn 206 var 78 --> eqn 270 var 79 --> eqn 121 var 80 --> eqn 144 var 81 --> eqn 264 var 82 --> eqn 160 var 83 --> eqn 95 var 84 --> eqn 96 var 85 --> eqn 159 var 86 --> eqn 155 var 87 --> eqn 153 var 88 --> eqn 177 var 89 --> eqn 154 var 90 --> eqn 136 var 91 --> eqn 241 var 92 --> eqn 35 var 93 --> eqn 36 var 94 --> eqn 192 var 95 --> eqn 87 var 96 --> eqn 187 var 97 --> eqn 108 var 98 --> eqn 281 var 99 --> eqn 222 var 100 --> eqn 223 var 101 --> eqn 218 var 102 --> eqn 317 var 103 --> eqn 197 var 104 --> eqn 184 var 105 --> eqn 135 var 106 --> eqn 298 var 107 --> eqn 299 var 108 --> eqn 71 var 109 --> eqn 207 var 110 --> eqn 178 var 111 --> eqn 133 var 112 --> eqn 132 var 113 --> eqn 114 var 114 --> eqn 80 var 115 --> eqn 113 var 116 --> eqn 111 var 117 --> eqn 109 var 118 --> eqn 107 var 119 --> eqn 106 var 120 --> eqn 16 var 121 --> eqn 104 var 122 --> eqn 102 var 123 --> eqn 194 var 124 --> eqn 244 var 125 --> eqn 179 var 126 --> eqn 342 var 127 --> eqn 190 var 128 --> eqn 189 var 129 --> eqn 220 var 130 --> eqn 78 var 131 --> eqn 308 var 132 --> eqn 105 var 133 --> eqn 233 var 134 --> eqn 224 var 135 --> eqn 112 var 136 --> eqn 100 var 137 --> eqn 98 var 138 --> eqn 338 var 139 --> eqn 29 var 140 --> eqn 30 var 141 --> eqn 72 var 142 --> eqn 73 var 143 --> eqn 70 var 144 --> eqn 69 var 145 --> eqn 68 var 146 --> eqn 110 var 147 --> eqn 66 var 148 --> eqn 151 var 149 --> eqn 65 var 150 --> eqn 64 var 151 --> eqn 340 var 152 --> eqn 62 var 153 --> eqn 198 var 154 --> eqn 199 var 155 --> eqn 74 var 156 --> eqn 232 var 157 --> eqn 306 var 158 --> eqn 183 var 159 --> eqn 238 var 160 --> eqn 225 var 161 --> eqn 226 var 162 --> eqn 10 var 163 --> eqn 147 var 164 --> eqn 44 var 165 --> eqn 243 var 166 --> eqn 60 var 167 --> eqn 58 var 168 --> eqn 101 var 169 --> eqn 41 var 170 --> eqn 39 var 171 --> eqn 229 var 172 --> eqn 263 var 173 --> eqn 33 var 174 --> eqn 269 var 175 --> eqn 28 var 176 --> eqn 193 var 177 --> eqn 305 var 178 --> eqn 141 var 179 --> eqn 169 var 180 --> eqn 170 var 181 --> eqn 171 var 182 --> eqn 278 var 183 --> eqn 145 var 184 --> eqn 137 var 185 --> eqn 354 var 186 --> eqn 5 var 187 --> eqn 31 var 188 --> eqn 195 var 189 --> eqn 355 var 190 --> eqn 138 var 191 --> eqn 341 var 192 --> eqn 339 var 193 --> eqn 51 var 194 --> eqn 331 var 195 --> eqn 13 var 196 --> eqn 307 var 197 --> eqn 312 var 198 --> eqn 283 var 199 --> eqn 150 var 200 --> eqn 345 var 201 --> eqn 272 var 202 --> eqn 294 var 203 --> eqn 292 var 204 --> eqn 242 var 205 --> eqn 288 var 206 --> eqn 285 var 207 --> eqn 25 var 208 --> eqn 26 var 209 --> eqn 210 var 210 --> eqn 358 var 211 --> eqn 205 var 212 --> eqn 27 var 213 --> eqn 333 var 214 --> eqn 166 var 215 --> eqn 167 var 216 --> eqn 168 var 217 --> eqn 334 var 218 --> eqn 230 var 219 --> eqn 325 var 220 --> eqn 322 var 221 --> eqn 146 var 222 --> eqn 309 var 223 --> eqn 313 var 224 --> eqn 314 var 225 --> eqn 311 var 226 --> eqn 300 var 227 --> eqn 271 var 228 --> eqn 240 var 229 --> eqn 291 var 230 --> eqn 208 var 231 --> eqn 236 var 232 --> eqn 127 var 233 --> eqn 260 var 234 --> eqn 76 var 235 --> eqn 303 var 236 --> eqn 172 var 237 --> eqn 131 var 238 --> eqn 335 var 239 --> eqn 130 var 240 --> eqn 329 var 241 --> eqn 181 var 242 --> eqn 128 var 243 --> eqn 326 var 244 --> eqn 126 var 245 --> eqn 323 var 246 --> eqn 319 var 247 --> eqn 315 var 248 --> eqn 302 var 249 --> eqn 301 var 250 --> eqn 297 var 251 --> eqn 82 var 252 --> eqn 7 var 253 --> eqn 8 var 254 --> eqn 257 var 255 --> eqn 258 var 256 --> eqn 284 var 257 --> eqn 310 var 258 --> eqn 282 var 259 --> eqn 279 var 260 --> eqn 182 var 261 --> eqn 274 var 262 --> eqn 324 var 263 --> eqn 165 var 264 --> eqn 164 var 265 --> eqn 163 var 266 --> eqn 343 var 267 --> eqn 124 var 268 --> eqn 122 var 269 --> eqn 120 var 270 --> eqn 97 var 271 --> eqn 94 var 272 --> eqn 89 var 273 --> eqn 93 var 274 --> eqn 92 var 275 --> eqn 90 var 276 --> eqn 185 var 277 --> eqn 88 var 278 --> eqn 86 var 279 --> eqn 12 var 280 --> eqn 321 var 281 --> eqn 344 var 282 --> eqn 261 var 283 --> eqn 1 var 284 --> eqn 2 var 285 --> eqn 116 var 286 --> eqn 59 var 287 --> eqn 162 var 288 --> eqn 161 var 289 --> eqn 157 var 290 --> eqn 280 var 291 --> eqn 156 var 292 --> eqn 129 var 293 --> eqn 61 var 294 --> eqn 83 var 295 --> eqn 125 var 296 --> eqn 81 var 297 --> eqn 79 var 298 --> eqn 56 var 299 --> eqn 55 var 300 --> eqn 85 var 301 --> eqn 54 var 302 --> eqn 53 var 303 --> eqn 52 var 304 --> eqn 49 var 305 --> eqn 47 var 306 --> eqn 148 var 307 --> eqn 77 var 308 --> eqn 219 var 309 --> eqn 215 var 310 --> eqn 188 var 311 --> eqn 32 var 312 --> eqn 200 var 313 --> eqn 201 var 314 --> eqn 48 var 315 --> eqn 202 var 316 --> eqn 40 var 317 --> eqn 57 var 318 --> eqn 103 var 319 --> eqn 359 var 320 --> eqn 360 var 321 --> eqn 196 var 322 --> eqn 45 var 323 --> eqn 237 var 324 --> eqn 43 var 325 --> eqn 42 var 326 --> eqn 24 var 327 --> eqn 213 var 328 --> eqn 23 var 329 --> eqn 21 var 330 --> eqn 20 var 331 --> eqn 252 var 332 --> eqn 19 var 333 --> eqn 18 var 334 --> eqn 17 var 335 --> eqn 191 var 336 --> eqn 117 var 337 --> eqn 115 var 338 --> eqn 3 var 339 --> eqn 22 var 340 --> eqn 214 equation to variable ********************** eqn 1 --> var 283 eqn 2 --> var 284 eqn 3 --> var 338 eqn 4 --> var 13 eqn 5 --> var 186 eqn 6 --> var 37 eqn 7 --> var 252 eqn 8 --> var 253 eqn 9 --> var 58 eqn 10 --> var 162 eqn 11 --> var 64 eqn 12 --> var 279 eqn 13 --> var 195 eqn 14 --> var 61 eqn 15 --> var 60 eqn 16 --> var 120 eqn 17 --> var 334 eqn 18 --> var 333 eqn 19 --> var 332 eqn 20 --> var 330 eqn 21 --> var 329 eqn 22 --> var 339 eqn 23 --> var 328 eqn 24 --> var 326 eqn 25 --> var 207 eqn 26 --> var 208 eqn 27 --> var 212 eqn 28 --> var 175 eqn 29 --> var 139 eqn 30 --> var 140 eqn 31 --> var 187 eqn 32 --> var 311 eqn 33 --> var 173 eqn 34 --> var 57 eqn 35 --> var 92 eqn 36 --> var 93 eqn 37 --> var 1 eqn 38 --> var 31 eqn 39 --> var 170 eqn 40 --> var 316 eqn 41 --> var 169 eqn 42 --> var 325 eqn 43 --> var 324 eqn 44 --> var 164 eqn 45 --> var 322 eqn 46 --> var 18 eqn 47 --> var 305 eqn 48 --> var 314 eqn 49 --> var 304 eqn 50 --> var 54 eqn 51 --> var 193 eqn 52 --> var 303 eqn 53 --> var 302 eqn 54 --> var 301 eqn 55 --> var 299 eqn 56 --> var 298 eqn 57 --> var 317 eqn 58 --> var 167 eqn 59 --> var 286 eqn 60 --> var 166 eqn 61 --> var 293 eqn 62 --> var 152 eqn 63 --> var 15 eqn 64 --> var 150 eqn 65 --> var 149 eqn 66 --> var 147 eqn 67 --> var 22 eqn 68 --> var 145 eqn 69 --> var 144 eqn 70 --> var 143 eqn 71 --> var 108 eqn 72 --> var 141 eqn 73 --> var 142 eqn 74 --> var 155 eqn 75 --> var 74 eqn 76 --> var 234 eqn 77 --> var 307 eqn 78 --> var 130 eqn 79 --> var 297 eqn 80 --> var 114 eqn 81 --> var 296 eqn 82 --> var 251 eqn 83 --> var 294 eqn 84 --> var 76 eqn 85 --> var 300 eqn 86 --> var 278 eqn 87 --> var 95 eqn 88 --> var 277 eqn 89 --> var 272 eqn 90 --> var 275 eqn 91 --> var 46 eqn 92 --> var 274 eqn 93 --> var 273 eqn 94 --> var 271 eqn 95 --> var 83 eqn 96 --> var 84 eqn 97 --> var 270 eqn 98 --> var 137 eqn 99 --> var 7 eqn 100 --> var 136 eqn 101 --> var 168 eqn 102 --> var 122 eqn 103 --> var 318 eqn 104 --> var 121 eqn 105 --> var 132 eqn 106 --> var 119 eqn 107 --> var 118 eqn 108 --> var 97 eqn 109 --> var 117 eqn 110 --> var 146 eqn 111 --> var 116 eqn 112 --> var 135 eqn 113 --> var 115 eqn 114 --> var 113 eqn 115 --> var 337 eqn 116 --> var 285 eqn 117 --> var 336 eqn 118 --> var 30 eqn 119 --> var 63 eqn 120 --> var 269 eqn 121 --> var 79 eqn 122 --> var 268 eqn 123 --> var 62 eqn 124 --> var 267 eqn 125 --> var 295 eqn 126 --> var 244 eqn 127 --> var 232 eqn 128 --> var 242 eqn 129 --> var 292 eqn 130 --> var 239 eqn 131 --> var 237 eqn 132 --> var 112 eqn 133 --> var 111 eqn 134 --> var 14 eqn 135 --> var 105 eqn 136 --> var 90 eqn 137 --> var 184 eqn 138 --> var 190 eqn 139 --> var 40 eqn 140 --> var 50 eqn 141 --> var 178 eqn 142 --> var 75 eqn 143 --> var 8 eqn 144 --> var 80 eqn 145 --> var 183 eqn 146 --> var 221 eqn 147 --> var 163 eqn 148 --> var 306 eqn 149 --> var 44 eqn 150 --> var 199 eqn 151 --> var 148 eqn 152 --> var 16 eqn 153 --> var 87 eqn 154 --> var 89 eqn 155 --> var 86 eqn 156 --> var 291 eqn 157 --> var 289 eqn 158 --> var 20 eqn 159 --> var 85 eqn 160 --> var 82 eqn 161 --> var 288 eqn 162 --> var 287 eqn 163 --> var 265 eqn 164 --> var 264 eqn 165 --> var 263 eqn 166 --> var 214 eqn 167 --> var 215 eqn 168 --> var 216 eqn 169 --> var 179 eqn 170 --> var 180 eqn 171 --> var 181 eqn 172 --> var 236 eqn 173 --> var 39 eqn 174 --> var 9 eqn 175 --> var 11 eqn 176 --> var 28 eqn 177 --> var 88 eqn 178 --> var 110 eqn 179 --> var 125 eqn 180 --> var 36 eqn 181 --> var 241 eqn 182 --> var 260 eqn 183 --> var 158 eqn 184 --> var 104 eqn 185 --> var 276 eqn 186 --> var 3 eqn 187 --> var 96 eqn 188 --> var 310 eqn 189 --> var 128 eqn 190 --> var 127 eqn 191 --> var 335 eqn 192 --> var 94 eqn 193 --> var 176 eqn 194 --> var 123 eqn 195 --> var 188 eqn 196 --> var 321 eqn 197 --> var 103 eqn 198 --> var 153 eqn 199 --> var 154 eqn 200 --> var 312 eqn 201 --> var 313 eqn 202 --> var 315 eqn 203 --> var 66 eqn 204 --> var 67 eqn 205 --> var 211 eqn 206 --> var 77 eqn 207 --> var 109 eqn 208 --> var 230 eqn 209 --> var 41 eqn 210 --> var 209 eqn 211 --> var 43 eqn 212 --> var 55 eqn 213 --> var 327 eqn 214 --> var 340 eqn 215 --> var 309 eqn 216 --> var -1 eqn 217 --> var -1 eqn 218 --> var 101 eqn 219 --> var 308 eqn 220 --> var 129 eqn 221 --> var -1 eqn 222 --> var 99 eqn 223 --> var 100 eqn 224 --> var 134 eqn 225 --> var 160 eqn 226 --> var 161 eqn 227 --> var -1 eqn 228 --> var 33 eqn 229 --> var 171 eqn 230 --> var 218 eqn 231 --> var 24 eqn 232 --> var 156 eqn 233 --> var 133 eqn 234 --> var 4 eqn 235 --> var 51 eqn 236 --> var 231 eqn 237 --> var 323 eqn 238 --> var 159 eqn 239 --> var 56 eqn 240 --> var 228 eqn 241 --> var 91 eqn 242 --> var 204 eqn 243 --> var 165 eqn 244 --> var 124 eqn 245 --> var 19 eqn 246 --> var -1 eqn 247 --> var -1 eqn 248 --> var -1 eqn 249 --> var 10 eqn 250 --> var -1 eqn 251 --> var -1 eqn 252 --> var 331 eqn 253 --> var 25 eqn 254 --> var 26 eqn 255 --> var 27 eqn 256 --> var 53 eqn 257 --> var 254 eqn 258 --> var 255 eqn 259 --> var 23 eqn 260 --> var 233 eqn 261 --> var 282 eqn 262 --> var 32 eqn 263 --> var 172 eqn 264 --> var 81 eqn 265 --> var 21 eqn 266 --> var 38 eqn 267 --> var 52 eqn 268 --> var 49 eqn 269 --> var 174 eqn 270 --> var 78 eqn 271 --> var 227 eqn 272 --> var 201 eqn 273 --> var 48 eqn 274 --> var 261 eqn 275 --> var 12 eqn 276 --> var -1 eqn 277 --> var 34 eqn 278 --> var 182 eqn 279 --> var 259 eqn 280 --> var 290 eqn 281 --> var 98 eqn 282 --> var 258 eqn 283 --> var 198 eqn 284 --> var 256 eqn 285 --> var 206 eqn 286 --> var 29 eqn 287 --> var -1 eqn 288 --> var 205 eqn 289 --> var -1 eqn 290 --> var 45 eqn 291 --> var 229 eqn 292 --> var 203 eqn 293 --> var -1 eqn 294 --> var 202 eqn 295 --> var 42 eqn 296 --> var -1 eqn 297 --> var 250 eqn 298 --> var 106 eqn 299 --> var 107 eqn 300 --> var 226 eqn 301 --> var 249 eqn 302 --> var 248 eqn 303 --> var 235 eqn 304 --> var 17 eqn 305 --> var 177 eqn 306 --> var 157 eqn 307 --> var 196 eqn 308 --> var 131 eqn 309 --> var 222 eqn 310 --> var 257 eqn 311 --> var 225 eqn 312 --> var 197 eqn 313 --> var 223 eqn 314 --> var 224 eqn 315 --> var 247 eqn 316 --> var -1 eqn 317 --> var 102 eqn 318 --> var -1 eqn 319 --> var 246 eqn 320 --> var 35 eqn 321 --> var 280 eqn 322 --> var 220 eqn 323 --> var 245 eqn 324 --> var 262 eqn 325 --> var 219 eqn 326 --> var 243 eqn 327 --> var -1 eqn 328 --> var -1 eqn 329 --> var 240 eqn 330 --> var 47 eqn 331 --> var 194 eqn 332 --> var 59 eqn 333 --> var 213 eqn 334 --> var 217 eqn 335 --> var 238 eqn 336 --> var 2 eqn 337 --> var -1 eqn 338 --> var 138 eqn 339 --> var 192 eqn 340 --> var 151 eqn 341 --> var 191 eqn 342 --> var 126 eqn 343 --> var 266 eqn 344 --> var 281 eqn 345 --> var 200 eqn 346 --> var 73 eqn 347 --> var -1 eqn 348 --> var 72 eqn 349 --> var 71 eqn 350 --> var 70 eqn 351 --> var 69 eqn 352 --> var 68 eqn 353 --> var 65 eqn 354 --> var 185 eqn 355 --> var 189 eqn 356 --> var 5 eqn 357 --> var 6 eqn 358 --> var 210 eqn 359 --> var 319 eqn 360 --> var 320