diff --git a/eos/capSim.py b/eos/capSim.py index e4e21631b..729a078a3 100644 --- a/eos/capSim.py +++ b/eos/capSim.py @@ -169,13 +169,13 @@ class CapSimulator(object): iterations += 1 + t_last = t_now + if cap < cap_lowest: if cap < 0.0: break cap_lowest = cap - t_last = t_now - # queue the next activation of this module t_now += duration shot += 1