Description Usage Arguments Value Examples
Read energy data for an area
1 | readEnergy(area, timeStep = "daily", opts = antaresRead::simOptions())
|
area |
An 'antares' area. |
timeStep |
Resolution of the data to import: daily (default, values are divided by number of days), weekly, monthly (original data). |
opts |
List of simulation parameters returned by the function
|
a data.table
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
library(antaresWeeklyMargin)
library(antaresRead)
# set path to your simulation
opts <- setSimulationPath(path = "test_case/", simulation = "input")
weekly <- readEnergy(area = "fr", timeStep = "weekly", opts = opts)
weekly
daily <- readEnergy(area = "fr", timeStep = "daily", opts = opts)
daily
monthly <- readEnergy(area = "fr", timeStep = "monthly", opts = opts)
monthly
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.