an object of class "antaresDataList" created with the function
readAntares. It has to contain some areas and all the links that are
connected to these areas. Moreover the function removeVirtualAreas must be call before.
addCapacities
If TRUE, export and import capacities are added.
opts
opts
Value
addExportAndImport modifies its input by adding to it columns:
export
export for an area or district
import
import for an area or district
capExport
capacity of export for an area or district, if addCapacities is set to TRUE
capImport
capacity of import for an area or district, if addCapacities is set to TRUE
# NOT RUN {# Data required by the functionshowAliases("exportsImports")
mydata <- readAntares(select = "exportsImports")
addExportAndImport(mydata)
names(mydata$areas)
# }