population#
module wntr.metrics.misc
- population(wn, R=8.76157e-06)[source]#
Compute population per node, rounded to the nearest integer [28].
\[pop=\dfrac{Average\ expected\ demand}{R}\]- Parameters:
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.
R (float (optional, default = 0.00000876157 m3/s = 200 gallons/day)) – Average volume of water consumed per capita per day in m3/s
- Return type:
A pandas Series that contains population per node