Learn R Programming

antaresRead (version 2.7.0)

readOptimCriteria: Read Optimization Criteria

Description

This function can be used to read the value of the criteria optimized by ANTARES. Notice that these values are only available in "Xpansion" mode or when option "Export mps" is turned on.

Usage

readOptimCriteria(opts = simOptions())

Value

A table of class antaresDataTable. It contains the usual columns timeID, mcYear, time and two columns "criterion1" and "criterion2" containing the values of the criteria. Time step can be daily or weekly depending on the optimization options.

Arguments

opts

list of simulation parameters returned by the function setSimulationPath

Examples

Run this code
if (FALSE) {
setSimulationPath()

optimCriteria <- readOptimCriteria()
} 

Run the code above in your browser using DataLab