Learn R Programming

eplusr (version 0.9.4)

clean_wd: Clean working directory of a previous EnergyPlus simulation

Description

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

Usage

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().

Examples

Run this code
# NOT RUN {
clean_wd("foo.idf")
# }

Run the code above in your browser using DataLab