Spawn is a software package for performing co-simulations involving EnergyPlus and Modelica. This package bundles the following items in one self contained package.
The Spawn installation package is fully self contained, and there are no external third party dependencies.
Together the capabilities in this package, provide a single integrated environment for performing hybrid Modelica
and EnergyPlus simulations. The primary entry point is the spawn
command line interface.
Binary packages are published on GitHub, https://github.com/NREL/Spawn/releases.
Extract the package to a location of your choosing and optionally put the bin/spawn
executable in your system path.
Additional computer platforms, including versions of Mac OS and Windows will be supported in future releases.
Detailed help is built into the command line program spawn --help
.
spawn modelica create-exe Buildings.Examples.Tutorial.Boiler.System1
spawn modelica simulate Buildings.ThermalZones.EnergyPlus.Validation.ThermalZone.OneZoneOneYear
apt install libllvm10 llvm-10-dev clang-10 libclang-10-dev liblld-10-dev liblld-10-dev gfortran
pip install conan
export LLVM_DIR=/path/to/llvm/
export Clang_DIR=/path/to/clang/
git clone --recurse-submodules https://github.com/NREL/spawn.git
cd spawn
mkdir build
cd build
cmake ../
make -j