Releases: NREL/rplexos
Releases · NREL/rplexos
rplexos 1.1.2
rplexos 1.1.1
- Minor revision to the description, as requested by CRAN maintainers.
rplexos 1.1
Enhancements
- Reduce the dependency on a few other packages.
time.range
can be defined as a R date or datetime object.- Use the built-in data in the documentation examples. (#35)
- Add filter to
query_generator
so that it only returns the list of generators. - Delete unused columns from
query_zone
andquery_region
.
Bug fixes
- Correctly handle interval queries for databases that don't have the requested data.
- Fix an error in
process_folder
when dplyr 0.4.2 is installed (#37).
Database structure
Structure has not changed since v1.0.
rplexos 1.0
Enhancements
- Add example of input and output database. Updated examples and vignette with these
example files (#1). - Add tests to file processing and queries (#1).
process_folder
does not print to screen by default.
Bug fixes
- Fixed erroneous results when the second entry in
time.range
is given as date. - Fixed
sum_master
and associated functions (#31). - Fixed error in interval queries for databases with multiple phases (#29).
Database structure
Structure has changed since v0.13. Do not run queries on solutions processed with an
older version.
rplexos 0.13
Enhancements
- Add capabilities to query (#10) and process files in parallel (#23). This mode can
be initiated and stopped withstart_parallel_rplexos()
andstop_parallel_rplexos()
,
respectively - Add shortcut functions to enable/disable debug mode:
start_debug_rplexos()
and
stop_debug_rplexos()
plexos_open
no longer opens the SQLite connections, soplexos_close
is not needed
anymore- Expose function
query_sql
, which can be used to execute a SQL query on each PLEXOS
database (#20) - Add fast queries for phases, timeslices, samples, objects, classes, time, etc. in the
solutions. Seehelp("query_time")
and related functions. (#20) process_folder
now processes all input and solution files that it can find
Bug fixes
- Non-time filters are now correclty applied if
time.range
is not defined (#15) - Ability to read large (>3 GB) XML files
- Fix detection of invalid properties in queries
rplexos 0.12.1
plexos_open
tried to open any SQLite database in the folder. The default name has
been changed and only databases ending in "-rplexos.db" are opened. (#13)- Create several tables that might not always exist in input databases, which caused
process_input
to fail. (#14) - Fixed problem using time query filters. (#12)
rplexos 0.12
Enhancements
- Input databases can now be converted to SQLite with
process_input
. (#5) - Added error detection for very large files in Mac/Linux (files that need
64-bit ZIP compresion to be read). (#) - SQLite
id
fields are stored as integers.
rplexos 0.11
Enhancements
- Option to weight by time in
sum_interval
(e.g., to correctly when energy from
power time series). (#2) - Print PLEXOS and rplexos versions in
summary(db)
. (#5) - Catch common errors reading XML and log files.
- Add debug mode that prints more information on screen. It can be activated by running
options(rplexos.debug = TRUE)
before executing. - Avoid crash when processing a really big file in Mac or Linux. For now it only returns
a warning with information. A future update will fix this error, rather than skipping
the file.
Bugs
- Solution processing used to fail if a generator is assigned to more than one
region. (#8) - Parsing log file can fail for several reasons (file too big, old version of PLEXOS).
An error in parsing does not stop the process and only throws a warning. (#6) - Interval queries were not being expanded correctly if the simulation had less
entries than thetime
table.
rplexos 0.10.0.1
Fix a problem with old versions of RSQLite
rplexos 0.10
Enhancements
- Data queries now mimic the nomenclature used in the PLEXOS GUI. In particular
collections and property names are the same as the GUI and have changed from
previous versions of rplexos. Existing code might need to be tweaked. - The version of rplexos used to process a solution is stored in the database.
When a database is open, that version is checked against the installed
version of the package. Warnings are produced warnings if the differ. - The log file is now processed and some statistics (solve time,
infeasibilities, relative gap) are saved and can be queried (use the new
functionsquery_log
andquery_log_steps
). - Better support of stochastic results. Sample results and statistics will be
returned in the queries. Useis_sample_stats
to separate them. - Compatible with dplyr 0.3 and RSQLite 1.0. Both are required.