Learn R Programming

antaresProcessing (version 0.18.3)

addLoadFactorLink: Load factors of link

Description

This function computes the load factor of link and add it to an antaresData object.

Usage

addLoadFactorLink(x)

Value

addLoadFactorLink modifies its input by adding to it two columns:

loadFactor

Proportion of the installed capacity of a link that is effectively used:

loadFactor = `FLOW LIN` / transCapacity

Notice that loadFactor can be positive or negative according to the direction of the flow.

congestion

1 if the link is saturated (loadFactor = +/-1), 0 otherwise.

For convenience, the function invisibly returns the modified input.

Arguments

x

Object of class antaresData created with function readAntares. It must contain the columns transCapacityDirect and transCapacityIndirect.

Examples

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

mydata <- readAntares(select = "loadFactorLink")
addLoadFactorLink(mydata)
names(mydata)
}

Run the code above in your browser using DataLab