get_local_reward | R Documentation |
Get_Reward
Calculate rewards for a simulation based on marginal prices, mainly used in Get_Reward
get_local_reward(
opts,
hours,
possible_controls,
max_hydro,
area_price,
mcyears,
district_balance = "water values district",
pump_eff = 1
)
opts |
List of simulation parameters returned by the function
|
hours |
vector of hours used to evaluate costs/rewards of pumping/generating |
possible_controls |
data.frame week,u of controls evaluated per week |
max_hydro |
data.frame timeId,pump,turb returned by the function |
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 |
pump_eff |
Pumping efficiency |
a data.table mcYear,week,u,reward
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.