EplusJob class wraps the EnergyPlus command line interface and provides methods to extract simulation outputs.

Details

eplusr uses the EnergyPlus SQL output for extracting simulation outputs. EplusJob has provide some wrappers that do SQL query to get report data results, i.e. results from Output:Variable and Output:Meter*. But for Output:Table results, you have to be familiar with the structure of the EnergyPlus SQL results, especially for table "TabularDataWithStrings". For details, please see "2.20 eplusout.sql", especially "2.20.4.4 TabularData Table" in EnergyPlus "Output Details and Examples" documentation. An object in Output:SQLite with Option Type value of SimpleAndTabular will be automatically created if it does not exists, to ensure that the output collection functionality works successfully.

In order to make sure .rdd (Report Data Dictionary) and .mdd (Meter Data Dictionary) files are created during simulation, an object in Output:VariableDictionary class with Key Field value being IDF will be automatically created if it does not exists.

See also

ParametricJob class for EnergyPlus parametric simulations.

Methods

Public methods


Method new()

Create an EplusJob object

Usage

EplusJob$new(idf, epw)

Arguments

idf

Path to an local EnergyPlus IDF file or an Idf object.

epw

Path to an local EnergyPlus EPW file or an Epw object.

Returns

An EplusJob object.

Examples

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)

    job <- EplusJob$new(idf_path, epw_path)
}


Method version()

Get the version of IDF in current job

Usage

EplusJob$version()

Details

$version() returns the version of IDF that current EplusJob uses.

Returns

A base::numeric_version() object.

Examples

\dontrun{
job$version()
}


Method path()

Get the paths of file that current EpwSql uses

Usage

EplusJob$path(type = c("all", "idf", "epw"))

Arguments

type

If "all", both the Idf path and Epw path are returned. If "idf", only IDF path is returned. If "epw", only EPW path is returned. If epw is NULL, NA is returned for EPW path. Default: "all".

Details

$path() returns the path of IDF or EPW of current job.

Returns

A character vector.

Examples

\dontrun{
job$path()
job$path("idf")
job$path("epw")
}


Method run()

Run simulationA

Usage

EplusJob$run(
  epw,
  dir = NULL,
  wait = TRUE,
  force = FALSE,
  echo = wait,
  copy_external = FALSE
)

Arguments

epw

A path to an .epw file or an Epw object. epw can also be NULL which will force design-day-only simulation. Note this needs at least one Sizing:DesignDay object exists in the Idf. If not given, the epw input used when creating this EplusJob object will be used.

dir

The directory to save the simulation results. If NULL, the input idf folder will be used. Default: NULL.

wait

If TRUE, R will hang on and wait for the simulation to complete. EnergyPlus standard output (stdout) and error (stderr) is printed to R console. If FALSE, simulation will be run in a background process. Default: TRUE.

force

Only applicable when the last job runs with wait equals to FALSE and is still running. If TRUE, current running job is forced to stop and a new one will start. Default: FALSE.

echo

Only applicable when wait is TRUE. Whether to show standard output and error from EnergyPlus. Default: same as wait.

copy_external

If TRUE, the external files that current Idf object depends on will also be copied into the simulation output directory. The values of file paths in the Idf will be changed automatically. Currently, only Schedule:File class is supported. This ensures that the output directory will have all files needed for the model to run. Default is FALSE.

Details

$run() runs the simulation using input IDF and EPW file. If wait is FALSE, the job is run in the background. You can get updated job status by just printing the EplusJob object.

Parameter epw can be used to reset the EPW file to use for simulation. If not given, the epw input used when creating this EplusJob object will be used.

Returns

The EplusJob object itself, invisibly.

Examples

\dontrun{
# only run design day
job$run(NULL)

# specify output directory
job$run(dir = tempdir())

# run in the background
job$run(wait = TRUE)
# see job status
job$status()

# force to kill background job before running the new one
job$run(force = TRUE)

# do not show anything in the console
job$run(echo = FALSE)

# copy external files used in the model to simulation output directory
job$run(copy_external = TRUE)
}


Method kill()

Kill current running job

Usage

EplusJob$kill()

Details

$kill() kills the background EnergyPlus process if possible. It only works when simulation runs in non-waiting mode.

Returns

A single logical value of TRUE or FALSE, invisibly.

Examples

\dontrun{
job$kill()
}


Method status()

Get the job status

Usage

EplusJob$status()

Details

$status() returns a named list of values that indicates the status of the job:

  • run_before: TRUE if the job has been run before. FALSE otherwise.

  • alive: TRUE if the simulation is still running in the background. FALSE otherwise.

  • terminated: TRUE if the simulation was terminated during last simulation. FALSE otherwise. NA if the job has not been run yet.

  • successful: TRUE if last simulation ended successfully. FALSE otherwise. NA if the job has not been run yet.

  • changed_after: TRUE if the IDF file has been changed since last simulation. FALSE otherwise. NA if the job has not been run yet.

Returns

A named list of 5 elements.

Examples

\dontrun{
job$status()
}


Method errors()

Read simulation errors

Usage

EplusJob$errors(info = FALSE)

Arguments

info

If FALSE, only warnings and errors are printed. Default: FALSE.

Details

$errors() returns an ErrFile object which contains all contents of the simulation error file (.err). If info is FALSE, only warnings and errors are printed.

Returns

An ErrFile object.

Examples

\dontrun{
job$errors()

# show all information
job$errors(info = TRUE)
}


Method output_dir()

Get simulation output directory

Usage

EplusJob$output_dir(open = FALSE)

Arguments

open

If TRUE, the output directory will be opened.

Details

$output_dir() returns the output directory of simulation results.

Examples

\dontrun{
job$output_dir()

# open output directory
job$output_dir(open = TRUE)
}


Method locate_output()

Get path of output file

Usage

EplusJob$locate_output(suffix = ".err", strict = TRUE)

Arguments

suffix

A string that indicates the file extension of simulation output. Default: ".err".

strict

If TRUE, it will check if the simulation was terminated, is still running or the file exists or not. Default: TRUE.

Details

$locate_output() returns the path of a single output file specified by file suffix.

Examples

\dontrun{
# get the file path of the error file
job$locate_output(".err", strict = FALSE)

# can use to detect if certain output file exists
job$locate_output(".expidf", strict = TRUE)
}


Method read_rdd()

Read Report Data Dictionary (RDD) file

Usage

EplusJob$read_rdd()

Details

$read_rdd() return the core data of Report Data Dictionary (RDD) file. For details, please see read_rdd().

Returns

An RddFile object.

Examples

\dontrun{
job$read_rdd()
}


Method read_mdd()

Read Report Data Dictionary (RDD) file

Usage

EplusJob$read_mdd()

Details

$read_mdd() return the core data of Meter Data Dictionary (MDD) file. For details, please see read_mdd().

Returns

An MddFile object.

Examples

\dontrun{
job$read_mdd()
}


Method list_table()

List all table names in EnergyPlus SQL output

Usage

EplusJob$list_table()

Details

$list_table() returns all available table and view names in the EnergyPlus SQLite file.

Returns

A character vector

Examples

\dontrun{
job$list_table()
}


Method read_table()

Read a single table from EnergyPlus SQL output

Usage

EplusJob$read_table(name)

Arguments

name

A single string specifying the name of table to read.

Details

$read_table() takes a valid table name of those from $list_table() and returns that table data in a data.table::data.table() format.

Returns

A data.table::data.table().

Examples

\dontrun{
# read a specific table
job$read_table("Zones")
}


Method report_data_dict()

Read report data dictionary from EnergyPlus SQL output

Usage

EplusJob$report_data_dict()

Details

$report_data_dict() returns a data.table::data.table() which contains all information about report data.

For details on the meaning of each columns, please see "2.20.2.1 ReportDataDictionary Table" in EnergyPlus "Output Details and Examples" documentation.

Returns

A data.table::data.table() of 10 columns:

  • report_data_dictionary_index: The integer used to link the dictionary data to the variable data. Mainly useful when joining different tables

  • is_meter: Whether report data is a meter data. Possible values: 0 and 1

  • timestep_type: Type of data timestep. Possible values: Zone and HVAC System

  • key_value: Key name of the data

  • name: Actual report data name

  • reporting_frequency:

  • schedule_name: Name of the the schedule that controls reporting frequency.

  • units: The data units

Examples

\dontrun{
job$report_data_dict()
}


Method report_data()

Read report data

Usage

EplusJob$report_data(
  key_value = NULL,
  name = NULL,
  year = NULL,
  tz = "UTC",
  case = "auto",
  all = FALSE,
  wide = FALSE,
  period = NULL,
  month = NULL,
  day = NULL,
  hour = NULL,
  minute = NULL,
  interval = NULL,
  simulation_days = NULL,
  day_type = NULL,
  environment_name = NULL
)

Arguments

key_value

A character vector to identify key values of the data. If NULL, all keys of that variable will be returned. key_value can also be data.frame that contains key_value and name columns. In this case, name argument in $report_data() is ignored. All available key_value for current simulation output can be obtained using $report_data_dict(). Default: NULL.

name

A character vector to identify names of the data. If NULL, all names of that variable will be returned. If key_value is a data.frame, name is ignored. All available name for current simulation output can be obtained using $report_data_dict(). Default: NULL.

year

Year of the date time in column datetime. If NULL, it will calculate a year value that meets the start day of week restriction for each environment. Default: NULL.

tz

Time zone of date time in column datetime. Default: "UTC".

case

If not NULL, a character column will be added indicates the case of this simulation. If "auto", the name of the IDF file without extension is used.

all

If TRUE, extra columns are also included in the returned data.table::data.table().

wide

If TRUE, the output is formatted in the same way as standard EnergyPlus csv output file.

period

A Date or POSIXt vector used to specify which time period to return. The year value does not matter and only month, day, hour and minute value will be used when subsetting. If NULL, all time period of data is returned. Default: NULL.

month, day, hour, minute

Each is an integer vector for month, day, hour, minute subsetting of datetime column when querying on the SQL database. If NULL, no subsetting is performed on those components. All possible month, day, hour and minute can be obtained using $read_table("Time"). Default: NULL.

interval

An integer vector used to specify which interval length of report to extract. If NULL, all interval will be used. Default: NULL.

simulation_days

An integer vector to specify which simulation day data to extract. Note that this number resets after warmup and at the beginning of an environment period. All possible simulation_days can be obtained using $read_table("Time"). If NULL, all simulation days will be used. Default: NULL.

day_type

A character vector to specify which day type of data to extract. All possible day types are: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Holiday, SummerDesignDay, WinterDesignDay, CustomDay1, and CustomDay2. All possible values for current simulation output can be obtained using $read_table("Time").

environment_name

A character vector to specify which environment data to extract. If NULL, all environment data are returned. Default: NULL. All possible environment_name for current simulation output can be obtained using:

$read_table("EnvironmentPeriods")

Details

$report_data() extracts the report data in a data.table::data.table() using key values, variable names and other specifications.

$report_data() can also directly take all or subset output from $report_data_dict() as input, and extract all data specified.

The returned column numbers varies depending on all argument.

  • all is FALSE, the returned data.table::data.table() has 6 columns:

    • case: Simulation case specified using case argument

    • datetime: The date time of simulation result

    • key_value: Key name of the data

    • name: Actual report data name

    • units: The data units

    • value: The data value

  • all is TRUE, besides columns described above, extra columns are also included:

    • month: The month of reported date time

    • day: The day of month of reported date time

    • hour: The hour of reported date time

    • minute: The minute of reported date time

    • dst: Daylight saving time indicator. Possible values: 0 and 1

    • interval: Length of reporting interval

    • simulation_days: Day of simulation

    • day_type: The type of day, e.g. Monday, Tuesday and etc.

    • environment_period_index: The indices of environment.

    • environment_name: A text string identifying the environment.

    • is_meter: Whether report data is a meter data. Possible values: 0 and 1

    • type: Nature of data type with respect to state. Possible values: Sum and Avg

    • index_group: The report group, e.g. Zone, System

    • timestep_type: Type of data timestep. Possible values: Zone and HVAC System

    • reporting_frequency: The reporting frequency of the variable, e.g. HVAC System Timestep, Zone Timestep.

    • schedule_name: Name of the the schedule that controls reporting frequency.

With the datetime column, it is quite straightforward to apply time-series analysis on the simulation output. However, another painful thing is that every simulation run period has its own Day of Week for Start Day. Randomly setting the year may result in a date time series that does not have the same start day of week as specified in the RunPeriod objects.

eplusr provides a simple solution for this. By setting year to NULL, which is the default behavior, eplusr will calculate a year value (from current year backwards) for each run period that compliances with the start day of week restriction.

It is worth noting that EnergyPlus uses 24-hour clock system where 24 is only used to denote midnight at the end of a calendar day. In EnergyPlus output, "00:24:00" with a time interval being 15 mins represents a time period from "00:23:45" to "00:24:00", and similarly "00:15:00" represents a time period from "00:24:00" to "00:15:00" of the next day. This means that if current day is Friday, day of week rule applied in schedule time period "00:23:45" to "00:24:00" (presented as "00:24:00" in the output) is also Friday, but not Saturday. However, if you try to get the day of week of time "00:24:00" in R, you will get Saturday, but not Friday. This introduces inconsistency and may cause problems when doing data analysis considering day of week value.

With wide equals TRUE, $report_data() will format the simulation output in the same way as standard EnergyPlus csv output file. Sometimes this can be useful as there may be existing tools/workflows that depend on this format. When both wide and all are TRUE, columns of runperiod environment names and date time components are also returned, including: environment_period_index", "environment_name, simulation_days, datetime, month, day, hour, minute, day_type.

For convenience, input character arguments matching in $report_data() are case-insensitive.

Returns

A data.table::data.table().

Examples

\dontrun{
# read all report data
job$report_data()

# specify output variables using report data dictionary
dict <- job$report_data_dict()
job$report_data(dict[units == "C"])

# specify output variables using 'key_value' and 'name'
job$report_data("environment", "site outdoor air drybulb temperature")

# explicitly specify year value and time zone
job$report_data(dict[1], year = 2020, tz = "Etc/GMT+8")

# explicitly specify case name
job$report_data(dict[1], case = "example")

# get all possible columns
job$report_data(dict[1], all = TRUE)

# return in a format that is similar as EnergyPlus CSV output
job$report_data(dict[1], wide = TRUE)

# return in a format that is similar as EnergyPlus CSV output with
# extra columns
job$report_data(dict[1], wide = TRUE, all = TRUE)

# only get data at the working hour on the first Monday
job$report_data(dict[1], hour = 8:18, day_type = "monday", simulation_days = 1:7)

# only get specified run period data
job$read_table("EnvironmentPeriods") # possible environment name
job$report_data(dict[1], environment_name = "San Francisco Intl Ap CA USA TMY3 WMO#=724940")
# can also be done using 'environment_period_index' column
job$report_data(dict[1], all = TRUE)[environment_period_index == 3L]
}


Method tabular_data()

Read tabular data

Usage

EplusJob$tabular_data(
  report_name = NULL,
  report_for = NULL,
  table_name = NULL,
  column_name = NULL,
  row_name = NULL,
  wide = FALSE,
  string_value = !wide
)

Arguments

report_name, report_for, table_name, column_name, row_name

Each is a character vector for subsetting when querying the SQL database. For the meaning of each argument, please see the description above.

wide

If TRUE, each table will be converted into the similar format as it is shown in EnergyPlus HTML output file. Default: FALSE.

string_value

Only applicable when wide is TRUE. If string_value is FALSE, instead of keeping all values as characters, values in possible numeric columns are converted into numbers. Default: the opposite of wide. Possible numeric columns indicate column that:

  • columns that have associated units

  • columns that contents numbers

Details

$tabular_data() extracts the tabular data in a data.table::data.table() using report, table, column and row name specifications. The returned data.table::data.table() has 9 columns:

  • case: Simulation case specified using case argument

  • index: Tabular data index

  • report_name: The name of the report that the record belongs to

  • report_for: The For text that is associated with the record

  • table_name: The name of the table that the record belongs to

  • column_name: The name of the column that the record belongs to

  • row_name: The name of the row that the record belongs to

  • units: The units of the record

  • value: The value of the record in string format by default

For convenience, input character arguments matching in $tabular_data() are case-insensitive.

Returns

A data.table::data.table() with 8 columns (when wide is FALSE) or a named list of data.table::data.table()s where the names are the combination of report_name, report_for and table_name.

Examples

\dontrun{
# read all tabular data
job$tabular_data()

# explicitly specify data you want
str(job$tabular_data(
    report_name = "AnnualBuildingUtilityPerformanceSummary",
    table_name = "Site and Source Energy",
    column_name = "Total Energy",
    row_name = "Total Site Energy"
))

# get tabular data in wide format and coerce numeric values
str(job$tabular_data(
    report_name = "AnnualBuildingUtilityPerformanceSummary",
    table_name = "Site and Source Energy",
    column_name = "Total Energy",
    row_name = "Total Site Energy",
    wide = TRUE, string_value = FALSE
))
}


Method print()

Print EplusSql object

Usage

EplusJob$print()

Details

$print() shows the core information of this EplusJob object, including the path of model and weather, the version and path of EnergyPlus used to run simulations, and the simulation job status.

$print() is quite useful to get the simulation status, especially when wait is FALSE in $run(). The job status will be updated and printed whenever $print() is called.

Returns

The EplusSql object itself, invisibly.

Examples

\dontrun{
job$print()
}

Examples

## ------------------------------------------------ ## Method `EplusJob$new` ## ------------------------------------------------ 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) job <- EplusJob$new(idf_path, epw_path) }
#> Adding an object in class `Output:SQLite` and setting its `Option Type` to `SimpleAndTabular` in order to create SQLite output file.
## ------------------------------------------------ ## Method `EplusJob$version` ## ------------------------------------------------ # \dontrun{ job$version()
#> [1] ‘8.8.0’
# } ## ------------------------------------------------ ## Method `EplusJob$path` ## ------------------------------------------------ # \dontrun{ job$path()
#> idf #> "/home/travis/.local/EnergyPlus-8-8-0/ExampleFiles/1ZoneUncontrolled.idf" #> epw #> "/home/travis/.local/EnergyPlus-8-8-0/WeatherData/USA_CA_San.Francisco.Intl.AP.724940_TMY3.epw"
job$path("idf")
#> [1] "/home/travis/.local/EnergyPlus-8-8-0/ExampleFiles/1ZoneUncontrolled.idf"
job$path("epw")
#> [1] "/home/travis/.local/EnergyPlus-8-8-0/WeatherData/USA_CA_San.Francisco.Intl.AP.724940_TMY3.epw"
# } ## ------------------------------------------------ ## Method `EplusJob$run` ## ------------------------------------------------ # \dontrun{ # only run design day job$run(NULL)
#> Replace the existing IDF located at /home/travis/.local/EnergyPlus-8-8-0/ExampleFiles/1ZoneUncontrolled.idf.
#> EnergyPlus Starting #> EnergyPlus, Version 8.8.0-7c3bbe4830, YMD=2020.07.10 09:28 #> Processing Data Dictionary #> Processing Input File #> Initializing Simulation #> Reporting Surfaces #> Beginning Primary Simulation #> Initializing New Environment Parameters #> Warming up {1} #> Warming up {2} #> Warming up {3} #> Warming up {4} #> Warming up {5} #> Warming up {6} #> Warming up {7} #> Warming up {8} #> Warming up {9} #> Warming up {10} #> Warming up {11} #> Warming up {12} #> Warming up {13} #> Warming up {14} #> Warming up {15} #> Warming up {16} #> Warming up {17} #> Warming up {18} #> Warming up {19} #> Warming up {20} #> Warming up {21} #> Warming up {22} #> Starting Simulation at 12/21 for DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> Initializing New Environment Parameters #> Warming up {1} #> Warming up {2} #> Warming up {3} #> Warming up {4} #> Warming up {5} #> Warming up {6} #> Warming up {7} #> Warming up {8} #> Warming up {9} #> Warming up {10} #> Warming up {11} #> Warming up {12} #> Warming up {13} #> Warming up {14} #> Warming up {15} #> Warming up {16} #> Starting Simulation at 07/21 for DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> Writing tabular output file results using comma format. #> Writing tabular output file results using tab format. #> Writing tabular output file results using text format. #> Writing tabular output file results using HTML format. #> Writing tabular output file results using XML format. #> Writing final SQL reports #> ReadVarsESO program starting. #> Requested ESO file=eplusout.eso #> does not exist. ReadVarsESO program terminated. #> ReadVarsESO program terminated. #> ReadVarsESO program starting. #> ReadVars Run Time=00hr 00min 0.02sec #> ReadVarsESO program completed successfully. #> EnergyPlus Run Time=00hr 00min 0.28sec #>
#> ── EnergPlus Simulation Job ──────────────────────────────────────────────────── #> * Model: '/home/travis/.local/EnergyPlus-8-8-0/ExampleFiles/1ZoneUncontroll... #> * Weather: << Not specified >> #> * EnergyPlus Version: '8.8.0' #> * EnergyPlus Path: '/home/travis/.local/EnergyPlus-8-8-0' #> Simulation started at '2020-07-10 09:28:03' and completed successfully after 0.32 secs.
# specify output directory job$run(dir = tempdir())
#> EnergyPlus Starting #> EnergyPlus, Version 8.8.0-7c3bbe4830, YMD=2020.07.10 09:28 #> Processing Data Dictionary #> Processing Input File #> Initializing Simulation #> Reporting Surfaces #> Beginning Primary Simulation #> Initializing New Environment Parameters #> Warming up {1} #> Warming up {2} #> Warming up {3} #> Warming up {4} #> Warming up {5} #> Warming up {6} #> Warming up {7} #> Warming up {8} #> Warming up {9} #> Warming up {10} #> Warming up {11} #> Warming up {12} #> Warming up {13} #> Warming up {14} #> Warming up {15} #> Warming up {16} #> Warming up {17} #> Warming up {18} #> Warming up {19} #> Warming up {20} #> Warming up {21} #> Warming up {22} #> Starting Simulation at 12/21 for DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> Initializing New Environment Parameters #> Warming up {1} #> Warming up {2} #> Warming up {3} #> Warming up {4} #> Warming up {5} #> Warming up {6} #> Warming up {7} #> Warming up {8} #> Warming up {9} #> Warming up {10} #> Warming up {11} #> Warming up {12} #> Warming up {13} #> Warming up {14} #> Warming up {15} #> Warming up {16} #> Starting Simulation at 07/21 for DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> Writing tabular output file results using comma format. #> Writing tabular output file results using tab format. #> Writing tabular output file results using text format. #> Writing tabular output file results using HTML format. #> Writing tabular output file results using XML format. #> Writing final SQL reports #> ReadVarsESO program starting. #> ReadVars Run Time=00hr 00min 0.02sec #> ReadVarsESO program completed successfully. #> ReadVarsESO program starting. #> ReadVars Run Time=00hr 00min 0.02sec #> ReadVarsESO program completed successfully. #> EnergyPlus Run Time=00hr 00min 0.31sec #>
#> ── EnergPlus Simulation Job ──────────────────────────────────────────────────── #> * Model: '/tmp/RtmpeLRCuX/1ZoneUncontrolled.idf' #> * Weather: << Not specified >> #> * EnergyPlus Version: '8.8.0' #> * EnergyPlus Path: '/home/travis/.local/EnergyPlus-8-8-0' #> Simulation started at '2020-07-10 09:28:04' and completed successfully after 0.35 secs.
# run in the background job$run(wait = TRUE)
#> Replace the existing IDF located at /tmp/RtmpeLRCuX/1ZoneUncontrolled.idf.
#> EnergyPlus Starting #> EnergyPlus, Version 8.8.0-7c3bbe4830, YMD=2020.07.10 09:28 #> Processing Data Dictionary #> Processing Input File #> Initializing Simulation #> Reporting Surfaces #> Beginning Primary Simulation #> Initializing New Environment Parameters #> Warming up {1} #> Warming up {2} #> Warming up {3} #> Warming up {4} #> Warming up {5} #> Warming up {6} #> Warming up {7} #> Warming up {8} #> Warming up {9} #> Warming up {10} #> Warming up {11} #> Warming up {12} #> Warming up {13} #> Warming up {14} #> Warming up {15} #> Warming up {16} #> Warming up {17} #> Warming up {18} #> Warming up {19} #> Warming up {20} #> Warming up {21} #> Warming up {22} #> Starting Simulation at 12/21 for DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> Initializing New Environment Parameters #> Warming up {1} #> Warming up {2} #> Warming up {3} #> Warming up {4} #> Warming up {5} #> Warming up {6} #> Warming up {7} #> Warming up {8} #> Warming up {9} #> Warming up {10} #> Warming up {11} #> Warming up {12} #> Warming up {13} #> Warming up {14} #> Warming up {15} #> Warming up {16} #> Starting Simulation at 07/21 for DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> Writing tabular output file results using comma format. #> Writing tabular output file results using tab format. #> Writing tabular output file results using text format. #> Writing tabular output file results using HTML format. #> Writing tabular output file results using XML format. #> Writing final SQL reports #> ReadVarsESO program starting. #> ReadVars Run Time=00hr 00min 0.02sec #> ReadVarsESO program completed successfully. #> ReadVarsESO program starting. #> ReadVars Run Time=00hr 00min 0.02sec #> ReadVarsESO program completed successfully. #> EnergyPlus Run Time=00hr 00min 0.31sec #>
#> ── EnergPlus Simulation Job ──────────────────────────────────────────────────── #> * Model: '/tmp/RtmpeLRCuX/1ZoneUncontrolled.idf' #> * Weather: << Not specified >> #> * EnergyPlus Version: '8.8.0' #> * EnergyPlus Path: '/home/travis/.local/EnergyPlus-8-8-0' #> Simulation started at '2020-07-10 09:28:04' and completed successfully after 0.36 secs.
# see job status job$status()
#> $run_before #> [1] TRUE #> #> $alive #> [1] FALSE #> #> $terminated #> [1] FALSE #> #> $successful #> [1] TRUE #> #> $changed_after #> [1] FALSE #>
# force to kill background job before running the new one job$run(force = TRUE)
#> Replace the existing IDF located at /tmp/RtmpeLRCuX/1ZoneUncontrolled.idf.
#> EnergyPlus Starting #> EnergyPlus, Version 8.8.0-7c3bbe4830, YMD=2020.07.10 09:28 #> Processing Data Dictionary #> Processing Input File #> Initializing Simulation #> Reporting Surfaces #> Beginning Primary Simulation #> Initializing New Environment Parameters #> Warming up {1} #> Warming up {2} #> Warming up {3} #> Warming up {4} #> Warming up {5} #> Warming up {6} #> Warming up {7} #> Warming up {8} #> Warming up {9} #> Warming up {10} #> Warming up {11} #> Warming up {12} #> Warming up {13} #> Warming up {14} #> Warming up {15} #> Warming up {16} #> Warming up {17} #> Warming up {18} #> Warming up {19} #> Warming up {20} #> Warming up {21} #> Warming up {22} #> Starting Simulation at 12/21 for DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> Initializing New Environment Parameters #> Warming up {1} #> Warming up {2} #> Warming up {3} #> Warming up {4} #> Warming up {5} #> Warming up {6} #> Warming up {7} #> Warming up {8} #> Warming up {9} #> Warming up {10} #> Warming up {11} #> Warming up {12} #> Warming up {13} #> Warming up {14} #> Warming up {15} #> Warming up {16} #> Starting Simulation at 07/21 for DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> Writing tabular output file results using comma format. #> Writing tabular output file results using tab format. #> Writing tabular output file results using text format. #> Writing tabular output file results using HTML format. #> Writing tabular output file results using XML format. #> Writing final SQL reports #> ReadVarsESO program starting. #> ReadVars Run Time=00hr 00min 0.02sec #> ReadVarsESO program completed successfully. #> ReadVarsESO program starting. #> ReadVars Run Time=00hr 00min 0.02sec #> ReadVarsESO program completed successfully. #> EnergyPlus Run Time=00hr 00min 0.31sec #>
#> ── EnergPlus Simulation Job ──────────────────────────────────────────────────── #> * Model: '/tmp/RtmpeLRCuX/1ZoneUncontrolled.idf' #> * Weather: << Not specified >> #> * EnergyPlus Version: '8.8.0' #> * EnergyPlus Path: '/home/travis/.local/EnergyPlus-8-8-0' #> Simulation started at '2020-07-10 09:28:05' and completed successfully after 0.35 secs.
# do not show anything in the console job$run(echo = FALSE)
#> Replace the existing IDF located at /tmp/RtmpeLRCuX/1ZoneUncontrolled.idf.
#> ── EnergPlus Simulation Job ──────────────────────────────────────────────────── #> * Model: '/tmp/RtmpeLRCuX/1ZoneUncontrolled.idf' #> * Weather: << Not specified >> #> * EnergyPlus Version: '8.8.0' #> * EnergyPlus Path: '/home/travis/.local/EnergyPlus-8-8-0' #> Simulation started at '2020-07-10 09:28:05' and completed successfully after 0.35 secs.
# copy external files used in the model to simulation output directory job$run(copy_external = TRUE)
#> Replace the existing IDF located at /tmp/RtmpeLRCuX/1ZoneUncontrolled.idf.
#> EnergyPlus Starting #> EnergyPlus, Version 8.8.0-7c3bbe4830, YMD=2020.07.10 09:28 #> Processing Data Dictionary #> Processing Input File #> Initializing Simulation #> Reporting Surfaces #> Beginning Primary Simulation #> Initializing New Environment Parameters #> Warming up {1} #> Warming up {2} #> Warming up {3} #> Warming up {4} #> Warming up {5} #> Warming up {6} #> Warming up {7} #> Warming up {8} #> Warming up {9} #> Warming up {10} #> Warming up {11} #> Warming up {12} #> Warming up {13} #> Warming up {14} #> Warming up {15} #> Warming up {16} #> Warming up {17} #> Warming up {18} #> Warming up {19} #> Warming up {20} #> Warming up {21} #> Warming up {22} #> Starting Simulation at 12/21 for DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> Initializing New Environment Parameters #> Warming up {1} #> Warming up {2} #> Warming up {3} #> Warming up {4} #> Warming up {5} #> Warming up {6} #> Warming up {7} #> Warming up {8} #> Warming up {9} #> Warming up {10} #> Warming up {11} #> Warming up {12} #> Warming up {13} #> Warming up {14} #> Warming up {15} #> Warming up {16} #> Starting Simulation at 07/21 for DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> Writing tabular output file results using comma format. #> Writing tabular output file results using tab format. #> Writing tabular output file results using text format. #> Writing tabular output file results using HTML format. #> Writing tabular output file results using XML format. #> Writing final SQL reports #> ReadVarsESO program starting. #> ReadVars Run Time=00hr 00min 0.02sec #> ReadVarsESO program completed successfully. #> ReadVarsESO program starting. #> ReadVars Run Time=00hr 00min 0.02sec #> ReadVarsESO program completed successfully. #> EnergyPlus Run Time=00hr 00min 0.31sec #>
#> ── EnergPlus Simulation Job ──────────────────────────────────────────────────── #> * Model: '/tmp/RtmpeLRCuX/1ZoneUncontrolled.idf' #> * Weather: << Not specified >> #> * EnergyPlus Version: '8.8.0' #> * EnergyPlus Path: '/home/travis/.local/EnergyPlus-8-8-0' #> Simulation started at '2020-07-10 09:28:05' and completed successfully after 0.36 secs.
# } ## ------------------------------------------------ ## Method `EplusJob$kill` ## ------------------------------------------------ # \dontrun{ job$kill()
#> The job is not running.
# } ## ------------------------------------------------ ## Method `EplusJob$status` ## ------------------------------------------------ # \dontrun{ job$status()
#> $run_before #> [1] TRUE #> #> $alive #> [1] FALSE #> #> $terminated #> [1] FALSE #> #> $successful #> [1] TRUE #> #> $changed_after #> [1] FALSE #>
# } ## ------------------------------------------------ ## Method `EplusJob$errors` ## ------------------------------------------------ # \dontrun{ job$errors()
#> ══ EnergyPlus Error File ═══════════════════════════════════════════════════════ #> * EnergyPlus version: 8.8.0 (7c3bbe4830) #> * Simulation started: 2020-07-10 09:28:00 #> * Terminated: FALSE #> * Successful: TRUE #> #> [EnergyPlus did not generate any message...]
# show all information job$errors(info = TRUE)
#> ══ EnergyPlus Error File ═══════════════════════════════════════════════════════ #> * EnergyPlus version: 8.8.0 (7c3bbe4830) #> * Simulation started: 2020-07-10 09:28:00 #> * Terminated: FALSE #> * Successful: TRUE #> #> ── During Simulation Initiation ──────────────────────────────────────────────── #> [I 1/8] Testing Individual Branch Integrity #> [I 2/8] All Branches passed integrity testing #> [I 3/8] Testing Individual Supply Air Path Integrity #> [I 4/8] All Supply Air Paths passed integrity testing #> [I 5/8] Testing Individual Return Air Path Integrity #> [I 6/8] All Return Air Paths passed integrity testing #> [I 7/8] No node connection errors were found. #> #> ── During Simulation ─────────────────────────────────────────────────────────── #> [I 8/8] Simulation Error Summary *************
# } ## ------------------------------------------------ ## Method `EplusJob$output_dir` ## ------------------------------------------------ # \dontrun{ job$output_dir()
#> [1] "/tmp/RtmpeLRCuX"
# open output directory job$output_dir(open = TRUE)
#> [1] "/tmp/RtmpeLRCuX"
# } ## ------------------------------------------------ ## Method `EplusJob$locate_output` ## ------------------------------------------------ # \dontrun{ # get the file path of the error file job$locate_output(".err", strict = FALSE)
#> [1] "/tmp/RtmpeLRCuX/1ZoneUncontrolled.err"
# can use to detect if certain output file exists job$locate_output(".expidf", strict = TRUE)
#> Error: File '/tmp/RtmpeLRCuX/1ZoneUncontrolled.expidf' does not exists.
# } ## ------------------------------------------------ ## Method `EplusJob$read_rdd` ## ------------------------------------------------ # \dontrun{ job$read_rdd()
#> ══ EnergyPlus Report Data Dictionary File ══════════════════════════════════════ #> * EnergyPlus version: 8.8.0 (7c3bbe4830) #> * Simulation started: 2020-07-10 09:28:00 #> #> ── Details ───────────────────────────────────────────────────────────────────── #> index reported_time_step report_type #> 1: 1 Zone Average #> 2: 2 Zone Average #> 3: 3 Zone Average #> 4: 4 Zone Average #> 5: 5 Zone Average #> --- #> 244: 244 Zone Sum #> 245: 245 Zone Average #> 246: 246 HVAC Sum #> 247: 247 HVAC Sum #> 248: 248 HVAC Sum #> variable #> 1: Site Outdoor Air Drybulb Temperature #> 2: Site Outdoor Air Dewpoint Temperature #> 3: Site Outdoor Air Wetbulb Temperature #> 4: Site Outdoor Air Humidity Ratio #> 5: Site Outdoor Air Relative Humidity #> --- #> 244: Facility Cooling Setpoint Not Met While Occupied Time #> 245: Schedule Value #> 246: Environmental Impact Total N2O Emissions Carbon Equivalent Mass #> 247: Environmental Impact Total CH4 Emissions Carbon Equivalent Mass #> 248: Environmental Impact Total CO2 Emissions Carbon Equivalent Mass #> units #> 1: C #> 2: C #> 3: C #> 4: kgWater/kgDryAir #> 5: % #> --- #> 244: hr #> 245: <NA> #> 246: kg #> 247: kg #> 248: kg
# } ## ------------------------------------------------ ## Method `EplusJob$read_mdd` ## ------------------------------------------------ # \dontrun{ job$read_mdd()
#> ══ EnergyPlus Meter Data Dictionary File ═══════════════════════════════════════ #> * EnergyPlus version: 8.8.0 (7c3bbe4830) #> * Simulation started: 2020-07-10 09:28:00 #> #> ── Details ───────────────────────────────────────────────────────────────────── #> index reported_time_step report_type #> 1: 1 Zone Meter #> 2: 2 Zone Meter #> 3: 3 Zone Meter #> 4: 4 Zone Meter #> 5: 5 Zone Meter #> 6: 6 Zone Meter #> 7: 7 Zone Meter #> 8: 8 Zone Meter #> 9: 9 Zone Meter #> 10: 10 Zone Meter #> 11: 11 Zone Meter #> 12: 12 Zone Meter #> 13: 13 Zone Meter #> 14: 14 Zone Meter #> 15: 15 Zone Meter #> 16: 16 Zone Meter #> 17: 17 Zone Meter #> 18: 18 Zone Meter #> 19: 19 Zone Meter #> 20: 20 Zone Meter #> 21: 21 Zone Meter #> index reported_time_step report_type #> variable units #> 1: Electricity:Facility J #> 2: ExteriorLights:Electricity J #> 3: Grounds Lights:ExteriorLights:Electricity J #> 4: EnergyTransfer:Facility J #> 5: EnergyTransfer:Building J #> 6: EnergyTransfer:Zone:ZONE ONE J #> 7: Heating:EnergyTransfer J #> 8: Heating:EnergyTransfer:Zone:ZONE ONE J #> 9: Cooling:EnergyTransfer J #> 10: Cooling:EnergyTransfer:Zone:ZONE ONE J #> 11: ElectricityPurchased:Facility J #> 12: ElectricityPurchased:Plant J #> 13: Cogeneration:ElectricityPurchased J #> 14: ElectricitySurplusSold:Facility J #> 15: ElectricitySurplusSold:Plant J #> 16: Cogeneration:ElectricitySurplusSold J #> 17: ElectricityNet:Facility J #> 18: ElectricityNet:Plant J #> 19: Cogeneration:ElectricityNet J #> 20: Carbon Equivalent:Facility kg #> 21: CarbonEquivalentEmissions:Carbon Equivalent kg #> variable units
# } ## ------------------------------------------------ ## Method `EplusJob$list_table` ## ------------------------------------------------ # \dontrun{ job$list_table()
#> [1] "ComponentSizes" "ConstructionLayers" #> [3] "Constructions" "DaylightMapHourlyData" #> [5] "DaylightMapHourlyReports" "DaylightMaps" #> [7] "EnvironmentPeriods" "Errors" #> [9] "Materials" "NominalBaseboardHeaters" #> [11] "NominalElectricEquipment" "NominalGasEquipment" #> [13] "NominalHotWaterEquipment" "NominalInfiltration" #> [15] "NominalLighting" "NominalOtherEquipment" #> [17] "NominalPeople" "NominalSteamEquipment" #> [19] "NominalVentilation" "ReportData" #> [21] "ReportDataDictionary" "ReportExtendedData" #> [23] "ReportMeterData" "ReportMeterDataDictionary" #> [25] "ReportMeterExtendedData" "ReportVariableData" #> [27] "ReportVariableDataDictionary" "ReportVariableExtendedData" #> [29] "ReportVariableWithTime" "RoomAirModels" #> [31] "Schedules" "Simulations" #> [33] "StringTypes" "Strings" #> [35] "Surfaces" "SystemSizes" #> [37] "TabularData" "TabularDataWithStrings" #> [39] "Time" "ZoneGroups" #> [41] "ZoneInfoZoneLists" "ZoneLists" #> [43] "ZoneSizes" "Zones"
# } ## ------------------------------------------------ ## Method `EplusJob$read_table` ## ------------------------------------------------ # \dontrun{ # read a specific table job$read_table("Zones")
#> zone_index zone_name rel_north origin_x origin_y origin_z centroid_x #> 1: 1 ZONE ONE 0 0 0 0 7.62 #> centroid_y centroid_z of_type multiplier list_multiplier minimum_x maximum_x #> 1: 7.62 2.286 1 1 1 0 15.24 #> minimum_y maximum_y minimum_z maximum_z ceiling_height volume #> 1: 0 15.24 0 4.572 4.572 1061.882 #> inside_convection_algo outside_convection_algo floor_area #> 1: 2 7 232.2576 #> ext_gross_wall_area ext_net_wall_area ext_window_area is_part_of_total_area #> 1: 278.7091 278.7091 0 1
# } ## ------------------------------------------------ ## Method `EplusJob$report_data_dict` ## ------------------------------------------------ # \dontrun{ job$report_data_dict()
#> report_data_dictionary_index is_meter type #> 1: 6 0 Avg #> 2: 7 0 Avg #> 3: 8 0 Avg #> 4: 21 1 Sum #> 5: 40 0 Sum #> 6: 41 0 Sum #> 7: 42 0 Sum #> 8: 43 0 Sum #> 9: 44 0 Avg #> 10: 45 0 Avg #> 11: 46 0 Avg #> 12: 47 0 Avg #> 13: 48 0 Avg #> 14: 49 0 Avg #> 15: 50 0 Avg #> 16: 51 0 Avg #> 17: 52 0 Avg #> 18: 53 0 Avg #> 19: 54 0 Avg #> 20: 55 0 Avg #> 21: 56 0 Avg #> 22: 57 0 Avg #> 23: 58 0 Avg #> 24: 59 0 Avg #> 25: 60 0 Avg #> 26: 61 0 Avg #> 27: 62 0 Avg #> 28: 63 0 Avg #> 29: 64 0 Avg #> 30: 65 0 Avg #> 31: 66 0 Avg #> 32: 67 0 Avg #> 33: 68 0 Avg #> 34: 69 0 Avg #> 35: 70 0 Avg #> 36: 73 1 Sum #> 37: 83 1 Sum #> report_data_dictionary_index is_meter type #> index_group timestep_type key_value #> 1: Zone HVAC System Environment #> 2: Zone HVAC System Environment #> 3: Zone HVAC System Environment #> 4: Facility:Electricity:ExteriorLights HVAC System #> 5: Zone HVAC System ZONE ONE #> 6: Zone HVAC System TEST 352A #> 7: Zone HVAC System ZONE ONE #> 8: Zone HVAC System TEST 352 MINUS #> 9: Zone HVAC System ZN001:WALL001 #> 10: Zone HVAC System ZN001:WALL001 #> 11: Zone HVAC System ZN001:WALL001 #> 12: Zone HVAC System ZN001:WALL001 #> 13: Zone HVAC System ZN001:WALL002 #> 14: Zone HVAC System ZN001:WALL002 #> 15: Zone HVAC System ZN001:WALL002 #> 16: Zone HVAC System ZN001:WALL002 #> 17: Zone HVAC System ZN001:WALL003 #> 18: Zone HVAC System ZN001:WALL003 #> 19: Zone HVAC System ZN001:WALL003 #> 20: Zone HVAC System ZN001:WALL003 #> 21: Zone HVAC System ZN001:WALL004 #> 22: Zone HVAC System ZN001:WALL004 #> 23: Zone HVAC System ZN001:WALL004 #> 24: Zone HVAC System ZN001:WALL004 #> 25: Zone HVAC System ZN001:FLR001 #> 26: Zone HVAC System ZN001:FLR001 #> 27: Zone HVAC System ZN001:FLR001 #> 28: Zone HVAC System ZN001:ROOF001 #> 29: Zone HVAC System ZN001:ROOF001 #> 30: Zone HVAC System ZN001:ROOF001 #> 31: Zone HVAC System ZN001:ROOF001 #> 32: Zone HVAC System ZONE ONE #> 33: Zone HVAC System ZONE ONE #> 34: System Zone ZONE ONE #> 35: System Zone ZONE ONE #> 36: Facility:EnergyTransfer HVAC System #> 37: Building:EnergyTransfer HVAC System #> index_group timestep_type key_value #> name #> 1: Site Outdoor Air Drybulb Temperature #> 2: Site Daylight Saving Time Status #> 3: Site Day Type Index #> 4: ExteriorLights:Electricity #> 5: Zone Total Internal Latent Gain Energy #> 6: Other Equipment Total Heating Energy #> 7: Zone Other Equipment Total Heating Energy #> 8: Other Equipment Total Heating Energy #> 9: Surface Inside Face Temperature #> 10: Surface Outside Face Temperature #> 11: Surface Inside Face Convection Heat Transfer Coefficient #> 12: Surface Outside Face Convection Heat Transfer Coefficient #> 13: Surface Inside Face Temperature #> 14: Surface Outside Face Temperature #> 15: Surface Inside Face Convection Heat Transfer Coefficient #> 16: Surface Outside Face Convection Heat Transfer Coefficient #> 17: Surface Inside Face Temperature #> 18: Surface Outside Face Temperature #> 19: Surface Inside Face Convection Heat Transfer Coefficient #> 20: Surface Outside Face Convection Heat Transfer Coefficient #> 21: Surface Inside Face Temperature #> 22: Surface Outside Face Temperature #> 23: Surface Inside Face Convection Heat Transfer Coefficient #> 24: Surface Outside Face Convection Heat Transfer Coefficient #> 25: Surface Inside Face Temperature #> 26: Surface Outside Face Temperature #> 27: Surface Inside Face Convection Heat Transfer Coefficient #> 28: Surface Inside Face Temperature #> 29: Surface Outside Face Temperature #> 30: Surface Inside Face Convection Heat Transfer Coefficient #> 31: Surface Outside Face Convection Heat Transfer Coefficient #> 32: Zone Mean Radiant Temperature #> 33: Zone Mean Air Temperature #> 34: Zone Air Heat Balance Surface Convection Rate #> 35: Zone Air Heat Balance Air Energy Storage Rate #> 36: EnergyTransfer:Facility #> 37: EnergyTransfer:Building #> name #> reporting_frequency schedule_name units #> 1: Hourly <NA> C #> 2: Daily <NA> #> 3: Daily <NA> #> 4: Hourly <NA> J #> 5: Hourly <NA> J #> 6: Monthly <NA> J #> 7: Monthly <NA> J #> 8: Monthly <NA> J #> 9: Daily <NA> C #> 10: Daily <NA> C #> 11: Daily <NA> W/m2-K #> 12: Daily <NA> W/m2-K #> 13: Daily <NA> C #> 14: Daily <NA> C #> 15: Daily <NA> W/m2-K #> 16: Daily <NA> W/m2-K #> 17: Daily <NA> C #> 18: Daily <NA> C #> 19: Daily <NA> W/m2-K #> 20: Daily <NA> W/m2-K #> 21: Daily <NA> C #> 22: Daily <NA> C #> 23: Daily <NA> W/m2-K #> 24: Daily <NA> W/m2-K #> 25: Daily <NA> C #> 26: Daily <NA> C #> 27: Daily <NA> W/m2-K #> 28: Daily <NA> C #> 29: Daily <NA> C #> 30: Daily <NA> W/m2-K #> 31: Daily <NA> W/m2-K #> 32: Hourly <NA> C #> 33: Hourly <NA> C #> 34: Hourly <NA> W #> 35: Hourly <NA> W #> 36: Hourly <NA> J #> 37: Hourly <NA> J #> reporting_frequency schedule_name units
# } ## ------------------------------------------------ ## Method `EplusJob$report_data` ## ------------------------------------------------ # \dontrun{ # read all report data job$report_data()
#> case datetime key_value #> 1: 1ZoneUncontrolled 2020-12-21 01:00:00 Environment #> 2: 1ZoneUncontrolled 2020-12-21 02:00:00 Environment #> 3: 1ZoneUncontrolled 2020-12-21 03:00:00 Environment #> 4: 1ZoneUncontrolled 2020-12-21 04:00:00 Environment #> 5: 1ZoneUncontrolled 2020-12-21 05:00:00 Environment #> --- #> 484: 1ZoneUncontrolled 2020-07-21 20:00:00 #> 485: 1ZoneUncontrolled 2020-07-21 21:00:00 #> 486: 1ZoneUncontrolled 2020-07-21 22:00:00 #> 487: 1ZoneUncontrolled 2020-07-21 23:00:00 #> 488: 1ZoneUncontrolled 2020-07-22 00:00:00 #> name units value #> 1: Site Outdoor Air Drybulb Temperature C -15.5 #> 2: Site Outdoor Air Drybulb Temperature C -15.5 #> 3: Site Outdoor Air Drybulb Temperature C -15.5 #> 4: Site Outdoor Air Drybulb Temperature C -15.5 #> 5: Site Outdoor Air Drybulb Temperature C -15.5 #> --- #> 484: EnergyTransfer:Building J 0.0 #> 485: EnergyTransfer:Building J 0.0 #> 486: EnergyTransfer:Building J 0.0 #> 487: EnergyTransfer:Building J 0.0 #> 488: EnergyTransfer:Building J 0.0
# specify output variables using report data dictionary dict <- job$report_data_dict() job$report_data(dict[units == "C"])
#> case datetime key_value #> 1: 1ZoneUncontrolled 2020-12-21 01:00:00 Environment #> 2: 1ZoneUncontrolled 2020-12-21 02:00:00 Environment #> 3: 1ZoneUncontrolled 2020-12-21 03:00:00 Environment #> 4: 1ZoneUncontrolled 2020-12-21 04:00:00 Environment #> 5: 1ZoneUncontrolled 2020-12-21 05:00:00 Environment #> --- #> 164: 1ZoneUncontrolled 2020-07-21 20:00:00 ZONE ONE #> 165: 1ZoneUncontrolled 2020-07-21 21:00:00 ZONE ONE #> 166: 1ZoneUncontrolled 2020-07-21 22:00:00 ZONE ONE #> 167: 1ZoneUncontrolled 2020-07-21 23:00:00 ZONE ONE #> 168: 1ZoneUncontrolled 2020-07-22 00:00:00 ZONE ONE #> name units value #> 1: Site Outdoor Air Drybulb Temperature C -15.50000 #> 2: Site Outdoor Air Drybulb Temperature C -15.50000 #> 3: Site Outdoor Air Drybulb Temperature C -15.50000 #> 4: Site Outdoor Air Drybulb Temperature C -15.50000 #> 5: Site Outdoor Air Drybulb Temperature C -15.50000 #> --- #> 164: Zone Mean Air Temperature C 30.52040 #> 165: Zone Mean Air Temperature C 30.18302 #> 166: Zone Mean Air Temperature C 29.91590 #> 167: Zone Mean Air Temperature C 29.64215 #> 168: Zone Mean Air Temperature C 29.36457
# specify output variables using 'key_value' and 'name' job$report_data("environment", "site outdoor air drybulb temperature")
#> Empty data.table (0 rows and 6 cols): case,datetime,key_value,name,units,value
# explicitly specify year value and time zone job$report_data(dict[1], year = 2020, tz = "Etc/GMT+8")
#> case datetime key_value #> 1: 1ZoneUncontrolled 2020-12-21 01:00:00 Environment #> 2: 1ZoneUncontrolled 2020-12-21 02:00:00 Environment #> 3: 1ZoneUncontrolled 2020-12-21 03:00:00 Environment #> 4: 1ZoneUncontrolled 2020-12-21 04:00:00 Environment #> 5: 1ZoneUncontrolled 2020-12-21 05:00:00 Environment #> 6: 1ZoneUncontrolled 2020-12-21 06:00:00 Environment #> 7: 1ZoneUncontrolled 2020-12-21 07:00:00 Environment #> 8: 1ZoneUncontrolled 2020-12-21 08:00:00 Environment #> 9: 1ZoneUncontrolled 2020-12-21 09:00:00 Environment #> 10: 1ZoneUncontrolled 2020-12-21 10:00:00 Environment #> 11: 1ZoneUncontrolled 2020-12-21 11:00:00 Environment #> 12: 1ZoneUncontrolled 2020-12-21 12:00:00 Environment #> 13: 1ZoneUncontrolled 2020-12-21 13:00:00 Environment #> 14: 1ZoneUncontrolled 2020-12-21 14:00:00 Environment #> 15: 1ZoneUncontrolled 2020-12-21 15:00:00 Environment #> 16: 1ZoneUncontrolled 2020-12-21 16:00:00 Environment #> 17: 1ZoneUncontrolled 2020-12-21 17:00:00 Environment #> 18: 1ZoneUncontrolled 2020-12-21 18:00:00 Environment #> 19: 1ZoneUncontrolled 2020-12-21 19:00:00 Environment #> 20: 1ZoneUncontrolled 2020-12-21 20:00:00 Environment #> 21: 1ZoneUncontrolled 2020-12-21 21:00:00 Environment #> 22: 1ZoneUncontrolled 2020-12-21 22:00:00 Environment #> 23: 1ZoneUncontrolled 2020-12-21 23:00:00 Environment #> 24: 1ZoneUncontrolled 2020-12-22 00:00:00 Environment #> 25: 1ZoneUncontrolled 2020-07-21 01:00:00 Environment #> 26: 1ZoneUncontrolled 2020-07-21 02:00:00 Environment #> 27: 1ZoneUncontrolled 2020-07-21 03:00:00 Environment #> 28: 1ZoneUncontrolled 2020-07-21 04:00:00 Environment #> 29: 1ZoneUncontrolled 2020-07-21 05:00:00 Environment #> 30: 1ZoneUncontrolled 2020-07-21 06:00:00 Environment #> 31: 1ZoneUncontrolled 2020-07-21 07:00:00 Environment #> 32: 1ZoneUncontrolled 2020-07-21 08:00:00 Environment #> 33: 1ZoneUncontrolled 2020-07-21 09:00:00 Environment #> 34: 1ZoneUncontrolled 2020-07-21 10:00:00 Environment #> 35: 1ZoneUncontrolled 2020-07-21 11:00:00 Environment #> 36: 1ZoneUncontrolled 2020-07-21 12:00:00 Environment #> 37: 1ZoneUncontrolled 2020-07-21 13:00:00 Environment #> 38: 1ZoneUncontrolled 2020-07-21 14:00:00 Environment #> 39: 1ZoneUncontrolled 2020-07-21 15:00:00 Environment #> 40: 1ZoneUncontrolled 2020-07-21 16:00:00 Environment #> 41: 1ZoneUncontrolled 2020-07-21 17:00:00 Environment #> 42: 1ZoneUncontrolled 2020-07-21 18:00:00 Environment #> 43: 1ZoneUncontrolled 2020-07-21 19:00:00 Environment #> 44: 1ZoneUncontrolled 2020-07-21 20:00:00 Environment #> 45: 1ZoneUncontrolled 2020-07-21 21:00:00 Environment #> 46: 1ZoneUncontrolled 2020-07-21 22:00:00 Environment #> 47: 1ZoneUncontrolled 2020-07-21 23:00:00 Environment #> 48: 1ZoneUncontrolled 2020-07-22 00:00:00 Environment #> case datetime key_value #> name units value #> 1: Site Outdoor Air Drybulb Temperature C -15.500 #> 2: Site Outdoor Air Drybulb Temperature C -15.500 #> 3: Site Outdoor Air Drybulb Temperature C -15.500 #> 4: Site Outdoor Air Drybulb Temperature C -15.500 #> 5: Site Outdoor Air Drybulb Temperature C -15.500 #> 6: Site Outdoor Air Drybulb Temperature C -15.500 #> 7: Site Outdoor Air Drybulb Temperature C -15.500 #> 8: Site Outdoor Air Drybulb Temperature C -15.500 #> 9: Site Outdoor Air Drybulb Temperature C -15.500 #> 10: Site Outdoor Air Drybulb Temperature C -15.500 #> 11: Site Outdoor Air Drybulb Temperature C -15.500 #> 12: Site Outdoor Air Drybulb Temperature C -15.500 #> 13: Site Outdoor Air Drybulb Temperature C -15.500 #> 14: Site Outdoor Air Drybulb Temperature C -15.500 #> 15: Site Outdoor Air Drybulb Temperature C -15.500 #> 16: Site Outdoor Air Drybulb Temperature C -15.500 #> 17: Site Outdoor Air Drybulb Temperature C -15.500 #> 18: Site Outdoor Air Drybulb Temperature C -15.500 #> 19: Site Outdoor Air Drybulb Temperature C -15.500 #> 20: Site Outdoor Air Drybulb Temperature C -15.500 #> 21: Site Outdoor Air Drybulb Temperature C -15.500 #> 22: Site Outdoor Air Drybulb Temperature C -15.500 #> 23: Site Outdoor Air Drybulb Temperature C -15.500 #> 24: Site Outdoor Air Drybulb Temperature C -15.500 #> 25: Site Outdoor Air Drybulb Temperature C 18.966 #> 26: Site Outdoor Air Drybulb Temperature C 18.244 #> 27: Site Outdoor Air Drybulb Temperature C 17.731 #> 28: Site Outdoor Air Drybulb Temperature C 17.275 #> 29: Site Outdoor Air Drybulb Temperature C 16.914 #> 30: Site Outdoor Air Drybulb Temperature C 16.990 #> 31: Site Outdoor Air Drybulb Temperature C 17.769 #> 32: Site Outdoor Air Drybulb Temperature C 19.783 #> 33: Site Outdoor Air Drybulb Temperature C 22.557 #> 34: Site Outdoor Air Drybulb Temperature C 25.255 #> 35: Site Outdoor Air Drybulb Temperature C 27.649 #> 36: Site Outdoor Air Drybulb Temperature C 29.454 #> 37: Site Outdoor Air Drybulb Temperature C 30.784 #> 38: Site Outdoor Air Drybulb Temperature C 31.715 #> 39: Site Outdoor Air Drybulb Temperature C 32.000 #> 40: Site Outdoor Air Drybulb Temperature C 31.430 #> 41: Site Outdoor Air Drybulb Temperature C 30.328 #> 42: Site Outdoor Air Drybulb Temperature C 28.922 #> 43: Site Outdoor Air Drybulb Temperature C 26.927 #> 44: Site Outdoor Air Drybulb Temperature C 25.027 #> 45: Site Outdoor Air Drybulb Temperature C 23.545 #> 46: Site Outdoor Air Drybulb Temperature C 22.177 #> 47: Site Outdoor Air Drybulb Temperature C 20.999 #> 48: Site Outdoor Air Drybulb Temperature C 19.935 #> name units value
# explicitly specify case name job$report_data(dict[1], case = "example")
#> case datetime key_value #> 1: example 2020-12-21 01:00:00 Environment #> 2: example 2020-12-21 02:00:00 Environment #> 3: example 2020-12-21 03:00:00 Environment #> 4: example 2020-12-21 04:00:00 Environment #> 5: example 2020-12-21 05:00:00 Environment #> 6: example 2020-12-21 06:00:00 Environment #> 7: example 2020-12-21 07:00:00 Environment #> 8: example 2020-12-21 08:00:00 Environment #> 9: example 2020-12-21 09:00:00 Environment #> 10: example 2020-12-21 10:00:00 Environment #> 11: example 2020-12-21 11:00:00 Environment #> 12: example 2020-12-21 12:00:00 Environment #> 13: example 2020-12-21 13:00:00 Environment #> 14: example 2020-12-21 14:00:00 Environment #> 15: example 2020-12-21 15:00:00 Environment #> 16: example 2020-12-21 16:00:00 Environment #> 17: example 2020-12-21 17:00:00 Environment #> 18: example 2020-12-21 18:00:00 Environment #> 19: example 2020-12-21 19:00:00 Environment #> 20: example 2020-12-21 20:00:00 Environment #> 21: example 2020-12-21 21:00:00 Environment #> 22: example 2020-12-21 22:00:00 Environment #> 23: example 2020-12-21 23:00:00 Environment #> 24: example 2020-12-22 00:00:00 Environment #> 25: example 2020-07-21 01:00:00 Environment #> 26: example 2020-07-21 02:00:00 Environment #> 27: example 2020-07-21 03:00:00 Environment #> 28: example 2020-07-21 04:00:00 Environment #> 29: example 2020-07-21 05:00:00 Environment #> 30: example 2020-07-21 06:00:00 Environment #> 31: example 2020-07-21 07:00:00 Environment #> 32: example 2020-07-21 08:00:00 Environment #> 33: example 2020-07-21 09:00:00 Environment #> 34: example 2020-07-21 10:00:00 Environment #> 35: example 2020-07-21 11:00:00 Environment #> 36: example 2020-07-21 12:00:00 Environment #> 37: example 2020-07-21 13:00:00 Environment #> 38: example 2020-07-21 14:00:00 Environment #> 39: example 2020-07-21 15:00:00 Environment #> 40: example 2020-07-21 16:00:00 Environment #> 41: example 2020-07-21 17:00:00 Environment #> 42: example 2020-07-21 18:00:00 Environment #> 43: example 2020-07-21 19:00:00 Environment #> 44: example 2020-07-21 20:00:00 Environment #> 45: example 2020-07-21 21:00:00 Environment #> 46: example 2020-07-21 22:00:00 Environment #> 47: example 2020-07-21 23:00:00 Environment #> 48: example 2020-07-22 00:00:00 Environment #> case datetime key_value #> name units value #> 1: Site Outdoor Air Drybulb Temperature C -15.500 #> 2: Site Outdoor Air Drybulb Temperature C -15.500 #> 3: Site Outdoor Air Drybulb Temperature C -15.500 #> 4: Site Outdoor Air Drybulb Temperature C -15.500 #> 5: Site Outdoor Air Drybulb Temperature C -15.500 #> 6: Site Outdoor Air Drybulb Temperature C -15.500 #> 7: Site Outdoor Air Drybulb Temperature C -15.500 #> 8: Site Outdoor Air Drybulb Temperature C -15.500 #> 9: Site Outdoor Air Drybulb Temperature C -15.500 #> 10: Site Outdoor Air Drybulb Temperature C -15.500 #> 11: Site Outdoor Air Drybulb Temperature C -15.500 #> 12: Site Outdoor Air Drybulb Temperature C -15.500 #> 13: Site Outdoor Air Drybulb Temperature C -15.500 #> 14: Site Outdoor Air Drybulb Temperature C -15.500 #> 15: Site Outdoor Air Drybulb Temperature C -15.500 #> 16: Site Outdoor Air Drybulb Temperature C -15.500 #> 17: Site Outdoor Air Drybulb Temperature C -15.500 #> 18: Site Outdoor Air Drybulb Temperature C -15.500 #> 19: Site Outdoor Air Drybulb Temperature C -15.500 #> 20: Site Outdoor Air Drybulb Temperature C -15.500 #> 21: Site Outdoor Air Drybulb Temperature C -15.500 #> 22: Site Outdoor Air Drybulb Temperature C -15.500 #> 23: Site Outdoor Air Drybulb Temperature C -15.500 #> 24: Site Outdoor Air Drybulb Temperature C -15.500 #> 25: Site Outdoor Air Drybulb Temperature C 18.966 #> 26: Site Outdoor Air Drybulb Temperature C 18.244 #> 27: Site Outdoor Air Drybulb Temperature C 17.731 #> 28: Site Outdoor Air Drybulb Temperature C 17.275 #> 29: Site Outdoor Air Drybulb Temperature C 16.914 #> 30: Site Outdoor Air Drybulb Temperature C 16.990 #> 31: Site Outdoor Air Drybulb Temperature C 17.769 #> 32: Site Outdoor Air Drybulb Temperature C 19.783 #> 33: Site Outdoor Air Drybulb Temperature C 22.557 #> 34: Site Outdoor Air Drybulb Temperature C 25.255 #> 35: Site Outdoor Air Drybulb Temperature C 27.649 #> 36: Site Outdoor Air Drybulb Temperature C 29.454 #> 37: Site Outdoor Air Drybulb Temperature C 30.784 #> 38: Site Outdoor Air Drybulb Temperature C 31.715 #> 39: Site Outdoor Air Drybulb Temperature C 32.000 #> 40: Site Outdoor Air Drybulb Temperature C 31.430 #> 41: Site Outdoor Air Drybulb Temperature C 30.328 #> 42: Site Outdoor Air Drybulb Temperature C 28.922 #> 43: Site Outdoor Air Drybulb Temperature C 26.927 #> 44: Site Outdoor Air Drybulb Temperature C 25.027 #> 45: Site Outdoor Air Drybulb Temperature C 23.545 #> 46: Site Outdoor Air Drybulb Temperature C 22.177 #> 47: Site Outdoor Air Drybulb Temperature C 20.999 #> 48: Site Outdoor Air Drybulb Temperature C 19.935 #> name units value
# get all possible columns job$report_data(dict[1], all = TRUE)
#> case datetime month day hour minute dst interval #> 1: 1ZoneUncontrolled 2020-12-21 01:00:00 12 21 1 0 0 60 #> 2: 1ZoneUncontrolled 2020-12-21 02:00:00 12 21 2 0 0 60 #> 3: 1ZoneUncontrolled 2020-12-21 03:00:00 12 21 3 0 0 60 #> 4: 1ZoneUncontrolled 2020-12-21 04:00:00 12 21 4 0 0 60 #> 5: 1ZoneUncontrolled 2020-12-21 05:00:00 12 21 5 0 0 60 #> 6: 1ZoneUncontrolled 2020-12-21 06:00:00 12 21 6 0 0 60 #> 7: 1ZoneUncontrolled 2020-12-21 07:00:00 12 21 7 0 0 60 #> 8: 1ZoneUncontrolled 2020-12-21 08:00:00 12 21 8 0 0 60 #> 9: 1ZoneUncontrolled 2020-12-21 09:00:00 12 21 9 0 0 60 #> 10: 1ZoneUncontrolled 2020-12-21 10:00:00 12 21 10 0 0 60 #> 11: 1ZoneUncontrolled 2020-12-21 11:00:00 12 21 11 0 0 60 #> 12: 1ZoneUncontrolled 2020-12-21 12:00:00 12 21 12 0 0 60 #> 13: 1ZoneUncontrolled 2020-12-21 13:00:00 12 21 13 0 0 60 #> 14: 1ZoneUncontrolled 2020-12-21 14:00:00 12 21 14 0 0 60 #> 15: 1ZoneUncontrolled 2020-12-21 15:00:00 12 21 15 0 0 60 #> 16: 1ZoneUncontrolled 2020-12-21 16:00:00 12 21 16 0 0 60 #> 17: 1ZoneUncontrolled 2020-12-21 17:00:00 12 21 17 0 0 60 #> 18: 1ZoneUncontrolled 2020-12-21 18:00:00 12 21 18 0 0 60 #> 19: 1ZoneUncontrolled 2020-12-21 19:00:00 12 21 19 0 0 60 #> 20: 1ZoneUncontrolled 2020-12-21 20:00:00 12 21 20 0 0 60 #> 21: 1ZoneUncontrolled 2020-12-21 21:00:00 12 21 21 0 0 60 #> 22: 1ZoneUncontrolled 2020-12-21 22:00:00 12 21 22 0 0 60 #> 23: 1ZoneUncontrolled 2020-12-21 23:00:00 12 21 23 0 0 60 #> 24: 1ZoneUncontrolled 2020-12-22 00:00:00 12 21 24 0 0 60 #> 25: 1ZoneUncontrolled 2020-07-21 01:00:00 7 21 1 0 0 60 #> 26: 1ZoneUncontrolled 2020-07-21 02:00:00 7 21 2 0 0 60 #> 27: 1ZoneUncontrolled 2020-07-21 03:00:00 7 21 3 0 0 60 #> 28: 1ZoneUncontrolled 2020-07-21 04:00:00 7 21 4 0 0 60 #> 29: 1ZoneUncontrolled 2020-07-21 05:00:00 7 21 5 0 0 60 #> 30: 1ZoneUncontrolled 2020-07-21 06:00:00 7 21 6 0 0 60 #> 31: 1ZoneUncontrolled 2020-07-21 07:00:00 7 21 7 0 0 60 #> 32: 1ZoneUncontrolled 2020-07-21 08:00:00 7 21 8 0 0 60 #> 33: 1ZoneUncontrolled 2020-07-21 09:00:00 7 21 9 0 0 60 #> 34: 1ZoneUncontrolled 2020-07-21 10:00:00 7 21 10 0 0 60 #> 35: 1ZoneUncontrolled 2020-07-21 11:00:00 7 21 11 0 0 60 #> 36: 1ZoneUncontrolled 2020-07-21 12:00:00 7 21 12 0 0 60 #> 37: 1ZoneUncontrolled 2020-07-21 13:00:00 7 21 13 0 0 60 #> 38: 1ZoneUncontrolled 2020-07-21 14:00:00 7 21 14 0 0 60 #> 39: 1ZoneUncontrolled 2020-07-21 15:00:00 7 21 15 0 0 60 #> 40: 1ZoneUncontrolled 2020-07-21 16:00:00 7 21 16 0 0 60 #> 41: 1ZoneUncontrolled 2020-07-21 17:00:00 7 21 17 0 0 60 #> 42: 1ZoneUncontrolled 2020-07-21 18:00:00 7 21 18 0 0 60 #> 43: 1ZoneUncontrolled 2020-07-21 19:00:00 7 21 19 0 0 60 #> 44: 1ZoneUncontrolled 2020-07-21 20:00:00 7 21 20 0 0 60 #> 45: 1ZoneUncontrolled 2020-07-21 21:00:00 7 21 21 0 0 60 #> 46: 1ZoneUncontrolled 2020-07-21 22:00:00 7 21 22 0 0 60 #> 47: 1ZoneUncontrolled 2020-07-21 23:00:00 7 21 23 0 0 60 #> 48: 1ZoneUncontrolled 2020-07-22 00:00:00 7 21 24 0 0 60 #> case datetime month day hour minute dst interval #> simulation_days day_type #> 1: 1 WinterDesignDay #> 2: 1 WinterDesignDay #> 3: 1 WinterDesignDay #> 4: 1 WinterDesignDay #> 5: 1 WinterDesignDay #> 6: 1 WinterDesignDay #> 7: 1 WinterDesignDay #> 8: 1 WinterDesignDay #> 9: 1 WinterDesignDay #> 10: 1 WinterDesignDay #> 11: 1 WinterDesignDay #> 12: 1 WinterDesignDay #> 13: 1 WinterDesignDay #> 14: 1 WinterDesignDay #> 15: 1 WinterDesignDay #> 16: 1 WinterDesignDay #> 17: 1 WinterDesignDay #> 18: 1 WinterDesignDay #> 19: 1 WinterDesignDay #> 20: 1 WinterDesignDay #> 21: 1 WinterDesignDay #> 22: 1 WinterDesignDay #> 23: 1 WinterDesignDay #> 24: 1 WinterDesignDay #> 25: 1 SummerDesignDay #> 26: 1 SummerDesignDay #> 27: 1 SummerDesignDay #> 28: 1 SummerDesignDay #> 29: 1 SummerDesignDay #> 30: 1 SummerDesignDay #> 31: 1 SummerDesignDay #> 32: 1 SummerDesignDay #> 33: 1 SummerDesignDay #> 34: 1 SummerDesignDay #> 35: 1 SummerDesignDay #> 36: 1 SummerDesignDay #> 37: 1 SummerDesignDay #> 38: 1 SummerDesignDay #> 39: 1 SummerDesignDay #> 40: 1 SummerDesignDay #> 41: 1 SummerDesignDay #> 42: 1 SummerDesignDay #> 43: 1 SummerDesignDay #> 44: 1 SummerDesignDay #> 45: 1 SummerDesignDay #> 46: 1 SummerDesignDay #> 47: 1 SummerDesignDay #> 48: 1 SummerDesignDay #> simulation_days day_type #> environment_name #> 1: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 2: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 3: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 4: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 5: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 6: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 7: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 8: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 9: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 10: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 11: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 12: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 13: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 14: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 15: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 16: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 17: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 18: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 19: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 20: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 21: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 22: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 23: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 24: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB #> 25: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 26: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 27: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 28: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 29: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 30: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 31: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 32: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 33: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 34: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 35: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 36: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 37: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 38: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 39: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 40: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 41: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 42: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 43: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 44: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 45: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 46: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 47: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> 48: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB #> environment_name #> environment_period_index is_meter type index_group timestep_type #> 1: 1 0 Avg Zone HVAC System #> 2: 1 0 Avg Zone HVAC System #> 3: 1 0 Avg Zone HVAC System #> 4: 1 0 Avg Zone HVAC System #> 5: 1 0 Avg Zone HVAC System #> 6: 1 0 Avg Zone HVAC System #> 7: 1 0 Avg Zone HVAC System #> 8: 1 0 Avg Zone HVAC System #> 9: 1 0 Avg Zone HVAC System #> 10: 1 0 Avg Zone HVAC System #> 11: 1 0 Avg Zone HVAC System #> 12: 1 0 Avg Zone HVAC System #> 13: 1 0 Avg Zone HVAC System #> 14: 1 0 Avg Zone HVAC System #> 15: 1 0 Avg Zone HVAC System #> 16: 1 0 Avg Zone HVAC System #> 17: 1 0 Avg Zone HVAC System #> 18: 1 0 Avg Zone HVAC System #> 19: 1 0 Avg Zone HVAC System #> 20: 1 0 Avg Zone HVAC System #> 21: 1 0 Avg Zone HVAC System #> 22: 1 0 Avg Zone HVAC System #> 23: 1 0 Avg Zone HVAC System #> 24: 1 0 Avg Zone HVAC System #> 25: 2 0 Avg Zone HVAC System #> 26: 2 0 Avg Zone HVAC System #> 27: 2 0 Avg Zone HVAC System #> 28: 2 0 Avg Zone HVAC System #> 29: 2 0 Avg Zone HVAC System #> 30: 2 0 Avg Zone HVAC System #> 31: 2 0 Avg Zone HVAC System #> 32: 2 0 Avg Zone HVAC System #> 33: 2 0 Avg Zone HVAC System #> 34: 2 0 Avg Zone HVAC System #> 35: 2 0 Avg Zone HVAC System #> 36: 2 0 Avg Zone HVAC System #> 37: 2 0 Avg Zone HVAC System #> 38: 2 0 Avg Zone HVAC System #> 39: 2 0 Avg Zone HVAC System #> 40: 2 0 Avg Zone HVAC System #> 41: 2 0 Avg Zone HVAC System #> 42: 2 0 Avg Zone HVAC System #> 43: 2 0 Avg Zone HVAC System #> 44: 2 0 Avg Zone HVAC System #> 45: 2 0 Avg Zone HVAC System #> 46: 2 0 Avg Zone HVAC System #> 47: 2 0 Avg Zone HVAC System #> 48: 2 0 Avg Zone HVAC System #> environment_period_index is_meter type index_group timestep_type #> key_value name reporting_frequency #> 1: Environment Site Outdoor Air Drybulb Temperature Hourly #> 2: Environment Site Outdoor Air Drybulb Temperature Hourly #> 3: Environment Site Outdoor Air Drybulb Temperature Hourly #> 4: Environment Site Outdoor Air Drybulb Temperature Hourly #> 5: Environment Site Outdoor Air Drybulb Temperature Hourly #> 6: Environment Site Outdoor Air Drybulb Temperature Hourly #> 7: Environment Site Outdoor Air Drybulb Temperature Hourly #> 8: Environment Site Outdoor Air Drybulb Temperature Hourly #> 9: Environment Site Outdoor Air Drybulb Temperature Hourly #> 10: Environment Site Outdoor Air Drybulb Temperature Hourly #> 11: Environment Site Outdoor Air Drybulb Temperature Hourly #> 12: Environment Site Outdoor Air Drybulb Temperature Hourly #> 13: Environment Site Outdoor Air Drybulb Temperature Hourly #> 14: Environment Site Outdoor Air Drybulb Temperature Hourly #> 15: Environment Site Outdoor Air Drybulb Temperature Hourly #> 16: Environment Site Outdoor Air Drybulb Temperature Hourly #> 17: Environment Site Outdoor Air Drybulb Temperature Hourly #> 18: Environment Site Outdoor Air Drybulb Temperature Hourly #> 19: Environment Site Outdoor Air Drybulb Temperature Hourly #> 20: Environment Site Outdoor Air Drybulb Temperature Hourly #> 21: Environment Site Outdoor Air Drybulb Temperature Hourly #> 22: Environment Site Outdoor Air Drybulb Temperature Hourly #> 23: Environment Site Outdoor Air Drybulb Temperature Hourly #> 24: Environment Site Outdoor Air Drybulb Temperature Hourly #> 25: Environment Site Outdoor Air Drybulb Temperature Hourly #> 26: Environment Site Outdoor Air Drybulb Temperature Hourly #> 27: Environment Site Outdoor Air Drybulb Temperature Hourly #> 28: Environment Site Outdoor Air Drybulb Temperature Hourly #> 29: Environment Site Outdoor Air Drybulb Temperature Hourly #> 30: Environment Site Outdoor Air Drybulb Temperature Hourly #> 31: Environment Site Outdoor Air Drybulb Temperature Hourly #> 32: Environment Site Outdoor Air Drybulb Temperature Hourly #> 33: Environment Site Outdoor Air Drybulb Temperature Hourly #> 34: Environment Site Outdoor Air Drybulb Temperature Hourly #> 35: Environment Site Outdoor Air Drybulb Temperature Hourly #> 36: Environment Site Outdoor Air Drybulb Temperature Hourly #> 37: Environment Site Outdoor Air Drybulb Temperature Hourly #> 38: Environment Site Outdoor Air Drybulb Temperature Hourly #> 39: Environment Site Outdoor Air Drybulb Temperature Hourly #> 40: Environment Site Outdoor Air Drybulb Temperature Hourly #> 41: Environment Site Outdoor Air Drybulb Temperature Hourly #> 42: Environment Site Outdoor Air Drybulb Temperature Hourly #> 43: Environment Site Outdoor Air Drybulb Temperature Hourly #> 44: Environment Site Outdoor Air Drybulb Temperature Hourly #> 45: Environment Site Outdoor Air Drybulb Temperature Hourly #> 46: Environment Site Outdoor Air Drybulb Temperature Hourly #> 47: Environment Site Outdoor Air Drybulb Temperature Hourly #> 48: Environment Site Outdoor Air Drybulb Temperature Hourly #> key_value name reporting_frequency #> schedule_name units value #> 1: <NA> C -15.500 #> 2: <NA> C -15.500 #> 3: <NA> C -15.500 #> 4: <NA> C -15.500 #> 5: <NA> C -15.500 #> 6: <NA> C -15.500 #> 7: <NA> C -15.500 #> 8: <NA> C -15.500 #> 9: <NA> C -15.500 #> 10: <NA> C -15.500 #> 11: <NA> C -15.500 #> 12: <NA> C -15.500 #> 13: <NA> C -15.500 #> 14: <NA> C -15.500 #> 15: <NA> C -15.500 #> 16: <NA> C -15.500 #> 17: <NA> C -15.500 #> 18: <NA> C -15.500 #> 19: <NA> C -15.500 #> 20: <NA> C -15.500 #> 21: <NA> C -15.500 #> 22: <NA> C -15.500 #> 23: <NA> C -15.500 #> 24: <NA> C -15.500 #> 25: <NA> C 18.966 #> 26: <NA> C 18.244 #> 27: <NA> C 17.731 #> 28: <NA> C 17.275 #> 29: <NA> C 16.914 #> 30: <NA> C 16.990 #> 31: <NA> C 17.769 #> 32: <NA> C 19.783 #> 33: <NA> C 22.557 #> 34: <NA> C 25.255 #> 35: <NA> C 27.649 #> 36: <NA> C 29.454 #> 37: <NA> C 30.784 #> 38: <NA> C 31.715 #> 39: <NA> C 32.000 #> 40: <NA> C 31.430 #> 41: <NA> C 30.328 #> 42: <NA> C 28.922 #> 43: <NA> C 26.927 #> 44: <NA> C 25.027 #> 45: <NA> C 23.545 #> 46: <NA> C 22.177 #> 47: <NA> C 20.999 #> 48: <NA> C 19.935 #> schedule_name units value
# return in a format that is similar as EnergyPlus CSV output job$report_data(dict[1], wide = TRUE)
#> case Date/Time #> 1: 1ZoneUncontrolled 12/21 01:00 #> 2: 1ZoneUncontrolled 12/21 02:00 #> 3: 1ZoneUncontrolled 12/21 03:00 #> 4: 1ZoneUncontrolled 12/21 04:00 #> 5: 1ZoneUncontrolled 12/21 05:00 #> 6: 1ZoneUncontrolled 12/21 06:00 #> 7: 1ZoneUncontrolled 12/21 07:00 #> 8: 1ZoneUncontrolled 12/21 08:00 #> 9: 1ZoneUncontrolled 12/21 09:00 #> 10: 1ZoneUncontrolled 12/21 10:00 #> 11: 1ZoneUncontrolled 12/21 11:00 #> 12: 1ZoneUncontrolled 12/21 12:00 #> 13: 1ZoneUncontrolled 12/21 13:00 #> 14: 1ZoneUncontrolled 12/21 14:00 #> 15: 1ZoneUncontrolled 12/21 15:00 #> 16: 1ZoneUncontrolled 12/21 16:00 #> 17: 1ZoneUncontrolled 12/21 17:00 #> 18: 1ZoneUncontrolled 12/21 18:00 #> 19: 1ZoneUncontrolled 12/21 19:00 #> 20: 1ZoneUncontrolled 12/21 20:00 #> 21: 1ZoneUncontrolled 12/21 21:00 #> 22: 1ZoneUncontrolled 12/21 22:00 #> 23: 1ZoneUncontrolled 12/21 23:00 #> 24: 1ZoneUncontrolled 12/21 24:00 #> 25: 1ZoneUncontrolled 07/21 01:00 #> 26: 1ZoneUncontrolled 07/21 02:00 #> 27: 1ZoneUncontrolled 07/21 03:00 #> 28: 1ZoneUncontrolled 07/21 04:00 #> 29: 1ZoneUncontrolled 07/21 05:00 #> 30: 1ZoneUncontrolled 07/21 06:00 #> 31: 1ZoneUncontrolled 07/21 07:00 #> 32: 1ZoneUncontrolled 07/21 08:00 #> 33: 1ZoneUncontrolled 07/21 09:00 #> 34: 1ZoneUncontrolled 07/21 10:00 #> 35: 1ZoneUncontrolled 07/21 11:00 #> 36: 1ZoneUncontrolled 07/21 12:00 #> 37: 1ZoneUncontrolled 07/21 13:00 #> 38: 1ZoneUncontrolled 07/21 14:00 #> 39: 1ZoneUncontrolled 07/21 15:00 #> 40: 1ZoneUncontrolled 07/21 16:00 #> 41: 1ZoneUncontrolled 07/21 17:00 #> 42: 1ZoneUncontrolled 07/21 18:00 #> 43: 1ZoneUncontrolled 07/21 19:00 #> 44: 1ZoneUncontrolled 07/21 20:00 #> 45: 1ZoneUncontrolled 07/21 21:00 #> 46: 1ZoneUncontrolled 07/21 22:00 #> 47: 1ZoneUncontrolled 07/21 23:00 #> 48: 1ZoneUncontrolled 07/21 24:00 #> case Date/Time #> Environment:Site Outdoor Air Drybulb Temperature [C](Hourly) #> 1: -15.500 #> 2: -15.500 #> 3: -15.500 #> 4: -15.500 #> 5: -15.500 #> 6: -15.500 #> 7: -15.500 #> 8: -15.500 #> 9: -15.500 #> 10: -15.500 #> 11: -15.500 #> 12: -15.500 #> 13: -15.500 #> 14: -15.500 #> 15: -15.500 #> 16: -15.500 #> 17: -15.500 #> 18: -15.500 #> 19: -15.500 #> 20: -15.500 #> 21: -15.500 #> 22: -15.500 #> 23: -15.500 #> 24: -15.500 #> 25: 18.966 #> 26: 18.244 #> 27: 17.731 #> 28: 17.275 #> 29: 16.914 #> 30: 16.990 #> 31: 17.769 #> 32: 19.783 #> 33: 22.557 #> 34: 25.255 #> 35: 27.649 #> 36: 29.454 #> 37: 30.784 #> 38: 31.715 #> 39: 32.000 #> 40: 31.430 #> 41: 30.328 #> 42: 28.922 #> 43: 26.927 #> 44: 25.027 #> 45: 23.545 #> 46: 22.177 #> 47: 20.999 #> 48: 19.935 #> Environment:Site Outdoor Air Drybulb Temperature [C](Hourly)
# return in a format that is similar as EnergyPlus CSV output with # extra columns job$report_data(dict[1], wide = TRUE, all = TRUE)
#> case environment_period_index #> 1: 1ZoneUncontrolled 1 #> 2: 1ZoneUncontrolled 1 #> 3: 1ZoneUncontrolled 1 #> 4: 1ZoneUncontrolled 1 #> 5: 1ZoneUncontrolled 1 #> 6: 1ZoneUncontrolled 1 #> 7: 1ZoneUncontrolled 1 #> 8: 1ZoneUncontrolled 1 #> 9: 1ZoneUncontrolled 1 #> 10: 1ZoneUncontrolled 1 #> 11: 1ZoneUncontrolled 1 #> 12: 1ZoneUncontrolled 1 #> 13: 1ZoneUncontrolled 1 #> 14: 1ZoneUncontrolled 1 #> 15: 1ZoneUncontrolled 1 #> 16: 1ZoneUncontrolled 1 #> 17: 1ZoneUncontrolled 1 #> 18: 1ZoneUncontrolled 1 #> 19: 1ZoneUncontrolled 1 #> 20: 1ZoneUncontrolled 1 #> 21: 1ZoneUncontrolled 1 #> 22: 1ZoneUncontrolled 1 #> 23: 1ZoneUncontrolled 1 #> 24: 1ZoneUncontrolled 1 #> 25: 1ZoneUncontrolled 2 #> 26: 1ZoneUncontrolled 2 #> 27: 1ZoneUncontrolled 2 #> 28: 1ZoneUncontrolled 2 #> 29: 1ZoneUncontrolled 2 #> 30: 1ZoneUncontrolled 2 #> 31: 1ZoneUncontrolled 2 #> 32: 1ZoneUncontrolled 2 #> 33: 1ZoneUncontrolled 2 #> 34: 1ZoneUncontrolled 2 #> 35: 1ZoneUncontrolled 2 #> 36: 1ZoneUncontrolled 2 #> 37: 1ZoneUncontrolled 2 #> 38: 1ZoneUncontrolled 2 #> 39: 1ZoneUncontrolled 2 #> 40: 1ZoneUncontrolled 2 #> 41: 1ZoneUncontrolled 2 #> 42: 1ZoneUncontrolled 2 #> 43: 1ZoneUncontrolled 2 #> 44: 1ZoneUncontrolled 2 #> 45: 1ZoneUncontrolled 2 #> 46: 1ZoneUncontrolled 2 #> 47: 1ZoneUncontrolled 2 #> 48: 1ZoneUncontrolled 2 #> case environment_period_index #> environment_name simulation_days #> 1: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 2: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 3: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 4: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 5: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 6: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 7: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 8: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 9: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 10: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 11: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 12: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 13: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 14: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 15: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 16: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 17: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 18: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 19: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 20: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 21: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 22: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 23: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 24: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 25: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 26: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 27: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 28: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 29: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 30: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 31: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 32: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 33: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 34: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 35: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 36: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 37: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 38: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 39: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 40: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 41: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 42: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 43: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 44: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 45: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 46: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 47: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> 48: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1 #> environment_name simulation_days #> datetime month day hour minute day_type Date/Time #> 1: 2020-12-21 01:00:00 12 21 1 0 WinterDesignDay 12/21 01:00 #> 2: 2020-12-21 02:00:00 12 21 2 0 WinterDesignDay 12/21 02:00 #> 3: 2020-12-21 03:00:00 12 21 3 0 WinterDesignDay 12/21 03:00 #> 4: 2020-12-21 04:00:00 12 21 4 0 WinterDesignDay 12/21 04:00 #> 5: 2020-12-21 05:00:00 12 21 5 0 WinterDesignDay 12/21 05:00 #> 6: 2020-12-21 06:00:00 12 21 6 0 WinterDesignDay 12/21 06:00 #> 7: 2020-12-21 07:00:00 12 21 7 0 WinterDesignDay 12/21 07:00 #> 8: 2020-12-21 08:00:00 12 21 8 0 WinterDesignDay 12/21 08:00 #> 9: 2020-12-21 09:00:00 12 21 9 0 WinterDesignDay 12/21 09:00 #> 10: 2020-12-21 10:00:00 12 21 10 0 WinterDesignDay 12/21 10:00 #> 11: 2020-12-21 11:00:00 12 21 11 0 WinterDesignDay 12/21 11:00 #> 12: 2020-12-21 12:00:00 12 21 12 0 WinterDesignDay 12/21 12:00 #> 13: 2020-12-21 13:00:00 12 21 13 0 WinterDesignDay 12/21 13:00 #> 14: 2020-12-21 14:00:00 12 21 14 0 WinterDesignDay 12/21 14:00 #> 15: 2020-12-21 15:00:00 12 21 15 0 WinterDesignDay 12/21 15:00 #> 16: 2020-12-21 16:00:00 12 21 16 0 WinterDesignDay 12/21 16:00 #> 17: 2020-12-21 17:00:00 12 21 17 0 WinterDesignDay 12/21 17:00 #> 18: 2020-12-21 18:00:00 12 21 18 0 WinterDesignDay 12/21 18:00 #> 19: 2020-12-21 19:00:00 12 21 19 0 WinterDesignDay 12/21 19:00 #> 20: 2020-12-21 20:00:00 12 21 20 0 WinterDesignDay 12/21 20:00 #> 21: 2020-12-21 21:00:00 12 21 21 0 WinterDesignDay 12/21 21:00 #> 22: 2020-12-21 22:00:00 12 21 22 0 WinterDesignDay 12/21 22:00 #> 23: 2020-12-21 23:00:00 12 21 23 0 WinterDesignDay 12/21 23:00 #> 24: 2020-12-22 00:00:00 12 21 24 0 WinterDesignDay 12/21 24:00 #> 25: 2020-07-21 01:00:00 7 21 1 0 SummerDesignDay 07/21 01:00 #> 26: 2020-07-21 02:00:00 7 21 2 0 SummerDesignDay 07/21 02:00 #> 27: 2020-07-21 03:00:00 7 21 3 0 SummerDesignDay 07/21 03:00 #> 28: 2020-07-21 04:00:00 7 21 4 0 SummerDesignDay 07/21 04:00 #> 29: 2020-07-21 05:00:00 7 21 5 0 SummerDesignDay 07/21 05:00 #> 30: 2020-07-21 06:00:00 7 21 6 0 SummerDesignDay 07/21 06:00 #> 31: 2020-07-21 07:00:00 7 21 7 0 SummerDesignDay 07/21 07:00 #> 32: 2020-07-21 08:00:00 7 21 8 0 SummerDesignDay 07/21 08:00 #> 33: 2020-07-21 09:00:00 7 21 9 0 SummerDesignDay 07/21 09:00 #> 34: 2020-07-21 10:00:00 7 21 10 0 SummerDesignDay 07/21 10:00 #> 35: 2020-07-21 11:00:00 7 21 11 0 SummerDesignDay 07/21 11:00 #> 36: 2020-07-21 12:00:00 7 21 12 0 SummerDesignDay 07/21 12:00 #> 37: 2020-07-21 13:00:00 7 21 13 0 SummerDesignDay 07/21 13:00 #> 38: 2020-07-21 14:00:00 7 21 14 0 SummerDesignDay 07/21 14:00 #> 39: 2020-07-21 15:00:00 7 21 15 0 SummerDesignDay 07/21 15:00 #> 40: 2020-07-21 16:00:00 7 21 16 0 SummerDesignDay 07/21 16:00 #> 41: 2020-07-21 17:00:00 7 21 17 0 SummerDesignDay 07/21 17:00 #> 42: 2020-07-21 18:00:00 7 21 18 0 SummerDesignDay 07/21 18:00 #> 43: 2020-07-21 19:00:00 7 21 19 0 SummerDesignDay 07/21 19:00 #> 44: 2020-07-21 20:00:00 7 21 20 0 SummerDesignDay 07/21 20:00 #> 45: 2020-07-21 21:00:00 7 21 21 0 SummerDesignDay 07/21 21:00 #> 46: 2020-07-21 22:00:00 7 21 22 0 SummerDesignDay 07/21 22:00 #> 47: 2020-07-21 23:00:00 7 21 23 0 SummerDesignDay 07/21 23:00 #> 48: 2020-07-22 00:00:00 7 21 24 0 SummerDesignDay 07/21 24:00 #> datetime month day hour minute day_type Date/Time #> Environment:Site Outdoor Air Drybulb Temperature [C](Hourly) #> 1: -15.500 #> 2: -15.500 #> 3: -15.500 #> 4: -15.500 #> 5: -15.500 #> 6: -15.500 #> 7: -15.500 #> 8: -15.500 #> 9: -15.500 #> 10: -15.500 #> 11: -15.500 #> 12: -15.500 #> 13: -15.500 #> 14: -15.500 #> 15: -15.500 #> 16: -15.500 #> 17: -15.500 #> 18: -15.500 #> 19: -15.500 #> 20: -15.500 #> 21: -15.500 #> 22: -15.500 #> 23: -15.500 #> 24: -15.500 #> 25: 18.966 #> 26: 18.244 #> 27: 17.731 #> 28: 17.275 #> 29: 16.914 #> 30: 16.990 #> 31: 17.769 #> 32: 19.783 #> 33: 22.557 #> 34: 25.255 #> 35: 27.649 #> 36: 29.454 #> 37: 30.784 #> 38: 31.715 #> 39: 32.000 #> 40: 31.430 #> 41: 30.328 #> 42: 28.922 #> 43: 26.927 #> 44: 25.027 #> 45: 23.545 #> 46: 22.177 #> 47: 20.999 #> 48: 19.935 #> Environment:Site Outdoor Air Drybulb Temperature [C](Hourly)
# only get data at the working hour on the first Monday job$report_data(dict[1], hour = 8:18, day_type = "monday", simulation_days = 1:7)
#> Empty data.table (0 rows and 6 cols): case,datetime,key_value,name,units,value
# only get specified run period data job$read_table("EnvironmentPeriods") # possible environment name
#> environment_period_index simulation_index #> 1: 1 1 #> 2: 2 1 #> environment_name environment_type #> 1: DENVER CENTENNIAL GOLDEN N ANN HTG 99% CONDNS DB 1 #> 2: DENVER CENTENNIAL GOLDEN N ANN CLG 1% CONDNS DB=>MWB 1
job$report_data(dict[1], environment_name = "San Francisco Intl Ap CA USA TMY3 WMO#=724940")
#> Empty data.table (0 rows and 6 cols): case,datetime,key_value,name,units,value
# can also be done using 'environment_period_index' column job$report_data(dict[1], all = TRUE)[environment_period_index == 3L]
#> Empty data.table (0 rows and 22 cols): case,datetime,month,day,hour,minute...
# } ## ------------------------------------------------ ## Method `EplusJob$tabular_data` ## ------------------------------------------------ # \dontrun{ # read all tabular data job$tabular_data()
#> case index report_name #> 1: 1ZoneUncontrolled 1 AnnualBuildingUtilityPerformanceSummary #> 2: 1ZoneUncontrolled 2 AnnualBuildingUtilityPerformanceSummary #> 3: 1ZoneUncontrolled 3 AnnualBuildingUtilityPerformanceSummary #> 4: 1ZoneUncontrolled 4 AnnualBuildingUtilityPerformanceSummary #> 5: 1ZoneUncontrolled 5 AnnualBuildingUtilityPerformanceSummary #> --- #> 2109: 1ZoneUncontrolled 2109 Initialization Summary #> 2110: 1ZoneUncontrolled 2110 Initialization Summary #> 2111: 1ZoneUncontrolled 2111 Initialization Summary #> 2112: 1ZoneUncontrolled 2112 Initialization Summary #> 2113: 1ZoneUncontrolled 2113 Initialization Summary #> report_for table_name #> 1: Entire Facility Site and Source Energy #> 2: Entire Facility Site and Source Energy #> 3: Entire Facility Site and Source Energy #> 4: Entire Facility Site and Source Energy #> 5: Entire Facility Site and Source Energy #> --- #> 2109: Entire Facility Warmup Convergence Information #> 2110: Entire Facility Warmup Convergence Information #> 2111: Entire Facility Warmup Convergence Information #> 2112: Entire Facility Warmup Convergence Information #> 2113: Entire Facility Warmup Convergence Information #> column_name row_name units value #> 1: Total Energy Total Site Energy GJ 0.00 #> 2: Total Energy Net Site Energy GJ 0.00 #> 3: Total Energy Total Source Energy GJ 0.00 #> 4: Total Energy Net Source Energy GJ 0.00 #> 5: Energy Per Total Building Area Total Site Energy MJ/m2 0.00 #> --- #> 2109: Std Dev Warmup Load Difference {W} 2 0.0000000000 #> 2110: Heating Load Pass/Fail Convergence 1 Pass #> 2111: Heating Load Pass/Fail Convergence 2 Pass #> 2112: Cooling Load Pass/Fail Convergence 1 Pass #> 2113: Cooling Load Pass/Fail Convergence 2 Pass
# explicitly specify data you want str(job$tabular_data( report_name = "AnnualBuildingUtilityPerformanceSummary", table_name = "Site and Source Energy", column_name = "Total Energy", row_name = "Total Site Energy" ))
#> Classes ‘data.table’ and 'data.frame': 1 obs. of 9 variables: #> $ case : chr "1ZoneUncontrolled" #> $ index : int 1 #> $ report_name: chr "AnnualBuildingUtilityPerformanceSummary" #> $ report_for : chr "Entire Facility" #> $ table_name : chr "Site and Source Energy" #> $ column_name: chr "Total Energy" #> $ row_name : chr "Total Site Energy" #> $ units : chr "GJ" #> $ value : chr " 0.00" #> - attr(*, ".internal.selfref")=<externalptr>
# get tabular data in wide format and coerce numeric values str(job$tabular_data( report_name = "AnnualBuildingUtilityPerformanceSummary", table_name = "Site and Source Energy", column_name = "Total Energy", row_name = "Total Site Energy", wide = TRUE, string_value = FALSE ))
#> List of 1 #> $ AnnualBuildingUtilityPerformanceSummary.Entire Facility.Site and Source Energy:Classes ‘data.table’ and 'data.frame': 1 obs. of 6 variables: #> ..$ case : chr "1ZoneUncontrolled" #> ..$ report_name : chr "AnnualBuildingUtilityPerformanceSummary" #> ..$ report_for : chr "Entire Facility" #> ..$ table_name : chr "Site and Source Energy" #> ..$ row_name : chr "Total Site Energy" #> ..$ Total Energy [GJ]: num 0 #> ..- attr(*, ".internal.selfref")=<externalptr> #> ..- attr(*, "sorted")= chr [1:4] "case" "report_name" "report_for" "table_name"
# } ## ------------------------------------------------ ## Method `EplusJob$print` ## ------------------------------------------------ # \dontrun{ job$print()
#> ── EnergPlus Simulation Job ──────────────────────────────────────────────────── #> * Model: '/tmp/RtmpeLRCuX/1ZoneUncontrolled.idf' #> * Weather: << Not specified >> #> * EnergyPlus Version: '8.8.0' #> * EnergyPlus Path: '/home/travis/.local/EnergyPlus-8-8-0' #> Simulation started at '2020-07-10 09:28:05' and completed successfully after 0.36 secs.
# }