createDemandSite.base {WRSS} | R Documentation |
base function for class of createDemandSite
Description
this function constructs an object from class of createDemandSite
, which represents a demand site such as domestic, agricultural, and etc, with a specified demand time series.
Usage
## S3 method for class 'base'
createDemandSite(name, demandTS, demandParams,
returnFlowFraction, suppliers,
downstream, priority)
Arguments
name |
(optional) A string: the name of the demand site |
demandTS |
A vector: a vector of demand time series (MCM). If |
demandParams |
A list: If
|
returnFlowFraction |
(optional) |
suppliers |
(optional) A list of object(s) inherited from the folowing classes: |
downstream |
(optional) An object from either of classes of |
priority |
(optional) An integer: the priority to be supplied. A value in [1, 99] interval. |
Value
An object from class of list