module wntr.metrics.hydraulic

average_expected_demand(wn, category=None)[source]#

Compute average expected demand per day at each junction using base demands and demand patterns along with the demand multiplier

  • wn (wntr WaterNetworkModel) – Water network model. The water network model is needed to get demand timeseries at junctions and options related to duration, timestep, and demand multiplier.

  • category (str (optional)) – Demand category name. If None, all demand categories are used.

Return type:

A pandas Series that contains average expected demand in m3/s (index = junction names).