Description Usage Arguments add_wind_to_project add_solar_to_project add_ror_to_project add_hwr_to_project add_hps_to_project_in_psp add_hps_to_project_in_virtualPsp Examples
create an empty antares project to be then enriched with data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | init_antares_project(path)
add_load_to_project(data, start_time, end_time)
add_wind_to_project(data, start_time, end_time)
add_solar_to_project(data, start_time, end_time)
add_ror_to_project(data, start_time, end_time,
productions = c("Hydro Pumped Storage", "Hydro Water Reservoir",
"Hydro Run-of-river and poundage"))
add_hwr_to_project(data, start_time, end_time)
add_hps_to_project_in_psp(data, start_time, end_time)
add_hps_to_project_in_virtualPsp(data, namePumping = "PSP_In",
nameTurbining = "PSP_Out", overwrite = FALSE, efficiency = NULL,
timeStepBindConstraint = "weekly")
|
path |
folder to be created |
data |
dataset |
start_time, end_time |
time limits (posixct) |
productions |
production types to be summed (default to c("Hydro Pumped Storage", "Hydro Water Reservoir", "Hydro Run-of-river and poundage")) |
namePumping |
The name of the pumping area |
nameTurbining |
The name of the turbining area |
overwrite |
Overwrite the Pumped Storage Power plant if already exist. This will overwrite the previous area and links. |
efficiency |
The efficiency of the virtual PSP |
timeStepBindConstraint |
Time step for the binding constraint : |
The function will aggregate on and off shore wind productions and generate an hourly TS.
The function will aggregate solar productions and generate an hourly TS.
The function will aggregate hydro productions type (that can specified with
argument productions
) and generate an hourly TS.
The function will aggregate Hydro Water Reservoir production and generate a monthly TS.
The function will use Hydro Pumped Storage production and write a TS to "input/misc-gen" directory.
The function will use Hydro Pumped Storage installed capacity
and create Pumped Storage Power plant (PSP) with the function createPSP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ## Not run:
library(antaresEditObject)
library(magrittr)
load_dir <- "/.../load_20180115"
load_data <- anta_load(data_dir = load_dir ) %>% agg_data()
production_dir <- "/.../prod_20180115/B01"
capacity_dir <- "/.../prod_20180115/B06"
global_options <- getOption("global_options")
p_renewable_file <- global_options$renewable_production_per_country
PTT <- read_prod_type(
production_dir = production_dir,
capacity_dir = capacity_dir,
production_file = p_renewable_file) %>%
agg_data()
start_time <- fasttime::fastPOSIXct("2017-01-01 00:00:00", tz = "GMT")
end_time <- fasttime::fastPOSIXct("2017-01-31 23:00:00", tz = "GMT")
init_antares_project("demo_proj")
add_load_to_project(load_data, start_time = start_time, end_time = end_time )
add_wind_to_project(PTT, start_time = start_time, end_time = end_time )
add_solar_to_project(PTT, start_time = start_time, end_time = end_time )
add_ror_to_project(PTT, start_time = start_time, end_time = end_time )
add_hwr_to_project(PTT, start_time = start_time, end_time = end_time )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.