Skip to contents

All functions

Grid_Matrix()
Compute Bellman values
calculateBellmanWithIterativeSimulations()
Calculate Bellman values throughout iterations of Antares simulation and DP Each simulation leads to a new reward estimation, which leads to new water values, which leads to the off-line calculation in R of an optimal trajectory, which leads to new controls to be evaluated which leads to a new simulation
calculateBellmanWithIterativeSimulationsMultiStock()
Calculate Bellman values throughout iterations of Antares simulation and DP Each simulation leads to a new reward estimation, which leads to new water values, which leads to the off-line calculation in R of an optimal trajectory, which leads to new controls to be evaluated which leads to a new simulation
calculateRewardsSimulationsWithPlaia()
Compute reward function for node with plaia implementation. The reward function of each week and each year is evaluated on nb_simulations controls. Called for each area of getBellmanValuesSequentialMultiStockWithPlaia(). If they are several areas, the trajectories of the other storage are fixed on their optimal_trend.
changeHydroManagement()
Change hydro management
constraint_generator()
Generate control values
getBellmanValuesFromOneSimulationMultistock()
Compute Bellman values for several storage based on one simulation
getBellmanValuesSequentialMultiStockWithPlaia()
Calculate Bellman values sequentially, one area at a time.
getBellmanValuesWithPlaia()
Compute Bellman values for several storage with plaia
getOptimalTrend()
Calculate an optimal trajectory for the reservoir levels based on Bellman values and reward functions.
getPumpEfficiency()
Get pumping efficiency ratio
get_Reward()
Compute reward functions
get_inflow()
Get weekly inflows
get_initial_level()
Get initial level
get_initial_level_year_per_year()
Get initial level year per year
get_local_reward()
Compute reward functions based on one given simulation
get_max_hydro()
Get pumping and generating hydro power
get_reservoir_capacity()
Get reservoir capacity
get_weekly_cost()
Get objective values of the optimization problem of each week and each scenario for a given simulation simu, mainly used in get_Reward() to build reward functions.
plot_Bellman()
Plot Bellman and water values
plot_reward()
Plot mean reward
plot_reward_mc()
Plot reward
plot_reward_variation()
Plot mean reward variation
plot_reward_variation_mc()
Plot reward variation
readReservoirLevels()
Read reservoir rule curves
remove_out()
Post process water values
reward_offset()
Take into account overall cost in local reward
runWaterValuesSimulation()
Run Antares simulations in order to compute water values for a specific area
runWaterValuesSimulationMultiStock()
Run Antares simulations in order to compute water values for multiple areas
shiny_water_values()
Open web interface for computing water values
to_Antares_Format()
Convert water values to Antares format
to_Antares_Format_bis()
Convert water values to Antares format with high accuracy
updateReward()
Update df_rewards with latest simulation run, used in calculateBellmanWithIterativeSimulations
updateWatervalues()
Calculate water values with Grid_Matrix from estimated reward, used in calculateBellmanWithIterativeSimulations
waterValuesViz()
Plot water values