createDemandSite {RSSOP}R Documentation

Creates A Demand Site

Description

A function to create a demand site using demand pattern variation or time series

Usage

createDemandSite(type = "agricultural",
                 demandName = "Agri1", 
                 demandCode, 
                 annualUseRate,
                 annualVariation, 
                 area, 
                 cycle = FALSE,
                 numberOfCycles = NULL,
                 supplierCode,
                 downstreamCode,
                 priority = 1,
                 start = 1900)

Arguments

type

domestic, agricultural, and environmental. the hydropower is not available in this version

demandName

a string name of the desired demand site

demandCode

a uniqe integer number

annualUseRate

the amount of water consumption per unit of area during a year

annualVariation

a vector, in percent, of demand site variation during a year. the summation of vector's ellemnt should be equal to 100

area

for agricultual type: the area of demand site

cycle

logical, cycle the time series?

numberOfCycles

if cycle is TRUE, number of cycles

supplierCode

the code of reservoir which is going to supply this demand site

downstreamCode

the downstream of demand site

priority

the priority of supply

start

the start year

Value

an object inherited from class create DemandSite

Author(s)

Rezgar Arabzadeh, Parisa Aberi


[Package RSSOP version 1.1 Index]