Skip to contents

All functions

Grid_Matrix()
Compute Bellman values
MultiStock_H2_Investment_reward_compute_once()
Compute optimal candidates for H2 system
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
calculateRewardsSimulations()
Compute reward function with the 5 simulations method. Called for each area of MultiStock_H2_Investment_reward_compute_once. If they are several areas, the trajectories of the other storage are fixed on their optimal trend.
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
edit_study_with_results()
Edit the study with the result from investment
getBellmanValuesFromOneSimulationMultistock()
Compute Bellman values for several storage based on one simulation
getBellmanValuesSequentialMultiStockWithPlaia()
Calculate Bellman values sequentially, one area at a time.
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.
grid_other_candidates()
Compute the list of cluster candidates to study following their bounds
max_candidate()
Compute the candidate with maximal reward
new_bounds()
Updates the candidates bounds at the end of an iteration.
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_candidate_cluster()
Remove candidate cluster from the study before running investment process
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
total_cost_loop()
Computes the total reward for a specific candidate following the reward function
total_cost_parallel_version()
Computes the total reward for a list of candidate following the reward function, with parallel processing. The storage volume is constant. These function is called inside parLapply().
updateReward()
Update df_rewards with latest simulation run, used in calculateBellmanWithIterativeSimulations
updateWatervalues()
Calculate water values with Grid_Matrix from estimated reward, used in calculateBellmanWithIterativeSimulations
update_reward_cluster_bande()
Modify the reward function to take into account the effects of a must-run cluster.
update_reward_cluster_flexible()
Modify the reward function to take into account the effects of a non must-run cluster, with a speciifc capcaity and marginal cost.
waterValuesViz()
Plot water values