eplus_sql()
takes an EnergyPlus SQLite output file as input, and returns an
EplusSQL
object for collecting simulation outputs. For more details, please
see EplusSql.
eplus_sql(sql)
An EplusSql object.
if (FALSE) { # \dontrun{
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)
# copy to tempdir and run the model
idf <- read_idf(idf_path)
idf$run(epw_path, tempdir(), echo = FALSE)
# create from local file
sql <- eplus_sql(file.path(tempdir(), "1ZoneUncontrolled.sql"))
}
} # }