Description Usage Arguments Details Value
View source: R/read_input_from_folder.R
This function loads all the input data for a YAPOS simulation into a 'list'
1 | read_input_from_folder(folder)
|
folder |
Path of the directory containing the files |
The function looks for in the specified folder the following CSV files:
'gen.csv': generation units
'lin.csv': tranmission lines
'dem.csv': demand time-series
'ren.csv': time-series of non-dispatchable renewables
'ren_pp.csv': non-dispatchable renewables capacity
'inflow.csv': time-series of inflow
‘avail.csv': time-series of units’ availabilities
'stomin': time-series with the storage minimum
The function returns 14 objects:
'lin': the list of transmission lines
'NLINES': the number of transmission lines
'avail': time-series of availabilities of generation units
'UNITS': vector containing the name of all the generation units in the right order
'NUNITS': the number of generation units
'NSTEP': length of the simulation, thus the number of time steps in the time-series
'inflow': time-series of inflow for the generation units
'ren': time-series of non-dispatchable renewables
'ren_pp': data frame with capacity for non-dispatchable renewables
'NZONES': number of simulated zones
'ZONES': vector with the name of the simulated zones in the right order
'dem': time-series of demand
‘gen': data frame with the generation units’ parameters
'stomin': time-series of minimum storage
A list containing all the data. See Details section for more information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.