View source: R/runWaterValuesSimulation.R
runWaterValuesSimulation | R Documentation |
Run a simulation for calculating water values for a specific area
runWaterValuesSimulation( area, simulation_name = "weekly_water_amount_%s", nb_disc_stock = 10, nb_mcyears = NULL, binding_constraint = "WeeklyWaterAmount", fictive_area = NULL, thermal_cluster = NULL, path_solver = NULL, wait = TRUE, show_output_on_console = FALSE, overwrite = FALSE, link_from = NULL, remove_areas = NULL, opts = antaresRead::simOptions(), shiny = F, otp_dest = NULL, file_name = NULL, pumping = F, efficiency = NULL, launch_simulations = T, reset_hydro = T, ... )
area |
The area concerned by the simulation. |
simulation_name |
The name of the simulation, |
nb_disc_stock |
Number of simulation to launch, a vector of energy constraint will be created from maximum pumping power to the hydro storage maximum and of length this parameter. |
nb_mcyears |
Number of Monte Carlo years to simulate or a vector of years indexes to launch. |
binding_constraint |
Name of the binding constraint. |
fictive_area |
Name of the fictive area to create, argument passed to |
thermal_cluster |
Name of the thermal cluster to create, argument passed to |
path_solver |
Character containing the Antares Solver path, argument passed to |
wait |
Argument passed to |
show_output_on_console |
Argument passed to |
overwrite |
If area or cluster already exists, should they be overwritten? |
link_from |
area that will be linked to the created fictive area. If it's
|
remove_areas |
Character vector of area(s) to remove from the created district. |
opts |
List of simulation parameters returned by the function
|
shiny |
Boolean. True to run the script in shiny mod. |
otp_dest |
the path in which the script save Rdata file. |
file_name |
the Rdata file name. |
pumping |
Boolean. True to take into account the pumping. |
efficiency |
in [0,1]. efficient ratio of pumping. |
launch_simulations |
Boolean. True to to run the simulations. |
reset_hydro |
Boolean. True to reset hydro inflow to 0 before the simulation. |
... |
further arguments passed to or from other methods. |
This function have side effects on the Antares study used, a fictive area is created and a new district as well.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.