Recorders
An overview of Pywr recorders supported by WaterStrategy
Last updated
Was this helpful?
An overview of Pywr recorders supported by WaterStrategy
Last updated
Was this helpful?
This page describes the process of creating a new Recorder in WaterStrategy and a selection of the most commonly used Pywrrecorder types, and most commonly used attributes. The full list of built-in recorders and their exhaustive list of attributes are here.
In a Network page, click the 'Recorders' Tab:
Next to the 'Recorders-Type Categories' Text, click the '+' button and select 'PYWR_RECORDER':
Enter the name of your recorder. This can be anything you like, but must be unique within the network.
Populate the recorder in the JSON editor:
Currently, there are two different ways to input a Recorder in WaterStrategy. ....
Recorder for timeseries information from a Node. API Reference
This class stores flow from a specific node for each time-step of a simulation. The results of a recorder are output on the Network Attributes panel, and will be named 'simulated_<recordername>'
type
numpyarraynoderecorder
Yes
None
node
Name of the node to record
Yes
None
temporal_agg_func
Optional
mean
agg_func
Optional
mean