Do you accept the license? [y/\033[1;31mN\033[0m]:
y
5. Choose a suitible directories when asked,:
EnergyPlus install directory [/usr/local/EnergyPlus-9-4-0]:
EnergyPlus-940
Symbolic link location (enter \033[1;31m"n"\033[0m for no links) [/usr/local/bin]:
EnergyPlus-940
6. Then just set the path to the installation folder to the director in the PATH variable (also add this line to your ~/.bash_profile file):
- Series and parrallel scripts are included in the 'scripts' folder of this repository
- You will need to modify the WORK_DIR
- Specify the weather file you want to use
- Modify the number of files you want to run
- Change the runenergyplus command to suit your needs
- Contact p.symonds@ucl.ac.uk for more help with this
2. To get the EnergyPlus source code off GitHub you will need to:
export GIT_SSL_NO_VERIFY=true
#make a software directory where your software will be stored
mkdir Software
cd Software
git clone https://github.com/NREL/EnergyPlus
cd EnergyPlus
3. Checkout the version of EnergyPlus you need e.g.:
git checkout tags/v8.2.0-Update-1.2
#You can do: git tag -l to show what versions are available
4. You will need to create the directory where the code is built:
mkdir ../EnergyPlus_82_Build
cd ../EnergyPlus_82_Build
where you can replace "82" with a different Version if desired
5. Confure the cmake compiler in the build directory:
ccmake ../EnergyPlus
Press c to configure
Turn on BUILD_FORTRAN
Turn on BUILD_PACKAGE
Change Build Type -> Release
Change path -> build path created in step 4
Press c to re-configure
An extra option should appear EPLUS_BUILDSUPPORT_REPO (leave this as it is)
Press c to re-configure
Press g to generate the makefile
6. Compile the code:
make -j N
where N is the number of cores to use e.g. 8
Wait ~15 mins
7. You will now need some files to the bin folder
mkdir bin
cp Products/* bin
cp Energy+.idd bin
cp scripts/runenergyplus bin
#Copy over any other .idds you need e.g.
cp ../EnergyPlus/idd/SlabGHT.idd bin
#and add some weather files:
mkdir EnergyPlus-8-2-0
mkdir EnergyPlus-8-2-0/WeatherData
cp ../EnergyPlus/weather/* EnergyPlus-8-2-0/WeatherData