Learn R Programming

eplusr (version 0.9.4)

use_eplus: Configure which version of EnergyPlus to use

Description

Configure which version of EnergyPlus to use

Usage

use_eplus(eplus)

eplus_config(ver)

avail_eplus()

is_avail_eplus(ver)

Arguments

eplus

An acceptable EnergyPlus version or an EnergyPlus installation path.

ver

An acceptable EnergyPlus version.

Value

  • For use_eplus() and eplus_config(), an (invisible for use_eplus()) list of three contains EnergyPlus version, directory and EnergyPlus executable. version of EnergyPlus;

  • For avail_eplus(), a character vector;

  • For is_avis_avail_eplus(), a scalar logical vector.

Details

use_eplus() adds an EnergyPlus version into the EnergyPlus version cache in eplusr. That cache will be used to get corresponding Idd object when parsing IDF files and call corresponding EnergyPlus to run models.

eplus_config() returns the a list of configure data of specified version of EnergyPlus. If no data found, an empty list will be returned.

avail_eplus() returns all versions of available EnergyPlus.

is_avail_eplus() checks if the specified version of EnergyPlus is available or not.

See Also

download_eplus() and install_eplus() for downloading and installing EnergyPlus

Examples

Run this code
# NOT RUN {
# add specific version of EnergyPlus
use_eplus(8.9)
use_eplus("8.8.0")

# get configure data of specific EnergyPlus version if avaiable
eplus_config(8.6)
# }
# NOT RUN {
# get all versions of avaiable EnergyPlus
avail_eplus()

# check if specific version of EnergyPlus is available
is_avail_eplus(8.5)
is_avail_eplus(8.8)

# }

Run the code above in your browser using DataLab