rplexos

rplexos is an R package developed to read and analyze PLEXOS solutions. It currently supports the conversion of PLEXOS solution files into SQLite databases and functions to query those databases.

It can be installed from CRAN:

install.packages("rplexos")

The “Getting started” vignette presents the preferred workflow to process PLEXOS solutions with this package.

library(rplexos)
vignette("rplexos")

Help topics

  • is_sample_stats
    Test if elements in sample column are statistics
  • list_folders
    Get list of folders in the working directory
  • plexos_close
    Close all PLEXOS databases
  • plexos_open
    Open all PLEXOS databases
  • process_folder(process_solution)
    Convert PLEXOS solutions to SQLite databases
  • query_config
    Query configuration tables
  • query_log(query_log_steps)
    Query log file information
  • query_master(query_day, query_interval, query_month, query_week, query_year, sum_day, sum_interval, sum_master, sum_month, sum_week, sum_year)
    Query data and aggregate data
  • query_property
    Get list of available properties
  • rplexos(rplexos-package)
    rplexos: Read and analyze PLEXOS solutions from R
  • valid_columns
    Get list of valid columns

Vignettes

Dependencies

  • Depends: dplyr, RSQLite
  • Imports: Rcpp, DBI, data.table, lubridate, reshape2, stringi, assertthat
  • Suggests: knitr
  • Extends:

Authors

Authors