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",
  fictive_areas = NULL,
  expansion = F
)

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

fictive_areas

Vector of chr. Fictive areas used in simulation

expansion

Binary. True if mode expansion was used to run simulations

Value

a data.table mcYear,week,u,reward


rte-antares-rpackage/antaresWaterValues documentation built on Nov. 6, 2024, 11:17 p.m.