Skip to content

Numpy Array Storage Recorder

Recorder for timeseries information from a Storage node.

This class stores volume from a specific node for each time-step of a simulation. The data is saved internally using a memory view. The data can be accessed through the data attribute or to_dataframe() method. API Reference

NameDescriptionRequired
modelpywr.core.ModelYes
nodeNode instance to recordYes
proportionalWhether to record proportional [0, 1.0] or absolute storage volumes (default=False)Yes
temporal_agg_funcAggregation function used over time when computing a value per scenario. This can be used to return, for example, the median flow over a simulation. For aggregation over scenarios see the agg_func keyword argumentYes

coming soon…

{
}