gaoptim_job() takes an IDF and EPW as input, and returns an GAOptimJob object for conducting optimization on an EnergyPlus model. For more details, please see GAOptimJob.

gaoptim_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

A GAOptimJob object.

See also

sensi_job() for creating a sensitivity analysis job.

Author

Hongyuan Jia

Examples

# \dontrun{ if (eplusr::is_avail_eplus(8.8)) { idf_name <- "1ZoneUncontrolled.idf" epw_name <- "USA_CA_San.Francisco.Intl.AP.724940_TMY3.epw" idf_path <- file.path(eplusr::eplus_config(8.8)$dir, "ExampleFiles", idf_name) epw_path <- file.path(eplusr::eplus_config(8.8)$dir, "WeatherData", epw_name) # create from local files gaoptim_job(idf_path, epw_path) # create from an Idf and an Epw object gaoptim_job(read_idf(idf_path), read_epw(epw_path)) }
#> Error in read_idf(idf_path): could not find function "read_idf"
# }