Learn R Programming

antaresProcessing (version 0.18.3)

addNetLoad: Net load of areas

Description

This function computes the net load of areas or districts and add it to an antaresData object. Net load is the load of an area minus productions that are not controlled: wind, solar, hydraulic run of river, etc. the production of clusters in must run mode is also subtracted by default.

Usage

addNetLoad(x, ignoreMustRun = FALSE)

Value

addNetLoad modifies its input by adding to it a column "netLoad". For convenience, it invisibly returns the modified input. formula = LOAD - `ROW BAL.` - PSP - `MISC. NDG` - `H. ROR` - WIND - SOLAR - mustRunTotal

Arguments

x

An antaresData object created with readAntares. Unless ignoreMustRun is true, it must have a column mustRunTotal.

ignoreMustRun

If TRUE, the production in must run mode is not substracted to the net load.

Examples

Run this code
if (FALSE) {
# Data required by the function
showAliases("netLoad")

mydata <- readAntares(select = "netLoad")
addNetLoad(mydata)
names(mydata)

}

Run the code above in your browser using DataLab