A Toolkit for Using Whole Building Simulation Program 'EnergyPlus'
Overview
A rich toolkit of using the whole building simulation program 'EnergyPlus'(https://energyplus.net), which enables programmatic navigation, modification of 'EnergyPlus' models and makes it less painful to do parametric simulations and analysis.
New features
- Add support for EnergyPlus v26.2.0 (#647).
IdfObject$is_valid_field()can now check whether fields are present in the current object instead of only being defined in the IDD (#391).- Add a
fieldargument to$to_string()methods to optionally omit field name comments from generated IDF strings (#77). - Add
Idf$reorder()to reorder objects within a class without changing object IDs (#66). Idf$drop()andIdfObject$drop()can now remove field slots from extensible groups or numbered repeated field sequences and shift following values forward (#217).- Yes/No choice fields in
Idf$add(),Idf$set(),Idf$load(),Idf$update(), andIdfObject$set()now accept logicalTRUEandFALSEinputs as aliases for"Yes"and"No"(#257).
Show all changes in 0.18.0Hide the rest of the changes in 0.18.0
Internal refactor
- Remove redundant
fieldresets fromtrans_funs$f2510t2520()andtrans_funs$f2520t2610()because transition loading is driven byclassandindex(#646). - Run tests serially by default and reserve network, transition, preprocessor, and other heavy external-program checks for an explicit integration mode, while retaining latest-version SQLite output coverage in the default suite (#637).
- Use DuckDB to read EnergyPlus SQLite output files, reducing eplusr's recursive dependency chain and raising the minimum supported R version to 4.2.0 (#635).
- Use cli conditions for eplusr verbose logging, package warnings, errors, and narrow user-facing console messages while preserving eplusr condition classes (#551).
- Truncate large parametric verbose messages and print summarized status output for large parametric jobs (#569).
Bug fixes
- Preserve original positions when parsing mixed EPW date formats, including decimal month/day strings ending in zero (#650).
- Report the correct integer fields in truncation warnings (#650).
- Reject unavailable or failed snapshot exports and preserve existing destination files until an export succeeds (#650).
- Match weather dictionary cloneability to its parent IDD class, avoiding R6 inheritance diagnostics when reading EPW files (#650).
- Keep
IdfViewertriangulation compatible with decido 0.5.0 and infer detailed fenestration vertices from populated XYZ coordinate fields (#643). - Validate active extensible groups using the first-group required-field template, allowing optional fields without defaults to remain empty (#641).
- Allow optional fields with default values to remain empty inside active extensible groups during validation (#640).
- Reject character field values that contain IDF delimiters, preventing comma or semicolon inputs from corrupting generated IDF syntax (#67).
- Skip CRAN checks that would otherwise download the latest EnergyPlus IDD during IDD relation tests.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-20
- ERROR12 OK, 1 ERROR2026-08-18
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-17
Show 9 earlier changesHide 9 earlier changes
- ERROR12 OK, 1 ERROR2026-06-15
- OK13 OK2026-05-14
- ERROR12 OK, 1 ERROR2026-05-11
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-24
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-23
- NOTE12 OK, 2 NOTE2026-04-15
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-11
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 85 (36 internal)includes a package overview page
- Examples that run
- 11%5 run in a plain check · 40 never run
- Exported functions with examples
- 51%
- Documented parameters
- 97%
- Return-value docs
- 85%
- Help pages citing references
- 2%
Downloads
Repository
- PRs merged (all time)
- 97%
- Median days to close, 50 most recently updated closed issues
- 19
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
14 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/hongyuanjia/eplusr on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-12 · The repository has a site deploy workflow
pkgdown site last built 2026-10-12
Show all practicesHide 3 practices
Dependencies
Installing eplusr adds 18 packages (12 with compiled code, 26 MB of source tarballs). Heaviest: stringi 11 MB, data.table 5.7 MB, duckdb 4.6 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.18.0Latest2026-10-12 · current release · diff ↗ ··
added 1 export
install_duckdb_sqlitelisted once in CRAN's queue
Seen in one reading of CRAN's incoming queue, at 2026-10-12 18:25 UTC, so it stayed less than the time between readings. - 0.17.0
- RR 4.6.0 released · 2026-04-24
- 0.16.32025-04-22 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.16.22023-08-25 · diff ↗
- 0.16.12023-06-19 · diff ↗
- 0.16.0
- RR 4.3.0 released · 2023-04-21
- 0.15.32022-11-20 · diff ↗
- 0.15.2
- RR 4.2.0 released · 2022-04-22
- 0.15.12022-01-21 · diff ↗
- 0.15.02021-11-17 · diff ↗ ·
added 16 exports
Basement, EPMacro, EnergyPlus, ExpandObjects, HVAC_Diagram, ReadVarsESO, Slab, convertESOMTR, energyplus, locate_eplus, path_eplus, path_eplus_dataset, path_eplus_example, path_eplus_processor, path_eplus_weather, uninstall_eplus - 0.14.22021-05-29 · diff ↗
Show 23 earlier eventsHide 23 earlier events
- RR 4.1.0 released · 2021-05-18
- 0.14.12021-02-25 · diff ↗
- 0.14.02021-01-07 · diff ↗
- 0.13.02020-08-28 · diff ↗ ·
added 47 exports
IdfGeometry, IdfSchedule, IdfScheduleCompact, IdfViewer, add_idf_object, assign_idf_value_default, del_idf_object, dup_idf_object, duplicated_idf_object, expand_idf_dots_literal, expand_idf_dots_name, expand_idf_dots_object, expand_idf_dots_value, expand_idf_regex, get_idd_class, get_idd_field, get_idd_relation, get_idf_node_relation, get_idf_object, get_idf_relation, get_idf_table, get_idf_value, get_object_info, get_priv_env, get_self_env, idf_geometry, idf_viewer, init_idf_object, init_idf_value, make_idf_object_name and 17 more - RR 4.0.0 released · 2020-04-24
- 0.12.02020-02-20 · diff ↗
- 0.11.02020-01-20 · diff ↗ ·
added 15 exports
EplusGroupJob, EplusJob, EplusSql, Epw, Idd, IddObject, Idf, IdfObject, ParametricJob, dt_to_load, group_job, mdd_to_load, rdd_to_load, transition, version_updater - 0.10.42019-11-05 · diff ↗
- 0.10.3
- 0.10.22019-05-13 · diff ↗
- 0.10.12019-05-09 · diff ↗
- 0.10.02019-05-03 · diff ↗ ·
added 14 exports
custom_validate, empty_idf, idd_object, idf_object, is_eplus_path, is_eplus_ver, is_epw, is_idd, is_idd_ver, is_iddobject, is_idf, is_idfobject, level_checks, read_err - RR 3.6.0 released · 2019-04-26
- 0.9.4
- 0.9.32018-10-11 · diff ↗
- 0.9.2
- 0.9.12018-08-29 · diff ↗
- unarchivedReturned to CRAN2018-08-27
- 0.9.02018-08-27 · diff ↗
- archivedRemoved from CRAN2018-08-08policy violation Leaves 'EnergyPlus' installer file and installation in home
- 0.8.32018-08-08 · diff ↗
- 0.8.22018-07-22
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-07-22
- Total releases
- 28 / 8 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL-3 in 0.9.4
- Minimum R
- ≥ 4.2.0
- Download size
- 1.9 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("eplusr")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1016/j.enbuild.2021.110757.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.