Published November 18, 2021
| Version v0.15.0
Software
Open
hongyuanjia/eplusr: eplusr 0.15.0
Description
New features
Idd$path()is added to show the path of IDD parsed (#442).- Add epw data sources from climate.onebuilding.org for
download_weather().typewill always be"all"for those sources (#453). - Add a new
"stat"option intypeindownload_weather()(#453). Idf$is_valid_id()andIdf$is_valid_name()gain a new argument namedclassdefaulting toNULLto check the validity of object IDs and names again a specific class.- Add support for EnergyPlus v9.5 (#438).
- Add support for EnergyPlus v9.6 (#460).
- Internal function
locate_eplus()has been exported to enable user to find all available EnergyPlus without restarting R (#477). uninstall_eplus()has been added to enable uninstall EnergyPlus from R on all platform (#477).- Now force re-installation of EnergyPlus
install_eplus(force = TRUE)has been updated to support all platforms, including macOS (#477). install_eplus()has been updated to behave smarter on macOS (#477).run_idf()andrun_multi()have been refactored to mimick theEpl-run.batprocedure. It supports to call theBasementandSlabprocessors. Now the requirement of EnergyPlus >=v8.3 for running simulations has been droppped Now simulations with FMU, including obFMU are supported. (#467).HVAC-Diagramwill be called when running simulations to make sure thesvgoutput of HVAC diagram can be generated. Therefore,hvac_diagram()has been deprecated and will be removed in next major version (#467).- Functions
path_eplus()andpath_eplus_*()have been added to help specify file paths under EnergyPlus installation directory (#467). - A new
Idfmethod$external_deps()is added to extra any external file resources specified in the IDF that are needed for simulation, e.g. schedule files (#467). - Now
Idf$save(external = TRUE)andIdf$run(copy_external)save external file dependencies based on the results ofIdf$external_deps()(#467). - A new
EplusJobmethod$list_files()is added to list all inputs and output files for current simulation (#467). - A new argument
readvarscan be specified inEplusJob$run()andEplusGroupJob$run(). Setting it toFALSEwill disable to run ReadVarsESO post-processor and thus no CSVs will be generated for Report variables and meters. This can speed up simulations significantly if there are hundreds of outputs in the model. Setting it toFALSEwill not affect any data extraction functionalities in eplusr, as it uses the SQLite output instead of the CSVs (#467). Now
.()can also be used as an alias aslist()inIdf$add()andIdf$set()(#445).idf$add(Output_Variable = .("*", "zone mean air temperature")) # is equivalent to idf$add(Output_Variable = list("*", "zone mean air temperature"))- A new argument
namescan be specified inParametricJob$models()to rename the parametric models created (#487). A new interface for creating parametric models has been introduced using
ParametricJob$param(). It takes parameter definitions in list format, which is similar toIdf$set()except that each field is not assigned with a single value, but a vector of any length, indicating the levels of each parameter. For example, the code block below defines 3 parameters (#487):- Field
Fan Total Efficiencyin object namedSupply Fan 1in classFan:VariableVolumeclass, with 10 levels being 0.1 to 1.0 with a 0.1 step. - Field
Thicknessin all objects in classMaterial, with 10 levels being 0.01 to 0.1 m with a 0.1 m step. - Field
Conductivityin all objects in classMaterial, with 10 levels being 0.1 to 1.0 W/m-K with a 0.1 W/m-K step.
param$param( `Supply Fan 1` = list(Fan_Total_Efficiency = seq(0.1, 1.0, 0.1)), Material := list(Thickness = seq(0.01, 0.1, 0.1), Conductivity = seq(0.1, 1.0, 0.1)) )- Field
ParametricJob$cases()is added to get a summary of parametric models and parameter values. It returns adata.tablegiving you the indices and names of the parametric models, and all parameter values used to create those models.For parametric models created usingParametricJob$param(), the column names will be the same as what you specified in.names. For the case ofParametricJob$apply_measure(), this will be the argument names of the measure functions (#487).- Now
.namesinParametricJob$apply_measure()can be a single character. In this case, it will be used as the prefix of all parametric models. The models will be named in the pattern.names_XwhereXis the model index (#487).
hvac_diagram()has been deprecated asHVAC-Diagramwill always be called after EnergyPlus simulation. If you still want to generate HVACsvgdiagram manually, please useHVAC_Diagram()instead (#467).
- When
typeis"all"indownload_weather(), the ZIP file will be downloaded instead of downloading bothEPWandDDYfiles (#453). EplusJob$output_dir()now use backslash in the returned path on Windows (#467).- Better error message when no arguments are given to the measure function in
ParametricJob$apply_measure()(#487).
- Fix the year value calculation when first day of a run period is holiday (#450).
- Fix
download_weather()file downloading URL (#452). - Fix
EplusSql$report_data(..., wide = TRUE)whenDo HVAC Sizing Simulation for Sizing Periodsis set toYesinSimulationControl(#461). - Now
read_idf()and other functions that read files from disk can usestringi::stri_enc_detect()to fix encoding issue (#467). - Now
ParametricJob$run(dir = NULL)will always use the seed model directory (#483).
Files
hongyuanjia/eplusr-v0.15.0.zip
Files
(6.1 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:96b3a0f36b7094022923642987cdf95a
|
6.1 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/hongyuanjia/eplusr/tree/v0.15.0 (URL)