Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|con.opeMod|eneConEngTem.mFue_flow|eneConTimDel.mFue_flow|eneConEngTem.QGen_flow|eneConTimDel.QGen_flow|eneConEngTem.PEleNet|eneConTimDel.PEleNet|PEle.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.opeMod|eneConEngTem.mFue_flow|eneConTimDel.mFue_flow|eneConEngTem.QGen_flow|eneConTimDel.QGen_flow|eneConEngTem.PEleNet|eneConTimDel.PEleNet|PEle.y",fileNamePrefix="Buildings_latest_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.001083/0.001083, allocations: 105 kB / 16.42 MB, free: 6.523 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.001056/0.001056, allocations: 192.3 kB / 17.36 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.128/1.128, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.178/2.178, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.252e-05, allocations: 6.219 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.008652/0.008672, allocations: 8.873 MB / 1.063 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005936/0.01462, allocations: 4.502 MB / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007755/0.01541, allocations: 47.81 kB / 1.068 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.01698, allocations: 0.8288 MB / 1.069 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.01807, allocations: 0.6285 MB / 1.069 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.02035, allocations: 1.463 MB / 1.071 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002693/0.02305, allocations: 3.567 MB / 1.074 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.02537, allocations: 2.414 MB / 1.076 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4163/0.4417, allocations: 1.312 MB / 1.078 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.4435, allocations: 1.345 MB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005972/0.4441, allocations: 320.9 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.4452, allocations: 0.7067 MB / 1.08 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001774/0.447, allocations: 4.296 MB / 1.084 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0009553/0.4479, allocations: 2.772 MB / 1.087 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000506/0.4484, allocations: 429.3 kB / 1.087 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0005655/0.449, allocations: 220.9 kB / 1.088 GB, free: 10.48 MB / 0.8419 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.01/0.459, allocations: 14.45 MB / 1.102 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.001327/0.4604, allocations: 1.943 MB / 1.104 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.01024/0.4706, allocations: 11.01 MB / 1.114 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simplify1: time 0.0007826/0.4714, allocations: 0.679 MB / 1.115 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of Alias: time 0.01636/0.4878, allocations: 14.96 MB / 1.13 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of simplify2: time 0.001022/0.4888, allocations: 0.5332 MB / 1.13 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of Events: time 0.002471/0.4913, allocations: 2.277 MB / 1.132 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of Detect States: time 0.002343/0.4937, allocations: 2.596 MB / 1.135 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of Partitioning: time 0.002638/0.4963, allocations: 2.574 MB / 1.137 GB, free: 12.44 MB / 0.8731 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (312/339) ********************************* (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 discrete Real PEle.b (9) [ALGB] (1) protected flow Real con.warUp.outerStatePort.subgraphStatePort.activeSteps (10) [DISC] (1) protected discrete 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_6 (60) [DISC] (2) Boolean[2] con.cooDow.inPort.occupied (61) [DISC] (1) Boolean $TEV_5 (62) [DISC] (1) Boolean $TEV_4 (63) [DISC] (1) Boolean $TEV_3 (64) [DISC] (1) Boolean $TEV_2 (65) [DISC] (1) Boolean $TEV_1 (66) [DISC] (1) Boolean $TEV_0 (67) [ALGB] (1) protected Real con.sub1.y (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) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.sub2.y (72) [DISC] (1) protected Boolean con.cooDow.newActive (73) [ALGB] (1) protected Real eneConEngTem.opeModBas.etaE.eta (74) [DISC] (1) protected Boolean con.transition5.inPort.available (75) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.unlFueFloWarUp.y (76) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.smoothMax.y (77) [DISC] (1) protected Boolean con.transition3.outPort.occupied (78) [DISC] (2) Boolean[2] con.cooDow.outPort.reset (79) [DISC] (3) protected Boolean[3] con.plaOff.inPort.set (80) [DISC] (1) protected Integer stateGraphRoot.activeSteps (81) [DISC] (1) protected Boolean con.transition10.outPort.occupied (82) [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 (83) [ALGB] (1) protected Real con.transition4.t (84) [DISC] (2) Boolean[2] $SEV_55[$i1] (85) [DISC] (1) protected Boolean con.warUpCtr.hysPow.y (86) [DISC] (1) protected Boolean con.hys.y (87) [DISS] (1) protected discrete Real avaSig.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (88) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.heaGro.y (89) [DISC] (1) protected Boolean con.pumOn.outerStatePort.localActive = con.pumOn.outerStatePort.localActive (90) [DISC] (2) Boolean[2] con.warUp.outPort.available (91) [DISS] (1) protected Boolean con.timer.passed (92) [DISS] (1) protected Boolean con.staBy.oldActive (93) [DISS] (1) protected discrete Real runSig.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (94) [DISC] (1) protected final Boolean con.transition3.localCondition = con.transition3.localCondition (95) [DISC] (1) Boolean $SEV_80 (96) [DISC] (2) Boolean[2] con.staBy.outPort.available (97) [ALGB] (1) protected Real eneConEngTem.switch5.y (98) [DISC] (1) protected Boolean con.cooDow.outerStatePort.localActive = con.cooDow.outerStatePort.localActive (99) [ALGB] (1) Real eneConEngTem.PEle (100) [DISC] (1) Boolean $SEV_79 (101) [DISC] (1) Boolean $SEV_78 (102) [DISC] (1) Boolean $SEV_77 (103) [DISC] (1) protected Boolean con.transition7.outPort.occupied (104) [DISC] (1) Boolean $SEV_76 (105) [DISC] (1) Boolean $SEV_75 (106) [DISC] (1) Boolean $SEV_74 (107) [DISC] (1) Boolean $SEV_73 (108) [DISC] (1) Boolean $SEV_72 (109) [ALGB] (1) Real runSig.realToBoolean.u (110) [DISC] (1) Boolean $SEV_71 (111) [DISC] (1) Boolean $SEV_70 (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) [DISC] (1) Boolean $SEV_69 (123) [DISC] (1) Boolean $SEV_68 (124) [DISS] (1) protected discrete Real mWat_flow.tab.nextTimeEvent (fixed = true, start = 0.0) (125) [DISC] (2) Boolean[2] $SEV_53[$i1] (126) [DISC] (1) Boolean $SEV_67 (127) [ALGB] (1) protected Real eneConEngTem.switch4.y (128) [DISC] (1) Boolean $SEV_66 (129) [DISC] (1) Boolean $SEV_65 (130) [DISC] (1) Boolean $SEV_64 (131) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.maxFueFlo.u (132) [DISC] (1) Boolean $SEV_63 (133) [DISC] (1) protected Boolean con.transition1.outPort.set (134) [DISC] (1) Boolean $SEV_62 (135) [DISC] (1) Boolean $SEV_61 (136) [DISS] (1) protected discrete Real mWat_flow.tab.nextTimeEventScaled (fixed = true, start = 0.0) (137) [DISC] (1) Boolean $SEV_60 (138) [DISC] (2) Boolean[2] con.cooDow.inPort.set (139) [DISC] (1) protected Boolean con.transition9.outPort.set (140) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.maxFueFlo.y (141) [DISC] (1) protected Boolean con.assWatMas.nand.y (142) [ALGB] (1) Real con.TEng (143) [ALGB] (1) protected flow Real con.nor.outerStatePort.subgraphStatePort.activeSteps (144) [DISC] (2) Boolean[2] con.warUp.inPort.occupied (145) [ALGB] (1) protected Real eneConTimDel.opeModBas.groHea.u1 (146) [DISC] (1) protected Boolean con.transition3.outPort.set (147) [DISC] (1) protected Boolean con.transition7.outPort.set (148) [ALGB] (1) protected Real con.transition4.t_dummy (149) [DISC] (1) Boolean $SEV_59 (150) [DISC] (1) Boolean $SEV_58 (151) [ALGB] (1) Real eneConEngTem.mFue_flow (152) [DISC] (1) Boolean $SEV_57 (153) [DISC] (1) Boolean $SEV_56 (154) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.smoothMax.u1 (155) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.smoothMax2.y (156) [DISC] (1) Boolean $SEV_54 (157) [ALGB] (1) protected Real eneConEngTem.opeModBas.etaQ.y (158) [DISC] (1) Boolean $SEV_52 (159) [DISC] (1) protected Boolean eneConEngTem.assFue.hys.y (160) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.etaQ.eta (161) [DISC] (3) Boolean[3] $SEV_24[$i1] (162) [DISC] (1) protected Boolean con.pumOn.newActive (163) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.add2.y (164) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.division1.y (165) [DISC] (1) protected Boolean con.transition8.inPort.available (166) [DISC] (1) Boolean $SEV_49 (167) [ALGB] (1) protected Real eneConTimDel.switch5.u3 (168) [DISC] (1) protected Boolean con.warUpCtr.hysTem.y (169) [DISC] (1) Boolean $SEV_45 (170) [DISC] (1) protected Boolean eneConEngTem.and1.u1 (171) [DISC] (1) Boolean $SEV_44 (172) [DISC] (1) Boolean $SEV_43 (173) [DISC] (1) Boolean $SEV_42 (174) [DISC] (1) Boolean $SEV_41 (175) [DISC] (1) Boolean $SEV_40 (176) [ALGB] (1) protected flow Real stateGraphRoot.subgraphStatePort.activeSteps (177) [DISC] (1) protected Boolean con.transition6.outPort.occupied (178) [ALGB] (1) protected Real eneConTimDel.switch4.u3 (179) [DISC] (1) protected Boolean con.transition2.inPort.available (180) [DISC] (1) protected final Boolean con.transition7.localCondition = con.transition7.localCondition (181) [ALGB] (1) protected Real eneConEngTem.opeModBas.etaE.y (182) [DISC] (1) Boolean $FUN_9 (183) [DISC] (1) Boolean $TEV_52 (184) [DISC] (1) Boolean $FUN_8 (185) [DISC] (1) Boolean $TEV_51 (186) [DISC] (1) protected Boolean con.warUp.newActive (187) [DISC] (1) Boolean $FUN_7 (188) [DISC] (1) Boolean $TEV_50 (189) [ALGB] (1) Real $FUN_6 (190) [DISC] (2) Boolean[2] $SEV_51[$i1] (191) [DISC] (1) protected Boolean[1] con.nor.inPort.set (192) [DISC] (1) protected Boolean eneConTimDel.switch3.u2 (193) [DISS] (1) protected Boolean con.cooDow.oldActive (194) [ALGB] (1) protected Real eneConTimDel.switch3.u3 (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 con.warUpCtr.sub.y (211) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.etaE.eta (212) [DISC] (1) Boolean $TEV_49 (213) [DISC] (1) protected Boolean con.transition2.outPort.set (214) [DISC] (1) Boolean $TEV_48 (215) [ALGB] (1) protected Real eneConEngTem.assFue.abs1.y (216) [DISC] (1) Boolean $TEV_47 (217) [DISC] (1) Boolean $TEV_46 (218) [DISC] (1) Boolean $TEV_45 (219) [DISC] (1) protected Boolean con.transition8.outPort.set (220) [DISC] (1) Boolean $TEV_44 (221) [ALGB] (1) protected Real eneConEngTem.assFue.abs1.u (222) [ALGB] (1) Real $FUN_19 (223) [DISC] (1) Boolean $TEV_43 (224) [DISC] (1) Boolean $FUN_18 (225) [DISC] (1) Boolean $TEV_42 (226) [DISC] (1) Boolean $FUN_17 (227) [ALGB] (1) protected flow Real con.plaOff.outerStatePort.subgraphStatePort.activeSteps (228) [DISC] (1) Boolean $TEV_41 (229) [DISC] (1) Boolean $FUN_16 (230) [DISC] (1) Boolean $TEV_40 (231) [DISC] (1) Boolean $FUN_15 (232) [DISC] (1) Boolean $FUN_14 (233) [DISC] (1) Boolean $FUN_13 (234) [DISC] (1) Boolean $FUN_12 (235) [DISC] (1) Boolean $FUN_11 (236) [DISC] (1) Boolean $FUN_10 (237) [DISC] (1) protected Boolean con.transition4.outPort.set (238) [DISC] (2) Boolean[2] $SEV_50[$i1] (239) [DISC] (2) Boolean[2] con.pumOn.outPort.available (240) [DISC] (1) Boolean $SEV_29 (241) [DISC] (1) protected Boolean con.transition6.outPort.set (242) [DISC] (1) Boolean $SEV_28 (243) [DISC] (1) Boolean $SEV_27 (244) [DISC] (1) Boolean $SEV_26 (245) [DISC] (1) Boolean $SEV_25 (246) [DISC] (1) protected Boolean con.staBy.outerStatePort.localActive = con.staBy.outerStatePort.localActive (247) [DISC] (1) Boolean $SEV_22 (248) [DISC] (1) Boolean $SEV_21 (249) [DISC] (1) Boolean $SEV_20 (250) [ALGB] (1) protected Real con.assWatMas.hys.u (251) [DISC] (1) Boolean $TEV_39 (252) [DISC] (1) Boolean $TEV_38 (253) [DISC] (1) Boolean $TEV_37 (254) [DISC] (1) Boolean $TEV_36 (255) [DISC] (1) Boolean $TEV_35 (256) [DISC] (1) Boolean $TEV_34 (257) [DISC] (1) Boolean $TEV_33 (258) [DISC] (1) Boolean $TEV_32 (259) [ALGB] (1) Real[1] avaSig.combiTimeTable.y (260) [DISC] (1) Boolean $TEV_31 (261) [ALGB] (1) Real avaSig.realToBoolean.u (262) [DISC] (1) protected Boolean con.staBy.newActive (263) [ALGB] (1) Real eneConTimDel.mWat_flow (264) [DISC] (1) Boolean[1] con.pumOn.inPort.occupied (265) [DISC] (2) Boolean[2] $SEV_48[$i1] (266) [DISC] (1) protected Boolean con.transition9.inPort.available (267) [ALGB] (1) protected Real eneConTimDel.assFue.abs1.u (268) [DISC] (1) Boolean $SEV_19 (269) [DISC] (1) Boolean $SEV_18 (270) [DISC] (1) Boolean $SEV_16 (271) [ALGB] (1) protected Real eneConTimDel.assFue.abs1.y (272) [DISC] (1) Boolean $SEV_15 (273) [DISC] (1) protected Boolean con.transition2.outPort.occupied (274) [DER-] (1) Real $DER.eneConTimDel.assFue.floChaRat.x (275) [DISC] (1) Boolean $TEV_29 (276) [DISC] (1) protected Boolean con.transition4.inPort.available (277) [DISC] (1) Boolean $TEV_27 (278) [DISC] (1) Boolean $TEV_25 (279) [DISC] (1) protected Boolean con.transition4.outPort.occupied (280) [DISC] (1) Boolean $TEV_23 (281) [DISC] (1) Boolean $TEV_21 (282) [DISC] (1) Boolean $TEV_20 (283) [DISC] (1) protected Boolean con.transition3.inPort.available (284) [DISC] (1) protected Boolean con.transition8.outPort.occupied (285) [DISS] (1) protected discrete Real con.timer.entryTime (286) [ALGB] (1) protected Real con.timer.y (287) [DISC] (1) protected final Boolean con.transition5.localCondition = con.transition5.localCondition (288) [ALGB] (1) protected Real eneConTimDel.opeModBas.heaGen.u1 (289) [DISC] (2) Boolean[2] con.cooDow.outPort.available (290) [DISC] (1) protected Boolean con.transition10.outPort.set (291) [DISC] (1) protected enumeration Buildings.Fluid.CHPs.BaseClasses.Types.Mode(Off, StandBy, PumpOn, WarmUp, Normal, CoolDown) con.actMod (292) [ALGB] (1) protected Real eneConTimDel.opeModBas.etaE.y (293) [DISC] (1) protected final Boolean con.transition6.localCondition = con.transition6.localCondition (294) [ALGB] (1) Real con.PEleNet (295) [DISC] (2) Boolean[2] $SEV_47[$i1] (296) [DISS] (1) protected discrete Real runSig.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (297) [ALGB] (1) protected Real eneConEngTem.opeModWarUpEngTem.etaE.y (298) [DISC] (1) Boolean $TEV_18 (299) [DISC] (1) Boolean $TEV_16 (300) [DISS] (1) protected Boolean con.nor.oldActive (301) [DISC] (1) Boolean $TEV_15 (302) [DISC] (1) Boolean $TEV_14 (303) [DISC] (1) Boolean $TEV_13 (304) [DISC] (1) protected Boolean[1] con.plaOff.outPort.available (305) [DISC] (1) Boolean $TEV_11 (306) [DISC] (1) Boolean $TEV_10 (307) [DISC] (1) protected Boolean con.warUpCtr.or2.y (308) [DISC] (2) Boolean[2] con.warUp.outPort.reset (309) [ALGB] (1) protected Real eneConTimDel.switch5.y (310) [ALGB] (1) protected Real con.warUpCtr.sub1.y (311) [DISC] (1) protected Boolean con.transition5.outPort.set (312) [ALGB] (1) protected flow Real con.cooDow.outerStatePort.subgraphStatePort.activeSteps system eqns Equations (328/359) ********************************* (1) [SCAL] (1) con.nor.outPort[1].available = con.transition8.inPort.available ($RES_SIM_429) (2) [SCAL] (1) con.staBy.outerStatePort.subgraphStatePort.activeSteps = if con.staBy.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_254) (3) [SCAL] (1) $SEV_30 = (con.transition9.localCondition and con.transition8.inPort.available) and not con.transition8.outPort.occupied ($RES_EVT_725) (4) [SCAL] (1) mWat_flow.tab.y[1] = mWat_flow.tab.p_offset[1] + $FUN_6 ($RES_SIM_255) (5) [SCAL] (1) $SEV_31 = $FUN_15 or con.nor.outerStatePort.localActive and not $FUN_16 ($RES_EVT_726) (6) [WHEN] (1)when {$SEV_57, initial()} then (6) [----] mWat_flow.tab.nextTimeEvent := if mWat_flow.tab.nextTimeEventScaled < 1e60 then mWat_flow.tab.nextTimeEventScaled else 1e60 (6) [----] end when; (7) [SCAL] (1) $SEV_32 = (not con.transition5.localCondition and con.transition2.inPort.available) and not con.transition2.outPort.occupied ($RES_EVT_727) (8) [WHEN] (1)when {$SEV_57, initial()} then (8) [----] mWat_flow.tab.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(mWat_flow.tab.tableID, time) (8) [----] end when; (9) [SCAL] (1) $SEV_33 = (not con.transition3.localCondition and con.transition1.inPort.available) and not con.transition1.outPort.occupied ($RES_EVT_728) (10) [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_729) (11) [SCAL] (1) mWat_flow.y[1] = eneConEngTem.opeModBas.etaE.mWat_flow ($RES_SIM_342) (12) [SCAL] (1) mWat_flow.y[1] = con.assWatMas.hys.u ($RES_SIM_343) (13) [SCAL] (1) mWat_flow.y[1] = eneConTimDel.mWat_flow ($RES_SIM_344) (14) [SCAL] (1) con.transition7.outPort.set = $SEV_39 ($RES_SIM_172) (15) [SCAL] (1) $TEV_0 = $PRE.con.timer.passed ($RES_EVT_644) (16) [SCAL] (1) $TEV_1 = $PRE.con.timer.entryTime ($RES_EVT_645) (17) [SCAL] (1) $TEV_2 = $PRE.con.transition4.enableFire ($RES_EVT_646) (18) [SCAL] (1) $TEV_3 = $PRE.con.plaOff.oldActive ($RES_EVT_647) (19) [SCAL] (1) $TEV_4 = $PRE.con.plaOff.outerStatePort.localActive ($RES_EVT_648) (20) [SCAL] (1) $TEV_5 = $PRE.con.plaOff.newActive ($RES_EVT_649) (21) [SCAL] (1) con.transition9.outPort.set = $SEV_40 ($RES_SIM_179) (22) [SCAL] (1) $SEV_35 = not con.transition5.localCondition and not con.assWatMas.not1.u ($RES_EVT_730) (23) [SCAL] (1) eneConTimDel.switch3.u2 = false ($RES_SIM_260) (24) [SCAL] (1) $SEV_36 = con.timer.passed and con.transition9.localCondition ($RES_EVT_731) (25) [SCAL] (1) $SEV_37 = (con.transition10.localCondition and con.transition10.inPort.available) and not con.transition10.outPort.occupied ($RES_EVT_732) (26) [SCAL] (1) $SEV_38 = con.optCooDow.k and not con.transition9.localCondition ($RES_EVT_733) (27) [SCAL] (1) $SEV_39 = (con.transition7.localCondition and con.transition7.inPort.available) and not con.transition7.outPort.occupied ($RES_EVT_734) (28) [SCAL] (1) eneConTimDel.switch5.y = smooth(0, if eneConTimDel.switch3.u2 then eneConTimDel.dumTimDel.k else eneConTimDel.switch5.u3) ($RES_SIM_264) (29) [SCAL] (1) $SEV_40 = (con.transition9.localCondition and con.transition9.inPort.available) and not con.transition9.outPort.occupied ($RES_EVT_735) (30) [SCAL] (1) eneConTimDel.switch4.y = smooth(0, if eneConTimDel.switch3.u2 then eneConTimDel.dumTimDel.k else eneConTimDel.switch4.u3) ($RES_SIM_265) (31) [SCAL] (1) $SEV_41 = (con.transition5.localCondition and con.transition5.inPort.available) and not con.transition5.outPort.occupied ($RES_EVT_736) (32) [SCAL] (1) eneConTimDel.mFue_flow = smooth(0, if eneConTimDel.switch3.u2 then eneConTimDel.dumTimDel.k else eneConTimDel.switch3.u3) ($RES_SIM_266) (33) [SCAL] (1) $SEV_42 = (con.transition3.localCondition and con.transition3.inPort.available) and not con.transition3.outPort.occupied ($RES_EVT_737) (34) [SCAL] (1) eneConTimDel.switch2.y = smooth(0, if eneConTimDel.and1.u1 then eneConTimDel.PEleTimeDel.k else eneConTimDel.opeModBas.groHea.u1) ($RES_SIM_267) (35) [SCAL] (1) $SEV_43 = not con.transition9.localCondition and con.and1.u2 ($RES_EVT_738) (36) [SCAL] (1) eneConTimDel.opeModBas.groHea.u1 = smooth(0, if eneConTimDel.booExp.y then eneConEngTem.PEle else eneConTimDel.const.k) ($RES_SIM_268) (37) [SCAL] (1) $SEV_44 = con.hys.y and not con.transition5.localCondition ($RES_EVT_739) (38) [SCAL] (1) avaSig.combiTimeTable.y[1] = avaSig.realToBoolean.u ($RES_SIM_354) (39) [SCAL] (1) $TEV_6 = $PRE.con.transition6.outPort.set ($RES_EVT_650) (40) [SCAL] (1) runSig.combiTimeTable.y[1] = runSig.realToBoolean.u ($RES_SIM_356) (41) [SCAL] (1) $TEV_8 = $PRE.con.warUpCtr.or2.y ($RES_EVT_652) (42) [SCAL] (1) $TEV_9 = $PRE.con.warUpCtr.hysPow.y ($RES_EVT_653) (43) [SCAL] (1) $TEV_10 = $PRE.con.warUpCtr.hysTem.y ($RES_EVT_654) (44) [SCAL] (1) $TEV_11 = $PRE.con.transition8.outPort.set ($RES_EVT_655) (45) [SCAL] (1) con.transition5.outPort.set = $SEV_41 ($RES_SIM_186) (46) [SCAL] (1) $TEV_13 = $PRE.con.nor.oldActive ($RES_EVT_657) (47) [SCAL] (1) $TEV_14 = $PRE.con.nor.outerStatePort.localActive ($RES_EVT_658) (48) [SCAL] (1) $TEV_15 = $PRE.con.nor.newActive ($RES_EVT_659) (49) [SCAL] (1) $SEV_45 = not $PRE.con.hys.y and con.sub1.y > con.hys.uHigh or $PRE.con.hys.y and con.sub1.y >= con.hys.uLow ($RES_EVT_740) (50) [SCAL] (1) eneConTimDel.switch3.u3 = eneConTimDel.opeModBas.masFloFue.k * eneConTimDel.opeModBas.heaGen.u1 ($RES_SIM_270) (51) [FOR-] (2) ($RES_EVT_741) (51) [----] for $i1 in 1:2 loop (51) [----] [SCAL] (1) $SEV_46[$i1] = $i1 == 1 ($RES_EVT_742) (51) [----] end for; (52) [SCAL] (1) eneConTimDel.switch5.u3 = eneConTimDel.opeModBas.heaGen.u1 * eneConTimDel.opeModBas.etaQ.eta ($RES_SIM_272) (53) [FOR-] (2) ($RES_EVT_743) (53) [----] for $i1 in 1:2 loop (53) [----] [SCAL] (1) $SEV_47[$i1] = con.cooDow.outPort[$i1 - 1].available and not con.cooDow.outPort[$i1 - 1].reset ($RES_EVT_744) (53) [----] end for; (54) [SCAL] (1) eneConTimDel.opeModBas.heaGen.u1 = eneConTimDel.opeModBas.groHea.u1 / eneConTimDel.opeModBas.etaE.eta ($RES_SIM_273) (55) [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_274) (56) [FOR-] (2) ($RES_EVT_745) (56) [----] for $i1 in 1:2 loop (56) [----] [SCAL] (1) $SEV_48[$i1] = con.cooDow.inPort[$i1 - 1].occupied or con.cooDow.inPort[$i1 - 1].set ($RES_EVT_746) (56) [----] end for; (57) [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_275) (58) [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_276) (59) [SCAL] (1) $SEV_49 = $FUN_13 or con.cooDow.outerStatePort.localActive and not $FUN_14 ($RES_EVT_747) (60) [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_277) (61) [FOR-] (2) ($RES_EVT_748) (61) [----] for $i1 in 1:2 loop (61) [----] [SCAL] (1) $SEV_50[$i1] = con.warUp.outPort[$i1 - 1].available and not con.warUp.outPort[$i1 - 1].reset ($RES_EVT_749) (61) [----] end for; (62) [SCAL] (1) eneConTimDel.assFue.abs1.u = (eneConTimDel.assFue.floChaRat.k / eneConTimDel.assFue.floChaRat.T) * (eneConTimDel.mFue_flow - eneConTimDel.assFue.floChaRat.x) ($RES_SIM_279) (63) [SCAL] (1) $TEV_16 = $PRE.con.transition2.outPort.set ($RES_EVT_660) (64) [SCAL] (1) con.cooDow.outPort[2].reset = con.transition7.outPort.set ($RES_SIM_366) (65) [SCAL] (1) $TEV_18 = $PRE.con.transition1.outPort.set ($RES_EVT_662) (66) [SCAL] (1) con.cooDow.outPort[2].available = con.transition7.inPort.available ($RES_SIM_367) (67) [SCAL] (1) con.transition3.outPort.set = $SEV_42 ($RES_SIM_193) (68) [SCAL] (1) con.cooDow.outPort[1].reset = con.transition10.outPort.set ($RES_SIM_368) (69) [SCAL] (1) $TEV_20 = $PRE.con.assWatMas.not1.u ($RES_EVT_664) (70) [SCAL] (1) con.cooDow.outPort[1].available = con.transition10.inPort.available ($RES_SIM_369) (71) [SCAL] (1) $TEV_21 = $PRE.con.transition10.outPort.set ($RES_EVT_665) (72) [SCAL] (1) $TEV_23 = $PRE.con.transition7.outPort.set ($RES_EVT_667) (73) [SCAL] (1) con.transition6.localCondition = $SEV_43 ($RES_SIM_198) (74) [SCAL] (1) $TEV_25 = $PRE.con.transition9.outPort.set ($RES_EVT_669) (75) [FOR-] (2) ($RES_EVT_750) (75) [----] for $i1 in 1:2 loop (75) [----] [SCAL] (1) $SEV_51[$i1] = con.warUp.inPort[$i1 - 1].occupied or con.warUp.inPort[$i1 - 1].set ($RES_EVT_751) (75) [----] end for; (76) [SCAL] (1) $DER.eneConTimDel.assFue.floChaRat.x = (eneConTimDel.mFue_flow - eneConTimDel.assFue.floChaRat.x) / eneConTimDel.assFue.floChaRat.T ($RES_SIM_280) (77) [SCAL] (1) $SEV_52 = $FUN_11 or con.warUp.outerStatePort.localActive and not $FUN_12 ($RES_EVT_752) (78) [SCAL] (1) eneConTimDel.assFue.hys.y = $SEV_62 ($RES_SIM_281) (79) [FOR-] (2) ($RES_EVT_753) (79) [----] for $i1 in 1:2 loop (79) [----] [SCAL] (1) $SEV_53[$i1] = con.pumOn.outPort[$i1 - 1].available and not con.pumOn.outPort[$i1 - 1].reset ($RES_EVT_754) (79) [----] end for; (80) [SCAL] (1) $SEV_54 = $FUN_9 or con.pumOn.outerStatePort.localActive and not $FUN_10 ($RES_EVT_755) (81) [SCAL] (1) eneConEngTem.switch3.u2 = eneConEngTem.and1.u1 ($RES_SIM_284) (82) [FOR-] (2) ($RES_EVT_756) (82) [----] for $i1 in 1:2 loop (82) [----] [SCAL] (1) $SEV_55[$i1] = con.staBy.outPort[$i1 - 1].available and not con.staBy.outPort[$i1 - 1].reset ($RES_EVT_757) (82) [----] end for; (83) [SCAL] (1) $SEV_56 = $FUN_7 or con.staBy.outerStatePort.localActive and not $FUN_8 ($RES_EVT_758) (84) [SCAL] (1) eneConEngTem.switch5.y = smooth(0, if eneConEngTem.switch3.u2 then eneConEngTem.switch5.u1 else eneConEngTem.switch5.u3) ($RES_SIM_287) (85) [SCAL] (1) $SEV_57 = time >= $PRE.mWat_flow.tab.nextTimeEvent ($RES_EVT_759) (86) [SCAL] (1) eneConEngTem.switch4.y = smooth(0, if eneConEngTem.switch3.u2 then eneConEngTem.switch4.u1 else eneConEngTem.switch4.u3) ($RES_SIM_288) (87) [SCAL] (1) eneConEngTem.mFue_flow = smooth(0, if eneConEngTem.switch3.u2 then eneConEngTem.switch3.u1 else eneConEngTem.switch3.u3) ($RES_SIM_289) (88) [SCAL] (1) con.transition9.outPort.set = con.cooDow.inPort[2].set ($RES_SIM_370) (89) [SCAL] (1) con.transition9.outPort.occupied = con.cooDow.inPort[2].occupied ($RES_SIM_371) (90) [SCAL] (1) con.transition8.outPort.set = con.cooDow.inPort[1].set ($RES_SIM_372) (91) [SCAL] (1) con.transition8.outPort.occupied = con.cooDow.inPort[1].occupied ($RES_SIM_373) (92) [SCAL] (1) con.transition7.outPort.set = con.warUp.inPort[2].set ($RES_SIM_374) (93) [SCAL] (1) con.transition7.outPort.occupied = con.warUp.inPort[2].occupied ($RES_SIM_375) (94) [SCAL] (1) $TEV_27 = $PRE.con.transition5.outPort.set ($RES_EVT_671) (95) [SCAL] (1) con.transition4.outPort.set = con.warUp.inPort[1].set ($RES_SIM_376) (96) [SCAL] (1) con.transition4.outPort.occupied = con.warUp.inPort[1].occupied ($RES_SIM_377) (97) [SCAL] (1) $TEV_29 = $PRE.con.transition3.outPort.set ($RES_EVT_673) (98) [SCAL] (1) $TEV_31 = $PRE.con.hys.y ($RES_EVT_675) (99) [SCAL] (1) $TEV_32 = $PRE.con.cooDow.oldActive ($RES_EVT_676) (100) [SCAL] (1) $TEV_33 = $PRE.con.cooDow.outerStatePort.localActive ($RES_EVT_677) (101) [SCAL] (1) $TEV_34 = $PRE.con.cooDow.newActive ($RES_EVT_678) (102) [SCAL] (1) $TEV_35 = $PRE.con.warUp.oldActive ($RES_EVT_679) (103) [ARRY] (1) mWat_flow.tab.y = mWat_flow.y ($RES_SIM_463) (104) [SCAL] (1) $SEV_58 = (-0.01) + eneConTimDel.opeModBas.etaQ.y > 0.005 ($RES_EVT_760) (105) [SCAL] (1) $SEV_59 = (-0.01) + eneConTimDel.opeModBas.etaQ.y < (-0.005) ($RES_EVT_761) (106) [SCAL] (1) con.PEleNet = smooth(0, if eneConEngTem.and1.u1 then eneConEngTem.switch2.u1 else eneConEngTem.opeModBas.groHea.u1) ($RES_SIM_290) (107) [SCAL] (1) $SEV_60 = (-0.01) + eneConTimDel.opeModBas.etaE.y > 0.005 ($RES_EVT_762) (108) [SCAL] (1) eneConEngTem.opeModBas.groHea.u1 = smooth(0, if eneConEngTem.booExp.y then eneConEngTem.PEle else eneConEngTem.const.k) ($RES_SIM_291) (109) [SCAL] (1) $SEV_61 = (-0.01) + eneConTimDel.opeModBas.etaE.y < (-0.005) ($RES_EVT_763) (110) [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_764) (111) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.sub2.y = con.TEng - TRoo.k ($RES_SIM_293) (112) [SCAL] (1) $SEV_63 = (-0.01) + eneConEngTem.opeModWarUpEngTem.etaQ.y > 0.005 ($RES_EVT_765) (113) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.heaGro.y = eneConEngTem.opeModWarUpEngTem.heaGro.k * eneConEngTem.switch3.u1 ($RES_SIM_294) (114) [SCAL] (1) $SEV_64 = (-0.01) + eneConEngTem.opeModWarUpEngTem.etaQ.y < (-0.005) ($RES_EVT_766) (115) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.maxFueFlo.u = eneConEngTem.opeModWarUpEngTem.masFloFue.k * eneConEngTem.opeModWarUpEngTem.QGroMax.y ($RES_SIM_295) (116) [SCAL] (1) $SEV_65 = (-0.01) + eneConEngTem.opeModWarUpEngTem.etaE.y > 0.005 ($RES_EVT_767) (117) [SCAL] (1) $SEV_66 = (-0.01) + eneConEngTem.opeModWarUpEngTem.etaE.y < (-0.005) ($RES_EVT_768) (118) [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_769) (119) [SCAL] (1) eneConEngTem.switch2.u1 = eneConEngTem.opeModWarUpEngTem.PEleMax.k * eneConEngTem.opeModWarUpEngTem.division1.y ($RES_SIM_299) (120) [SCAL] (1) con.warUp.outPort[2].reset = con.transition9.outPort.set ($RES_SIM_380) (121) [SCAL] (1) con.warUp.outPort[2].available = con.transition9.inPort.available ($RES_SIM_381) (122) [SCAL] (1) con.warUp.outPort[1].reset = con.transition6.outPort.set ($RES_SIM_382) (123) [SCAL] (1) con.warUp.outPort[1].available = con.transition6.inPort.available ($RES_SIM_383) (124) [SCAL] (1) con.pumOn.outPort[2].reset = con.transition5.outPort.set ($RES_SIM_384) (125) [SCAL] (1) $TEV_36 = $PRE.con.warUp.outerStatePort.localActive ($RES_EVT_680) (126) [SCAL] (1) con.pumOn.outPort[2].available = con.transition5.inPort.available ($RES_SIM_385) (127) [SCAL] (1) $TEV_37 = $PRE.con.warUp.newActive ($RES_EVT_681) (128) [SCAL] (1) con.pumOn.outPort[1].reset = con.transition4.outPort.set ($RES_SIM_386) (129) [SCAL] (1) $TEV_38 = $PRE.con.pumOn.oldActive ($RES_EVT_682) (130) [SCAL] (1) con.pumOn.outPort[1].available = con.transition4.inPort.available ($RES_SIM_387) (131) [SCAL] (1) $TEV_39 = $PRE.con.pumOn.outerStatePort.localActive ($RES_EVT_683) (132) [SCAL] (1) con.transition2.outPort.set = con.pumOn.inPort[1].set ($RES_SIM_388) (133) [SCAL] (1) $TEV_40 = $PRE.con.pumOn.newActive ($RES_EVT_684) (134) [SCAL] (1) con.transition2.outPort.occupied = con.pumOn.inPort[1].occupied ($RES_SIM_389) (135) [SCAL] (1) $TEV_41 = $PRE.con.staBy.oldActive ($RES_EVT_685) (136) [SCAL] (1) $TEV_42 = $PRE.con.staBy.outerStatePort.localActive ($RES_EVT_686) (137) [SCAL] (1) $TEV_43 = $PRE.con.staBy.newActive ($RES_EVT_687) (138) [SCAL] (1) $TEV_44 = $PRE.eneConTimDel.assFue.hys.y ($RES_EVT_688) (139) [SCAL] (1) $TEV_45 = $PRE.eneConEngTem.opeModWarUpEngTem.temChe.y ($RES_EVT_689) (140) [SCAL] (1) $SEV_68 = eneConEngTem.opeModWarUpEngTem.sub2.y - eneConEngTem.opeModWarUpEngTem.min2.k > eneConEngTem.opeModWarUpEngTem.smoothMax2.deltaX ($RES_EVT_770) (141) [SCAL] (1) $SEV_69 = eneConEngTem.opeModWarUpEngTem.sub2.y - eneConEngTem.opeModWarUpEngTem.min2.k < (-eneConEngTem.opeModWarUpEngTem.smoothMax2.deltaX) ($RES_EVT_771) (142) [SCAL] (1) $SEV_70 = eneConEngTem.opeModWarUpEngTem.smoothMax2.deltaX > 0.0 ($RES_EVT_772) (143) [SCAL] (1) $SEV_71 = eneConEngTem.opeModWarUpEngTem.smoothMax.u1 - eneConEngTem.opeModWarUpEngTem.min1.k > eneConEngTem.opeModWarUpEngTem.smoothMax.deltaX ($RES_EVT_773) (144) [SCAL] (1) $SEV_72 = eneConEngTem.opeModWarUpEngTem.smoothMax.u1 - eneConEngTem.opeModWarUpEngTem.min1.k < (-eneConEngTem.opeModWarUpEngTem.smoothMax.deltaX) ($RES_EVT_774) (145) [SCAL] (1) $SEV_73 = eneConEngTem.opeModWarUpEngTem.smoothMax.deltaX > 0.0 ($RES_EVT_775) (146) [SCAL] (1) $SEV_74 = (-0.01) + eneConEngTem.opeModBas.etaQ.y > 0.005 ($RES_EVT_776) (147) [SCAL] (1) $SEV_75 = (-0.01) + eneConEngTem.opeModBas.etaQ.y < (-0.005) ($RES_EVT_777) (148) [SCAL] (1) $SEV_76 = (-0.01) + eneConEngTem.opeModBas.etaE.y > 0.005 ($RES_EVT_778) (149) [SCAL] (1) $SEV_77 = (-0.01) + eneConEngTem.opeModBas.etaE.y < (-0.005) ($RES_EVT_779) (150) [SCAL] (1) con.staBy.outPort[2].reset = con.transition3.outPort.set ($RES_SIM_390) (151) [SCAL] (1) con.staBy.outPort[2].available = con.transition3.inPort.available ($RES_SIM_391) (152) [SCAL] (1) con.staBy.outPort[1].reset = con.transition2.outPort.set ($RES_SIM_392) (153) [SCAL] (1) con.staBy.outPort[1].available = con.transition2.inPort.available ($RES_SIM_393) (154) [SCAL] (1) con.transition1.outPort.set = con.staBy.inPort[1].set ($RES_SIM_394) (155) [SCAL] (1) $TEV_46 = $PRE.eneConEngTem.assFue.hys.y ($RES_EVT_690) (156) [SCAL] (1) con.transition1.outPort.occupied = con.staBy.inPort[1].occupied ($RES_SIM_395) (157) [SCAL] (1) $TEV_47 = $PRE.PEle.nextEvent ($RES_EVT_691) (158) [SCAL] (1) $TEV_48 = time < TEng.startTime ($RES_EVT_692) (159) [SCAL] (1) con.transition10.outPort.set = con.plaOff.inPort[3].set ($RES_SIM_397) (160) [SCAL] (1) $TEV_49 = time < (TEng.startTime + TEng.duration) ($RES_EVT_693) (161) [SCAL] (1) con.transition10.outPort.occupied = con.plaOff.inPort[3].occupied ($RES_SIM_398) (162) [SCAL] (1) $TEV_50 = $PRE.mWat_flow.tab.nextTimeEventScaled ($RES_EVT_694) (163) [SCAL] (1) con.transition5.outPort.set = con.plaOff.inPort[2].set ($RES_SIM_399) (164) [SCAL] (1) $TEV_51 = $PRE.runSig.combiTimeTable.nextTimeEventScaled ($RES_EVT_695) (165) [SCAL] (1) $TEV_52 = $PRE.avaSig.combiTimeTable.nextTimeEventScaled ($RES_EVT_696) (166) [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_780) (167) [SCAL] (1) $SEV_79 = con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_EVT_781) (168) [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_782) (169) [WHEN] (1)when con.transition4.enableFire then (169) [----] time - con.transition4.t_dummy := time (169) [----] end when; (170) [SCAL] (1) con.plaOff.outPort[1].reset = false ($RES_SIM_102) (171) [FOR-] (3) ($RES_SIM_103) (171) [----] for $i1 in 1:3 loop (171) [----] [SCAL] (1) con.plaOff.inPort[$i1].set = false ($RES_SIM_104) (171) [----] end for; (172) [SCAL] (1) con.plaOff.outPort[1].available = con.plaOff.outerStatePort.localActive ($RES_SIM_105) (173) [FOR-] (3) ($RES_SIM_106) (173) [----] for $i1 in 1:3 loop (173) [----] [SCAL] (1) con.plaOff.inPort[$i1].occupied = if $SEV_23[$i1] then con.plaOff.outerStatePort.localActive else $SEV_24[$i1] ($RES_SIM_107) (173) [----] end for; (174) [WHEN] (1)when false then (174) [----] con.plaOff.oldActive := con.plaOff.outerStatePort.localActive (174) [----] end when; (175) [SCAL] (1) con.plaOff.newActive = $SEV_25 ($RES_SIM_109) (176) [ALGO] (5) ($RES_SIM_60) (176) [----] 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); (176) [----] when {time >= $PRE.PEle.nextEvent, initial()} then (176) [----] (PEle.a, PEle.b, PEle.nextEventScaled, PEle.last) := Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.PEle.getInterpolationCoefficients(PEle.table, PEle.offset, PEle.startTime, time, PEle.last, 1e-13, PEle.shiftTime); (176) [----] PEle.nextEvent := PEle.nextEventScaled; (176) [----] end when; (177) [SCAL] (1) stateGraphRoot.activeSteps = -integer(stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_64) (178) [SCAL] (1) eneConEngTem.PEle = PEle.a * time + PEle.b ($RES_SIM_66) (179) [SCAL] (1) con.TEng = TEng.offset + (if $TEV_48 then 0.0 else if $TEV_49 then (TEng.height * (time - TEng.startTime)) / TEng.duration else TEng.height) ($RES_SIM_69) (180) [SCAL] (1) con.plaOff.outerStatePort.localActive = $TEV_5 ($RES_SIM_110) (181) [SCAL] (1) con.plaOff.outerStatePort.subgraphStatePort.activeSteps = if con.plaOff.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_112) (182) [SCAL] (1) con.transition6.outPort.set = $SEV_26 ($RES_SIM_115) (183) [SCAL] (1) not con.transition3.localCondition = $SEV_15 ($RES_SIM_71) (184) [SCAL] (1) avaSig.combiTimeTable.y[1] = avaSig.combiTimeTable.p_offset[1] + $FUN_20 ($RES_SIM_72) (185) [SCAL] (1) not con.transition9.localCondition = $SEV_44 ($RES_SIM_201) (186) [WHEN] (1)when {$SEV_16, initial()} then (186) [----] avaSig.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(avaSig.combiTimeTable.tableID, time) (186) [----] end when; (187) [SCAL] (1) con.hys.y = $SEV_45 ($RES_SIM_202) (188) [WHEN] (1)when {$SEV_16, initial()} then (188) [----] avaSig.combiTimeTable.nextTimeEvent := if avaSig.combiTimeTable.nextTimeEventScaled < 1e60 then avaSig.combiTimeTable.nextTimeEventScaled else 1e60 (188) [----] end when; (189) [SCAL] (1) con.sub1.y = con.assWatMas.hys.u - con.max.y ($RES_SIM_203) (190) [SCAL] (1) con.max.y = max(con.minWatFlo.k, con.con.k) ($RES_SIM_204) (191) [SCAL] (1) not con.transition5.localCondition = $SEV_18 ($RES_SIM_77) (192) [SCAL] (1) runSig.combiTimeTable.y[1] = runSig.combiTimeTable.p_offset[1] + $FUN_19 ($RES_SIM_78) (193) [WHEN] (1)when {$SEV_19, initial()} then (193) [----] runSig.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(runSig.combiTimeTable.tableID, time) (193) [----] end when; (194) [FOR-] (2) ($RES_SIM_207) (194) [----] for $i1 in 1:2 loop (194) [----] [SCAL] (1) con.cooDow.outPort[$i1].reset = false ($RES_SIM_208) (194) [----] end for; (195) [FOR-] (2) ($RES_SIM_209) (195) [----] for $i1 in 1:2 loop (195) [----] [SCAL] (1) con.cooDow.inPort[$i1].set = false ($RES_SIM_210) (195) [----] end for; (196) [SCAL] (1) con.and1.u2 = $TEV_8 ($RES_SIM_120) (197) [SCAL] (1) con.warUpCtr.or2.y = $SEV_27 ($RES_SIM_121) (198) [SCAL] (1) con.warUpCtr.hysPow.y = $SEV_28 ($RES_SIM_122) (199) [SCAL] (1) con.warUpCtr.sub1.y = con.PEleNet - eneConEngTem.PEle ($RES_SIM_123) (200) [SCAL] (1) con.warUpCtr.sub.y = con.TEng - con.warUpCtr.temEngNom.k ($RES_SIM_125) (201) [SCAL] (1) con.warUpCtr.hysTem.y = $SEV_29 ($RES_SIM_126) (202) [SCAL] (1) con.transition8.outPort.set = $SEV_30 ($RES_SIM_129) (203) [WHEN] (1)when {$SEV_19, initial()} then (203) [----] runSig.combiTimeTable.nextTimeEvent := if runSig.combiTimeTable.nextTimeEventScaled < 1e60 then runSig.combiTimeTable.nextTimeEventScaled else 1e60 (203) [----] end when; (204) [FOR-] (2) ($RES_SIM_211) (204) [----] for $i1 in 1:2 loop (204) [----] [SCAL] (1) con.cooDow.outPort[$i1].available = if $SEV_46[$i1] then con.cooDow.outerStatePort.localActive else $SEV_47[$i1] ($RES_SIM_212) (204) [----] end for; (205) [-IF-] (1)if con.plaOff.outerStatePort.localActive then (205) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off ($RES_SIM_84) (205) [----] elseif con.staBy.outerStatePort.localActive then (205) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_SIM_85) (205) [----] elseif con.pumOn.outerStatePort.localActive then (205) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.PumpOn ($RES_SIM_86) (205) [----] elseif con.warUp.outerStatePort.localActive then (205) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_SIM_87) (205) [----] elseif con.nor.outerStatePort.localActive then (205) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_SIM_88) (205) [----] else (205) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown ($RES_SIM_89) (205) [----] end if; (206) [FOR-] (2) ($RES_SIM_213) (206) [----] for $i1 in 1:2 loop (206) [----] [SCAL] (1) con.cooDow.inPort[$i1].occupied = if $SEV_46[$i1] then con.cooDow.outerStatePort.localActive else $SEV_48[$i1] ($RES_SIM_214) (206) [----] end for; (207) [WHEN] (1)when false then (207) [----] con.cooDow.oldActive := con.cooDow.outerStatePort.localActive (207) [----] end when; (208) [SCAL] (1) con.cooDow.newActive = $SEV_49 ($RES_SIM_216) (209) [SCAL] (1) con.cooDow.outerStatePort.localActive = $TEV_34 ($RES_SIM_217) (210) [SCAL] (1) eneConEngTem.assFue.abs1.y = abs(eneConEngTem.assFue.abs1.u) ($RES_$AUX_642) (211) [SCAL] (1) eneConEngTem.switch4.u3 = Buildings.Utilities.Math.Functions.polynomial(eneConEngTem.switch3.u3, eneConEngTem.opeModBas.masFloAir.a) ($RES_$AUX_641) (212) [SCAL] (1) con.cooDow.outerStatePort.subgraphStatePort.activeSteps = if con.cooDow.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_219) (213) [SCAL] (1) eneConEngTem.switch4.u1 = Buildings.Utilities.Math.Functions.polynomial(eneConEngTem.switch3.u1, eneConEngTem.opeModWarUpEngTem.masFloAir.a) ($RES_$AUX_640) (214) [SCAL] (1) eneConEngTem.booExp.y = $SEV_80 ($RES_BND_601) (215) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.division1.y = eneConEngTem.opeModWarUpEngTem.powCoe.k / eneConEngTem.opeModWarUpEngTem.gain.u ($RES_SIM_301) (216) [SCAL] (1) eneConEngTem.and1.u1 = $SEV_79 ($RES_BND_602) (217) [SCAL] (1) eneConEngTem.switch5.u1 = eneConEngTem.opeModWarUpEngTem.etaQ.eta * eneConEngTem.opeModWarUpEngTem.heaGro.y ($RES_SIM_302) (218) [SCAL] (1) eneConTimDel.booExp.y = $SEV_80 ($RES_BND_603) (219) [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_303) (220) [SCAL] (1) eneConTimDel.and1.u1 = $SEV_79 ($RES_BND_604) (221) [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_304) (222) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.unlFueFloWarUp.y = eneConEngTem.opeModWarUpEngTem.maxFueFlo.u * eneConEngTem.opeModWarUpEngTem.add2.y ($RES_SIM_305) (223) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.add2.y = eneConEngTem.opeModWarUpEngTem.gain.y + eneConEngTem.opeModWarUpEngTem.min2.k ($RES_SIM_306) (224) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.gain.y = eneConEngTem.opeModWarUpEngTem.gain.k * eneConEngTem.opeModWarUpEngTem.gain.u ($RES_SIM_307) (225) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.smoothMax.u1 = eneConEngTem.opeModWarUpEngTem.TEngNom.k - TRoo.k ($RES_SIM_309) (226) [SCAL] (1) con.nor.outPort[1].reset = false ($RES_SIM_134) (227) [SCAL] (1) con.nor.inPort[1].set = false ($RES_SIM_135) (228) [SCAL] (1) con.nor.outPort[1].available = con.nor.outerStatePort.localActive ($RES_SIM_136) (229) [SCAL] (1) con.nor.inPort[1].occupied = con.nor.outerStatePort.localActive ($RES_SIM_137) (230) [WHEN] (1)when false then (230) [----] con.nor.oldActive := con.nor.outerStatePort.localActive (230) [----] end when; (231) [SCAL] (1) con.nor.newActive = $SEV_31 ($RES_SIM_139) (232) [SCAL] (1) con.timer.y = if con.cooDow.outerStatePort.localActive then time - con.timer.entryTime else 0.0 ($RES_SIM_91) (233) [FOR-] (2) ($RES_SIM_220) (233) [----] for $i1 in 1:2 loop (233) [----] [SCAL] (1) con.warUp.outPort[$i1].reset = false ($RES_SIM_221) (233) [----] end for; (234) [WHEN] (1)when not con.cooDow.outerStatePort.localActive then (234) [----] con.timer.passed := false (234) [----] else when $SEV_20 then (234) [----] con.timer.passed := true (234) [----] else when con.cooDow.outerStatePort.localActive then (234) [----] con.timer.passed := con.timer.t <= 0.0 (234) [----] end when; (235) [SCAL] (1) eneConTimDel.assFue.abs1.y = abs(eneConTimDel.assFue.abs1.u) ($RES_$AUX_639) (236) [WHEN] (1)when not con.cooDow.outerStatePort.localActive then (236) [----] con.timer.entryTime := $PRE.con.timer.entryTime (236) [----] else when $SEV_20 then (236) [----] con.timer.entryTime := $PRE.con.timer.entryTime (236) [----] else when con.cooDow.outerStatePort.localActive then (236) [----] con.timer.entryTime := time (236) [----] end when; (237) [SCAL] (1) eneConTimDel.switch4.u3 = Buildings.Utilities.Math.Functions.polynomial(eneConTimDel.switch3.u3, eneConTimDel.opeModBas.masFloAir.a) ($RES_$AUX_638) (238) [FOR-] (2) ($RES_SIM_222) (238) [----] for $i1 in 1:2 loop (238) [----] [SCAL] (1) con.warUp.inPort[$i1].set = false ($RES_SIM_223) (238) [----] end for; (239) [SCAL] (1) $FUN_6 = Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(mWat_flow.tab.tableID, 1, time, mWat_flow.tab.nextTimeEventScaled, $TEV_50) ($RES_$AUX_637) (240) [SCAL] (1) $FUN_7 = Modelica.Math.BooleanVectors.anyTrue(con.staBy.inPort.set) ($RES_$AUX_636) (241) [FOR-] (2) ($RES_SIM_224) (241) [----] for $i1 in 1:2 loop (241) [----] [SCAL] (1) con.warUp.outPort[$i1].available = if $SEV_46[$i1] then con.warUp.outerStatePort.localActive else $SEV_50[$i1] ($RES_SIM_225) (241) [----] end for; (242) [SCAL] (1) $FUN_8 = Modelica.Math.BooleanVectors.anyTrue(con.staBy.outPort.reset) ($RES_$AUX_635) (243) [SCAL] (1) con.transition4.enableFire = $SEV_21 ($RES_SIM_97) (244) [SCAL] (1) $FUN_9 = Modelica.Math.BooleanVectors.anyTrue(con.pumOn.inPort.set) ($RES_$AUX_634) (245) [FOR-] (2) ($RES_SIM_226) (245) [----] for $i1 in 1:2 loop (245) [----] [SCAL] (1) con.warUp.inPort[$i1].occupied = if $SEV_46[$i1] then con.warUp.outerStatePort.localActive else $SEV_51[$i1] ($RES_SIM_227) (245) [----] end for; (246) [SCAL] (1) con.transition4.outPort.set = $SEV_22 ($RES_SIM_98) (247) [SCAL] (1) $FUN_10 = Modelica.Math.BooleanVectors.anyTrue(con.pumOn.outPort.reset) ($RES_$AUX_633) (248) [SCAL] (1) con.transition4.t = if con.transition4.enableFire then con.transition4.t_dummy else 0.0 ($RES_SIM_99) (249) [SCAL] (1) $FUN_11 = Modelica.Math.BooleanVectors.anyTrue(con.warUp.inPort.set) ($RES_$AUX_632) (250) [WHEN] (1)when false then (250) [----] con.warUp.oldActive := con.warUp.outerStatePort.localActive (250) [----] end when; (251) [SCAL] (1) $FUN_12 = Modelica.Math.BooleanVectors.anyTrue(con.warUp.outPort.reset) ($RES_$AUX_631) (252) [SCAL] (1) con.warUp.newActive = $SEV_52 ($RES_SIM_229) (253) [SCAL] (1) $FUN_13 = Modelica.Math.BooleanVectors.anyTrue(con.cooDow.inPort.set) ($RES_$AUX_630) (254) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.gain.u = eneConEngTem.opeModWarUpEngTem.smoothMax.y / eneConEngTem.opeModWarUpEngTem.smoothMax2.y ($RES_SIM_311) (255) [SCAL] (1) eneConEngTem.switch3.u1 = min(eneConEngTem.opeModWarUpEngTem.maxFueFlo.y, eneConEngTem.opeModWarUpEngTem.unlFueFloWarUp.y) ($RES_SIM_312) (256) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.maxFueFlo.y = eneConEngTem.opeModWarUpEngTem.maxFueFlo.k * eneConEngTem.opeModWarUpEngTem.maxFueFlo.u ($RES_SIM_313) (257) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.QGroMax.y = eneConEngTem.opeModWarUpEngTem.PEleMax.k / eneConEngTem.opeModWarUpEngTem.etaE.eta ($RES_SIM_315) (258) [SCAL] (1) con.nor.outerStatePort.localActive = $TEV_15 ($RES_SIM_140) (259) [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_316) (260) [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_317) (261) [SCAL] (1) con.nor.outerStatePort.subgraphStatePort.activeSteps = if con.nor.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_142) (262) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.temChe.y = $SEV_67 ($RES_SIM_318) (263) [SCAL] (1) eneConEngTem.opeModWarUpEngTem.smoothMax2.y = smooth(1, if $SEV_68 then eneConEngTem.opeModWarUpEngTem.sub2.y else if $SEV_69 then eneConEngTem.opeModWarUpEngTem.min2.k else if $SEV_70 then 0.25 * (eneConEngTem.opeModWarUpEngTem.min2.k - eneConEngTem.opeModWarUpEngTem.sub2.y) * ((-3.0) + ((eneConEngTem.opeModWarUpEngTem.sub2.y - eneConEngTem.opeModWarUpEngTem.min2.k) / eneConEngTem.opeModWarUpEngTem.smoothMax2.deltaX) ^ 2.0) * ((eneConEngTem.opeModWarUpEngTem.sub2.y - eneConEngTem.opeModWarUpEngTem.min2.k) / eneConEngTem.opeModWarUpEngTem.smoothMax2.deltaX) + 0.5 * (eneConEngTem.opeModWarUpEngTem.sub2.y + eneConEngTem.opeModWarUpEngTem.min2.k) else 0.5 * (eneConEngTem.opeModWarUpEngTem.sub2.y + eneConEngTem.opeModWarUpEngTem.min2.k)) ($RES_SIM_319) (264) [SCAL] (1) con.transition2.outPort.set = $SEV_32 ($RES_SIM_145) (265) [SCAL] (1) con.transition5.outPort.occupied = con.plaOff.inPort[2].occupied ($RES_SIM_400) (266) [SCAL] (1) con.transition3.outPort.set = con.plaOff.inPort[1].set ($RES_SIM_401) (267) [SCAL] (1) con.transition3.outPort.occupied = con.plaOff.inPort[1].occupied ($RES_SIM_402) (268) [SCAL] (1) con.warUp.outerStatePort.localActive = $TEV_37 ($RES_SIM_230) (269) [SCAL] (1) $FUN_14 = Modelica.Math.BooleanVectors.anyTrue(con.cooDow.outPort.reset) ($RES_$AUX_629) (270) [SCAL] (1) $FUN_15 = Modelica.Math.BooleanVectors.anyTrue(con.nor.inPort.set) ($RES_$AUX_628) (271) [SCAL] (1) con.warUp.outerStatePort.subgraphStatePort.activeSteps = if con.warUp.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_232) (272) [SCAL] (1) $FUN_16 = Modelica.Math.BooleanVectors.anyTrue(con.nor.outPort.reset) ($RES_$AUX_627) (273) [FOR-] (2) ($RES_SIM_233) (273) [----] for $i1 in 1:2 loop (273) [----] [SCAL] (1) con.pumOn.outPort[$i1].reset = false ($RES_SIM_234) (273) [----] end for; (274) [SCAL] (1) $FUN_17 = Modelica.Math.BooleanVectors.anyTrue(con.plaOff.inPort.set) ($RES_$AUX_626) (275) [SCAL] (1) $FUN_18 = Modelica.Math.BooleanVectors.anyTrue(con.plaOff.outPort.reset) ($RES_$AUX_625) (276) [SCAL] (1) con.pumOn.inPort[1].set = false ($RES_SIM_235) (277) [SCAL] (1) $FUN_19 = Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(runSig.combiTimeTable.tableID, 1, time, runSig.combiTimeTable.nextTimeEventScaled, $TEV_51) ($RES_$AUX_624) (278) [FOR-] (2) ($RES_SIM_236) (278) [----] for $i1 in 1:2 loop (278) [----] [SCAL] (1) con.pumOn.outPort[$i1].available = if $SEV_46[$i1] then con.pumOn.outerStatePort.localActive else $SEV_53[$i1] ($RES_SIM_237) (278) [----] end for; (279) [SCAL] (1) $FUN_20 = Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(avaSig.combiTimeTable.tableID, 1, time, avaSig.combiTimeTable.nextTimeEventScaled, $TEV_52) ($RES_$AUX_623) (280) [SCAL] (1) $SEV_15 = avaSig.realToBoolean.u >= avaSig.realToBoolean.threshold ($RES_EVT_708) (281) [SCAL] (1) con.pumOn.inPort[1].occupied = con.pumOn.outerStatePort.localActive ($RES_SIM_238) (282) [SCAL] (1) $SEV_16 = time >= $PRE.avaSig.combiTimeTable.nextTimeEvent ($RES_EVT_709) (283) [WHEN] (1)when false then (283) [----] con.pumOn.oldActive := con.pumOn.outerStatePort.localActive (283) [----] end when; (284) [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_320) (285) [SCAL] (1) eneConEngTem.switch3.u3 = eneConEngTem.opeModBas.masFloFue.k * eneConEngTem.opeModBas.heaGen.u1 ($RES_SIM_321) (286) [SCAL] (1) eneConEngTem.switch5.u3 = eneConEngTem.opeModBas.heaGen.u1 * eneConEngTem.opeModBas.etaQ.eta ($RES_SIM_323) (287) [SCAL] (1) eneConEngTem.opeModBas.heaGen.u1 = eneConEngTem.opeModBas.groHea.u1 / eneConEngTem.opeModBas.etaE.eta ($RES_SIM_324) (288) [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_325) (289) [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_326) (290) [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_327) (291) [SCAL] (1) con.transition1.outPort.set = $SEV_33 ($RES_SIM_152) (292) [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_328) (293) [SCAL] (1) con.assWatMas.not1.u = $SEV_34 ($RES_SIM_158) (294) [SCAL] (1) con.assWatMas.nand.y = not $SEV_35 ($RES_SIM_159) (295) [SCAL] (1) con.pumOn.newActive = $SEV_54 ($RES_SIM_240) (296) [SCAL] (1) $SEV_18 = runSig.realToBoolean.u >= runSig.realToBoolean.threshold ($RES_EVT_711) (297) [SCAL] (1) con.pumOn.outerStatePort.localActive = $TEV_40 ($RES_SIM_241) (298) [SCAL] (1) $SEV_19 = time >= $PRE.runSig.combiTimeTable.nextTimeEvent ($RES_EVT_712) (299) [SCAL] (1) $SEV_20 = con.cooDow.outerStatePort.localActive and time >= (con.timer.t + $PRE.con.timer.entryTime) ($RES_EVT_713) (300) [SCAL] (1) con.pumOn.outerStatePort.subgraphStatePort.activeSteps = if con.pumOn.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_243) (301) [SCAL] (1) $SEV_21 = (not con.transition9.localCondition and con.transition4.inPort.available) and not con.transition4.outPort.occupied ($RES_EVT_714) (302) [FOR-] (2) ($RES_SIM_244) (302) [----] for $i1 in 1:2 loop (302) [----] [SCAL] (1) con.staBy.outPort[$i1].reset = false ($RES_SIM_245) (302) [----] end for; (303) [SCAL] (1) $SEV_22 = con.transition4.enableFire and time >= ((time - con.transition4.t_dummy) + con.transition4.waitTime) ($RES_EVT_715) (304) [FOR-] (3) ($RES_EVT_716) (304) [----] for $i1 in 1:3 loop (304) [----] [SCAL] (1) $SEV_23[$i1] = $i1 == 1 ($RES_EVT_717) (304) [----] end for; (305) [SCAL] (1) con.staBy.inPort[1].set = false ($RES_SIM_246) (306) [FOR-] (2) ($RES_SIM_247) (306) [----] for $i1 in 1:2 loop (306) [----] [SCAL] (1) con.staBy.outPort[$i1].available = if $SEV_46[$i1] then con.staBy.outerStatePort.localActive else $SEV_55[$i1] ($RES_SIM_248) (306) [----] end for; (307) [FOR-] (3) ($RES_EVT_718) (307) [----] for $i1 in 1:3 loop (307) [----] [SCAL] (1) $SEV_24[$i1] = con.plaOff.inPort[$i1 - 1].occupied or con.plaOff.inPort[$i1 - 1].set ($RES_EVT_719) (307) [----] end for; (308) [SCAL] (1) con.staBy.inPort[1].occupied = con.staBy.outerStatePort.localActive ($RES_SIM_249) (309) [SCAL] (1) eneConEngTem.assFue.abs1.u = (eneConEngTem.assFue.floChaRat.k / eneConEngTem.assFue.floChaRat.T) * (eneConEngTem.mFue_flow - eneConEngTem.assFue.floChaRat.x) ($RES_SIM_330) (310) [SCAL] (1) $DER.eneConEngTem.assFue.floChaRat.x = (eneConEngTem.mFue_flow - eneConEngTem.assFue.floChaRat.x) / eneConEngTem.assFue.floChaRat.T ($RES_SIM_331) (311) [SCAL] (1) eneConEngTem.assFue.hys.y = $SEV_78 ($RES_SIM_332) (312) [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_335) (313) [SCAL] (1) con.transition10.localCondition = $SEV_36 ($RES_SIM_161) (314) [SCAL] (1) con.transition10.outPort.set = $SEV_37 ($RES_SIM_164) (315) [SCAL] (1) con.transition7.localCondition = $SEV_38 ($RES_SIM_169) (316) [SCAL] (1) con.transition6.outPort.set = con.nor.inPort[1].set ($RES_SIM_423) (317) [SCAL] (1) con.transition6.outPort.occupied = con.nor.inPort[1].occupied ($RES_SIM_424) (318) [SCAL] (1) $SEV_25 = $FUN_17 or con.plaOff.outerStatePort.localActive and not $FUN_18 ($RES_EVT_720) (319) [SCAL] (1) con.plaOff.outPort[1].reset = con.transition1.outPort.set ($RES_SIM_425) (320) [WHEN] (1)when false then (320) [----] con.staBy.oldActive := con.staBy.outerStatePort.localActive (320) [----] end when; (321) [SCAL] (1) $SEV_26 = (con.transition6.localCondition and con.transition6.inPort.available) and not con.transition6.outPort.occupied ($RES_EVT_721) (322) [SCAL] (1) con.plaOff.outPort[1].available = con.transition1.inPort.available ($RES_SIM_426) (323) [SCAL] (1) con.staBy.newActive = $SEV_56 ($RES_SIM_251) (324) [SCAL] (1) $SEV_27 = con.warUpCtr.hysTem.y or con.warUpCtr.hysPow.y ($RES_EVT_722) (325) [SCAL] (1) con.staBy.outerStatePort.localActive = $TEV_43 ($RES_SIM_252) (326) [SCAL] (1) $SEV_28 = not $PRE.con.warUpCtr.hysPow.y and con.warUpCtr.sub1.y > con.warUpCtr.hysPow.uHigh or $PRE.con.warUpCtr.hysPow.y and con.warUpCtr.sub1.y >= con.warUpCtr.hysPow.uLow ($RES_EVT_723) (327) [SCAL] (1) con.nor.outPort[1].reset = con.transition8.outPort.set ($RES_SIM_428) (328) [SCAL] (1) $SEV_29 = not $PRE.con.warUpCtr.hysTem.y and con.warUpCtr.sub.y > con.warUpCtr.hysTem.uHigh or $PRE.con.warUpCtr.hysTem.y and con.warUpCtr.sub.y >= con.warUpCtr.hysTem.uLow ($RES_EVT_724) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 60 var 2 --> eqn 4 var 3 --> eqn 201 var 4 --> eqn 280 var 5 --> eqn 51 var 6 --> eqn 52 var 7 --> eqn 110 var 8 --> eqn 240 var 9 --> eqn 187 var 10 --> eqn 294 var 11 --> eqn 188 var 12 --> eqn 308 var 13 --> eqn 30 var 14 --> eqn 126 var 15 --> eqn 83 var 16 --> eqn 163 var 17 --> eqn 341 var 18 --> eqn 70 var 19 --> eqn 177 var 20 --> eqn 288 var 21 --> eqn 310 var 22 --> eqn 87 var 23 --> eqn 185 var 24 --> eqn 278 var 25 --> eqn 182 var 26 --> eqn 183 var 27 --> eqn 184 var 28 --> eqn 191 var 29 --> eqn 325 var 30 --> eqn 130 var 31 --> eqn 61 var 32 --> eqn 230 var 33 --> eqn 273 var 34 --> eqn 232 var 35 --> eqn 353 var 36 --> eqn 195 var 37 --> eqn 32 var 38 --> eqn 311 var 39 --> eqn 190 var 40 --> eqn 236 var 41 --> eqn 245 var 42 --> eqn 161 var 43 --> eqn 247 var 44 --> eqn 327 var 45 --> eqn 157 var 46 --> eqn 205 var 47 --> eqn 2 var 48 --> eqn 318 var 49 --> eqn 313 var 50 --> eqn 237 var 51 --> eqn 281 var 52 --> eqn 312 var 53 --> eqn 139 var 54 --> eqn 74 var 55 --> eqn 248 var 56 --> eqn 285 var 57 --> eqn 57 var 58 --> eqn 34 var 59 --> eqn 189 var 60 --> eqn 42 var 61 --> eqn 41 var 62 --> eqn 135 var 63 --> eqn 131 var 64 --> eqn 39 var 65 --> eqn 224 var 66 --> eqn 225 var 67 --> eqn 20 var 68 --> eqn 19 var 69 --> eqn 18 var 70 --> eqn 17 var 71 --> eqn 16 var 72 --> eqn 15 var 73 --> eqn 204 var 74 --> eqn 96 var 75 --> eqn 239 var 76 --> eqn 200 var 77 --> eqn 118 var 78 --> eqn 227 var 79 --> eqn 315 var 80 --> eqn 133 var 81 --> eqn 241 var 82 --> eqn 309 var 83 --> eqn 290 var 84 --> eqn 72 var 85 --> eqn 210 var 86 --> eqn 178 var 87 --> eqn 170 var 88 --> eqn 166 var 89 --> eqn 192 var 90 --> eqn 168 var 91 --> eqn 233 var 92 --> eqn 271 var 93 --> eqn 88 var 94 --> eqn 89 var 95 --> eqn 215 var 96 --> eqn 202 var 97 --> eqn 203 var 98 --> eqn 120 var 99 --> eqn 322 var 100 --> eqn 262 var 101 --> eqn 263 var 102 --> eqn 254 var 103 --> eqn 351 var 104 --> eqn 220 var 105 --> eqn 198 var 106 --> eqn 175 var 107 --> eqn 334 var 108 --> eqn 335 var 109 --> eqn 91 var 110 --> eqn 228 var 111 --> eqn 193 var 112 --> eqn 174 var 113 --> eqn 173 var 114 --> eqn 156 var 115 --> eqn 100 var 116 --> eqn 155 var 117 --> eqn 154 var 118 --> eqn 153 var 119 --> eqn 152 var 120 --> eqn 151 var 121 --> eqn 40 var 122 --> eqn 150 var 123 --> eqn 149 var 124 --> eqn 291 var 125 --> eqn 186 var 126 --> eqn 11 var 127 --> eqn 213 var 128 --> eqn 207 var 129 --> eqn 258 var 130 --> eqn 99 var 131 --> eqn 344 var 132 --> eqn 115 var 133 --> eqn 250 var 134 --> eqn 265 var 135 --> eqn 148 var 136 --> eqn 147 var 137 --> eqn 6 var 138 --> eqn 84 var 139 --> eqn 85 var 140 --> eqn 125 var 141 --> eqn 93 var 142 --> eqn 124 var 143 --> eqn 123 var 144 --> eqn 121 var 145 --> eqn 122 var 146 --> eqn 119 var 147 --> eqn 316 var 148 --> eqn 117 var 149 --> eqn 116 var 150 --> eqn 8 var 151 --> eqn 114 var 152 --> eqn 97 var 153 --> eqn 95 var 154 --> eqn 127 var 155 --> eqn 279 var 156 --> eqn 319 var 157 --> eqn 194 var 158 --> eqn 284 var 159 --> eqn 267 var 160 --> eqn 268 var 161 --> eqn 36 var 162 --> eqn 71 var 163 --> eqn 68 var 164 --> eqn 176 var 165 --> eqn 112 var 166 --> eqn 111 var 167 --> eqn 94 var 168 --> eqn 92 var 169 --> eqn 90 var 170 --> eqn 244 var 171 --> eqn 286 var 172 --> eqn 86 var 173 --> eqn 314 var 174 --> eqn 82 var 175 --> eqn 342 var 176 --> eqn 238 var 177 --> eqn 336 var 178 --> eqn 337 var 179 --> eqn 338 var 180 --> eqn 320 var 181 --> eqn 242 var 182 --> eqn 234 var 183 --> eqn 1 var 184 --> eqn 62 var 185 --> eqn 53 var 186 --> eqn 218 var 187 --> eqn 49 var 188 --> eqn 235 var 189 --> eqn 37 var 190 --> eqn 35 var 191 --> eqn 33 var 192 --> eqn 31 var 193 --> eqn 21 var 194 --> eqn 343 var 195 --> eqn 348 var 196 --> eqn 257 var 197 --> eqn 160 var 198 --> eqn 346 var 199 --> eqn 317 var 200 --> eqn 266 var 201 --> eqn 172 var 202 --> eqn 264 var 203 --> eqn 171 var 204 --> eqn 275 var 205 --> eqn 261 var 206 --> eqn 169 var 207 --> eqn 260 var 208 --> eqn 79 var 209 --> eqn 80 var 210 --> eqn 246 var 211 --> eqn 23 var 212 --> eqn 226 var 213 --> eqn 50 var 214 --> eqn 330 var 215 --> eqn 331 var 216 --> eqn 332 var 217 --> eqn 304 var 218 --> eqn 277 var 219 --> eqn 14 var 220 --> eqn 26 var 221 --> eqn 243 var 222 --> eqn 25 var 223 --> eqn 339 var 224 --> eqn 24 var 225 --> eqn 22 var 226 --> eqn 10 var 227 --> eqn 9 var 228 --> eqn 7 var 229 --> eqn 5 var 230 --> eqn 3 var 231 --> eqn 217 var 232 --> eqn 282 var 233 --> eqn 167 var 234 --> eqn 159 var 235 --> eqn 165 var 236 --> eqn 229 var 237 --> eqn 164 var 238 --> eqn 162 var 239 --> eqn 146 var 240 --> eqn 219 var 241 --> eqn 145 var 242 --> eqn 340 var 243 --> eqn 301 var 244 --> eqn 144 var 245 --> eqn 299 var 246 --> eqn 143 var 247 --> eqn 298 var 248 --> eqn 196 var 249 --> eqn 142 var 250 --> eqn 295 var 251 --> eqn 140 var 252 --> eqn 293 var 253 --> eqn 292 var 254 --> eqn 276 var 255 --> eqn 274 var 256 --> eqn 272 var 257 --> eqn 270 var 258 --> eqn 102 var 259 --> eqn 64 var 260 --> eqn 65 var 261 --> eqn 302 var 262 --> eqn 303 var 263 --> eqn 359 var 264 --> eqn 129 var 265 --> eqn 357 var 266 --> eqn 355 var 267 --> eqn 197 var 268 --> eqn 349 var 269 --> eqn 356 var 270 --> eqn 269 var 271 --> eqn 326 var 272 --> eqn 324 var 273 --> eqn 12 var 274 --> eqn 138 var 275 --> eqn 136 var 276 --> eqn 134 var 277 --> eqn 132 var 278 --> eqn 109 var 279 --> eqn 108 var 280 --> eqn 107 var 281 --> eqn 106 var 282 --> eqn 199 var 283 --> eqn 105 var 284 --> eqn 38 var 285 --> eqn 354 var 286 --> eqn 13 var 287 --> eqn 306 var 288 --> eqn 58 var 289 --> eqn 59 var 290 --> eqn 128 var 291 --> eqn 66 var 292 --> eqn 323 var 293 --> eqn 321 var 294 --> eqn 307 var 295 --> eqn 255 var 296 --> eqn 305 var 297 --> eqn 141 var 298 --> eqn 81 var 299 --> eqn 104 var 300 --> eqn 137 var 301 --> eqn 101 var 302 --> eqn 78 var 303 --> eqn 103 var 304 --> eqn 76 var 305 --> eqn 75 var 306 --> eqn 73 var 307 --> eqn 158 var 308 --> eqn 98 var 309 --> eqn 256 var 310 --> eqn 251 var 311 --> eqn 206 var 312 --> eqn 56 var 313 --> eqn 221 var 314 --> eqn 222 var 315 --> eqn 345 var 316 --> eqn 223 var 317 --> eqn 63 var 318 --> eqn 77 var 319 --> eqn 113 var 320 --> eqn 54 var 321 --> eqn 55 var 322 --> eqn 208 var 323 --> eqn 283 var 324 --> eqn 69 var 325 --> eqn 67 var 326 --> eqn 249 var 327 --> eqn 48 var 328 --> eqn 47 var 329 --> eqn 46 var 330 --> eqn 181 var 331 --> eqn 44 var 332 --> eqn 43 var 333 --> eqn 214 var 334 --> eqn 252 var 335 --> eqn 253 var 336 --> eqn 28 var 337 --> eqn 216 var 338 --> eqn 45 var 339 --> eqn 231 equation to variable ********************** eqn 1 --> var 183 eqn 2 --> var 47 eqn 3 --> var 230 eqn 4 --> var 2 eqn 5 --> var 229 eqn 6 --> var 137 eqn 7 --> var 228 eqn 8 --> var 150 eqn 9 --> var 227 eqn 10 --> var 226 eqn 11 --> var 126 eqn 12 --> var 273 eqn 13 --> var 286 eqn 14 --> var 219 eqn 15 --> var 72 eqn 16 --> var 71 eqn 17 --> var 70 eqn 18 --> var 69 eqn 19 --> var 68 eqn 20 --> var 67 eqn 21 --> var 193 eqn 22 --> var 225 eqn 23 --> var 211 eqn 24 --> var 224 eqn 25 --> var 222 eqn 26 --> var 220 eqn 27 --> var -1 eqn 28 --> var 336 eqn 29 --> var -1 eqn 30 --> var 13 eqn 31 --> var 192 eqn 32 --> var 37 eqn 33 --> var 191 eqn 34 --> var 58 eqn 35 --> var 190 eqn 36 --> var 161 eqn 37 --> var 189 eqn 38 --> var 284 eqn 39 --> var 64 eqn 40 --> var 121 eqn 41 --> var 61 eqn 42 --> var 60 eqn 43 --> var 332 eqn 44 --> var 331 eqn 45 --> var 338 eqn 46 --> var 329 eqn 47 --> var 328 eqn 48 --> var 327 eqn 49 --> var 187 eqn 50 --> var 213 eqn 51 --> var 5 eqn 52 --> var 6 eqn 53 --> var 185 eqn 54 --> var 320 eqn 55 --> var 321 eqn 56 --> var 312 eqn 57 --> var 57 eqn 58 --> var 288 eqn 59 --> var 289 eqn 60 --> var 1 eqn 61 --> var 31 eqn 62 --> var 184 eqn 63 --> var 317 eqn 64 --> var 259 eqn 65 --> var 260 eqn 66 --> var 291 eqn 67 --> var 325 eqn 68 --> var 163 eqn 69 --> var 324 eqn 70 --> var 18 eqn 71 --> var 162 eqn 72 --> var 84 eqn 73 --> var 306 eqn 74 --> var 54 eqn 75 --> var 305 eqn 76 --> var 304 eqn 77 --> var 318 eqn 78 --> var 302 eqn 79 --> var 208 eqn 80 --> var 209 eqn 81 --> var 298 eqn 82 --> var 174 eqn 83 --> var 15 eqn 84 --> var 138 eqn 85 --> var 139 eqn 86 --> var 172 eqn 87 --> var 22 eqn 88 --> var 93 eqn 89 --> var 94 eqn 90 --> var 169 eqn 91 --> var 109 eqn 92 --> var 168 eqn 93 --> var 141 eqn 94 --> var 167 eqn 95 --> var 153 eqn 96 --> var 74 eqn 97 --> var 152 eqn 98 --> var 308 eqn 99 --> var 130 eqn 100 --> var 115 eqn 101 --> var 301 eqn 102 --> var 258 eqn 103 --> var 303 eqn 104 --> var 299 eqn 105 --> var 283 eqn 106 --> var 281 eqn 107 --> var 280 eqn 108 --> var 279 eqn 109 --> var 278 eqn 110 --> var 7 eqn 111 --> var 166 eqn 112 --> var 165 eqn 113 --> var 319 eqn 114 --> var 151 eqn 115 --> var 132 eqn 116 --> var 149 eqn 117 --> var 148 eqn 118 --> var 77 eqn 119 --> var 146 eqn 120 --> var 98 eqn 121 --> var 144 eqn 122 --> var 145 eqn 123 --> var 143 eqn 124 --> var 142 eqn 125 --> var 140 eqn 126 --> var 14 eqn 127 --> var 154 eqn 128 --> var 290 eqn 129 --> var 264 eqn 130 --> var 30 eqn 131 --> var 63 eqn 132 --> var 277 eqn 133 --> var 80 eqn 134 --> var 276 eqn 135 --> var 62 eqn 136 --> var 275 eqn 137 --> var 300 eqn 138 --> var 274 eqn 139 --> var 53 eqn 140 --> var 251 eqn 141 --> var 297 eqn 142 --> var 249 eqn 143 --> var 246 eqn 144 --> var 244 eqn 145 --> var 241 eqn 146 --> var 239 eqn 147 --> var 136 eqn 148 --> var 135 eqn 149 --> var 123 eqn 150 --> var 122 eqn 151 --> var 120 eqn 152 --> var 119 eqn 153 --> var 118 eqn 154 --> var 117 eqn 155 --> var 116 eqn 156 --> var 114 eqn 157 --> var 45 eqn 158 --> var 307 eqn 159 --> var 234 eqn 160 --> var 197 eqn 161 --> var 42 eqn 162 --> var 238 eqn 163 --> var 16 eqn 164 --> var 237 eqn 165 --> var 235 eqn 166 --> var 88 eqn 167 --> var 233 eqn 168 --> var 90 eqn 169 --> var 206 eqn 170 --> var 87 eqn 171 --> var 203 eqn 172 --> var 201 eqn 173 --> var 113 eqn 174 --> var 112 eqn 175 --> var 106 eqn 176 --> var 164 eqn 177 --> var 19 eqn 178 --> var 86 eqn 179 --> var -1 eqn 180 --> var -1 eqn 181 --> var 330 eqn 182 --> var 25 eqn 183 --> var 26 eqn 184 --> var 27 eqn 185 --> var 23 eqn 186 --> var 125 eqn 187 --> var 9 eqn 188 --> var 11 eqn 189 --> var 59 eqn 190 --> var 39 eqn 191 --> var 28 eqn 192 --> var 89 eqn 193 --> var 111 eqn 194 --> var 157 eqn 195 --> var 36 eqn 196 --> var 248 eqn 197 --> var 267 eqn 198 --> var 105 eqn 199 --> var 282 eqn 200 --> var 76 eqn 201 --> var 3 eqn 202 --> var 96 eqn 203 --> var 97 eqn 204 --> var 73 eqn 205 --> var 46 eqn 206 --> var 311 eqn 207 --> var 128 eqn 208 --> var 322 eqn 209 --> var -1 eqn 210 --> var 85 eqn 211 --> var -1 eqn 212 --> var -1 eqn 213 --> var 127 eqn 214 --> var 333 eqn 215 --> var 95 eqn 216 --> var 337 eqn 217 --> var 231 eqn 218 --> var 186 eqn 219 --> var 240 eqn 220 --> var 104 eqn 221 --> var 313 eqn 222 --> var 314 eqn 223 --> var 316 eqn 224 --> var 65 eqn 225 --> var 66 eqn 226 --> var 212 eqn 227 --> var 78 eqn 228 --> var 110 eqn 229 --> var 236 eqn 230 --> var 32 eqn 231 --> var 339 eqn 232 --> var 34 eqn 233 --> var 91 eqn 234 --> var 182 eqn 235 --> var 188 eqn 236 --> var 40 eqn 237 --> var 50 eqn 238 --> var 176 eqn 239 --> var 75 eqn 240 --> var 8 eqn 241 --> var 81 eqn 242 --> var 181 eqn 243 --> var 221 eqn 244 --> var 170 eqn 245 --> var 41 eqn 246 --> var 210 eqn 247 --> var 43 eqn 248 --> var 55 eqn 249 --> var 326 eqn 250 --> var 133 eqn 251 --> var 310 eqn 252 --> var 334 eqn 253 --> var 335 eqn 254 --> var 102 eqn 255 --> var 295 eqn 256 --> var 309 eqn 257 --> var 196 eqn 258 --> var 129 eqn 259 --> var -1 eqn 260 --> var 207 eqn 261 --> var 205 eqn 262 --> var 100 eqn 263 --> var 101 eqn 264 --> var 202 eqn 265 --> var 134 eqn 266 --> var 200 eqn 267 --> var 159 eqn 268 --> var 160 eqn 269 --> var 270 eqn 270 --> var 257 eqn 271 --> var 92 eqn 272 --> var 256 eqn 273 --> var 33 eqn 274 --> var 255 eqn 275 --> var 204 eqn 276 --> var 254 eqn 277 --> var 218 eqn 278 --> var 24 eqn 279 --> var 155 eqn 280 --> var 4 eqn 281 --> var 51 eqn 282 --> var 232 eqn 283 --> var 323 eqn 284 --> var 158 eqn 285 --> var 56 eqn 286 --> var 171 eqn 287 --> var -1 eqn 288 --> var 20 eqn 289 --> var -1 eqn 290 --> var 83 eqn 291 --> var 124 eqn 292 --> var 253 eqn 293 --> var 252 eqn 294 --> var 10 eqn 295 --> var 250 eqn 296 --> var -1 eqn 297 --> var -1 eqn 298 --> var 247 eqn 299 --> var 245 eqn 300 --> var -1 eqn 301 --> var 243 eqn 302 --> var 261 eqn 303 --> var 262 eqn 304 --> var 217 eqn 305 --> var 296 eqn 306 --> var 287 eqn 307 --> var 294 eqn 308 --> var 12 eqn 309 --> var 82 eqn 310 --> var 21 eqn 311 --> var 38 eqn 312 --> var 52 eqn 313 --> var 49 eqn 314 --> var 173 eqn 315 --> var 79 eqn 316 --> var 147 eqn 317 --> var 199 eqn 318 --> var 48 eqn 319 --> var 156 eqn 320 --> var 180 eqn 321 --> var 293 eqn 322 --> var 99 eqn 323 --> var 292 eqn 324 --> var 272 eqn 325 --> var 29 eqn 326 --> var 271 eqn 327 --> var 44 eqn 328 --> var -1 eqn 329 --> var -1 eqn 330 --> var 214 eqn 331 --> var 215 eqn 332 --> var 216 eqn 333 --> var -1 eqn 334 --> var 107 eqn 335 --> var 108 eqn 336 --> var 177 eqn 337 --> var 178 eqn 338 --> var 179 eqn 339 --> var 223 eqn 340 --> var 242 eqn 341 --> var 17 eqn 342 --> var 175 eqn 343 --> var 194 eqn 344 --> var 131 eqn 345 --> var 315 eqn 346 --> var 198 eqn 347 --> var -1 eqn 348 --> var 195 eqn 349 --> var 268 eqn 350 --> var -1 eqn 351 --> var 103 eqn 352 --> var -1 eqn 353 --> var 35 eqn 354 --> var 285 eqn 355 --> var 266 eqn 356 --> var 269 eqn 357 --> var 265 eqn 358 --> var -1 eqn 359 --> var 263