Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Validation.Controller_Mod_DamLim.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Validation.Controller_Mod_DamLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Validation.Controller_Mod_DamLim") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Validation.Controller_Mod_DamLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Validation.Controller_Mod_DamLim") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009307/0.0009308, allocations: 106.2 kB / 16.38 MB, free: 6.027 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.0009264/0.0009266, allocations: 195.5 kB / 17.32 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.415e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Validation.Controller_Mod_DamLim): time 0.01086/0.0109, allocations: 9.143 MB / 0.6819 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006997/0.01794, allocations: 3.989 MB / 0.6857 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.01974, allocations: 63.69 kB / 0.6858 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.02081, allocations: 450.9 kB / 0.6862 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.0221, allocations: 0.4953 MB / 0.6867 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.02528, allocations: 1.834 MB / 0.6885 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005311/0.0306, allocations: 5.101 MB / 0.6935 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005014/0.03562, allocations: 4.106 MB / 0.6975 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.03736, allocations: 1.686 MB / 0.6991 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.03888, allocations: 1.715 MB / 0.7008 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00066/0.03955, allocations: 0.625 MB / 0.7014 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006478/0.0402, allocations: 0.6406 MB / 0.7021 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.003675/0.04389, allocations: 5.508 MB / 0.7074 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.002195/0.04609, allocations: 3.305 MB / 0.7107 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.04719, allocations: 0.6621 MB / 0.7113 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.000866/0.04806, allocations: 269.6 kB / 0.7116 GB, free: 13.93 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 (791) * Number of variables: 787 (775) Notification: Performance of Bindings: time 0.01686/0.06493, allocations: 18.41 MB / 0.7295 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.001258/0.0662, allocations: 0.9377 MB / 0.7305 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Early Inline: time 0.01128/0.0775, allocations: 11.22 MB / 0.7414 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simplify1: time 0.0008698/0.07841, allocations: 0.5968 MB / 0.742 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of Alias: time 0.02322/0.1016, allocations: 21.7 MB / 0.7632 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of simplify2: time 0.0006203/0.1023, allocations: 351.5 kB / 0.7635 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of Events: time 0.002351/0.1047, allocations: 2.177 MB / 0.7657 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of Detect States: time 0.002491/0.1072, allocations: 2.88 MB / 0.7685 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of Partitioning: time 0.003074/0.1102, allocations: 2.84 MB / 0.7712 GB, free: 14.29 MB / 0.6544 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (351/370) ********************************* (1) [ALGB] (1) protected Real economizer1.mod.retDamPos.f2 (2) [ALGB] (1) protected Real economizer1.mod.retDamPos.f1 (3) [ALGB] (1) protected Real economizer.damLim.minRetDam.u (4) [DISC] (1) protected Boolean economizer.damLim.and3.y (5) [DER-] (1) Real $DER.economizer1.freProTMix.con.addPID.u2 (6) [ALGB] (1) protected Real economizer.mod.min.u1 (7) [ALGB] (1) protected Real economizer.enaDis.maxRetDamSwitch.u3 (8) [DISC] (1) protected Boolean economizer.enaDis.maxRetDamSwitch.u2 (9) [DISC] (2) protected Boolean[2] economizer1.enaDis.truFalHol.outputFalse.inPort.occupied (10) [ALGB] (1) Real economizer.damLim.damLimCon.errP.u2 (11) [DISC] (2) protected Boolean[2] economizer.enaDis.truFalHol.outputTrue.inPort.set (12) [ALGB] (1) protected Real economizer1.freProTMix.con.addPD.u1 (13) [ALGB] (1) protected Real economizer.damLim.minRetDam.b (14) [ALGB] (1) protected Real economizer.damLim.minRetDam.a (15) [ALGB] (1) protected Real economizer1.retDamMinFre.y (16) [DISS] (1) protected Boolean economizer.enaDis.delRetDam.y (17) [ALGB] (1) protected Real economizer.movAve.muDel (18) [ALGB] (1) Real economizer1.freProTMix.con.errI1.y (19) [ALGB] (1) protected Real economizer1.damLim.damLimCon.antWinErr.y (20) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.toTrue.outPort.occupied (21) [ALGB] (1) Real economizer.freProTMix.con.errI1.y (22) [DISS] (1) protected Real economizer.enaDis.truFalHol.onDel1.t_next (23) [ALGB] (1) Real economizer.freProTMix.con.lim.u (24) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive = economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive (25) [DISC] (1) protected Boolean[1] economizer.enaDis.truFalHol.outputFalse.outPort.reset (26) [ALGB] (1) Real economizer1.freProTMix.con.errI1.u1 (27) [DISS] (1) protected Boolean economizer.enaDis.truFalHol.outputFalse.oldActive (28) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.toFalse.outPort.occupied (29) [DISC] (1) protected final Boolean economizer1.enaDis.truFalHol.toTrue1.localCondition = economizer1.enaDis.truFalHol.toTrue1.localCondition (30) [ALGB] (1) Real economizer1.freProTMix.con.errI2.u2 (31) [DISC] (1) protected Boolean economizer1.enaDis.and1.y (32) [DISS] (1) protected Real economizer.enaDis.delRetDam.t_next (33) [DISC] (1) protected Boolean[1] economizer1.enaDis.truFalHol.outputFalse.outPort.available (34) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.toTrue1.outPort.set (35) [DISC] (2) protected Boolean[2] economizer1.enaDis.truFalHol.initialStep.outPort.reset (36) [ALGB] (1) Real economizer.VOut_flow_normalized (37) [DISC] (1) protected Boolean economizer1.damLim.intEqu.y (38) [ALGB] (1) Real economizer1.freProTMix.con.errP.u2 (39) [ALGB] (1) protected Real economizer1.mod.min.u1 (40) [ALGB] (1) protected Real economizer.freProTMix.con.addPID.u1 (41) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.toTrue1.inPort.available (42) [ALGB] (1) Real economizer.freProTMix.con.errP.u2 (43) [ALGB] (1) protected Real economizer1.mod.retDamPos.a (44) [DISS] (1) protected Real economizer.enaDis.delOutDamOsc.t_next (45) [ALGB] (1) protected Real economizer1.mod.retDamPos.b (46) [DISC] (2) Boolean[2] $SEV_31[$i1] (47) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.toTrue1.outPort.occupied (48) [ALGB] (1) Real economizer.freProTMix.con.I.u (49) [DISC] (2) protected Boolean[2] economizer1.enaDis.truFalHol.outputTrue.inPort.set (50) [DISC] (1) protected Boolean[1] economizer1.enaDis.truFalHol.outputFalse.outPort.reset (51) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.toFalse.outPort.set (52) [ALGB] (1) protected Real economizer1.damLim.damLimCon.addPID.u1 (53) [ALGB] (1) protected Real economizer.damLim.minRetDam.xLim (54) [DISC] (2) Boolean[2] $SEV_72[$i1] (55) [DER-] (1) Real $DER.economizer1.damLim.damLimCon.addPID.u2 (56) [DISS] (1) protected Real economizer.enaDis.truFalHol.onDel2.t_next (57) [DISC] (2) protected Boolean[2] economizer.enaDis.truFalHol.outputTrue.inPort.occupied (58) [DER-] (1) Real $DER.economizer.damLim.damLimCon.addPID.u2 (59) [DISC] (1) protected Boolean economizer1.enaDis.outDamSwitch.u2 (60) [ALGB] (1) protected Real economizer1.freProTMix.con.antWinErr.y (61) [ALGB] (1) protected Real economizer1.damLim.damLimCon.addPD.u1 (62) [DISC] (1) protected final Boolean economizer.enaDis.truFalHol.toTrue.localCondition = economizer.enaDis.truFalHol.toTrue.localCondition (63) [DISS] (1) protected Boolean economizer1.enaDis.truFalHol.outputFalse.oldActive (64) [DISC] (1) protected Boolean[1] economizer1.enaDis.truFalHol.outputTrue.outPort.reset (65) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.initialStep.outerStatePort.localActive = economizer1.enaDis.truFalHol.initialStep.outerStatePort.localActive (66) [DISC] (1) protected Boolean economizer1.damLim.and2.y (67) [DISC] (2) protected Boolean[2] economizer.enaDis.truFalHol.outputFalse.inPort.set (68) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive = economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive (69) [DISC] (2) Boolean[2] $SEV_30[$i1] (70) [DISS] (1) protected Boolean economizer.enaDis.and3.u2 (71) [DISC] (1) Boolean $TEV_9 (72) [ALGB] (1) Real economizer1.damLim.damLimCon.errI1.u1 (73) [DISC] (1) Boolean $TEV_8 (74) [DISC] (1) Boolean $TEV_7 (75) [ALGB] (1) protected Real economizer.outDamMaxFre.y (76) [DISC] (1) Boolean $TEV_6 (77) [DISC] (1) Boolean $TEV_5 (78) [DISC] (1) Boolean $TEV_4 (79) [DISC] (1) Boolean $TEV_3 (80) [DISC] (1) Boolean $TEV_2 (81) [DISC] (1) Boolean $TEV_1 (82) [DISC] (1) Boolean $TEV_0 (83) [ALGB] (1) Real economizer1.damLim.damLimCon.errI2.u2 (84) [ALGB] (1) protected Real economizer.freProTMix.con.antWinErr.y (85) [ALGB] (1) protected Real economizer1.mod.max.u1 (86) [ALGB] (1) Real economizer.damLim.damLimCon.P.u (87) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.outputTrue.newActive (88) [DISC] (1) protected Boolean economizer1.enaDis.hysOutTem.y (89) [DISC] (2) protected Boolean[2] economizer1.enaDis.truFalHol.initialStep.outPort.available (90) [ALGB] (1) protected Real economizer.damLim.damLimCon.addPID.u1 (91) [ALGB] (1) Real economizer1.enaDis.uOutDamPosMin (min = 0.0, max = 1.0) (92) [DISS] (1) protected Boolean economizer1.movAve.mode (fixed = true, start = false) (93) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.toFalse.inPort.available (94) [DISC] (2) protected Boolean[2] economizer.enaDis.truFalHol.initialStep.outPort.reset (95) [ALGB] (1) Real economizer1.freProTMix.con.I.u (96) [ALGB] (1) Real economizer1.freProTMix.con.lim.u (97) [DISC] (1) protected Boolean economizer1.damLim.and3.y (98) [ALGB] (1) protected Real economizer1.damLim.minOutDam.xLim (99) [ALGB] (1) protected flow Real economizer.enaDis.truFalHol.outputFalse.outerStatePort.subgraphStatePort.activeSteps (100) [DISC] (1) protected final Boolean economizer1.enaDis.truFalHol.toTrue.localCondition = economizer1.enaDis.truFalHol.toTrue.localCondition (101) [DISS] (1) protected Real economizer1.enaDis.delOutDamOsc.t_next (102) [ALGB] (1) protected Real economizer.damLim.damLimCon.addPD.u1 (103) [ALGB] (1) protected Real economizer1.mod.outDamPos.xLim (104) [ALGB] (1) protected Real economizer1.movAve.muDel (105) [ALGB] (1) protected Real economizer.mod.retDamPos.xLim (106) [DISC] (1) protected Boolean economizer1.enaDis.intEqu.y (107) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.toFalse.outPort.set (108) [DISC] (2) protected Boolean[2] economizer1.enaDis.truFalHol.outputFalse.inPort.set (109) [DISS] (1) protected Real economizer1.enaDis.truFalHol.onDel1.t_next (110) [ALGB] (1) Real economizer.damLim.damLimCon.errI1.u1 (111) [ALGB] (1) Real economizer.uTSup (112) [DISS] (1) protected Boolean economizer1.enaDis.truFalHol.outputTrue.oldActive (113) [DISC] (1) protected Integer economizer.enaDis.truFalHol.stateGraphRoot.activeSteps (114) [ALGB] (1) protected flow Real economizer.enaDis.truFalHol.outputTrue.outerStatePort.subgraphStatePort.activeSteps (115) [ALGB] (1) protected Real economizer.enaDis.add1.y (116) [DER-] (1) Real $DER.economizer.freProTMix.con.addPID.u2 (117) [ALGB] (1) Real economizer.damLim.damLimCon.errI2.u2 (118) [DISS] (1) protected Boolean economizer1.enaDis.truFalHol.initialStep.oldActive (119) [ALGB] (1) protected Real economizer.enaDis.retDamSwitch.y (120) [ALGB] (1) protected Real economizer1.mod.outDamPos.a (121) [ALGB] (1) Real economizer.enaDis.uOutDamPosMin (min = 0.0, max = 1.0) (122) [ALGB] (1) protected Real economizer1.mod.outDamPos.b (123) [ALGB] (1) protected Real economizer1.outDamMaxFre.u1 (124) [ALGB] (1) protected Real economizer1.outDamMaxFre.u2 (125) [DISC] (2) protected Boolean[2] economizer.enaDis.truFalHol.outputFalse.inPort.occupied (126) [DISS] (1) protected Boolean economizer.enaDis.truFalHol.onDel1.y (127) [ALGB] (1) Real economizer1.damLim.damLimCon.P.u (128) [DISC] (1) protected Boolean economizer.enaDis.hysOutTem.y (129) [ALGB] (1) protected flow Real economizer1.enaDis.truFalHol.stateGraphRoot.subgraphStatePort.activeSteps (130) [ALGB] (1) protected flow Real economizer.enaDis.truFalHol.stateGraphRoot.subgraphStatePort.activeSteps (131) [ALGB] (1) protected Real economizer1.retDamMinFre.u1 (132) [ALGB] (1) protected Real economizer1.retDamMinFre.u2 (133) [DISC] (1) protected final Boolean economizer1.enaDis.truFalHol.toFalse.localCondition = economizer1.enaDis.truFalHol.toFalse.localCondition (134) [DISC] (1) Boolean economizer1.enaDis.andEnaDis.y (135) [DISC] (1) Boolean $SEV_78 (136) [DISC] (1) Boolean $SEV_77 (137) [DISC] (1) Boolean $SEV_76 (138) [DISC] (1) Boolean $SEV_74 (139) [ALGB] (1) protected Real economizer.enaDis.add2.y (140) [DISC] (2) Boolean[2] $SEV_67[$i1] (141) [DISC] (1) Boolean $SEV_73 (142) [ALGB] (1) protected Real economizer.mod.outDamPos.f2 (143) [DISS] (1) protected Real economizer1.enaDis.truFalHol.onDel2.t_next (144) [DISC] (1) Boolean $SEV_71 (145) [DISC] (1) Boolean $SEV_8 (146) [DISC] (1) Boolean $SEV_70 (147) [DISC] (2) Boolean[2] $SEV_39[$i1] (148) [DISC] (1) Boolean $SEV_7 (149) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.toTrue.inPort.available (150) [ALGB] (1) protected Real economizer.mod.outDamPos.xLim (151) [DISS] (1) protected Boolean economizer.movAve.mode (fixed = true, start = false) (152) [ALGB] (1) protected Real economizer1.mod.retDamPos.xLim (153) [ALGB] (1) Real economizer1.damLim.damLimCon.errI1.y (154) [DISS] (1) protected Boolean economizer.enaDis.truFalHol.onDel2.y (155) [DISS] (1) protected Boolean economizer.enaDis.truFalHol.initialStep.oldActive (156) [DISC] (1) Boolean $SEV_69 (157) [DISC] (1) Boolean $SEV_68 (158) [DISC] (1) protected Boolean economizer.damLim.intEqu.y (159) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.toFalse1.outPort.occupied (160) [DISC] (1) Boolean $SEV_66 (161) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.toTrue.inPort.available (162) [DISC] (1) Boolean $SEV_65 (163) [DISC] (1) Boolean $SEV_64 (164) [DISC] (1) Boolean $SEV_63 (165) [DISC] (1) Boolean $SEV_62 (166) [DISC] (1) Boolean $SEV_61 (167) [DISC] (1) Boolean $SEV_60 (168) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.toTrue1.outPort.occupied (169) [DER-] (1) Real $DER.economizer1.movAve.mu (170) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.toFalse1.outPort.set (171) [ALGB] (1) protected Real economizer1.mod.outDamPos.f2 (172) [ALGB] (1) protected Real economizer.mod.retDamPos.a (173) [ALGB] (1) protected Real economizer.mod.retDamPos.b (174) [ALGB] (1) protected flow Real economizer1.enaDis.truFalHol.initialStep.outerStatePort.subgraphStatePort.activeSteps (175) [ALGB] (1) Real economizer.damLim.damLimCon.controlError.y (176) [DISS] (1) protected Boolean economizer1.enaDis.truFalHol.onDel1.y (177) [DISC] (1) protected Boolean[1] economizer.enaDis.truFalHol.outputTrue.outPort.available (178) [DISC] (1) Boolean $SEV_59 (179) [ALGB] (1) Real economizer1.damLim.damLimCon.errP.u2 (180) [DISC] (1) Boolean $SEV_58 (181) [ALGB] (1) protected Real economizer1.damLim.minRetDam.xLim (182) [DISC] (1) Boolean $SEV_57 (183) [DISC] (1) Boolean $SEV_56 (184) [DISC] (1) Boolean $SEV_55 (185) [DISC] (1) Boolean $SEV_54 (186) [DISC] (2) protected Boolean[2] economizer1.enaDis.truFalHol.outputTrue.inPort.occupied (187) [DISC] (1) protected Boolean[1] economizer.enaDis.truFalHol.outputTrue.outPort.reset (188) [DISC] (1) Boolean $SEV_53 (189) [DISC] (1) Boolean $SEV_50 (190) [ALGB] (1) protected Real economizer1.damLim.damLimCon.addRes.y (191) [DISC] (1) protected Boolean economizer.enaDis.hysOutEnt.y (192) [DISS] (1) protected Boolean economizer1.enaDis.and3.u2 (193) [DISC] (1) Boolean economizer.enaDis.andEnaDis.y (194) [ALGB] (1) protected flow Real economizer1.enaDis.truFalHol.outputFalse.outerStatePort.subgraphStatePort.activeSteps (195) [DISC] (1) Boolean $SEV_49 (196) [DISS] (1) protected Boolean economizer1.enaDis.truFalHol.onDel2.y (197) [DISC] (1) Boolean $SEV_48 (198) [DISC] (1) Boolean $SEV_47 (199) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.toFalse1.inPort.available (200) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.outputFalse.newActive (201) [DISC] (1) Boolean $SEV_44 (202) [DISC] (1) Boolean $SEV_43 (203) [DISC] (1) Boolean $SEV_42 (204) [DISC] (1) Boolean $SEV_41 (205) [DISC] (1) Boolean $SEV_40 (206) [DISC] (1) protected Boolean[1] economizer.enaDis.truFalHol.outputFalse.outPort.available (207) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.toFalse.outPort.occupied (208) [DISS] (1) protected Real economizer1.enaDis.delRetDam.t_next (209) [DISC] (1) Boolean $FUN_9 (210) [DISC] (1) Boolean $FUN_8 (211) [ALGB] (1) protected Real economizer.movAve.y (212) [DISC] (1) Boolean $FUN_7 (213) [DISS] (1) protected Boolean economizer.enaDis.truFalHol.outputTrue.oldActive (214) [DISC] (1) Boolean $FUN_6 (215) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.toFalse.inPort.available (216) [DISC] (1) Boolean $FUN_4 (217) [ALGB] (1) protected Real economizer1.enaDis.add1.y (218) [DISC] (1) Boolean $FUN_3 (219) [DISC] (1) Boolean $FUN_2 (220) [DISC] (1) protected final Boolean economizer.enaDis.truFalHol.toTrue1.localCondition = economizer.enaDis.truFalHol.toTrue1.localCondition (221) [DISC] (1) Boolean $FUN_1 (222) [ALGB] (1) protected Real economizer1.movAve.y (223) [ALGB] (1) protected Real economizer1.damLim.minRetDam.a (224) [ALGB] (1) protected Real economizer1.damLim.minRetDam.b (225) [DISC] (1) Boolean $SEV_38 (226) [DISC] (1) Boolean $SEV_37 (227) [DISC] (1) Boolean $SEV_35 (228) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.toTrue1.inPort.available (229) [DISC] (1) Boolean $SEV_34 (230) [DISC] (2) Boolean[2] $SEV_36[$i1] (231) [DISC] (1) Boolean $SEV_33 (232) [DISC] (1) Boolean $SEV_32 (233) [ALGB] (1) protected Real economizer.damLim.damLimCon.addRes.y (234) [DISC] (1) Boolean $TEV_42 (235) [DISC] (1) protected Integer economizer1.enaDis.truFalHol.stateGraphRoot.activeSteps (236) [DISC] (1) Boolean $TEV_41 (237) [DISC] (1) Boolean $TEV_40 (238) [ALGB] (1) protected Real economizer1.damLim.minRetDam.u (239) [DISC] (1) protected Boolean economizer.enaDis.intEqu.y (240) [DISC] (1) Boolean $FUN_11 (241) [DISC] (1) Boolean $FUN_10 (242) [ALGB] (1) protected Real economizer1.damLim.minOutDam.a (243) [ALGB] (1) protected Real economizer1.damLim.minOutDam.b (244) [ALGB] (1) Real economizer.freProTMix.con.P.u (245) [DISC] (1) Boolean $SEV_29 (246) [DISC] (1) Boolean $SEV_28 (247) [DISC] (1) protected Boolean economizer.enaDis.and1.y (248) [DISC] (1) Boolean $SEV_27 (249) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.outputFalse.newActive (250) [DISC] (1) Boolean $SEV_26 (251) [DISC] (1) Boolean $SEV_25 (252) [DISC] (1) Boolean $SEV_24 (253) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive = economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive (254) [DISC] (1) Boolean $SEV_23 (255) [DISC] (1) Boolean $SEV_22 (256) [DISC] (1) Boolean $SEV_21 (257) [DISC] (1) Boolean $SEV_20 (258) [DISC] (1) Boolean $TEV_39 (259) [DER-] (1) Real $DER.economizer.movAve.mu (260) [DISC] (1) Boolean $TEV_38 (261) [ALGB] (1) protected Real economizer.retDamMinFre.y (262) [DISC] (1) Boolean $TEV_37 (263) [ALGB] (1) Real economizer1.damLim.damLimCon.I.u (264) [ALGB] (1) Real economizer1.enaDis.uOutDamPosMax (min = 0.0, max = 1.0) (265) [DISC] (1) Boolean $TEV_36 (266) [DISC] (1) Boolean $TEV_35 (267) [DISC] (1) Boolean $TEV_34 (268) [DISC] (1) Boolean $TEV_33 (269) [DISC] (1) Boolean $TEV_32 (270) [DISC] (1) Boolean $TEV_31 (271) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.initialStep.newActive (272) [DISC] (1) Boolean $TEV_30 (273) [ALGB] (1) protected Real economizer1.outDamMaxFre.y (274) [ALGB] (1) protected Real economizer.mod.outDamPos.a (275) [ALGB] (1) protected Real economizer.mod.outDamPos.b (276) [ALGB] (1) protected Real economizer.outDamMaxFre.u1 (277) [ALGB] (1) protected Real economizer1.enaDis.retDamSwitch.y (278) [ALGB] (1) protected Real economizer.outDamMaxFre.u2 (279) [DISC] (1) protected Boolean economizer.enaDis.outDamSwitch.u2 (280) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.toTrue.outPort.occupied (281) [DISC] (1) protected Boolean[1] economizer1.enaDis.truFalHol.outputTrue.outPort.available (282) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.toFalse1.inPort.available (283) [DISC] (1) protected final Boolean economizer.enaDis.truFalHol.toFalse.localCondition = economizer.enaDis.truFalHol.toFalse.localCondition (284) [DISC] (1) Boolean $SEV_19 (285) [DISC] (1) Boolean $SEV_18 (286) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive = economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive (287) [DISC] (1) Boolean $SEV_17 (288) [ALGB] (1) protected Real economizer.freProTMix.con.addPD.u1 (289) [DISC] (2) protected Boolean[2] economizer.enaDis.truFalHol.initialStep.outPort.available (290) [ALGB] (1) protected Real economizer.mod.max.u1 (291) [DISC] (1) Boolean $SEV_14 (292) [ALGB] (1) Real economizer1.enaDis.uRetDamPosMin (min = 0.0, max = 1.0) (293) [DISC] (1) Boolean $SEV_13 (294) [ALGB] (1) protected Real economizer.retDamMinFre.u1 (295) [DISC] (1) Boolean $SEV_12 (296) [ALGB] (1) Real economizer.enaDis.uRetDamPosMin (min = 0.0, max = 1.0) (297) [ALGB] (1) protected Real economizer.retDamMinFre.u2 (298) [DISC] (1) Boolean $SEV_11 (299) [DISC] (1) Boolean $TEV_29 (300) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.toFalse1.outPort.set (301) [DISC] (1) Boolean $TEV_28 (302) [DISC] (1) Boolean $TEV_27 (303) [DISC] (1) Boolean $TEV_26 (304) [DISC] (1) Boolean $TEV_25 (305) [DISC] (1) protected Boolean economizer.damLim.intLesEqu.y (306) [DISC] (1) Boolean $TEV_24 (307) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.toFalse1.outPort.occupied (308) [ALGB] (1) protected Real economizer1.enaDis.maxRetDamSwitch.u3 (309) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.toTrue.outPort.set (310) [DISC] (1) Boolean $TEV_23 (311) [DISC] (1) protected Boolean economizer1.enaDis.maxRetDamSwitch.u2 (312) [ALGB] (1) protected Real economizer.damLim.minOutDam.xLim (313) [ALGB] (1) protected Real economizer.damLim.damLimCon.antWinErr.y (314) [DISC] (1) protected Boolean economizer1.damLim.intLesEqu.y (315) [DISC] (1) Boolean $TEV_22 (316) [DISC] (1) Boolean $TEV_21 (317) [DISC] (1) Boolean $TEV_20 (318) [DISS] (1) protected Boolean economizer1.enaDis.delRetDam.y (319) [ALGB] (1) protected flow Real economizer.enaDis.truFalHol.initialStep.outerStatePort.subgraphStatePort.activeSteps (320) [ALGB] (1) Real economizer.freProTMix.con.errI1.u1 (321) [ALGB] (1) protected Real economizer1.freProTMix.con.addPID.u1 (322) [DISC] (1) protected Boolean economizer.damLim.and2.y (323) [ALGB] (1) Real economizer1.damLim.damLimCon.lim.u (324) [ALGB] (1) Real economizer.enaDis.uOutDamPosMax (min = 0.0, max = 1.0) (325) [ALGB] (1) Real economizer.damLim.damLimCon.I.u (326) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.toTrue.outPort.set (327) [ALGB] (1) Real economizer1.damLim.damLimCon.controlError.y (328) [ALGB] (1) protected Real economizer.mod.retDamPos.f2 (329) [ALGB] (1) protected Real economizer.mod.retDamPos.f1 (330) [ALGB] (1) Real economizer.freProTMix.con.errI2.u2 (331) [DISC] (2) Boolean[2] $SEV_75[$i1] (332) [ALGB] (1) Real economizer.damLim.damLimCon.lim.u (333) [DISC] (1) Boolean $TEV_19 (334) [DISC] (1) Boolean $TEV_18 (335) [DISC] (1) Boolean $TEV_17 (336) [DISC] (1) Boolean $TEV_16 (337) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.initialStep.outerStatePort.localActive = economizer.enaDis.truFalHol.initialStep.outerStatePort.localActive (338) [DISC] (1) Boolean $TEV_15 (339) [ALGB] (1) Real economizer1.freProTMix.con.P.u (340) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.toTrue1.outPort.set (341) [DISC] (1) Boolean $TEV_14 (342) [DISC] (1) Boolean $TEV_13 (343) [DISC] (1) protected Boolean economizer.enaDis.truFalHol.initialStep.newActive (344) [DISC] (1) Boolean $TEV_12 (345) [DISC] (1) Boolean $TEV_11 (346) [ALGB] (1) Real economizer.damLim.damLimCon.errI1.y (347) [DISC] (1) Boolean $TEV_10 (348) [ALGB] (1) protected flow Real economizer1.enaDis.truFalHol.outputTrue.outerStatePort.subgraphStatePort.activeSteps (349) [DISC] (1) protected Boolean economizer1.enaDis.truFalHol.outputTrue.newActive (350) [ALGB] (1) protected Real economizer.damLim.minOutDam.b (351) [ALGB] (1) protected Real economizer.damLim.minOutDam.a system eqns Equations (367/386) ********************************* (1) [SCAL] (1) economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive = $TEV_34 ($RES_SIM_429) (2) [SCAL] (1) economizer1.enaDis.truFalHol.stateGraphRoot.activeSteps = -integer(economizer1.enaDis.truFalHol.stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_254) (3) [WHEN] (1)when $SEV_41 then (3) [----] economizer1.enaDis.truFalHol.onDel2.y := economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive (3) [----] else when not economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive then (3) [----] economizer1.enaDis.truFalHol.onDel2.y := false (3) [----] else when economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive then (3) [----] economizer1.enaDis.truFalHol.onDel2.y := not economizer1.enaDis.truFalHol.onDel2.delayTime > 0.0 (3) [----] else when initial() then (3) [----] economizer1.enaDis.truFalHol.onDel2.y := if not (economizer1.enaDis.truFalHol.onDel2.delayOnInit and economizer1.enaDis.truFalHol.onDel2.delayTime > 0.0) then economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive else false (3) [----] end when; (4) [WHEN] (1)when $SEV_41 then (4) [----] economizer1.enaDis.truFalHol.onDel2.t_next := economizer1.enaDis.truFalHol.onDel2.t_past (4) [----] else when not economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive then (4) [----] economizer1.enaDis.truFalHol.onDel2.t_next := economizer1.enaDis.truFalHol.onDel2.t_past (4) [----] else when economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive then (4) [----] economizer1.enaDis.truFalHol.onDel2.t_next := time + economizer1.enaDis.truFalHol.onDel2.delayTime (4) [----] else when initial() then (4) [----] economizer1.enaDis.truFalHol.onDel2.t_next := if not economizer1.enaDis.truFalHol.onDel2.delayOnInit then economizer1.enaDis.truFalHol.onDel2.t_past else time + economizer1.enaDis.truFalHol.onDel2.delayTime (4) [----] end when; (5) [WHEN] (1)when $SEV_42 then (5) [----] economizer1.enaDis.truFalHol.onDel1.y := economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive (5) [----] else when not economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive then (5) [----] economizer1.enaDis.truFalHol.onDel1.y := false (5) [----] else when economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive then (5) [----] economizer1.enaDis.truFalHol.onDel1.y := not economizer1.enaDis.truFalHol.onDel1.delayTime > 0.0 (5) [----] else when initial() then (5) [----] economizer1.enaDis.truFalHol.onDel1.y := if not (economizer1.enaDis.truFalHol.onDel1.delayOnInit and economizer1.enaDis.truFalHol.onDel1.delayTime > 0.0) then economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive else false (5) [----] end when; (6) [WHEN] (1)when $SEV_42 then (6) [----] economizer1.enaDis.truFalHol.onDel1.t_next := economizer1.enaDis.truFalHol.onDel1.t_past (6) [----] else when not economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive then (6) [----] economizer1.enaDis.truFalHol.onDel1.t_next := economizer1.enaDis.truFalHol.onDel1.t_past (6) [----] else when economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive then (6) [----] economizer1.enaDis.truFalHol.onDel1.t_next := time + economizer1.enaDis.truFalHol.onDel1.delayTime (6) [----] else when initial() then (6) [----] economizer1.enaDis.truFalHol.onDel1.t_next := if not economizer1.enaDis.truFalHol.onDel1.delayOnInit then economizer1.enaDis.truFalHol.onDel1.t_past else time + economizer1.enaDis.truFalHol.onDel1.delayTime (6) [----] end when; (7) [SCAL] (1) economizer.retDamMinFre.y = max(economizer.retDamMinFre.u1, economizer.retDamMinFre.u2) ($RES_SIM_259) (8) [SCAL] (1) economizer.damLim.minRetDam.u = homotopy(smooth(0, noEvent(if $SEV_53 then economizer.damLim.damLimCon.lim.uMax else if $SEV_54 then economizer.damLim.damLimCon.lim.uMin else economizer.damLim.damLimCon.lim.u)), economizer.damLim.damLimCon.lim.u) ($RES_SIM_341) (9) [SCAL] (1) economizer.damLim.damLimCon.I.u = economizer.damLim.damLimCon.errI1.y - economizer.damLim.damLimCon.errI2.u2 ($RES_SIM_342) (10) [SCAL] (1) economizer.damLim.damLimCon.errI1.y = economizer.damLim.damLimCon.errI1.u1 - economizer.damLim.damLimCon.errP.u2 ($RES_SIM_343) (11) [SCAL] (1) economizer.damLim.damLimCon.P.u = economizer.damLim.damLimCon.errI1.u1 - economizer.damLim.damLimCon.errP.u2 ($RES_SIM_344) (12) [SCAL] (1) $DER.economizer.damLim.damLimCon.addPID.u2 = economizer.damLim.damLimCon.I.k * economizer.damLim.damLimCon.I.u ($RES_SIM_346) (13) [WHEN] (1)when $SEV_19 then (13) [----] economizer1.enaDis.delRetDam.y := not economizer1.enaDis.andEnaDis.y (13) [----] else when not (not economizer1.enaDis.andEnaDis.y) then (13) [----] economizer1.enaDis.delRetDam.y := false (13) [----] else when not economizer1.enaDis.andEnaDis.y then (13) [----] economizer1.enaDis.delRetDam.y := not economizer1.enaDis.delRetDam.delayTime > 0.0 (13) [----] else when initial() then (13) [----] economizer1.enaDis.delRetDam.y := if not (economizer1.enaDis.delRetDam.delayOnInit and economizer1.enaDis.delRetDam.delayTime > 0.0) then not economizer1.enaDis.andEnaDis.y else false (13) [----] end when; (14) [SCAL] (1) economizer.damLim.damLimCon.addPD.u1 = economizer.damLim.damLimCon.P.k * economizer.damLim.damLimCon.P.u ($RES_SIM_347) (15) [WHEN] (1)when $SEV_19 then (15) [----] economizer1.enaDis.delRetDam.t_next := economizer1.enaDis.delRetDam.t_past (15) [----] else when not (not economizer1.enaDis.andEnaDis.y) then (15) [----] economizer1.enaDis.delRetDam.t_next := economizer1.enaDis.delRetDam.t_past (15) [----] else when not economizer1.enaDis.andEnaDis.y then (15) [----] economizer1.enaDis.delRetDam.t_next := time + economizer1.enaDis.delRetDam.delayTime (15) [----] else when initial() then (15) [----] economizer1.enaDis.delRetDam.t_next := if not economizer1.enaDis.delRetDam.delayOnInit then economizer1.enaDis.delRetDam.t_past else time + economizer1.enaDis.delRetDam.delayTime (15) [----] end when; (16) [SCAL] (1) economizer.damLim.damLimCon.controlError.y = VOutMinSet_flow.k - economizer.movAve.y ($RES_SIM_348) (17) [WHEN] (1)when $SEV_20 then (17) [----] economizer1.enaDis.and3.u2 := not economizer1.enaDis.andEnaDis.y (17) [----] else when not (not economizer1.enaDis.andEnaDis.y) then (17) [----] economizer1.enaDis.and3.u2 := false (17) [----] else when not economizer1.enaDis.andEnaDis.y then (17) [----] economizer1.enaDis.and3.u2 := not economizer1.enaDis.delOutDamOsc.delayTime > 0.0 (17) [----] else when initial() then (17) [----] economizer1.enaDis.and3.u2 := if not (economizer1.enaDis.delOutDamOsc.delayOnInit and economizer1.enaDis.delOutDamOsc.delayTime > 0.0) then not economizer1.enaDis.andEnaDis.y else false (17) [----] end when; (18) [WHEN] (1)when $SEV_20 then (18) [----] economizer1.enaDis.delOutDamOsc.t_next := economizer1.enaDis.delOutDamOsc.t_past (18) [----] else when not (not economizer1.enaDis.andEnaDis.y) then (18) [----] economizer1.enaDis.delOutDamOsc.t_next := economizer1.enaDis.delOutDamOsc.t_past (18) [----] else when not economizer1.enaDis.andEnaDis.y then (18) [----] economizer1.enaDis.delOutDamOsc.t_next := time + economizer1.enaDis.delOutDamOsc.delayTime (18) [----] else when initial() then (18) [----] economizer1.enaDis.delOutDamOsc.t_next := if not economizer1.enaDis.delOutDamOsc.delayOnInit then economizer1.enaDis.delOutDamOsc.t_past else time + economizer1.enaDis.delOutDamOsc.delayTime (18) [----] end when; (19) [SCAL] (1) economizer1.enaDis.intEqu.y = $SEV_21 ($RES_SIM_175) (20) [SCAL] (1) economizer1.enaDis.outDamSwitch.u2 = $SEV_22 ($RES_SIM_176) (21) [SCAL] (1) economizer1.enaDis.and1.y = $SEV_23 ($RES_SIM_177) (22) [SCAL] (1) economizer1.enaDis.maxRetDamSwitch.u2 = $SEV_24 ($RES_SIM_178) (23) [SCAL] (1) economizer.enaDis.truFalHol.outputFalse.outerStatePort.subgraphStatePort.activeSteps = if economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_431) (24) [SCAL] (1) $TEV_0 = $PRE.economizer1.enaDis.delRetDam.t_next ($RES_EVT_902) (25) [SCAL] (1) $TEV_1 = $PRE.economizer1.enaDis.delOutDamOsc.t_next ($RES_EVT_903) (26) [SCAL] (1) $TEV_2 = $PRE.economizer1.enaDis.hysOutTem.y ($RES_EVT_904) (27) [SCAL] (1) $TEV_3 = $PRE.economizer1.enaDis.truFalHol.toFalse1.outPort.set ($RES_EVT_905) (28) [SCAL] (1) economizer.enaDis.truFalHol.stateGraphRoot.activeSteps = -integer(economizer.enaDis.truFalHol.stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_435) (29) [SCAL] (1) economizer.outDamMaxFre.y = min(economizer.outDamMaxFre.u1, economizer.outDamMaxFre.u2) ($RES_SIM_260) (30) [SCAL] (1) $TEV_4 = $PRE.economizer1.enaDis.truFalHol.toTrue1.outPort.set ($RES_EVT_906) (31) [WHEN] (1)when $SEV_77 then (31) [----] economizer.enaDis.truFalHol.onDel2.y := economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive (31) [----] else when not economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive then (31) [----] economizer.enaDis.truFalHol.onDel2.y := false (31) [----] else when economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive then (31) [----] economizer.enaDis.truFalHol.onDel2.y := not economizer.enaDis.truFalHol.onDel2.delayTime > 0.0 (31) [----] else when initial() then (31) [----] economizer.enaDis.truFalHol.onDel2.y := if not (economizer.enaDis.truFalHol.onDel2.delayOnInit and economizer.enaDis.truFalHol.onDel2.delayTime > 0.0) then economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive else false (31) [----] end when; (32) [-IF-] (1)if economizer.movAve.mode then (32) [----] [SCAL] (1) economizer.movAve.y = (economizer.movAve.mu - economizer.movAve.muDel) / economizer.movAve.delta ($RES_SIM_262) (32) [----] else (32) [----] [SCAL] (1) economizer.movAve.y = (economizer.movAve.mu - economizer.movAve.muDel) / ((time + 0.001) - economizer.movAve.tStart) ($RES_SIM_263) (32) [----] end if; (33) [SCAL] (1) $TEV_5 = $PRE.economizer1.enaDis.truFalHol.initialStep.oldActive ($RES_EVT_907) (34) [WHEN] (1)when $SEV_77 then (34) [----] economizer.enaDis.truFalHol.onDel2.t_next := economizer.enaDis.truFalHol.onDel2.t_past (34) [----] else when not economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive then (34) [----] economizer.enaDis.truFalHol.onDel2.t_next := economizer.enaDis.truFalHol.onDel2.t_past (34) [----] else when economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive then (34) [----] economizer.enaDis.truFalHol.onDel2.t_next := time + economizer.enaDis.truFalHol.onDel2.delayTime (34) [----] else when initial() then (34) [----] economizer.enaDis.truFalHol.onDel2.t_next := if not economizer.enaDis.truFalHol.onDel2.delayOnInit then economizer.enaDis.truFalHol.onDel2.t_past else time + economizer.enaDis.truFalHol.onDel2.delayTime (34) [----] end when; (35) [SCAL] (1) $TEV_6 = $PRE.economizer1.enaDis.truFalHol.initialStep.outerStatePort.localActive ($RES_EVT_908) (36) [WHEN] (1)when $SEV_78 then (36) [----] economizer.enaDis.truFalHol.onDel1.y := economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive (36) [----] else when not economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive then (36) [----] economizer.enaDis.truFalHol.onDel1.y := false (36) [----] else when economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive then (36) [----] economizer.enaDis.truFalHol.onDel1.y := not economizer.enaDis.truFalHol.onDel1.delayTime > 0.0 (36) [----] else when initial() then (36) [----] economizer.enaDis.truFalHol.onDel1.y := if not (economizer.enaDis.truFalHol.onDel1.delayOnInit and economizer.enaDis.truFalHol.onDel1.delayTime > 0.0) then economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive else false (36) [----] end when; (37) [SCAL] (1) $TEV_7 = $PRE.economizer1.enaDis.truFalHol.initialStep.newActive ($RES_EVT_909) (38) [WHEN] (1)when $SEV_78 then (38) [----] economizer.enaDis.truFalHol.onDel1.t_next := economizer.enaDis.truFalHol.onDel1.t_past (38) [----] else when not economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive then (38) [----] economizer.enaDis.truFalHol.onDel1.t_next := economizer.enaDis.truFalHol.onDel1.t_past (38) [----] else when economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive then (38) [----] economizer.enaDis.truFalHol.onDel1.t_next := time + economizer.enaDis.truFalHol.onDel1.delayTime (38) [----] else when initial() then (38) [----] economizer.enaDis.truFalHol.onDel1.t_next := if not economizer.enaDis.truFalHol.onDel1.delayOnInit then economizer.enaDis.truFalHol.onDel1.t_past else time + economizer.enaDis.truFalHol.onDel1.delayTime (38) [----] end when; (39) [WHEN] (1)when $TEV_42 then (39) [----] economizer.movAve.mode := true (39) [----] end when; (40) [SCAL] (1) economizer.movAve.muDel = delay(economizer.movAve.mu, economizer.movAve.delta, economizer.movAve.delta) ($RES_SIM_265) (41) [SCAL] (1) economizer.VOut_flow_normalized = $DER.economizer.movAve.mu ($RES_SIM_266) (42) [SCAL] (1) economizer.outDamMaxFre.u2 = economizer.freProTMix.yOut.k * economizer.retDamMinFre.u1 + economizer.freProTMix.yOut.p ($RES_SIM_267) (43) [WHEN] (1)when $SEV_55 then (43) [----] economizer.enaDis.delRetDam.y := not economizer.enaDis.andEnaDis.y (43) [----] else when not (not economizer.enaDis.andEnaDis.y) then (43) [----] economizer.enaDis.delRetDam.y := false (43) [----] else when not economizer.enaDis.andEnaDis.y then (43) [----] economizer.enaDis.delRetDam.y := not economizer.enaDis.delRetDam.delayTime > 0.0 (43) [----] else when initial() then (43) [----] economizer.enaDis.delRetDam.y := if not (economizer.enaDis.delRetDam.delayOnInit and economizer.enaDis.delRetDam.delayTime > 0.0) then not economizer.enaDis.andEnaDis.y else false (43) [----] end when; (44) [WHEN] (1)when $SEV_55 then (44) [----] economizer.enaDis.delRetDam.t_next := economizer.enaDis.delRetDam.t_past (44) [----] else when not (not economizer.enaDis.andEnaDis.y) then (44) [----] economizer.enaDis.delRetDam.t_next := economizer.enaDis.delRetDam.t_past (44) [----] else when not economizer.enaDis.andEnaDis.y then (44) [----] economizer.enaDis.delRetDam.t_next := time + economizer.enaDis.delRetDam.delayTime (44) [----] else when initial() then (44) [----] economizer.enaDis.delRetDam.t_next := if not economizer.enaDis.delRetDam.delayOnInit then economizer.enaDis.delRetDam.t_past else time + economizer.enaDis.delRetDam.delayTime (44) [----] end when; (45) [WHEN] (1)when $SEV_56 then (45) [----] economizer.enaDis.and3.u2 := not economizer.enaDis.andEnaDis.y (45) [----] else when not (not economizer.enaDis.andEnaDis.y) then (45) [----] economizer.enaDis.and3.u2 := false (45) [----] else when not economizer.enaDis.andEnaDis.y then (45) [----] economizer.enaDis.and3.u2 := not economizer.enaDis.delOutDamOsc.delayTime > 0.0 (45) [----] else when initial() then (45) [----] economizer.enaDis.and3.u2 := if not (economizer.enaDis.delOutDamOsc.delayOnInit and economizer.enaDis.delOutDamOsc.delayTime > 0.0) then not economizer.enaDis.andEnaDis.y else false (45) [----] end when; (46) [WHEN] (1)when $SEV_56 then (46) [----] economizer.enaDis.delOutDamOsc.t_next := economizer.enaDis.delOutDamOsc.t_past (46) [----] else when not (not economizer.enaDis.andEnaDis.y) then (46) [----] economizer.enaDis.delOutDamOsc.t_next := economizer.enaDis.delOutDamOsc.t_past (46) [----] else when not economizer.enaDis.andEnaDis.y then (46) [----] economizer.enaDis.delOutDamOsc.t_next := time + economizer.enaDis.delOutDamOsc.delayTime (46) [----] else when initial() then (46) [----] economizer.enaDis.delOutDamOsc.t_next := if not economizer.enaDis.delOutDamOsc.delayOnInit then economizer.enaDis.delOutDamOsc.t_past else time + economizer.enaDis.delOutDamOsc.delayTime (46) [----] end when; (47) [SCAL] (1) economizer.enaDis.intEqu.y = $SEV_57 ($RES_SIM_355) (48) [SCAL] (1) economizer1.enaDis.truFalHol.toTrue1.localCondition = not $SEV_25 ($RES_SIM_180) (49) [SCAL] (1) economizer.enaDis.outDamSwitch.u2 = $SEV_58 ($RES_SIM_356) (50) [SCAL] (1) economizer1.mod.retDamPos.f2 = if economizer1.enaDis.maxRetDamSwitch.u2 then economizer1.damLim.retDamPhyPosMaxSig.k else economizer1.enaDis.retDamSwitch.y ($RES_SIM_181) (51) [SCAL] (1) economizer.enaDis.and1.y = $SEV_59 ($RES_SIM_357) (52) [SCAL] (1) economizer1.mod.retDamPos.f1 = if economizer1.enaDis.maxRetDamSwitch.u2 then economizer1.damLim.retDamPhyPosMaxSig.k else economizer1.enaDis.maxRetDamSwitch.u3 ($RES_SIM_182) (53) [SCAL] (1) economizer.enaDis.maxRetDamSwitch.u2 = $SEV_60 ($RES_SIM_358) (54) [SCAL] (1) economizer1.enaDis.retDamSwitch.y = if not economizer1.enaDis.andEnaDis.y then economizer1.enaDis.maxRetDamSwitch.u3 else economizer1.enaDis.uRetDamPosMin ($RES_SIM_183) (55) [SCAL] (1) economizer1.mod.outDamPos.f2 = if economizer1.enaDis.outDamSwitch.u2 then economizer1.enaDis.uOutDamPosMin else economizer1.enaDis.uOutDamPosMax ($RES_SIM_184) (56) [SCAL] (1) economizer1.enaDis.hysOutTem.y = $SEV_26 ($RES_SIM_185) (57) [SCAL] (1) economizer1.enaDis.add1.y = economizer1.enaDis.add1.k1 * TOutBelowCutoff.k + economizer1.enaDis.add1.k2 * TOutCut1.k ($RES_SIM_186) (58) [SCAL] (1) economizer1.enaDis.andEnaDis.y = $SEV_27 ($RES_SIM_188) (59) [SCAL] (1) $TEV_8 = $PRE.economizer1.enaDis.truFalHol.toFalse.outPort.set ($RES_EVT_910) (60) [SCAL] (1) economizer1.enaDis.truFalHol.outputFalse.outerStatePort.subgraphStatePort.activeSteps + economizer1.enaDis.truFalHol.outputTrue.outerStatePort.subgraphStatePort.activeSteps + economizer1.enaDis.truFalHol.initialStep.outerStatePort.subgraphStatePort.activeSteps + economizer1.enaDis.truFalHol.stateGraphRoot.subgraphStatePort.activeSteps = 0.0 ($RES_SIM_440) (61) [SCAL] (1) $TEV_9 = $PRE.economizer1.enaDis.truFalHol.outputTrue.oldActive ($RES_EVT_911) (62) [SCAL] (1) economizer.enaDis.truFalHol.outputFalse.outerStatePort.subgraphStatePort.activeSteps + economizer.enaDis.truFalHol.outputTrue.outerStatePort.subgraphStatePort.activeSteps + economizer.enaDis.truFalHol.initialStep.outerStatePort.subgraphStatePort.activeSteps + economizer.enaDis.truFalHol.stateGraphRoot.subgraphStatePort.activeSteps = 0.0 ($RES_SIM_441) (63) [SCAL] (1) $TEV_10 = $PRE.economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive ($RES_EVT_912) (64) [SCAL] (1) $TEV_11 = $PRE.economizer1.enaDis.truFalHol.outputTrue.newActive ($RES_EVT_913) (65) [SCAL] (1) $TEV_12 = $PRE.economizer1.enaDis.truFalHol.toTrue.outPort.set ($RES_EVT_914) (66) [SCAL] (1) $TEV_13 = $PRE.economizer1.enaDis.truFalHol.outputFalse.oldActive ($RES_EVT_915) (67) [SCAL] (1) $TEV_14 = $PRE.economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive ($RES_EVT_916) (68) [SCAL] (1) $TEV_15 = $PRE.economizer1.enaDis.truFalHol.outputFalse.newActive ($RES_EVT_917) (69) [SCAL] (1) $TEV_16 = $PRE.economizer1.enaDis.truFalHol.onDel2.t_next ($RES_EVT_918) (70) [SCAL] (1) economizer.freProTMix.con.errI2.u2 = economizer.freProTMix.con.antWinGai.k * economizer.freProTMix.con.antWinErr.y ($RES_SIM_273) (71) [SCAL] (1) $TEV_17 = $PRE.economizer1.enaDis.truFalHol.onDel1.t_next ($RES_EVT_919) (72) [SCAL] (1) economizer.freProTMix.con.antWinErr.y = economizer.freProTMix.con.lim.u - economizer.retDamMinFre.u1 ($RES_SIM_274) (73) [SCAL] (1) economizer.freProTMix.con.lim.u = economizer.freProTMix.con.addPID.k1 * economizer.freProTMix.con.addPID.u1 + economizer.freProTMix.con.addPID.k2 * economizer.freProTMix.con.addPID.u2 ($RES_SIM_275) (74) [SCAL] (1) economizer.freProTMix.con.addPID.u1 = economizer.freProTMix.con.addPD.k1 * economizer.freProTMix.con.addPD.u1 ($RES_SIM_276) (75) [SCAL] (1) economizer.freProTMix.con.errP.u2 = economizer.freProTMix.con.uMea_revAct.k * TMixMea.k ($RES_SIM_277) (76) [SCAL] (1) economizer.freProTMix.con.errI1.u1 = economizer.freProTMix.con.uS_revAct.k * economizer.freProTMix.setPoi.k ($RES_SIM_278) (77) [SCAL] (1) economizer.enaDis.truFalHol.toTrue1.localCondition = not $SEV_61 ($RES_SIM_360) (78) [SCAL] (1) economizer.mod.retDamPos.f2 = if economizer.enaDis.maxRetDamSwitch.u2 then economizer.damLim.retDamPhyPosMaxSig.k else economizer.enaDis.retDamSwitch.y ($RES_SIM_361) (79) [SCAL] (1) economizer.mod.retDamPos.f1 = if economizer.enaDis.maxRetDamSwitch.u2 then economizer.damLim.retDamPhyPosMaxSig.k else economizer.enaDis.maxRetDamSwitch.u3 ($RES_SIM_362) (80) [SCAL] (1) economizer.enaDis.retDamSwitch.y = if not economizer.enaDis.andEnaDis.y then economizer.enaDis.maxRetDamSwitch.u3 else economizer.enaDis.uRetDamPosMin ($RES_SIM_363) (81) [SCAL] (1) economizer.mod.outDamPos.f2 = if economizer.enaDis.outDamSwitch.u2 then economizer.enaDis.uOutDamPosMin else economizer.enaDis.uOutDamPosMax ($RES_SIM_364) (82) [SCAL] (1) economizer.enaDis.hysOutEnt.y = $SEV_62 ($RES_SIM_365) (83) [SCAL] (1) economizer1.enaDis.truFalHol.toFalse1.outPort.set = $SEV_28 ($RES_SIM_191) (84) [SCAL] (1) economizer.enaDis.hysOutTem.y = $SEV_63 ($RES_SIM_366) (85) [SCAL] (1) economizer.enaDis.add1.y = economizer.enaDis.add1.k1 * TOutBelowCutoff.k + economizer.enaDis.add1.k2 * TOutCut1.k ($RES_SIM_367) (86) [SCAL] (1) economizer.enaDis.add2.y = economizer.enaDis.add2.k1 * hOutBelowCutoff.k + economizer.enaDis.add2.k2 * hOutCut.k ($RES_SIM_368) (87) [SCAL] (1) economizer.enaDis.andEnaDis.y = $SEV_64 ($RES_SIM_369) (88) [SCAL] (1) economizer1.enaDis.truFalHol.toTrue1.outPort.set = $SEV_29 ($RES_SIM_198) (89) [SCAL] (1) $TEV_18 = $PRE.economizer.enaDis.delRetDam.t_next ($RES_EVT_920) (90) [SCAL] (1) $TEV_19 = $PRE.economizer.enaDis.delOutDamOsc.t_next ($RES_EVT_921) (91) [SCAL] (1) $TEV_20 = $PRE.economizer.enaDis.hysOutEnt.y ($RES_EVT_922) (92) [SCAL] (1) $TEV_21 = $PRE.economizer.enaDis.hysOutTem.y ($RES_EVT_923) (93) [SCAL] (1) $TEV_22 = $PRE.economizer.enaDis.truFalHol.toFalse1.outPort.set ($RES_EVT_924) (94) [SCAL] (1) $TEV_23 = $PRE.economizer.enaDis.truFalHol.toTrue1.outPort.set ($RES_EVT_925) (95) [SCAL] (1) economizer.retDamMinFre.u1 = homotopy(smooth(0, noEvent(if $SEV_43 then economizer.freProTMix.con.lim.uMax else if $SEV_44 then economizer.freProTMix.con.lim.uMin else economizer.freProTMix.con.lim.u)), economizer.freProTMix.con.lim.u) ($RES_SIM_280) (96) [SCAL] (1) $TEV_24 = $PRE.economizer.enaDis.truFalHol.initialStep.oldActive ($RES_EVT_926) (97) [SCAL] (1) economizer.freProTMix.con.I.u = economizer.freProTMix.con.errI1.y - economizer.freProTMix.con.errI2.u2 ($RES_SIM_281) (98) [SCAL] (1) $TEV_25 = $PRE.economizer.enaDis.truFalHol.initialStep.outerStatePort.localActive ($RES_EVT_927) (99) [SCAL] (1) economizer.freProTMix.con.errI1.y = economizer.freProTMix.con.errI1.u1 - economizer.freProTMix.con.errP.u2 ($RES_SIM_282) (100) [SCAL] (1) $TEV_26 = $PRE.economizer.enaDis.truFalHol.initialStep.newActive ($RES_EVT_928) (101) [SCAL] (1) economizer.freProTMix.con.P.u = economizer.freProTMix.con.errI1.u1 - economizer.freProTMix.con.errP.u2 ($RES_SIM_283) (102) [SCAL] (1) $TEV_27 = $PRE.economizer.enaDis.truFalHol.toFalse.outPort.set ($RES_EVT_929) (103) [SCAL] (1) $DER.economizer.freProTMix.con.addPID.u2 = economizer.freProTMix.con.I.k * economizer.freProTMix.con.I.u ($RES_SIM_285) (104) [SCAL] (1) economizer.freProTMix.con.addPD.u1 = economizer.freProTMix.con.P.k * economizer.freProTMix.con.P.u ($RES_SIM_286) (105) [SCAL] (1) economizer.retDamMinFre.u2 = max(economizer.mod.max.u1, economizer.mod.retDamPos.f2) ($RES_SIM_288) (106) [SCAL] (1) economizer.outDamMaxFre.u1 = min(economizer.mod.min.u1, economizer.mod.outDamPos.f2) ($RES_SIM_289) (107) [SCAL] (1) economizer.enaDis.truFalHol.toFalse1.outPort.set = $SEV_65 ($RES_SIM_372) (108) [SCAL] (1) economizer1.enaDis.truFalHol.initialStep.outPort[2].reset = economizer1.enaDis.truFalHol.toFalse1.outPort.set ($RES_SIM_630) (109) [SCAL] (1) economizer.enaDis.truFalHol.toTrue1.outPort.set = $SEV_66 ($RES_SIM_379) (110) [SCAL] (1) economizer1.enaDis.truFalHol.initialStep.outPort[2].available = economizer1.enaDis.truFalHol.toFalse1.inPort.available ($RES_SIM_631) (111) [SCAL] (1) economizer1.enaDis.truFalHol.initialStep.outPort[1].reset = economizer1.enaDis.truFalHol.toTrue1.outPort.set ($RES_SIM_632) (112) [SCAL] (1) economizer1.enaDis.truFalHol.initialStep.outPort[1].available = economizer1.enaDis.truFalHol.toTrue1.inPort.available ($RES_SIM_633) (113) [SCAL] (1) economizer1.enaDis.truFalHol.toFalse1.outPort.set = economizer1.enaDis.truFalHol.outputFalse.inPort[2].set ($RES_SIM_634) (114) [SCAL] (1) $TEV_28 = $PRE.economizer.enaDis.truFalHol.outputTrue.oldActive ($RES_EVT_930) (115) [SCAL] (1) economizer1.enaDis.truFalHol.toFalse1.outPort.occupied = economizer1.enaDis.truFalHol.outputFalse.inPort[2].occupied ($RES_SIM_635) (116) [SCAL] (1) $TEV_29 = $PRE.economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive ($RES_EVT_931) (117) [SCAL] (1) economizer1.enaDis.truFalHol.toTrue.outPort.set = economizer1.enaDis.truFalHol.outputTrue.inPort[2].set ($RES_SIM_636) (118) [SCAL] (1) $TEV_30 = $PRE.economizer.enaDis.truFalHol.outputTrue.newActive ($RES_EVT_932) (119) [SCAL] (1) economizer1.enaDis.truFalHol.toTrue.outPort.occupied = economizer1.enaDis.truFalHol.outputTrue.inPort[2].occupied ($RES_SIM_637) (120) [SCAL] (1) $TEV_31 = $PRE.economizer.enaDis.truFalHol.toTrue.outPort.set ($RES_EVT_933) (121) [SCAL] (1) economizer1.enaDis.truFalHol.toTrue1.outPort.set = economizer1.enaDis.truFalHol.outputTrue.inPort[1].set ($RES_SIM_638) (122) [SCAL] (1) $TEV_32 = $PRE.economizer.enaDis.truFalHol.outputFalse.oldActive ($RES_EVT_934) (123) [SCAL] (1) $FUN_3 = Modelica.StateGraph.Temporary.anyTrue(economizer.enaDis.truFalHol.outputTrue.inPort.set) ($RES_$AUX_899) (124) [SCAL] (1) economizer1.enaDis.truFalHol.toTrue1.outPort.occupied = economizer1.enaDis.truFalHol.outputTrue.inPort[1].occupied ($RES_SIM_639) (125) [SCAL] (1) $TEV_33 = $PRE.economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive ($RES_EVT_935) (126) [SCAL] (1) $FUN_4 = Modelica.StateGraph.Temporary.anyTrue(economizer.enaDis.truFalHol.outputTrue.outPort.reset) ($RES_$AUX_898) (127) [SCAL] (1) economizer.mod.max.u1 = economizer.mod.retDamPos.a + economizer.mod.retDamPos.b * economizer.mod.retDamPos.xLim ($RES_SIM_290) (128) [SCAL] (1) $TEV_34 = $PRE.economizer.enaDis.truFalHol.outputFalse.newActive ($RES_EVT_936) (129) [SCAL] (1) economizer.mod.retDamPos.xLim = min(economizer.mod.retDamMaxLimSig.k, max(economizer.mod.retDamConMinLimSig.k, economizer.uTSup)) ($RES_SIM_291) (130) [SCAL] (1) $TEV_35 = $PRE.economizer.enaDis.truFalHol.onDel2.t_next ($RES_EVT_937) (131) [SCAL] (1) $FUN_6 = Modelica.StateGraph.Temporary.anyTrue(economizer.enaDis.truFalHol.initialStep.outPort.reset) ($RES_$AUX_896) (132) [SCAL] (1) economizer.mod.retDamPos.a = economizer.mod.retDamPos.f2 - economizer.mod.retDamPos.b * economizer.mod.retDamMaxLimSig.k ($RES_SIM_292) (133) [SCAL] (1) $TEV_36 = $PRE.economizer.enaDis.truFalHol.onDel1.t_next ($RES_EVT_938) (134) [SCAL] (1) $FUN_7 = Modelica.StateGraph.Temporary.anyTrue(economizer1.enaDis.truFalHol.outputFalse.inPort.set) ($RES_$AUX_895) (135) [SCAL] (1) economizer.mod.retDamPos.b = (economizer.mod.retDamPos.f2 - economizer.mod.retDamPos.f1) / (economizer.mod.retDamMaxLimSig.k - economizer.mod.retDamConMinLimSig.k) ($RES_SIM_293) (136) [SCAL] (1) $TEV_37 = time < uTSup.startTime ($RES_EVT_939) (137) [SCAL] (1) $FUN_8 = Modelica.StateGraph.Temporary.anyTrue(economizer1.enaDis.truFalHol.outputFalse.outPort.reset) ($RES_$AUX_894) (138) [SCAL] (1) $FUN_9 = Modelica.StateGraph.Temporary.anyTrue(economizer1.enaDis.truFalHol.outputTrue.inPort.set) ($RES_$AUX_893) (139) [SCAL] (1) economizer.mod.min.u1 = economizer.mod.outDamPos.a + economizer.mod.outDamPos.b * economizer.mod.outDamPos.xLim ($RES_SIM_295) (140) [SCAL] (1) economizer.mod.outDamPos.xLim = min(economizer.mod.outDamMaxLimSig.k, max(economizer.mod.outDamMinLimSig.k, economizer.uTSup)) ($RES_SIM_296) (141) [SCAL] (1) $FUN_10 = Modelica.StateGraph.Temporary.anyTrue(economizer1.enaDis.truFalHol.outputTrue.outPort.reset) ($RES_$AUX_892) (142) [SCAL] (1) economizer.mod.outDamPos.a = economizer.mod.outDamPos.f2 - economizer.mod.outDamPos.b * economizer.mod.outDamMaxLimSig.k ($RES_SIM_297) (143) [SCAL] (1) $FUN_11 = Modelica.StateGraph.Temporary.anyTrue(economizer1.enaDis.truFalHol.initialStep.outPort.reset) ($RES_$AUX_891) (144) [SCAL] (1) economizer.mod.outDamPos.b = (economizer.mod.outDamPos.f2 - economizer.enaDis.uOutDamPosMin) / (economizer.mod.outDamMaxLimSig.k - economizer.mod.outDamMinLimSig.k) ($RES_SIM_298) (145) [FOR-] (2) ($RES_SIM_384) (145) [----] for $i1 in 1:2 loop (145) [----] [SCAL] (1) economizer.enaDis.truFalHol.initialStep.outPort[$i1].reset = false ($RES_SIM_385) (145) [----] end for; (146) [FOR-] (2) ($RES_SIM_386) (146) [----] for $i1 in 1:2 loop (146) [----] [SCAL] (1) economizer.enaDis.truFalHol.initialStep.outPort[$i1].available = if $SEV_30[$i1] then economizer.enaDis.truFalHol.initialStep.outerStatePort.localActive else $SEV_67[$i1] ($RES_SIM_387) (146) [----] end for; (147) [WHEN] (1)when false then (147) [----] economizer.enaDis.truFalHol.initialStep.oldActive := economizer.enaDis.truFalHol.initialStep.outerStatePort.localActive (147) [----] end when; (148) [SCAL] (1) economizer.enaDis.truFalHol.initialStep.newActive = $SEV_68 ($RES_SIM_389) (149) [SCAL] (1) $TEV_38 = time < (uTSup.startTime + uTSup.duration) ($RES_EVT_940) (150) [SCAL] (1) $TEV_39 = time < VOut_flow.startTime ($RES_EVT_941) (151) [SCAL] (1) $TEV_40 = time < (VOut_flow.startTime + VOut_flow.duration) ($RES_EVT_942) (152) [SCAL] (1) $TEV_41 = sample(5, economizer1.movAve.tStart + economizer1.movAve.delta, 8.777798510069901e304) ($RES_EVT_943) (153) [SCAL] (1) economizer1.enaDis.truFalHol.toFalse.outPort.set = economizer1.enaDis.truFalHol.outputFalse.inPort[1].set ($RES_SIM_648) (154) [SCAL] (1) $TEV_42 = sample(6, economizer.movAve.tStart + economizer.movAve.delta, 8.777798510069901e304) ($RES_EVT_944) (155) [SCAL] (1) economizer1.enaDis.truFalHol.toFalse.outPort.occupied = economizer1.enaDis.truFalHol.outputFalse.inPort[1].occupied ($RES_SIM_649) (156) [SCAL] (1) economizer.enaDis.truFalHol.initialStep.outerStatePort.localActive = $TEV_26 ($RES_SIM_390) (157) [SCAL] (1) economizer.enaDis.truFalHol.initialStep.outerStatePort.subgraphStatePort.activeSteps = if economizer.enaDis.truFalHol.initialStep.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_392) (158) [SCAL] (1) economizer.enaDis.truFalHol.toTrue.localCondition = $SEV_69 ($RES_SIM_393) (159) [SCAL] (1) economizer.enaDis.truFalHol.toFalse.localCondition = $SEV_70 ($RES_SIM_394) (160) [SCAL] (1) economizer.enaDis.truFalHol.toFalse.outPort.set = $SEV_71 ($RES_SIM_397) (161) [SCAL] (1) economizer1.enaDis.truFalHol.outputFalse.outPort[1].reset = economizer1.enaDis.truFalHol.toTrue.outPort.set ($RES_SIM_650) (162) [SCAL] (1) economizer1.enaDis.truFalHol.outputFalse.outPort[1].available = economizer1.enaDis.truFalHol.toTrue.inPort.available ($RES_SIM_651) (163) [SCAL] (1) economizer1.enaDis.truFalHol.outputTrue.outPort[1].reset = economizer1.enaDis.truFalHol.toFalse.outPort.set ($RES_SIM_654) (164) [SCAL] (1) economizer1.enaDis.truFalHol.outputTrue.outPort[1].available = economizer1.enaDis.truFalHol.toFalse.inPort.available ($RES_SIM_655) (165) [SCAL] (1) $SEV_7 = economizer1.freProTMix.con.lim.u > economizer1.freProTMix.con.lim.uMax ($RES_EVT_952) (166) [SCAL] (1) $SEV_8 = economizer1.freProTMix.con.lim.u < economizer1.freProTMix.con.lim.uMin ($RES_EVT_953) (167) [SCAL] (1) $SEV_11 = economizer1.damLim.and2.y and economizer1.damLim.intEqu.y ($RES_EVT_956) (168) [SCAL] (1) $SEV_12 = fanSta.k and economizer1.damLim.intLesEqu.y ($RES_EVT_957) (169) [SCAL] (1) $SEV_13 = opeMod.k == economizer1.damLim.conInt1.k ($RES_EVT_958) (170) [SCAL] (1) $SEV_14 = freProSta.k <= economizer1.damLim.conInt.k ($RES_EVT_959) (171) [SCAL] (1) economizer.enaDis.truFalHol.initialStep.outPort[2].reset = economizer.enaDis.truFalHol.toFalse1.outPort.set ($RES_SIM_838) (172) [SCAL] (1) economizer.enaDis.truFalHol.initialStep.outPort[2].available = economizer.enaDis.truFalHol.toFalse1.inPort.available ($RES_SIM_839) (173) [SCAL] (1) $SEV_17 = economizer1.damLim.damLimCon.lim.u > economizer1.damLim.damLimCon.lim.uMax ($RES_EVT_962) (174) [SCAL] (1) $SEV_18 = economizer1.damLim.damLimCon.lim.u < economizer1.damLim.damLimCon.lim.uMin ($RES_EVT_963) (175) [SCAL] (1) $SEV_19 = time >= $PRE.economizer1.enaDis.delRetDam.t_next ($RES_EVT_964) (176) [SCAL] (1) $SEV_20 = time >= $PRE.economizer1.enaDis.delOutDamOsc.t_next ($RES_EVT_965) (177) [SCAL] (1) $SEV_21 = freProSta.k == economizer1.enaDis.conInt.k ($RES_EVT_966) (178) [SCAL] (1) $SEV_22 = not economizer1.enaDis.andEnaDis.y and economizer1.enaDis.and3.u2 ($RES_EVT_967) (179) [SCAL] (1) $SEV_23 = economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive and fanSta.k ($RES_EVT_968) (180) [SCAL] (1) $SEV_24 = not economizer1.enaDis.andEnaDis.y and not economizer1.enaDis.delRetDam.y ($RES_EVT_969) (181) [SCAL] (1) economizer.enaDis.truFalHol.initialStep.outPort[1].reset = economizer.enaDis.truFalHol.toTrue1.outPort.set ($RES_SIM_840) (182) [SCAL] (1) economizer.enaDis.truFalHol.initialStep.outPort[1].available = economizer.enaDis.truFalHol.toTrue1.inPort.available ($RES_SIM_841) (183) [SCAL] (1) economizer.enaDis.truFalHol.toFalse1.outPort.set = economizer.enaDis.truFalHol.outputFalse.inPort[2].set ($RES_SIM_842) (184) [SCAL] (1) economizer.enaDis.truFalHol.toFalse1.outPort.occupied = economizer.enaDis.truFalHol.outputFalse.inPort[2].occupied ($RES_SIM_843) (185) [SCAL] (1) economizer.enaDis.truFalHol.toTrue.outPort.set = economizer.enaDis.truFalHol.outputTrue.inPort[2].set ($RES_SIM_844) (186) [SCAL] (1) economizer.enaDis.truFalHol.toTrue.outPort.occupied = economizer.enaDis.truFalHol.outputTrue.inPort[2].occupied ($RES_SIM_845) (187) [SCAL] (1) economizer.enaDis.truFalHol.toTrue1.outPort.set = economizer.enaDis.truFalHol.outputTrue.inPort[1].set ($RES_SIM_846) (188) [SCAL] (1) economizer.enaDis.truFalHol.toTrue1.outPort.occupied = economizer.enaDis.truFalHol.outputTrue.inPort[1].occupied ($RES_SIM_847) (189) [SCAL] (1) $SEV_25 = economizer1.enaDis.hysOutTem.y or economizer1.enaDis.entSubst.k ($RES_EVT_970) (190) [SCAL] (1) $SEV_26 = not $PRE.economizer1.enaDis.hysOutTem.y and economizer1.enaDis.add1.y > economizer1.enaDis.hysOutTem.uHigh or $PRE.economizer1.enaDis.hysOutTem.y and economizer1.enaDis.add1.y >= economizer1.enaDis.hysOutTem.uLow ($RES_EVT_971) (191) [SCAL] (1) $SEV_27 = economizer1.enaDis.and1.y and economizer1.enaDis.intEqu.y ($RES_EVT_972) (192) [SCAL] (1) $SEV_28 = (not economizer1.enaDis.truFalHol.toTrue1.localCondition and economizer1.enaDis.truFalHol.toFalse1.inPort.available) and not economizer1.enaDis.truFalHol.toFalse1.outPort.occupied ($RES_EVT_973) (193) [SCAL] (1) $SEV_29 = (economizer1.enaDis.truFalHol.toTrue1.localCondition and economizer1.enaDis.truFalHol.toTrue1.inPort.available) and not economizer1.enaDis.truFalHol.toTrue1.outPort.occupied ($RES_EVT_974) (194) [FOR-] (2) ($RES_EVT_975) (194) [----] for $i1 in 1:2 loop (194) [----] [SCAL] (1) $SEV_30[$i1] = $i1 == 1 ($RES_EVT_976) (194) [----] end for; (195) [FOR-] (2) ($RES_EVT_977) (195) [----] for $i1 in 1:2 loop (195) [----] [SCAL] (1) $SEV_31[$i1] = economizer1.enaDis.truFalHol.initialStep.outPort[$i1 - 1].available and not economizer1.enaDis.truFalHol.initialStep.outPort[$i1 - 1].reset ($RES_EVT_978) (195) [----] end for; (196) [SCAL] (1) $SEV_32 = economizer1.enaDis.truFalHol.initialStep.outerStatePort.localActive and not $FUN_11 ($RES_EVT_979) (197) [SCAL] (1) economizer.enaDis.truFalHol.toFalse.outPort.set = economizer.enaDis.truFalHol.outputFalse.inPort[1].set ($RES_SIM_856) (198) [SCAL] (1) economizer.enaDis.truFalHol.toFalse.outPort.occupied = economizer.enaDis.truFalHol.outputFalse.inPort[1].occupied ($RES_SIM_857) (199) [SCAL] (1) economizer.enaDis.truFalHol.outputFalse.outPort[1].reset = economizer.enaDis.truFalHol.toTrue.outPort.set ($RES_SIM_858) (200) [SCAL] (1) economizer.enaDis.truFalHol.outputFalse.outPort[1].available = economizer.enaDis.truFalHol.toTrue.inPort.available ($RES_SIM_859) (201) [SCAL] (1) $SEV_33 = economizer1.enaDis.truFalHol.onDel1.y and economizer1.enaDis.truFalHol.toTrue1.localCondition ($RES_EVT_980) (202) [SCAL] (1) $SEV_34 = economizer1.enaDis.truFalHol.onDel2.y and not economizer1.enaDis.truFalHol.toTrue1.localCondition ($RES_EVT_981) (203) [SCAL] (1) $SEV_35 = (economizer1.enaDis.truFalHol.toFalse.localCondition and economizer1.enaDis.truFalHol.toFalse.inPort.available) and not economizer1.enaDis.truFalHol.toFalse.outPort.occupied ($RES_EVT_982) (204) [FOR-] (2) ($RES_EVT_983) (204) [----] for $i1 in 1:2 loop (204) [----] [SCAL] (1) $SEV_36[$i1] = economizer1.enaDis.truFalHol.outputTrue.inPort[$i1 - 1].occupied or economizer1.enaDis.truFalHol.outputTrue.inPort[$i1 - 1].set ($RES_EVT_984) (204) [----] end for; (205) [SCAL] (1) $SEV_37 = $FUN_9 or economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive and not $FUN_10 ($RES_EVT_985) (206) [SCAL] (1) $SEV_38 = (economizer1.enaDis.truFalHol.toTrue.localCondition and economizer1.enaDis.truFalHol.toTrue.inPort.available) and not economizer1.enaDis.truFalHol.toTrue.outPort.occupied ($RES_EVT_986) (207) [FOR-] (2) ($RES_EVT_987) (207) [----] for $i1 in 1:2 loop (207) [----] [SCAL] (1) $SEV_39[$i1] = economizer1.enaDis.truFalHol.outputFalse.inPort[$i1 - 1].occupied or economizer1.enaDis.truFalHol.outputFalse.inPort[$i1 - 1].set ($RES_EVT_988) (207) [----] end for; (208) [SCAL] (1) $SEV_40 = $FUN_7 or economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive and not $FUN_8 ($RES_EVT_989) (209) [SCAL] (1) economizer1.retDamMinFre.u1 = homotopy(smooth(0, noEvent(if $SEV_7 then economizer1.freProTMix.con.lim.uMax else if $SEV_8 then economizer1.freProTMix.con.lim.uMin else economizer1.freProTMix.con.lim.u)), economizer1.freProTMix.con.lim.u) ($RES_SIM_100) (210) [SCAL] (1) economizer1.freProTMix.con.I.u = economizer1.freProTMix.con.errI1.y - economizer1.freProTMix.con.errI2.u2 ($RES_SIM_101) (211) [SCAL] (1) economizer1.freProTMix.con.errI1.y = economizer1.freProTMix.con.errI1.u1 - economizer1.freProTMix.con.errP.u2 ($RES_SIM_102) (212) [SCAL] (1) economizer1.freProTMix.con.P.u = economizer1.freProTMix.con.errI1.u1 - economizer1.freProTMix.con.errP.u2 ($RES_SIM_103) (213) [SCAL] (1) $DER.economizer1.freProTMix.con.addPID.u2 = economizer1.freProTMix.con.I.k * economizer1.freProTMix.con.I.u ($RES_SIM_105) (214) [SCAL] (1) economizer1.freProTMix.con.addPD.u1 = economizer1.freProTMix.con.P.k * economizer1.freProTMix.con.P.u ($RES_SIM_106) (215) [SCAL] (1) economizer1.retDamMinFre.u2 = max(economizer1.mod.max.u1, economizer1.mod.retDamPos.f2) ($RES_SIM_108) (216) [SCAL] (1) economizer.enaDis.truFalHol.outputTrue.outPort[1].reset = economizer.enaDis.truFalHol.toFalse.outPort.set ($RES_SIM_862) (217) [SCAL] (1) economizer1.outDamMaxFre.u1 = min(economizer1.mod.min.u1, economizer1.mod.outDamPos.f2) ($RES_SIM_109) (218) [SCAL] (1) economizer.enaDis.truFalHol.outputTrue.outPort[1].available = economizer.enaDis.truFalHol.toFalse.inPort.available ($RES_SIM_863) (219) [SCAL] (1) $SEV_41 = time >= $PRE.economizer1.enaDis.truFalHol.onDel2.t_next ($RES_EVT_990) (220) [SCAL] (1) $SEV_42 = time >= $PRE.economizer1.enaDis.truFalHol.onDel1.t_next ($RES_EVT_991) (221) [SCAL] (1) $SEV_43 = economizer.freProTMix.con.lim.u > economizer.freProTMix.con.lim.uMax ($RES_EVT_992) (222) [SCAL] (1) $SEV_44 = economizer.freProTMix.con.lim.u < economizer.freProTMix.con.lim.uMin ($RES_EVT_993) (223) [SCAL] (1) economizer.uTSup = uTSup.offset + (if $TEV_37 then 0.0 else if $TEV_38 then (uTSup.height * (time - uTSup.startTime)) / uTSup.duration else uTSup.height) ($RES_SIM_68) (224) [SCAL] (1) economizer.VOut_flow_normalized = VOut_flow.offset + (if $TEV_39 then 0.0 else if $TEV_40 then (VOut_flow.height * (time - VOut_flow.startTime)) / VOut_flow.duration else VOut_flow.height) ($RES_SIM_69) (225) [SCAL] (1) $SEV_47 = economizer.damLim.and2.y and economizer.damLim.intEqu.y ($RES_EVT_996) (226) [SCAL] (1) $SEV_48 = fanSta.k and economizer.damLim.intLesEqu.y ($RES_EVT_997) (227) [SCAL] (1) $SEV_49 = opeMod.k == economizer.damLim.conInt1.k ($RES_EVT_998) (228) [SCAL] (1) $SEV_50 = freProSta.k <= economizer.damLim.conInt.k ($RES_EVT_999) (229) [SCAL] (1) economizer1.mod.max.u1 = economizer1.mod.retDamPos.a + economizer1.mod.retDamPos.b * economizer1.mod.retDamPos.xLim ($RES_SIM_110) (230) [SCAL] (1) economizer1.mod.retDamPos.xLim = min(economizer1.mod.retDamMaxLimSig.k, max(economizer1.mod.retDamConMinLimSig.k, economizer.uTSup)) ($RES_SIM_111) (231) [SCAL] (1) economizer1.mod.retDamPos.a = economizer1.mod.retDamPos.f2 - economizer1.mod.retDamPos.b * economizer1.mod.retDamMaxLimSig.k ($RES_SIM_112) (232) [SCAL] (1) economizer1.mod.retDamPos.b = (economizer1.mod.retDamPos.f2 - economizer1.mod.retDamPos.f1) / (economizer1.mod.retDamMaxLimSig.k - economizer1.mod.retDamConMinLimSig.k) ($RES_SIM_113) (233) [SCAL] (1) economizer1.mod.min.u1 = economizer1.mod.outDamPos.a + economizer1.mod.outDamPos.b * economizer1.mod.outDamPos.xLim ($RES_SIM_115) (234) [SCAL] (1) economizer1.mod.outDamPos.xLim = min(economizer1.mod.outDamMaxLimSig.k, max(economizer1.mod.outDamMinLimSig.k, economizer.uTSup)) ($RES_SIM_116) (235) [SCAL] (1) economizer1.mod.outDamPos.a = economizer1.mod.outDamPos.f2 - economizer1.mod.outDamPos.b * economizer1.mod.outDamMaxLimSig.k ($RES_SIM_117) (236) [SCAL] (1) economizer1.mod.outDamPos.b = (economizer1.mod.outDamPos.f2 - economizer1.enaDis.uOutDamPosMin) / (economizer1.mod.outDamMaxLimSig.k - economizer1.mod.outDamMinLimSig.k) ($RES_SIM_118) (237) [FOR-] (2) ($RES_SIM_203) (237) [----] for $i1 in 1:2 loop (237) [----] [SCAL] (1) economizer1.enaDis.truFalHol.initialStep.outPort[$i1].reset = false ($RES_SIM_204) (237) [----] end for; (238) [FOR-] (2) ($RES_SIM_205) (238) [----] for $i1 in 1:2 loop (238) [----] [SCAL] (1) economizer1.enaDis.truFalHol.initialStep.outPort[$i1].available = if $SEV_30[$i1] then economizer1.enaDis.truFalHol.initialStep.outerStatePort.localActive else $SEV_31[$i1] ($RES_SIM_206) (238) [----] end for; (239) [SCAL] (1) economizer1.retDamMinFre.y = max(economizer1.retDamMinFre.u1, economizer1.retDamMinFre.u2) ($RES_SIM_79) (240) [WHEN] (1)when false then (240) [----] economizer1.enaDis.truFalHol.initialStep.oldActive := economizer1.enaDis.truFalHol.initialStep.outerStatePort.localActive (240) [----] end when; (241) [SCAL] (1) economizer1.enaDis.truFalHol.initialStep.newActive = $SEV_32 ($RES_SIM_208) (242) [SCAL] (1) economizer1.enaDis.truFalHol.initialStep.outerStatePort.localActive = $TEV_7 ($RES_SIM_209) (243) [SCAL] (1) economizer1.damLim.and3.y = $SEV_11 ($RES_SIM_124) (244) [SCAL] (1) economizer1.damLim.and2.y = $SEV_12 ($RES_SIM_125) (245) [SCAL] (1) economizer1.damLim.intEqu.y = $SEV_13 ($RES_SIM_126) (246) [SCAL] (1) economizer1.damLim.intLesEqu.y = $SEV_14 ($RES_SIM_127) (247) [SCAL] (1) economizer1.outDamMaxFre.y = min(economizer1.outDamMaxFre.u1, economizer1.outDamMaxFre.u2) ($RES_SIM_80) (248) [-IF-] (1)if economizer1.movAve.mode then (248) [----] [SCAL] (1) economizer1.movAve.y = (economizer1.movAve.mu - economizer1.movAve.muDel) / economizer1.movAve.delta ($RES_SIM_82) (248) [----] else (248) [----] [SCAL] (1) economizer1.movAve.y = (economizer1.movAve.mu - economizer1.movAve.muDel) / ((time + 0.001) - economizer1.movAve.tStart) ($RES_SIM_83) (248) [----] end if; (249) [SCAL] (1) $FUN_1 = Modelica.StateGraph.Temporary.anyTrue(economizer.enaDis.truFalHol.outputFalse.inPort.set) ($RES_$AUX_901) (250) [SCAL] (1) $FUN_2 = Modelica.StateGraph.Temporary.anyTrue(economizer.enaDis.truFalHol.outputFalse.outPort.reset) ($RES_$AUX_900) (251) [SCAL] (1) economizer1.enaDis.truFalHol.initialStep.outerStatePort.subgraphStatePort.activeSteps = if economizer1.enaDis.truFalHol.initialStep.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_211) (252) [SCAL] (1) economizer1.enaDis.truFalHol.toTrue.localCondition = $SEV_33 ($RES_SIM_212) (253) [WHEN] (1)when $TEV_41 then (253) [----] economizer1.movAve.mode := true (253) [----] end when; (254) [SCAL] (1) economizer1.enaDis.truFalHol.toFalse.localCondition = $SEV_34 ($RES_SIM_213) (255) [SCAL] (1) economizer1.movAve.muDel = delay(economizer1.movAve.mu, economizer1.movAve.delta, economizer1.movAve.delta) ($RES_SIM_85) (256) [SCAL] (1) economizer.VOut_flow_normalized = $DER.economizer1.movAve.mu ($RES_SIM_86) (257) [SCAL] (1) $SEV_78 = time >= $PRE.economizer.enaDis.truFalHol.onDel1.t_next ($RES_EVT_1030) (258) [SCAL] (1) economizer1.outDamMaxFre.u2 = economizer1.freProTMix.yOut.k * economizer1.retDamMinFre.u1 + economizer1.freProTMix.yOut.p ($RES_SIM_87) (259) [SCAL] (1) economizer1.enaDis.truFalHol.toFalse.outPort.set = $SEV_35 ($RES_SIM_216) (260) [SCAL] (1) economizer.damLim.and3.y = $SEV_47 ($RES_SIM_304) (261) [SCAL] (1) economizer.damLim.and2.y = $SEV_48 ($RES_SIM_305) (262) [SCAL] (1) economizer.damLim.intEqu.y = $SEV_49 ($RES_SIM_306) (263) [SCAL] (1) economizer1.enaDis.uOutDamPosMax = if not economizer1.damLim.and3.y then economizer1.damLim.outDamPhyPosMinSig.k else economizer1.damLim.outDamPhyPosMaxSig.k ($RES_SIM_131) (264) [SCAL] (1) economizer.damLim.intLesEqu.y = $SEV_50 ($RES_SIM_307) (265) [SCAL] (1) economizer1.enaDis.uRetDamPosMin = if not economizer1.damLim.and3.y then economizer1.damLim.retDamPhyPosMaxSig.k else economizer1.damLim.retDamPhyPosMinSig.k ($RES_SIM_132) (266) [SCAL] (1) economizer1.enaDis.maxRetDamSwitch.u3 = economizer1.damLim.minRetDam.a + economizer1.damLim.minRetDam.b * economizer1.damLim.minRetDam.xLim ($RES_SIM_133) (267) [SCAL] (1) economizer1.damLim.minRetDam.xLim = min(economizer1.damLim.maxSigLim.k, max(economizer1.damLim.sigFraForOutDam.k, economizer1.damLim.minRetDam.u)) ($RES_SIM_134) (268) [SCAL] (1) economizer1.damLim.minRetDam.a = economizer1.enaDis.uRetDamPosMin - economizer1.damLim.minRetDam.b * economizer1.damLim.maxSigLim.k ($RES_SIM_135) (269) [SCAL] (1) economizer1.damLim.minRetDam.b = (economizer1.enaDis.uRetDamPosMin - economizer1.damLim.retDamPhyPosMaxSig.k) / (economizer1.damLim.maxSigLim.k - economizer1.damLim.sigFraForOutDam.k) ($RES_SIM_136) (270) [SCAL] (1) economizer1.enaDis.uOutDamPosMin = economizer1.damLim.minOutDam.a + economizer1.damLim.minOutDam.b * economizer1.damLim.minOutDam.xLim ($RES_SIM_138) (271) [SCAL] (1) economizer1.damLim.minOutDam.xLim = min(economizer1.damLim.sigFraForOutDam.k, max(economizer1.damLim.minSigLim.k, economizer1.damLim.minRetDam.u)) ($RES_SIM_139) (272) [SCAL] (1) $SEV_77 = time >= $PRE.economizer.enaDis.truFalHol.onDel2.t_next ($RES_EVT_1029) (273) [SCAL] (1) $SEV_76 = $FUN_1 or economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive and not $FUN_2 ($RES_EVT_1028) (274) [FOR-] (2) ($RES_EVT_1026) (274) [----] for $i1 in 1:2 loop (274) [----] [SCAL] (1) $SEV_75[$i1] = economizer.enaDis.truFalHol.outputFalse.inPort[$i1 - 1].occupied or economizer.enaDis.truFalHol.outputFalse.inPort[$i1 - 1].set ($RES_EVT_1027) (274) [----] end for; (275) [SCAL] (1) $SEV_74 = (economizer.enaDis.truFalHol.toTrue.localCondition and economizer.enaDis.truFalHol.toTrue.inPort.available) and not economizer.enaDis.truFalHol.toTrue.outPort.occupied ($RES_EVT_1025) (276) [SCAL] (1) $SEV_73 = $FUN_3 or economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive and not $FUN_4 ($RES_EVT_1024) (277) [SCAL] (1) economizer1.enaDis.truFalHol.outputTrue.outPort[1].reset = false ($RES_SIM_221) (278) [SCAL] (1) economizer1.freProTMix.con.errI2.u2 = economizer1.freProTMix.con.antWinGai.k * economizer1.freProTMix.con.antWinErr.y ($RES_SIM_93) (279) [FOR-] (2) ($RES_SIM_222) (279) [----] for $i1 in 1:2 loop (279) [----] [SCAL] (1) economizer1.enaDis.truFalHol.outputTrue.inPort[$i1].set = false ($RES_SIM_223) (279) [----] end for; (280) [SCAL] (1) economizer1.freProTMix.con.antWinErr.y = economizer1.freProTMix.con.lim.u - economizer1.retDamMinFre.u1 ($RES_SIM_94) (281) [FOR-] (2) ($RES_EVT_1022) (281) [----] for $i1 in 1:2 loop (281) [----] [SCAL] (1) $SEV_72[$i1] = economizer.enaDis.truFalHol.outputTrue.inPort[$i1 - 1].occupied or economizer.enaDis.truFalHol.outputTrue.inPort[$i1 - 1].set ($RES_EVT_1023) (281) [----] end for; (282) [SCAL] (1) economizer1.freProTMix.con.lim.u = economizer1.freProTMix.con.addPID.k1 * economizer1.freProTMix.con.addPID.u1 + economizer1.freProTMix.con.addPID.k2 * economizer1.freProTMix.con.addPID.u2 ($RES_SIM_95) (283) [SCAL] (1) $SEV_71 = (economizer.enaDis.truFalHol.toFalse.localCondition and economizer.enaDis.truFalHol.toFalse.inPort.available) and not economizer.enaDis.truFalHol.toFalse.outPort.occupied ($RES_EVT_1021) (284) [SCAL] (1) economizer1.enaDis.truFalHol.outputTrue.outPort[1].available = economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive ($RES_SIM_224) (285) [SCAL] (1) economizer1.freProTMix.con.addPID.u1 = economizer1.freProTMix.con.addPD.k1 * economizer1.freProTMix.con.addPD.u1 ($RES_SIM_96) (286) [SCAL] (1) $SEV_70 = economizer.enaDis.truFalHol.onDel2.y and not economizer.enaDis.truFalHol.toTrue1.localCondition ($RES_EVT_1020) (287) [FOR-] (2) ($RES_SIM_225) (287) [----] for $i1 in 1:2 loop (287) [----] [SCAL] (1) economizer1.enaDis.truFalHol.outputTrue.inPort[$i1].occupied = if $SEV_30[$i1] then economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive else $SEV_36[$i1] ($RES_SIM_226) (287) [----] end for; (288) [SCAL] (1) economizer1.freProTMix.con.errP.u2 = economizer1.freProTMix.con.uMea_revAct.k * TMixMea.k ($RES_SIM_97) (289) [SCAL] (1) economizer1.freProTMix.con.errI1.u1 = economizer1.freProTMix.con.uS_revAct.k * economizer1.freProTMix.setPoi.k ($RES_SIM_98) (290) [WHEN] (1)when false then (290) [----] economizer1.enaDis.truFalHol.outputTrue.oldActive := economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive (290) [----] end when; (291) [SCAL] (1) economizer1.enaDis.truFalHol.outputTrue.newActive = $SEV_37 ($RES_SIM_228) (292) [SCAL] (1) economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive = $TEV_11 ($RES_SIM_229) (293) [SCAL] (1) economizer.enaDis.uOutDamPosMax = if not economizer.damLim.and3.y then economizer.damLim.outDamPhyPosMinSig.k else economizer.damLim.outDamPhyPosMaxSig.k ($RES_SIM_311) (294) [SCAL] (1) economizer.enaDis.uRetDamPosMin = if not economizer.damLim.and3.y then economizer.damLim.retDamPhyPosMaxSig.k else economizer.damLim.retDamPhyPosMinSig.k ($RES_SIM_312) (295) [SCAL] (1) economizer.enaDis.maxRetDamSwitch.u3 = economizer.damLim.minRetDam.a + economizer.damLim.minRetDam.b * economizer.damLim.minRetDam.xLim ($RES_SIM_313) (296) [SCAL] (1) economizer.damLim.minRetDam.xLim = min(economizer.damLim.maxSigLim.k, max(economizer.damLim.sigFraForOutDam.k, economizer.damLim.minRetDam.u)) ($RES_SIM_314) (297) [SCAL] (1) economizer.damLim.minRetDam.a = economizer.enaDis.uRetDamPosMin - economizer.damLim.minRetDam.b * economizer.damLim.maxSigLim.k ($RES_SIM_315) (298) [SCAL] (1) economizer1.damLim.minOutDam.a = economizer1.enaDis.uOutDamPosMax - economizer1.damLim.minOutDam.b * economizer1.damLim.sigFraForOutDam.k ($RES_SIM_140) (299) [SCAL] (1) economizer.damLim.minRetDam.b = (economizer.enaDis.uRetDamPosMin - economizer.damLim.retDamPhyPosMaxSig.k) / (economizer.damLim.maxSigLim.k - economizer.damLim.sigFraForOutDam.k) ($RES_SIM_316) (300) [SCAL] (1) economizer1.damLim.minOutDam.b = (economizer1.enaDis.uOutDamPosMax - economizer1.damLim.outDamPhyPosMinSig.k) / (economizer1.damLim.sigFraForOutDam.k - economizer1.damLim.minSigLim.k) ($RES_SIM_141) (301) [SCAL] (1) economizer.enaDis.uOutDamPosMin = economizer.damLim.minOutDam.a + economizer.damLim.minOutDam.b * economizer.damLim.minOutDam.xLim ($RES_SIM_318) (302) [SCAL] (1) economizer.damLim.minOutDam.xLim = min(economizer.damLim.sigFraForOutDam.k, max(economizer.damLim.minSigLim.k, economizer.damLim.minRetDam.u)) ($RES_SIM_319) (303) [SCAL] (1) $SEV_69 = economizer.enaDis.truFalHol.onDel1.y and economizer.enaDis.truFalHol.toTrue1.localCondition ($RES_EVT_1019) (304) [SCAL] (1) $SEV_68 = economizer.enaDis.truFalHol.initialStep.outerStatePort.localActive and not $FUN_6 ($RES_EVT_1018) (305) [SCAL] (1) economizer.enaDis.truFalHol.outputTrue.outPort[1].reset = false ($RES_SIM_402) (306) [FOR-] (2) ($RES_SIM_403) (306) [----] for $i1 in 1:2 loop (306) [----] [SCAL] (1) economizer.enaDis.truFalHol.outputTrue.inPort[$i1].set = false ($RES_SIM_404) (306) [----] end for; (307) [FOR-] (2) ($RES_EVT_1016) (307) [----] for $i1 in 1:2 loop (307) [----] [SCAL] (1) $SEV_67[$i1] = economizer.enaDis.truFalHol.initialStep.outPort[$i1 - 1].available and not economizer.enaDis.truFalHol.initialStep.outPort[$i1 - 1].reset ($RES_EVT_1017) (307) [----] end for; (308) [SCAL] (1) $SEV_66 = (economizer.enaDis.truFalHol.toTrue1.localCondition and economizer.enaDis.truFalHol.toTrue1.inPort.available) and not economizer.enaDis.truFalHol.toTrue1.outPort.occupied ($RES_EVT_1015) (309) [SCAL] (1) economizer.enaDis.truFalHol.outputTrue.outPort[1].available = economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive ($RES_SIM_405) (310) [SCAL] (1) $SEV_65 = (not economizer.enaDis.truFalHol.toTrue1.localCondition and economizer.enaDis.truFalHol.toFalse1.inPort.available) and not economizer.enaDis.truFalHol.toFalse1.outPort.occupied ($RES_EVT_1014) (311) [FOR-] (2) ($RES_SIM_406) (311) [----] for $i1 in 1:2 loop (311) [----] [SCAL] (1) economizer.enaDis.truFalHol.outputTrue.inPort[$i1].occupied = if $SEV_30[$i1] then economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive else $SEV_72[$i1] ($RES_SIM_407) (311) [----] end for; (312) [SCAL] (1) economizer1.enaDis.truFalHol.outputTrue.outerStatePort.subgraphStatePort.activeSteps = if economizer1.enaDis.truFalHol.outputTrue.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_231) (313) [SCAL] (1) $SEV_64 = economizer.enaDis.and1.y and economizer.enaDis.intEqu.y ($RES_EVT_1013) (314) [SCAL] (1) $SEV_63 = not $PRE.economizer.enaDis.hysOutTem.y and economizer.enaDis.add1.y > economizer.enaDis.hysOutTem.uHigh or $PRE.economizer.enaDis.hysOutTem.y and economizer.enaDis.add1.y >= economizer.enaDis.hysOutTem.uLow ($RES_EVT_1012) (315) [WHEN] (1)when false then (315) [----] economizer.enaDis.truFalHol.outputTrue.oldActive := economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive (315) [----] end when; (316) [SCAL] (1) $SEV_62 = not $PRE.economizer.enaDis.hysOutEnt.y and economizer.enaDis.add2.y > economizer.enaDis.hysOutEnt.uHigh or $PRE.economizer.enaDis.hysOutEnt.y and economizer.enaDis.add2.y >= economizer.enaDis.hysOutEnt.uLow ($RES_EVT_1011) (317) [SCAL] (1) economizer.enaDis.truFalHol.outputTrue.newActive = $SEV_73 ($RES_SIM_409) (318) [SCAL] (1) $SEV_61 = economizer.enaDis.hysOutTem.y or economizer.enaDis.hysOutEnt.y ($RES_EVT_1010) (319) [SCAL] (1) economizer1.enaDis.truFalHol.toTrue.outPort.set = $SEV_38 ($RES_SIM_235) (320) [SCAL] (1) economizer.damLim.minOutDam.a = economizer.enaDis.uOutDamPosMax - economizer.damLim.minOutDam.b * economizer.damLim.sigFraForOutDam.k ($RES_SIM_320) (321) [SCAL] (1) economizer.damLim.minOutDam.b = (economizer.enaDis.uOutDamPosMax - economizer.damLim.outDamPhyPosMinSig.k) / (economizer.damLim.sigFraForOutDam.k - economizer.damLim.minSigLim.k) ($RES_SIM_321) (322) [SCAL] (1) economizer1.damLim.damLimCon.addRes.y = economizer1.damLim.damLimCon.yResSig.k - economizer1.damLim.damLimCon.addPID.u1 ($RES_SIM_152) (323) [SCAL] (1) economizer1.damLim.damLimCon.errI2.u2 = economizer1.damLim.damLimCon.antWinGai.k * economizer1.damLim.damLimCon.antWinErr.y ($RES_SIM_154) (324) [SCAL] (1) economizer1.damLim.damLimCon.antWinErr.y = economizer1.damLim.damLimCon.lim.u - economizer1.damLim.minRetDam.u ($RES_SIM_155) (325) [SCAL] (1) economizer1.damLim.damLimCon.lim.u = economizer1.damLim.damLimCon.addPID.k1 * economizer1.damLim.damLimCon.addPID.u1 + economizer1.damLim.damLimCon.addPID.k2 * economizer1.damLim.damLimCon.addPID.u2 ($RES_SIM_156) (326) [SCAL] (1) economizer1.damLim.damLimCon.addPID.u1 = economizer1.damLim.damLimCon.addPD.k1 * economizer1.damLim.damLimCon.addPD.u1 ($RES_SIM_157) (327) [SCAL] (1) economizer1.damLim.damLimCon.errP.u2 = economizer1.damLim.damLimCon.uMea_revAct.k * economizer1.movAve.y ($RES_SIM_158) (328) [SCAL] (1) economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive = $TEV_30 ($RES_SIM_410) (329) [SCAL] (1) economizer1.damLim.damLimCon.errI1.u1 = economizer1.damLim.damLimCon.uS_revAct.k * VOutMinSet_flow.k ($RES_SIM_159) (330) [SCAL] (1) $SEV_60 = not economizer.enaDis.andEnaDis.y and not economizer.enaDis.delRetDam.y ($RES_EVT_1009) (331) [SCAL] (1) $SEV_59 = economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive and fanSta.k ($RES_EVT_1008) (332) [SCAL] (1) economizer.enaDis.truFalHol.outputTrue.outerStatePort.subgraphStatePort.activeSteps = if economizer.enaDis.truFalHol.outputTrue.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_412) (333) [SCAL] (1) $SEV_58 = not economizer.enaDis.andEnaDis.y and economizer.enaDis.and3.u2 ($RES_EVT_1007) (334) [SCAL] (1) $SEV_57 = freProSta.k == economizer.enaDis.conInt.k ($RES_EVT_1006) (335) [SCAL] (1) $SEV_56 = time >= $PRE.economizer.enaDis.delOutDamOsc.t_next ($RES_EVT_1005) (336) [SCAL] (1) economizer1.enaDis.truFalHol.outputFalse.outPort[1].reset = false ($RES_SIM_240) (337) [SCAL] (1) $SEV_55 = time >= $PRE.economizer.enaDis.delRetDam.t_next ($RES_EVT_1004) (338) [SCAL] (1) economizer.enaDis.truFalHol.toTrue.outPort.set = $SEV_74 ($RES_SIM_416) (339) [FOR-] (2) ($RES_SIM_241) (339) [----] for $i1 in 1:2 loop (339) [----] [SCAL] (1) economizer1.enaDis.truFalHol.outputFalse.inPort[$i1].set = false ($RES_SIM_242) (339) [----] end for; (340) [SCAL] (1) $SEV_54 = economizer.damLim.damLimCon.lim.u < economizer.damLim.damLimCon.lim.uMin ($RES_EVT_1003) (341) [SCAL] (1) $SEV_53 = economizer.damLim.damLimCon.lim.u > economizer.damLim.damLimCon.lim.uMax ($RES_EVT_1002) (342) [SCAL] (1) economizer1.enaDis.truFalHol.outputFalse.outPort[1].available = economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive ($RES_SIM_243) (343) [FOR-] (2) ($RES_SIM_244) (343) [----] for $i1 in 1:2 loop (343) [----] [SCAL] (1) economizer1.enaDis.truFalHol.outputFalse.inPort[$i1].occupied = if $SEV_30[$i1] then economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive else $SEV_39[$i1] ($RES_SIM_245) (343) [----] end for; (344) [WHEN] (1)when false then (344) [----] economizer1.enaDis.truFalHol.outputFalse.oldActive := economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive (344) [----] end when; (345) [SCAL] (1) economizer1.enaDis.truFalHol.outputFalse.newActive = $SEV_40 ($RES_SIM_247) (346) [SCAL] (1) economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive = $TEV_15 ($RES_SIM_248) (347) [SCAL] (1) economizer.damLim.damLimCon.addRes.y = economizer.damLim.damLimCon.yResSig.k - economizer.damLim.damLimCon.addPID.u1 ($RES_SIM_332) (348) [SCAL] (1) economizer.damLim.damLimCon.errI2.u2 = economizer.damLim.damLimCon.antWinGai.k * economizer.damLim.damLimCon.antWinErr.y ($RES_SIM_334) (349) [SCAL] (1) economizer.damLim.damLimCon.antWinErr.y = economizer.damLim.damLimCon.lim.u - economizer.damLim.minRetDam.u ($RES_SIM_335) (350) [SCAL] (1) economizer.damLim.damLimCon.lim.u = economizer.damLim.damLimCon.addPID.k1 * economizer.damLim.damLimCon.addPID.u1 + economizer.damLim.damLimCon.addPID.k2 * economizer.damLim.damLimCon.addPID.u2 ($RES_SIM_336) (351) [SCAL] (1) economizer1.damLim.minRetDam.u = homotopy(smooth(0, noEvent(if $SEV_17 then economizer1.damLim.damLimCon.lim.uMax else if $SEV_18 then economizer1.damLim.damLimCon.lim.uMin else economizer1.damLim.damLimCon.lim.u)), economizer1.damLim.damLimCon.lim.u) ($RES_SIM_161) (352) [SCAL] (1) economizer.damLim.damLimCon.addPID.u1 = economizer.damLim.damLimCon.addPD.k1 * economizer.damLim.damLimCon.addPD.u1 ($RES_SIM_337) (353) [SCAL] (1) economizer1.damLim.damLimCon.I.u = economizer1.damLim.damLimCon.errI1.y - economizer1.damLim.damLimCon.errI2.u2 ($RES_SIM_162) (354) [SCAL] (1) economizer.damLim.damLimCon.errP.u2 = economizer.damLim.damLimCon.uMea_revAct.k * economizer.movAve.y ($RES_SIM_338) (355) [SCAL] (1) economizer1.damLim.damLimCon.errI1.y = economizer1.damLim.damLimCon.errI1.u1 - economizer1.damLim.damLimCon.errP.u2 ($RES_SIM_163) (356) [SCAL] (1) economizer.damLim.damLimCon.errI1.u1 = economizer.damLim.damLimCon.uS_revAct.k * VOutMinSet_flow.k ($RES_SIM_339) (357) [SCAL] (1) economizer1.damLim.damLimCon.P.u = economizer1.damLim.damLimCon.errI1.u1 - economizer1.damLim.damLimCon.errP.u2 ($RES_SIM_164) (358) [SCAL] (1) $DER.economizer1.damLim.damLimCon.addPID.u2 = economizer1.damLim.damLimCon.I.k * economizer1.damLim.damLimCon.I.u ($RES_SIM_166) (359) [SCAL] (1) economizer1.damLim.damLimCon.addPD.u1 = economizer1.damLim.damLimCon.P.k * economizer1.damLim.damLimCon.P.u ($RES_SIM_167) (360) [SCAL] (1) economizer1.damLim.damLimCon.controlError.y = VOutMinSet_flow.k - economizer1.movAve.y ($RES_SIM_168) (361) [SCAL] (1) economizer.enaDis.truFalHol.outputFalse.outPort[1].reset = false ($RES_SIM_421) (362) [FOR-] (2) ($RES_SIM_422) (362) [----] for $i1 in 1:2 loop (362) [----] [SCAL] (1) economizer.enaDis.truFalHol.outputFalse.inPort[$i1].set = false ($RES_SIM_423) (362) [----] end for; (363) [SCAL] (1) economizer.enaDis.truFalHol.outputFalse.outPort[1].available = economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive ($RES_SIM_424) (364) [FOR-] (2) ($RES_SIM_425) (364) [----] for $i1 in 1:2 loop (364) [----] [SCAL] (1) economizer.enaDis.truFalHol.outputFalse.inPort[$i1].occupied = if $SEV_30[$i1] then economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive else $SEV_75[$i1] ($RES_SIM_426) (364) [----] end for; (365) [SCAL] (1) economizer1.enaDis.truFalHol.outputFalse.outerStatePort.subgraphStatePort.activeSteps = if economizer1.enaDis.truFalHol.outputFalse.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_250) (366) [WHEN] (1)when false then (366) [----] economizer.enaDis.truFalHol.outputFalse.oldActive := economizer.enaDis.truFalHol.outputFalse.outerStatePort.localActive (366) [----] end when; (367) [SCAL] (1) economizer.enaDis.truFalHol.outputFalse.newActive = $SEV_76 ($RES_SIM_428) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 50 var 2 --> eqn 52 var 3 --> eqn 8 var 4 --> eqn 268 var 5 --> eqn 219 var 6 --> eqn 139 var 7 --> eqn 307 var 8 --> eqn 53 var 9 --> eqn 359 var 10 --> eqn 360 var 11 --> eqn 371 var 12 --> eqn 189 var 13 --> eqn 319 var 14 --> eqn 220 var 15 --> eqn 311 var 16 --> eqn 309 var 17 --> eqn 247 var 18 --> eqn 43 var 19 --> eqn 40 var 20 --> eqn 217 var 21 --> eqn 339 var 22 --> eqn 119 var 23 --> eqn 99 var 24 --> eqn 38 var 25 --> eqn 73 var 26 --> eqn 1 var 27 --> eqn 203 var 28 --> eqn 301 var 29 --> eqn 385 var 30 --> eqn 202 var 31 --> eqn 48 var 32 --> eqn 287 var 33 --> eqn 21 var 34 --> eqn 44 var 35 --> eqn 358 var 36 --> eqn 183 var 37 --> eqn 111 var 38 --> eqn 108 var 39 --> eqn 230 var 40 --> eqn 253 var 41 --> eqn 300 var 42 --> eqn 239 var 43 --> eqn 74 var 44 --> eqn 184 var 45 --> eqn 75 var 46 --> eqn 237 var 47 --> eqn 46 var 48 --> eqn 238 var 49 --> eqn 198 var 50 --> eqn 199 var 51 --> eqn 124 var 52 --> eqn 97 var 53 --> eqn 121 var 54 --> eqn 289 var 55 --> eqn 163 var 56 --> eqn 162 var 57 --> eqn 341 var 58 --> eqn 308 var 59 --> eqn 291 var 60 --> eqn 292 var 61 --> eqn 375 var 62 --> eqn 34 var 63 --> eqn 325 var 64 --> eqn 326 var 65 --> eqn 12 var 66 --> eqn 20 var 67 --> eqn 290 var 68 --> eqn 376 var 69 --> eqn 160 var 70 --> eqn 361 var 71 --> eqn 286 var 72 --> eqn 250 var 73 --> eqn 252 var 74 --> eqn 201 var 75 --> eqn 185 var 76 --> eqn 304 var 77 --> eqn 196 var 78 --> eqn 197 var 79 --> eqn 45 var 80 --> eqn 61 var 81 --> eqn 344 var 82 --> eqn 59 var 83 --> eqn 37 var 84 --> eqn 29 var 85 --> eqn 35 var 86 --> eqn 33 var 87 --> eqn 30 var 88 --> eqn 27 var 89 --> eqn 26 var 90 --> eqn 25 var 91 --> eqn 24 var 92 --> eqn 338 var 93 --> eqn 72 var 94 --> eqn 235 var 95 --> eqn 11 var 96 --> eqn 332 var 97 --> eqn 56 var 98 --> eqn 245 var 99 --> eqn 246 var 100 --> eqn 369 var 101 --> eqn 278 var 102 --> eqn 261 var 103 --> eqn 224 var 104 --> eqn 145 var 105 --> eqn 146 var 106 --> eqn 216 var 107 --> eqn 293 var 108 --> eqn 251 var 109 --> eqn 279 var 110 --> eqn 23 var 111 --> eqn 260 var 112 --> eqn 18 var 113 --> eqn 14 var 114 --> eqn 240 var 115 --> eqn 263 var 116 --> eqn 129 var 117 --> eqn 19 var 118 --> eqn 165 var 119 --> eqn 155 var 120 --> eqn 113 var 121 --> eqn 6 var 122 --> eqn 373 var 123 --> eqn 229 var 124 --> eqn 302 var 125 --> eqn 28 var 126 --> eqn 347 var 127 --> eqn 85 var 128 --> eqn 103 var 129 --> eqn 365 var 130 --> eqn 248 var 131 --> eqn 80 var 132 --> eqn 241 var 133 --> eqn 313 var 134 --> eqn 242 var 135 --> eqn 223 var 136 --> eqn 266 var 137 --> eqn 382 var 138 --> eqn 383 var 139 --> eqn 36 var 140 --> eqn 374 var 141 --> eqn 84 var 142 --> eqn 60 var 143 --> eqn 62 var 144 --> eqn 215 var 145 --> eqn 221 var 146 --> eqn 262 var 147 --> eqn 58 var 148 --> eqn 265 var 149 --> eqn 280 var 150 --> eqn 281 var 151 --> eqn 284 var 152 --> eqn 86 var 153 --> eqn 320 var 154 --> eqn 321 var 155 --> eqn 285 var 156 --> eqn 81 var 157 --> eqn 4 var 158 --> eqn 294 var 159 --> eqn 168 var 160 --> eqn 297 var 161 --> eqn 212 var 162 --> eqn 213 var 163 --> eqn 167 var 164 --> eqn 164 var 165 --> eqn 140 var 166 --> eqn 39 var 167 --> eqn 236 var 168 --> eqn 372 var 169 --> eqn 31 var 170 --> eqn 149 var 171 --> eqn 315 var 172 --> eqn 316 var 173 --> eqn 270 var 174 --> eqn 186 var 175 --> eqn 109 var 176 --> eqn 204 var 177 --> eqn 324 var 178 --> eqn 328 var 179 --> eqn 329 var 180 --> eqn 331 var 181 --> eqn 333 var 182 --> eqn 345 var 183 --> eqn 190 var 184 --> eqn 264 var 185 --> eqn 107 var 186 --> eqn 55 var 187 --> eqn 132 var 188 --> eqn 135 var 189 --> eqn 259 var 190 --> eqn 16 var 191 --> eqn 5 var 192 --> eqn 323 var 193 --> eqn 346 var 194 --> eqn 342 var 195 --> eqn 348 var 196 --> eqn 275 var 197 --> eqn 349 var 198 --> eqn 350 var 199 --> eqn 352 var 200 --> eqn 356 var 201 --> eqn 298 var 202 --> eqn 299 var 203 --> eqn 222 var 204 --> eqn 357 var 205 --> eqn 234 var 206 --> eqn 337 var 207 --> eqn 82 var 208 --> eqn 17 var 209 --> eqn 87 var 210 --> eqn 384 var 211 --> eqn 233 var 212 --> eqn 3 var 213 --> eqn 232 var 214 --> eqn 231 var 215 --> eqn 110 var 216 --> eqn 386 var 217 --> eqn 228 var 218 --> eqn 227 var 219 --> eqn 226 var 220 --> eqn 225 var 221 --> eqn 214 var 222 --> eqn 381 var 223 --> eqn 157 var 224 --> eqn 15 var 225 --> eqn 138 var 226 --> eqn 137 var 227 --> eqn 32 var 228 --> eqn 134 var 229 --> eqn 330 var 230 --> eqn 131 var 231 --> eqn 166 var 232 --> eqn 126 var 233 --> eqn 57 var 234 --> eqn 123 var 235 --> eqn 258 var 236 --> eqn 77 var 237 --> eqn 257 var 238 --> eqn 256 var 239 --> eqn 276 var 240 --> eqn 277 var 241 --> eqn 211 var 242 --> eqn 210 var 243 --> eqn 207 var 244 --> eqn 112 var 245 --> eqn 206 var 246 --> eqn 208 var 247 --> eqn 209 var 248 --> eqn 205 var 249 --> eqn 200 var 250 --> eqn 364 var 251 --> eqn 156 var 252 --> eqn 2 var 253 --> eqn 154 var 254 --> eqn 153 var 255 --> eqn 368 var 256 --> eqn 47 var 257 --> eqn 143 var 258 --> eqn 141 var 259 --> eqn 310 var 260 --> eqn 312 var 261 --> eqn 101 var 262 --> eqn 195 var 263 --> eqn 194 var 264 --> eqn 51 var 265 --> eqn 193 var 266 --> eqn 362 var 267 --> eqn 192 var 268 --> eqn 191 var 269 --> eqn 182 var 270 --> eqn 363 var 271 --> eqn 181 var 272 --> eqn 180 var 273 --> eqn 179 var 274 --> eqn 178 var 275 --> eqn 152 var 276 --> eqn 41 var 277 --> eqn 151 var 278 --> eqn 7 var 279 --> eqn 136 var 280 --> eqn 370 var 281 --> eqn 271 var 282 --> eqn 133 var 283 --> eqn 130 var 284 --> eqn 128 var 285 --> eqn 125 var 286 --> eqn 122 var 287 --> eqn 120 var 288 --> eqn 249 var 289 --> eqn 118 var 290 --> eqn 255 var 291 --> eqn 142 var 292 --> eqn 144 var 293 --> eqn 106 var 294 --> eqn 54 var 295 --> eqn 42 var 296 --> eqn 49 var 297 --> eqn 188 var 298 --> eqn 295 var 299 --> eqn 174 var 300 --> eqn 161 var 301 --> eqn 177 var 302 --> eqn 176 var 303 --> eqn 343 var 304 --> eqn 175 var 305 --> eqn 104 var 306 --> eqn 147 var 307 --> eqn 148 var 308 --> eqn 127 var 309 --> eqn 172 var 310 --> eqn 273 var 311 --> eqn 171 var 312 --> eqn 95 var 313 --> eqn 170 var 314 --> eqn 306 var 315 --> eqn 105 var 316 --> eqn 169 var 317 --> eqn 116 var 318 --> eqn 83 var 319 --> eqn 114 var 320 --> eqn 102 var 321 --> eqn 100 var 322 --> eqn 98 var 323 --> eqn 272 var 324 --> eqn 96 var 325 --> eqn 115 var 326 --> eqn 274 var 327 --> eqn 117 var 328 --> eqn 94 var 329 --> eqn 22 var 330 --> eqn 314 var 331 --> eqn 366 var 332 --> eqn 254 var 333 --> eqn 93 var 334 --> eqn 92 var 335 --> eqn 91 var 336 --> eqn 13 var 337 --> eqn 159 var 338 --> eqn 76 var 339 --> eqn 296 var 340 --> eqn 269 var 341 --> eqn 340 var 342 --> eqn 305 var 343 --> eqn 9 var 344 --> eqn 187 var 345 --> eqn 377 var 346 --> eqn 78 var 347 --> eqn 79 var 348 --> eqn 70 var 349 --> eqn 282 var 350 --> eqn 283 var 351 --> eqn 367 var 352 --> eqn 90 var 353 --> eqn 89 var 354 --> eqn 71 var 355 --> eqn 69 var 356 --> eqn 158 var 357 --> eqn 68 var 358 --> eqn 218 var 359 --> eqn 88 var 360 --> eqn 67 var 361 --> eqn 66 var 362 --> eqn 150 var 363 --> eqn 65 var 364 --> eqn 64 var 365 --> eqn 10 var 366 --> eqn 63 var 367 --> eqn 327 var 368 --> eqn 303 var 369 --> eqn 336 var 370 --> eqn 335 equation to variable ********************** eqn 1 --> var 26 eqn 2 --> var 252 eqn 3 --> var 212 eqn 4 --> var 157 eqn 5 --> var 191 eqn 6 --> var 121 eqn 7 --> var 278 eqn 8 --> var 3 eqn 9 --> var 343 eqn 10 --> var 365 eqn 11 --> var 95 eqn 12 --> var 65 eqn 13 --> var 336 eqn 14 --> var 113 eqn 15 --> var 224 eqn 16 --> var 190 eqn 17 --> var 208 eqn 18 --> var 112 eqn 19 --> var 117 eqn 20 --> var 66 eqn 21 --> var 33 eqn 22 --> var 329 eqn 23 --> var 110 eqn 24 --> var 91 eqn 25 --> var 90 eqn 26 --> var 89 eqn 27 --> var 88 eqn 28 --> var 125 eqn 29 --> var 84 eqn 30 --> var 87 eqn 31 --> var 169 eqn 32 --> var 227 eqn 33 --> var 86 eqn 34 --> var 62 eqn 35 --> var 85 eqn 36 --> var 139 eqn 37 --> var 83 eqn 38 --> var 24 eqn 39 --> var 166 eqn 40 --> var 19 eqn 41 --> var 276 eqn 42 --> var 295 eqn 43 --> var 18 eqn 44 --> var 34 eqn 45 --> var 79 eqn 46 --> var 47 eqn 47 --> var 256 eqn 48 --> var 31 eqn 49 --> var 296 eqn 50 --> var 1 eqn 51 --> var 264 eqn 52 --> var 2 eqn 53 --> var 8 eqn 54 --> var 294 eqn 55 --> var 186 eqn 56 --> var 97 eqn 57 --> var 233 eqn 58 --> var 147 eqn 59 --> var 82 eqn 60 --> var 142 eqn 61 --> var 80 eqn 62 --> var 143 eqn 63 --> var 366 eqn 64 --> var 364 eqn 65 --> var 363 eqn 66 --> var 361 eqn 67 --> var 360 eqn 68 --> var 357 eqn 69 --> var 355 eqn 70 --> var 348 eqn 71 --> var 354 eqn 72 --> var 93 eqn 73 --> var 25 eqn 74 --> var 43 eqn 75 --> var 45 eqn 76 --> var 338 eqn 77 --> var 236 eqn 78 --> var 346 eqn 79 --> var 347 eqn 80 --> var 131 eqn 81 --> var 156 eqn 82 --> var 207 eqn 83 --> var 318 eqn 84 --> var 141 eqn 85 --> var 127 eqn 86 --> var 152 eqn 87 --> var 209 eqn 88 --> var 359 eqn 89 --> var 353 eqn 90 --> var 352 eqn 91 --> var 335 eqn 92 --> var 334 eqn 93 --> var 333 eqn 94 --> var 328 eqn 95 --> var 312 eqn 96 --> var 324 eqn 97 --> var 52 eqn 98 --> var 322 eqn 99 --> var 23 eqn 100 --> var 321 eqn 101 --> var 261 eqn 102 --> var 320 eqn 103 --> var 128 eqn 104 --> var 305 eqn 105 --> var 315 eqn 106 --> var 293 eqn 107 --> var 185 eqn 108 --> var 38 eqn 109 --> var 175 eqn 110 --> var 215 eqn 111 --> var 37 eqn 112 --> var 244 eqn 113 --> var 120 eqn 114 --> var 319 eqn 115 --> var 325 eqn 116 --> var 317 eqn 117 --> var 327 eqn 118 --> var 289 eqn 119 --> var 22 eqn 120 --> var 287 eqn 121 --> var 53 eqn 122 --> var 286 eqn 123 --> var 234 eqn 124 --> var 51 eqn 125 --> var 285 eqn 126 --> var 232 eqn 127 --> var 308 eqn 128 --> var 284 eqn 129 --> var 116 eqn 130 --> var 283 eqn 131 --> var 230 eqn 132 --> var 187 eqn 133 --> var 282 eqn 134 --> var 228 eqn 135 --> var 188 eqn 136 --> var 279 eqn 137 --> var 226 eqn 138 --> var 225 eqn 139 --> var 6 eqn 140 --> var 165 eqn 141 --> var 258 eqn 142 --> var 291 eqn 143 --> var 257 eqn 144 --> var 292 eqn 145 --> var 104 eqn 146 --> var 105 eqn 147 --> var 306 eqn 148 --> var 307 eqn 149 --> var 170 eqn 150 --> var 362 eqn 151 --> var 277 eqn 152 --> var 275 eqn 153 --> var 254 eqn 154 --> var 253 eqn 155 --> var 119 eqn 156 --> var 251 eqn 157 --> var 223 eqn 158 --> var 356 eqn 159 --> var 337 eqn 160 --> var 69 eqn 161 --> var 300 eqn 162 --> var 56 eqn 163 --> var 55 eqn 164 --> var 164 eqn 165 --> var 118 eqn 166 --> var 231 eqn 167 --> var 163 eqn 168 --> var 159 eqn 169 --> var 316 eqn 170 --> var 313 eqn 171 --> var 311 eqn 172 --> var 309 eqn 173 --> var -1 eqn 174 --> var 299 eqn 175 --> var 304 eqn 176 --> var 302 eqn 177 --> var 301 eqn 178 --> var 274 eqn 179 --> var 273 eqn 180 --> var 272 eqn 181 --> var 271 eqn 182 --> var 269 eqn 183 --> var 36 eqn 184 --> var 44 eqn 185 --> var 75 eqn 186 --> var 174 eqn 187 --> var 344 eqn 188 --> var 297 eqn 189 --> var 12 eqn 190 --> var 183 eqn 191 --> var 268 eqn 192 --> var 267 eqn 193 --> var 265 eqn 194 --> var 263 eqn 195 --> var 262 eqn 196 --> var 77 eqn 197 --> var 78 eqn 198 --> var 49 eqn 199 --> var 50 eqn 200 --> var 249 eqn 201 --> var 74 eqn 202 --> var 30 eqn 203 --> var 27 eqn 204 --> var 176 eqn 205 --> var 248 eqn 206 --> var 245 eqn 207 --> var 243 eqn 208 --> var 246 eqn 209 --> var 247 eqn 210 --> var 242 eqn 211 --> var 241 eqn 212 --> var 161 eqn 213 --> var 162 eqn 214 --> var 221 eqn 215 --> var 144 eqn 216 --> var 106 eqn 217 --> var 20 eqn 218 --> var 358 eqn 219 --> var 5 eqn 220 --> var 14 eqn 221 --> var 145 eqn 222 --> var 203 eqn 223 --> var 135 eqn 224 --> var 103 eqn 225 --> var 220 eqn 226 --> var 219 eqn 227 --> var 218 eqn 228 --> var 217 eqn 229 --> var 123 eqn 230 --> var 39 eqn 231 --> var 214 eqn 232 --> var 213 eqn 233 --> var 211 eqn 234 --> var 205 eqn 235 --> var 94 eqn 236 --> var 167 eqn 237 --> var 46 eqn 238 --> var 48 eqn 239 --> var 42 eqn 240 --> var 114 eqn 241 --> var 132 eqn 242 --> var 134 eqn 243 --> var -1 eqn 244 --> var -1 eqn 245 --> var 98 eqn 246 --> var 99 eqn 247 --> var 17 eqn 248 --> var 130 eqn 249 --> var 288 eqn 250 --> var 72 eqn 251 --> var 108 eqn 252 --> var 73 eqn 253 --> var 40 eqn 254 --> var 332 eqn 255 --> var 290 eqn 256 --> var 238 eqn 257 --> var 237 eqn 258 --> var 235 eqn 259 --> var 189 eqn 260 --> var 111 eqn 261 --> var 102 eqn 262 --> var 146 eqn 263 --> var 115 eqn 264 --> var 184 eqn 265 --> var 148 eqn 266 --> var 136 eqn 267 --> var -1 eqn 268 --> var 4 eqn 269 --> var 340 eqn 270 --> var 173 eqn 271 --> var 281 eqn 272 --> var 323 eqn 273 --> var 310 eqn 274 --> var 326 eqn 275 --> var 196 eqn 276 --> var 239 eqn 277 --> var 240 eqn 278 --> var 101 eqn 279 --> var 109 eqn 280 --> var 149 eqn 281 --> var 150 eqn 282 --> var 349 eqn 283 --> var 350 eqn 284 --> var 151 eqn 285 --> var 155 eqn 286 --> var 71 eqn 287 --> var 32 eqn 288 --> var -1 eqn 289 --> var 54 eqn 290 --> var 67 eqn 291 --> var 59 eqn 292 --> var 60 eqn 293 --> var 107 eqn 294 --> var 158 eqn 295 --> var 298 eqn 296 --> var 339 eqn 297 --> var 160 eqn 298 --> var 201 eqn 299 --> var 202 eqn 300 --> var 41 eqn 301 --> var 28 eqn 302 --> var 124 eqn 303 --> var 368 eqn 304 --> var 76 eqn 305 --> var 342 eqn 306 --> var 314 eqn 307 --> var 7 eqn 308 --> var 58 eqn 309 --> var 16 eqn 310 --> var 259 eqn 311 --> var 15 eqn 312 --> var 260 eqn 313 --> var 133 eqn 314 --> var 330 eqn 315 --> var 171 eqn 316 --> var 172 eqn 317 --> var -1 eqn 318 --> var -1 eqn 319 --> var 13 eqn 320 --> var 153 eqn 321 --> var 154 eqn 322 --> var -1 eqn 323 --> var 192 eqn 324 --> var 177 eqn 325 --> var 63 eqn 326 --> var 64 eqn 327 --> var 367 eqn 328 --> var 178 eqn 329 --> var 179 eqn 330 --> var 229 eqn 331 --> var 180 eqn 332 --> var 96 eqn 333 --> var 181 eqn 334 --> var -1 eqn 335 --> var 370 eqn 336 --> var 369 eqn 337 --> var 206 eqn 338 --> var 92 eqn 339 --> var 21 eqn 340 --> var 341 eqn 341 --> var 57 eqn 342 --> var 194 eqn 343 --> var 303 eqn 344 --> var 81 eqn 345 --> var 182 eqn 346 --> var 193 eqn 347 --> var 126 eqn 348 --> var 195 eqn 349 --> var 197 eqn 350 --> var 198 eqn 351 --> var -1 eqn 352 --> var 199 eqn 353 --> var -1 eqn 354 --> var -1 eqn 355 --> var -1 eqn 356 --> var 200 eqn 357 --> var 204 eqn 358 --> var 35 eqn 359 --> var 9 eqn 360 --> var 10 eqn 361 --> var 70 eqn 362 --> var 266 eqn 363 --> var 270 eqn 364 --> var 250 eqn 365 --> var 129 eqn 366 --> var 331 eqn 367 --> var 351 eqn 368 --> var 255 eqn 369 --> var 100 eqn 370 --> var 280 eqn 371 --> var 11 eqn 372 --> var 168 eqn 373 --> var 122 eqn 374 --> var 140 eqn 375 --> var 61 eqn 376 --> var 68 eqn 377 --> var 345 eqn 378 --> var -1 eqn 379 --> var -1 eqn 380 --> var -1 eqn 381 --> var 222 eqn 382 --> var 137 eqn 383 --> var 138 eqn 384 --> var 210 eqn 385 --> var 29 eqn 386 --> var 216