Nothing
#Copyright © 2016 RTE Réseau de transport d’électricité
context("Function readAntares (districts)")
sapply(studyPathS, function(studyPath){
opts <- setSimulationPath(studyPath)
suppressWarnings({
districts <- readAntares(districts = "all", misc=TRUE, hydroStorage = TRUE,
hydroStorageMaxPower = TRUE, reserve = TRUE,
mustRun = TRUE,
showProgress = FALSE)
})
test_that("readAntares adds misc to districts", {
expect_false(is.null(districts$Bio_mass))
})
test_that("readAntares adds hydro storage to districts", {
expect_false(is.null(districts$hydroStorage))
})
test_that("readAntares adds hydro storage max power to districts", {
if (opts$antaresVersion < 650)
expect_false(is.null(districts$hstorPMaxHigh))
else
expect_false(is.null(districts$generatingMaxPower))
})
test_that("readAntares adds reserve to districts", {
expect_false(is.null(districts$primaryRes))
})
test_that("readAntares adds mustRun to districts", {
expect_false(is.null(districts$mustRunTotal))
})
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.