EPANET  3.0
EPANET Development Project
demand.h
Go to the documentation of this file.
1 /* EPANET 3
2  *
3  * Copyright (c) 2016 Open Water Analytics
4  * Licensed under the terms of the MIT License (see the LICENSE file for details).
5  *
6  */
7 
10 
11 #ifndef DEMAND_H_
12 #define DEMAND_H_
13 
17 
18 class Network;
19 class Pattern;
20 
21 class Demand
22 {
23  public:
24 
25  Demand();
26  ~Demand();
27 
28  double getFullDemand(double multiplier, double patternFactor);
29 
30  double baseDemand;
31  double fullDemand;
33 };
34 
35 #endif
Pattern * timePattern
time pattern used to adjust baseline demand
Definition: demand.h:32
double baseDemand
baseline demand flow (cfs)
Definition: demand.h:30
Specifies the rate of consumer water demand at a Junction node.
Definition: demand.h:21
double fullDemand
pattern adjusted demand flow (cfs)
Definition: demand.h:31
A set of multiplier factors associated with points in time.
Definition: pattern.h:29
Contains the data elements that describe a pipe network.
Definition: network.h:41