Learn R Programming

eplusr (version 0.9.4)

eplus_job: Create an EnergyPlus Simulation Job

Description

eplus_job() takes an IDF and EPW as input, and returns an EplusJob object for running EnergyPlus simulation and collecting outputs. For more details, please see EplusJob.

Usage

eplus_job(idf, epw)

Arguments

idf

A path to an local EnergyPlus IDF file or an Idf object.

epw

A path to an local EnergyPlus EPW file or an Epw object.

Value

An EplusJob object.

See Also

param_job() for creating an EnergyPlus parametric job.

Examples

Run this code
# NOT RUN {
if (is_avail_eplus(8.8)) {
    idf_name <- "1ZoneUncontrolled.idf"
    epw_name <-  "USA_CA_San.Francisco.Intl.AP.724940_TMY3.epw"

    idf_path <- file.path(eplus_config(8.8)$dir, "ExampleFiles", idf_name)
    epw_path <- file.path(eplus_config(8.8)$dir, "WeatherData", epw_name)

    # create from local files
    eplus_job(idf_path, epw_path)

    # create from an Idf and an Epw object
    eplus_job(read_idf(idf_path), read_epw(epw_path))
}
# }

Run the code above in your browser using DataLab