pywr.recorders.FlowDurationCurveRecorder¶
-
class
pywr.recorders.FlowDurationCurveRecorder¶ This recorder calculates a flow duration curve for each scenario.
Parameters: - model : pywr.core.Model
- node : pywr.core.Node
The node to record
- percentiles : array
The percentiles to use in the calculation of the flow duration curve. Values must be in the range 0-100.
- agg_func: str, optional
function used for aggregating the FDC across percentiles. Numpy style functions that support an axis argument are supported.
- fdc_agg_func: str, optional
optional different function for aggregating across scenarios.
-
__init__($self, /, *args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
afteraggregated_valuebeforefinishloadregisterresetsetupto_dataframeReturn a pandas.DataFrame of the recorder data unregistervaluesCompute a value for each scenario using temporal_agg_func. Attributes
agg_funcchildrencommentdataepsilonfdcignore_nanis_constraintis_objectivemodelnamenodeparentstemporal_agg_func