Full Installation¶
The full installation should be used only by contributors willing to add and develop new buildings models.
A docker image with the latest opensource version of JModelica (2.14) is stored on dockerhub for users willing to compile with dockers.
Windows 10¶
- Download and install JModelica binaries. 
- Install Energyplus 9.5; see Minimal Installation. 
- Install a C/C++ compiler (e.g. Visual Studio) 
- Clone the following libraries to your favorite folder: - git clone https://github.com/lbl-srg/modelica-buildings.git git clone https://github.com/ibpsa/modelica-ibpsa.git git clone https://github.com/lbl-srg/EnergyPlusToFMU 
- Clone Energym: - git clone <energym adress> cd <energym main folder> 
Then go to the section Contributing.
Linux (Ubuntu)¶
- Download and install the latest free JModelica version (requires python 2.7) 
- Install Energyplus 9.5; see Minimal Installation. 
- Install the following librairies: - sudo apt-get update && apt-get upgrade -y \ apt-utils \ openjdk-11-jre\ git \ libc6\ -y wget gnupg2 lsb-release curl vim 
- Clone the following libraries to your favorite folder: - git clone https://github.com/lbl-srg/modelica-buildings.git git clone https://github.com/ibpsa/modelica-ibpsa.git git clone https://github.com/lbl-srg/EnergyPlusToFMU 
- Clone Energym: - git clone <energym adress> cd <energym main folder> 
Then go to the section Contributing.
Docker¶
We strongly advise to use the provided dockerfiles to build models for linux/darwin platforms.
- Prior to using docker, install it following the instructions: - On Windows. 
- On Linux (Ubuntu). 
- On Mac. 
 
- Clone the repository using git: - git clone <energym adress> cd <energym main folder> 
- Build and run the container. - On Windows: - docker build --pull --rm -f "JModelica.dockerfile" -t energym:latest "." docker run -d -p 80:80 energym:latest 
- On Linux. Use the launcherJmod in the main repository: - ./launcherJmod 
 
Then go to the section Contributing.