externalDependency {antaresProcessing} | R Documentation |
This function computes the dependency in imports and export for each area or districts at a given time step. Dependency in imports represents moments where imports are required to have no loss of load. Depandency in exports represents moments where exports are required to have no spilled energy.
externalDependency(x, timeStep = "annual", synthesis = FALSE, opts = NULL)
x |
An object created with function Moreover it needs to have a hourly time step. This object must also contain linkCapacity if there was virtual areas
remove by |
timeStep |
Desired time step for the result. |
synthesis |
If TRUE, average external dependncies are returned. Else the function returns external dependncies per Monte-Carlo scenario. |
opts |
opts |
A data.table of class antaresDataTable
with the following columns:
area |
Area name. |
timeId |
Time id and other time columns. |
pumping |
capacity of pumping |
storage |
capacity of storage |
exportsLevel |
netLoad + pumping |
importsLevel |
netLoad - 'AVL DTG' - hydroStorageMaxPower - storage > 0 |
exportsFrequency |
number of time step where this criteria is satisfied criteria : netLoad + pumping < 0 |
importsFrequency |
number of time step where this criteria is satisfied criteria : netLoad - 'AVL DTG' - hydroStorageMaxPower - storage > 0 |
## Not run: # Data required by the function showAliases("externalDependency") mydata <- readAntares(select = "externalDependency") addNetLoad(mydata) externalDependency(mydata) # if there are some virtual pumping/storage areas, remove them with # removeVirtualAreas mydata <- removeVirtualAreas(mydata, c("pumping", "storage")) externalDependency(mydata, ignoreMustRun = TRUE) ## End(Not run)