You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R/Grid_Matrix.R
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
#' Compute Bellman values
2
2
#'
3
3
#' Compute Bellman values and water values with dynamic programming based on reward functions computed with \code{get_Reward()}.
4
-
#' Mode information about this function in \code{vignette("grid_Matrix-parameters")}.
4
+
#' Mode information about this function in \code{vignette("grid_Matrix-parameters")}. In the backward recursion, overflow is accepted but it
5
+
#' can't exceed weekly inflows and is penalized with the spillage cost.
5
6
#'
6
7
#' @inheritParams runWaterValuesSimulation
7
8
#' @param reward_db Reward functions generated by the function \code{get_Reward()}.
@@ -15,7 +16,7 @@
15
16
#' @param max_hydro_weekly Maximum weekly pumping and generating power generated by the function \code{get_max_hydro()} with \code{timeStep="weekly"}.
16
17
#' @param force_final_level Binary. Whether final level should be constrained.
17
18
#' @param final_level Double. Final level (in percent between 0 and 100) if final level is constrained. If you want initial level, use \code{get_initial_level()}.
18
-
#' @param penalty_final_level_low Double. Penalties for both bottom rule curve to constrain final level.
19
+
#' @param penalty_final_level_low Double. Penalties for bottom rule curve to constrain final level.
19
20
#' @param penalty_final_level_high Double. Penalties for top rule curve to constrain final level.
20
21
#' @param until_convergence Binary. \code{TRUE} to repeat cycles until convergence of water values or
#' @param penalty_final_level Penalties (for both bottom and top rule curves) to constrain final level
514
518
#' @param initial_traj Initial trajectory (used for other storages)
519
+
#' @param list_final_level List of double. For each storage, final level (in percent between 0 and 100) if final level is constrained. Initial level computed by \code{get_initial_level()} by default.
515
520
#' @param list_areas_to_compute Vector of character. Areas for which to compute Bellman values. If \code{NULL}, all areas in \code{list_areas} are used.
msg="Scenarization of rhs of binding constraints not available with the version of Antares. Update the study to 8.7.0 or don't scenarize control values.")
#' @param list_final_level List of double. For each storage, final level (in percent between 0 and 100) if final level is constrained. Initial level computed by \code{get_initial_level()} by default.
10
11
#' @param write_vu Binary. True to write water values in the Antares study.
11
12
#' @param simu List of simulation parameters returned by the function \code{antaresRead::setSimulationPath()} with the simulation selected from which to use the storage trajectory to run the simulation.
0 commit comments