correctBalance {antaresProcessing}R Documentation

correctBalance

Description

This function corrects the BALANCE with 'ROW BAL.'.

Usage

correctBalance(x)

Arguments

x

An object of class readAntares (or simOptions) created with 'readAntares()' (or 'setSimulationPath()')

Value

correctBalance modifies its input by editing BALANCE and 'ROW BAL.'. Formulas :

  1. BALANCE = BALANCE - 'ROW. BAL.'

  2. ROW. BAL = 0

Examples

## Not run: 
# First simulation
studyPath <- "path/to/study/"

setSimulationPath(studyPath, 1)
mydata1 <- readAntares(areas = "all", districts = "all", synthesis = FALSE)
correctBalance(mydata1)


## End(Not run)


[Package antaresProcessing version 0.17.0 Index]