get_local_reward_turb: Calculate rewards for a simulation based on marginal prices...

View source: R/get_Reward.R

get_local_reward_turbR Documentation

Calculate rewards for a simulation based on marginal prices for a stock with only generating power, mainly used in Get_Reward

Description

Calculate rewards for a simulation based on marginal prices for a stock with only generating power, mainly used in Get_Reward

Usage

get_local_reward_turb(
  opts,
  possible_controls,
  max_hydro,
  area_price,
  mcyears,
  district_balance = "water values district"
)

Arguments

opts

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

possible_controls

data.frame week,u of controls evaluated per week

max_hydro

data.frame timeId,pump,turb returned by the function get_max_hydro, should be hourly values

area_price

Area used to evaluate marginal prices

mcyears

Vector of years used to evaluate rewards

district_balance

Name of district used to evaluate controls on the stock

Value

a data.table mcYear,week,u,reward


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