From 7032180e187eb34c7c9f7097ae13406652c2cdd5 Mon Sep 17 00:00:00 2001 From: David Blum Date: Mon, 11 Jul 2022 13:48:40 -0700 Subject: [PATCH 1/2] Install Spawn to Dockerfile --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3282efdf9..be5f60a65 100755 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,12 @@ USER root # Edit pyfmi to event update at start of simulation for ME2 RUN sed -i "350 i \\\n if isinstance(self.model, fmi.FMUModelME2):\n self.model.event_update()" $JMODELICA_HOME/Python/pyfmi/fmi_algorithm_drivers.py +# Install commands for Spawn +ENV SPAWN_VERSION=0.3.0-8d93151657 +RUN wget https://spawn.s3.amazonaws.com/custom/Spawn-$SPAWN_VERSION-Linux.tar.gz \ + && tar -xzf Spawn-$SPAWN_VERSION-Linux.tar.gz \ + && ln -s /Spawn-$SPAWN_VERSION-Linux/bin/spawn-$SPAWN_VERSION /usr/local/bin/ + USER developer WORKDIR $HOME From dde4825cadfdd3502f99f559bfac741b74705298 Mon Sep 17 00:00:00 2001 From: David Blum Date: Tue, 19 Jul 2022 14:10:25 -0700 Subject: [PATCH 2/2] Update release otes --- releasenotes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/releasenotes.md b/releasenotes.md index d3056626a..77b99568a 100644 --- a/releasenotes.md +++ b/releasenotes.md @@ -6,6 +6,7 @@ Released on xx/xx/xxxx. **The following changes are backwards-compatible and do not significantly change benchmark results:** +- Add simulation support for test case FMUs compiled using Spawn of EnergyPlus. Does not address workflows for the compiling process for test case FMUs using Spawn. This is for [#406](https://github.com/ibpsa/project1-boptest/issues/406). - Add file exclusion list to ``data_manager.py`` when loading data from fmu resource directory. This is for [#423](https://github.com/ibpsa/project1-boptest/issues/423). - Specify better command on ``README.md`` for specifying test case to deploy on Windows. This is for [#419](https://github.com/ibpsa/project1-boptest/issues/419). - Remove dependency of example controllers on ``pathlib`` package. This is for [#416](https://github.com/ibpsa/project1-boptest/issues/416).