Skip to content

Flow Duration Curve Deviation Recorder

This recorder calculates a Flow Duration Curve (FDC) for each scenario and then calculates their deviation from upper and lower target FDCs. The 2nd dimension of the target duration curves and percentiles list must be of the same length and have the same order (high to low values or low to high values).

Deviation is calculated as positive if actual FDC is above the upper target or below the lower target. If actual FDC falls between the upper and lower targets zero deviation is returned. API Reference

NameDescriptionRequired
modelpywr.core.ModelYes
nodeThe node to recordYes
percentilesThe percentiles to use in the calculation of the flow duration curve. Values must be in the range 0-100Yes
lower_target_fdcThe lower FDC against which the scenario FDCs are comparedYes
upper_target_fdcThe upper FDC against which the scenario FDCs are comparedYes
agg_funcFunction used for aggregating the FDC deviations across percentiles. Numpy style functions that support an axis argument are supportedYes
fdc_agg_funcOptional different function for aggregating across scenariosYes

coming soon…

{
}