addNetLoad: Net load of areas

View source: R/addNetLoad.R

addNetLoadR Documentation

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)

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.

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

Examples

## Not run: 
# Data required by the function
showAliases("netLoad")

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


## End(Not run)


rte-antares-rpackage/antaresProcessing documentation built on June 30, 2024, 2:28 a.m.