constraint_week: Generate constraint values for a week at a time used in...

View source: R/constraints_functions.R

constraint_weekR Documentation

Generate constraint values for a week at a time used in constraint_generator depending on the maximum powers for the week

Description

Generate constraint values for a week at a time used in constraint_generator depending on the maximum powers for the week

Usage

constraint_week(
  pumping,
  pumping_efficiency,
  nb_disc_stock,
  res_cap,
  hydro,
  week
)

Arguments

pumping

Boolean. True to take into account the pumping.

pumping_efficiency

between 0 and 1. the pumping efficiency ratio.

nb_disc_stock

Number of constraint values wanted for each week

res_cap

Double, reservoir capacity

hydro

Pumping and turbining maximum powers for the week, generated by get_max_hydro

week

Current week for which to compute controls

Value

List of constraint values for the week


rte-antares-rpackage/antaresWaterValues documentation built on June 13, 2025, 9:04 p.m.