create_wm_ts: Create load, wind & soloar time series for Weekly Margins...

Description Usage Arguments Examples

Description

Create load, wind & soloar time series for Weekly Margins simulation

Usage

1
2
create_wm_ts(data, start = NULL, sort_ts = TRUE,
  opts = antaresRead::simOptions())

Arguments

data

a data.table obtained from read_meteologica2.

start

If specified, data will be filtered from given date to 7 days after.

sort_ts

Reorder other time series data to match the desired week.

opts

List of simulation parameters returned by the function antaresRead::setSimulationPath

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 

# set path to your simulation
opts <- setSimulationPath(path = "path/to/simulation/", simulation = "input")


# Meteologica forecast
formet <- read_meteologica2(path = "path/to/PrevisionMeteologica/Europe")

# Create time series
create_wm_ts(data = formet, start = "2018-04-01", opts = opts)


## End(Not run)

rte-antares-rpackage/antaresWeeklyMargin documentation built on May 16, 2019, 8:15 p.m.