EnergyPlus

EnergyPlus is a whole building energy simulation program that engineers, architects, and researchers use to model energy and water use in buildings.


Interactive usage

The latest version of EnergyPlus (currently version 24.1.0) is made available with the command:

$ module load EnergyPlus/24.1.0-foss-2022b

After this any of the EnergyPlus commands can be run from the terminal prompt. The available commands can be obtained using:

$ energyplus --help

Batch Submission

An example batch submission script for this file is :

#!/bin/bash
# Request 4 gigabytes of real memory
#SBATCH --mem=4G
#SBATCH --mail-user=a.person@sheffield.ac.uk
#SBATCH --mail-type=ALL

module load EnergyPlus/24.1.0-foss-2022b

# Set paths to input and output directories
INPUT_FILE=/path/to/your/input_file.idf
WEATHER_FILE=/path/to/weather_file.epw
OUTPUT_DIR=/path/to/output_directory

# Run EnergyPlus
energyplus -w $WEATHER_FILE -r -d $OUTPUT_DIR -i $INPUT_FILE

The above is saved to a file called run_job.sh and submitted with :

sbatch run_job.sh

Installation notes

EnergyPlus version 24.1.0 was installed using Easybuild 4.9.2, build details can be found in $EBROOTENERGYPLUS/easybuild with the module loaded.