Skip to content

Commit

Permalink
Update some myps script
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsso committed Jul 30, 2021
1 parent d8eb32f commit 666a3a3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions myps/test-scripts/factory/gas-test.myps
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ loop:
nHI = nI * (tC - tI) / (tC - tH)
nCI = nI - nHI

rF = nF - nR
fix rF = nF - nR

nC = nCfactor * tankC.TotalMoles
rC = nC - nCI
fix rC = nC - nCI

nH = nHfactor * tankH.TotalMoles
rH = nH - nHI
fix rH = nH - nHI

tag PDLoop:
yield()
Expand All @@ -59,12 +59,12 @@ loop:
HNotDone = (eH > ERRORH)

eFdest.Setting = FNotDone ? eF : 0
#eFdest.On = FNotDone ? eF : 0
#eFdest.On = FNotDone ? eF : 0
eCdest.Setting = FNotDone ? eC : 0
#eCdest.On = FNotDone ? eC : 0
#eCdest.On = FNotDone ? eC : 0
eHdest.Setting = CNotDone ? eH : 0
#eHdest.On = CNotDone ? eH : 0
#eHdest.On = CNotDone ? eH : 0

bnez(FNotDone, PDLoop)
bnez(CNotDone, PDLoop)
bnez(HNotDone, PDLoop)
bnez(HNotDone, PDLoop)

0 comments on commit 666a3a3

Please sign in to comment.