Convert PLEXOS solutions to SQLite databases

Usage

process_folder(folders = ".", keep.temp = FALSE)
process_solution(file, keep.temp = FALSE)

Arguments

folders
Folder(s) to process (See details)
keep.temp
Should temporary databases be preserved?
file
Single PLEXOS solution file to process

Convert PLEXOS solutions to SQLite databases

Description

Functions to process PLEXOS solutions and dump them into SQLite databases that are easy to read.

Details

process_solution converts a single zipped PLEXOS solution into a SQLite database. The resulting database file has a simplified structure so data can be retrieved easily. The temporary database contains the original data structure in the PLEXOS solution file.

process_folders is used to process an entire directory. It searches each folder for PLEXOS solutions and applies process_solution to each one of them.

The default folder is the working directory. If the wildcard "*" is provided, all the folders in the working directory will be processed (the list of folders if provided by the list_folders function).

Examples

## <strong>Not run</strong>: process_folder() ## <strong>Not run</strong>: process_folder("HiWind") ## <strong>Not run</strong>: process_solution("HiWind/Model WWSIS_c_RT_CoreB_M01_SC3 Solution.zip")