# packages library( antaresViz ) library( antaresWeeklyMargin ) library( data.table ) library( dygraphs ) library( magrittr ) # Parameters (dont edit here, but in header) week <- params$week n_scenario <- params$n_scenario year_mc <- params$year_mc date_study <- params$date_study date_debut <- params$date_debut # datas load("datas/ml.rda")
draw_series(marges_up$margin_area, "LOAD")
51 Forecast scenarios Meteologica
draw_series(marges_up$margin_area, "WIND")
51 Forecast scenarios Meteologica
draw_series(marges_up$margin_area, "SOLAR")
51 Forecast scenarios Meteologica
draw_margins(data_margin = marges_up$margin_area_solo)
Legend:
r n_scenario
scenarii
Table of quantiles :
marg <- margins_quantiles(marges_up$margin_area_solo) ft_margins_quantiles(marg, layout = "horizontal", language = "en")
draw_margins(data_margin = marges_up$margin_area_inter)
Legend:
r n_scenario
scenarii
Table of quantiles :
marg_i <- margins_quantiles(marges_up$margin_area_inter) ft_margins_quantiles(marg_i, layout = "horizontal", language = "en")
draw_stack_hist(marges_up$margin_area_solo, marges_up$margin_area_inter, "fr")
Legend:
draw_margins(data_margin = marges_down$margin_area_solo)
Legend:
r n_scenario
scenarii
Table of quantiles :
marg <- margins_quantiles(marges_down$margin_area_solo, hours = c("04h", "16h")) ft_margins_quantiles(marg, layout = "horizontal", language = "en")
draw_margins(data_margin = marges_down$margin_area_inter)
Legend:
r n_scenario
scenarii
Table of quantiles :
marg_i <- margins_quantiles(marges_down$margin_area_inter, hours = c("04h", "16h")) ft_margins_quantiles(marg_i, layout = "horizontal", language = "en")
draw_scenario(mono$scenarii, var_value = "flux_total", var_date = "time", h = 6000)
draw_mono(mono$mono_france)
draw_mono(mono$mono_cwe)
r year_mc
r year_mc
- FlowsantaresViz::exchangesStack(marges_all$links, area = "fr", interactive = FALSE)
r year_mc
- Productiondraw_prod_MC(marges_up$margin_area, date_i = date_debut, mc_year = year_mc)#$widgets[[1]]$widget[[1]]
r year_mc
- MapplotMap( x = marges_all, mapLayout = ml, interactive = FALSE, colLinkVar = "abs_loadFactor", sizeLinkVar = "FLOW LIN.", colAreaVar = "margin_inter", labelAreaVar = "margin_inter", options = plotMapOptions( areaDefaultSize = 50, areaColorScaleOpts = colorScaleOptions( breaks = c(-3000, 0, 0.1, 70000), colors = c("#ff0000", "#cd853f", "#008000", "#008000") ), linkColorScaleOpts = colorScaleOptions( breaks = c(0, 0.25, 0.5, 0.75, 0.999, 1), colors = c("#88cc8a","#a4ce3b","#ffff30", "#f49518", "#ff0000") ) ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.