run_idf
is a wrapper of EnergyPlus command line interface which enables to
run EnergyPlus model with different options. run_multi
provides the
functionality of running multiple models in parallel.
run_idf(eplus, model, weather, output_dir = NULL, design_day = FALSE,
annual = FALSE, expand_obj = TRUE, echo = FALSE)run_multi(eplus, model, weather, output_dir = NULL, design_day = FALSE,
annual = FALSE, parallel_backend = future::multiprocess)
An acceptable input of use_eplus()
and eplus_config()
.
A path of an EnergyPlus IDF or IMF file.
A path of an EnergyPlus EPW weather file.
Output directory path. If NULL, which is default, the directory of input model will be used.
Force design-day-only simulation. Default: FALSE
.
Force design-day-only simulation. Default: FALSE
.
Where to run ExpandObject preprocessor before simulation.
Default: TRUE
.
Only applicable to run_idf
. Show EnergyPlus simulation process
information to the console. If FALSE
, which is default, a
processx::process object will be return.
Acceptable input for future::plan()
.
Behind the scene, run_multi
uses the package furrr
which provides apply
mapping functions in parallel using package future
. It is suggested to run
simulation using Job
class, which provides much more controls on simulation
and also methods to extract simulation results.
Running EnergyPlus from Command Line (EnergyPlus GitHub Repository)
# NOT RUN {
run_idf(8.8, "input.idf", "weather.epw")
# }
Run the code above in your browser using DataLab