clean_wd: Clean working directory of a previous EnergyPlus simulation

Description Usage Arguments Details Author(s) Examples

View source: R/run.R

Description

Clean working directory of an EnergyPlus simulation by deleting all input and output files of previous simulation.

Usage

1
clean_wd(path)

Arguments

path

An .idf or .imf file path.

Details

clean_wd() imitates the same process that EnergyPlus does whenever a new simulation is getting to start. It deletes all related output files that have the same name prefix as the input path. The input model itself and any weather file are not deleted. clean_wd() is called internally when running EnergyPlus models using run_idf() and run_multi().

Author(s)

Hongyuan Jia

Examples

1
2
3
4
## Not run: 
clean_wd("foo.idf")

## End(Not run)

hongyuanjia/eplusr documentation built on Oct. 14, 2018, 10:59 a.m.