Returns one of two values depending on a Recorder value and a threshold. API Reference
threshold
Threshold to compare the value of the recorder to
Yes
ratchet
If true the parameter behaves like a ratchet. Once it is triggered first it stays in the triggered position (default=False)
Yes
recorder
recorder: pywr.recorders._recorders.Recorder
coming soon...