Description Usage Arguments Details Value Examples
This function loads all the results of the simulation contained in the target NetCDF file and returns a set of pre-defined plots and tables. If the text output files containing the simulation dual values are present in the same folder of the NetCDF file, this function loads and store their value in a data frame.
1 | get_results(nc_output_file, create_plots = TRUE)
|
nc_output_file |
Path of the NetCDF containing the results |
create_plot |
Flag to define if the function should generate also the plots |
Returned data include the following data frames:
'all_gen': details on generating units
'all_lines': datailed list of transmission lines
'avail': availability time-series
'final_dem': time-series of demand
'ZONES': vector containing all the names of the simulated zones
'final_ren': time-series of non-dispatchable renewables
'shed': time-series of daily shed load
'curt': time-series of daily curtailed electricity
'storage_level': storage levels at daily resolution for each generating unit. This data frame contains also availability and storage minimum
'final_prod_detailed': generation for each generation unit including fuel type, zone of the unit and the emissions per MWh
'compare_entsoe': comparison of the annual generation per zone and fuel with the ENTSO-E data (Statistical Factsheets) for 2016
'final_co2': time-series of CO2 generation per zone
'flow': time-series of electricity flow per line. It contains also the normalised values.
'summary_curt_shed': table with the annual values of shed load and curtailed electricity
'all_inflow': cumulated inflow per zone
'dual': dual values for all problem constraints
The plots are instead:
'single_res': storage level per single unit
'all_res': area plot of cumulated storage levels
'dispatch': dispatch plots per zone
'annual_gen': summary of annual generation
'entsoe': comparison with ENTSO-E
'co2': area plot of the cumulated CO2
'flow': heat-map with the electricity normalised flows
'inflow': cumulated inflows
'curtailment': plot of curtailment
'shedding': plot of shedding load
The dual data is loaded only if the function finds in the same directory of 'nc_output_file' the txt files containing the dual results saved by YAPOS.
A list containing results' data and plots
1 2 | target_nc_file <- system.file("extdata", "es-pt-fr.nc", package = "yaposer", mustWork = TRUE)
res <- get_results(target_nc_file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.