flowbased-path: Set the flow-based input folder

Description Usage Arguments Value Examples

Description

A flow-based "model" consists of the description of the typical domains (the weights, the second members and an RDS object containing additional information such as the vertices coordinates and the errors) and the time series file establishing the chronology of typical days used in an Antares study. These functions enable to choose the flow-based input folder: one can either use existing models stored in the package or use his own.

Usage

1
2
3
4
5

Arguments

path

(optional) If the argument "model" is missing. Path to the flow-based input directory, it can be created by the user with the functions computeFB and createFBTS. The directory must be composed of:

  • weight.txt the PTDF file of the Antares models

  • second_member.txt the RAM of the Antares model

  • ts.txt the flow-based time series

  • domainesFB.RDS information about the domains

model

(optional) If "path" is missing. Name of the chosen existing model (Use getAvailableModel to get the complete list).

Value

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
# Get the default path used when loading the package
fbOptions()

# Specify an available model
getAvailableModel()
setFlowbasedPath(model = "model2017")

# Specify a personnal model
setFlowbasedPath(model = "C:/PATH/TO/INPUT")

## End(Not run)

rte-antares-rpackage/antaresFlowbased documentation built on Oct. 19, 2020, 11:23 a.m.