.Buildings.ThermalZones.EnergyPlus_9_6_0.UsersGuide.Installation

Information

Installation of binaries

The official release of the Modelica Buildings Library that can be downloaded at simulationresearch.lbl.gov/modelica/download.html contains all binaries required to simulated the models in Buildings.ThermalZones_9_6_0. You should not have to do any other installations or settings.

However, binaries can also be downloaded and installed manually, the binaries can be downloaded from the following links:

Operating systemLink
Linux https://spawn.s3.amazonaws.com/builds/Spawn-light-0.4.3-7048a72798-Linux.tar.gz
Windows https://spawn.s3.amazonaws.com/builds/Spawn-light-0.4.3-7048a72798-win64.zip

To install, proceed as follows:

Operating systemLink
Linux

Run from a terminal

wget https://spawn.s3.amazonaws.com/builds/Spawn-light-0.4.3-7048a72798-Linux.tar.gz;
tar xzf Spawn-light-0.4.3-7048a72798-Linux.tar.gz;
export PATH=${PATH}:`pwd`/Spawn-light-0.4.3-7048a72798-Linux/bin

and restart your Modelica environment. You may put the last line in your ${HOME}/.bashrc file to make the setting persistent when you log in the next time.

Windows
  1. Download the binary from the link above.
  2. Unzip Spawn-light-0.4.3-7048a72798-win64.zip at your desired location.
  3. Add the directory xyz/Spawn-light-0.4.3-7048a72798-win64/bin to your PATH environment variable.
  4. Restart your Modelica environment.

How is spawn invoked?

Modelica tries to invoke spawn-0.4.3-7048a72798[.exe] in this order:

  1. On Linux, it searches for
    Buildings[ x.y.z]/Resources/bin/spawn-0.4.3-7048a72798/linux64/bin/spawn-0.4.3-7048a72798
    
    and on Windows, it searches for
    Buildings[ x.y.z]/Resources/bin/spawn-0.4.3-7048a72798/win64/bin/spawn-0.4.3-7048a72798.exe
    
    where Buildings[ x.y.z] is the installation folder of the Modelica Buildings Library. This file is distributed with the Modelica Buildings Library installation, together with all files needed to translate and simulate a model in a Modelica environment.
  2. If not found, it searches on the environment variable SPAWNPATH for spawn-0.4.3-7048a72798[.exe].
  3. If not found, it searches on the environment variable PATH for spawn-0.4.3-7048a72798[.exe].

If none of this succeeds, it will stop with an error.


Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos