convert: Convert to_simulate file into independent mc_years and weeks...

Description Usage Arguments Value

Description

to_simulate contains pair (mc_year, week) with their weight the weight is between zero and one : - a null weight implies that the pair (mc_year, week) shouldn't be simulated in the next benders iteration - a weight equal to 1 implies that the pair is particularly relevant and should be simulated in the next benders iteration

this function therefore choses a mc_years list and a weeks list which covers most of the weeks with strictly positive weight, but not too many weeks with a weight equal to zero

Usage

1
convert(to_simulate, mc_years, weeks)

Arguments

to_simulate

data.frame with week, year and weight column

mc_years

all mc_years of the study

weeks

all weeks of the study

Value

return a list of output containing the playlist of mc years (out$mc_years) and the playlist of weeks (out$weeks)


rte-antares-rpackage/antaresXpansion documentation built on June 16, 2019, 2:35 p.m.