Skip to content

Annual Count Index Threshold Recorder

For each scenario, count the number of times a list of parameters exceeds a threshold in each year. If multiple parameters exceed in one timestep then it is only counted once.

Output from data property has shape: (years, scenario combinations). API Reference

NameDescriptionRequired
modelpywr.core.ModelOptional
parametersList of pywr.core.IndexParameter to record againstRequired
nameThe name of the recorderOptional
thresholdThreshold to compare parameters againstOptional
exclude_monthsOptional list of month numbers to exclude from the countOptional

coming soon…

{
}