reward_offset: Modify local reward to take into account overall cost of the...

View source: R/get_Reward.R

reward_offsetR Documentation

Modify local reward to take into account overall cost of the simulation, mainly used in Get_Reward

Description

Modify local reward to take into account overall cost of the simulation, mainly used in Get_Reward

Usage

reward_offset(
  opts,
  df_reward,
  u0 = c(),
  mcyears,
  district_cost = "water values district"
)

Arguments

opts

List of simulation parameters returned by the function antaresRead::setSimulationPath

df_reward

data.table computed by the function get_local_reward

u0

data.table week,u Constraint values per week used in the simulation, empty list if none

mcyears

Vector of years used to evaluate rewards

district_cost

Name of district used to evaluate overall cost

Value

a data.table mcYear,week,u,reward


rte-antares-rpackage/antaresWaterValues documentation built on April 24, 2024, 7:25 a.m.