Skip to content

2019 07 17_meeting

Michael Wetter edited this page Jul 17, 2019 · 4 revisions

SOEP Coordination meeting

Date: July 17, 2019, 8:15am-9am Pacific Times

The purpose of this meeting is to coordinate the Modelica integration for SOEP.

Meeting information

Join from PC, Mac, Linux, iOS or Android: https://lbnl.zoom.us/my/mwetter

Or iPhone one-tap (US Toll): +14086380968,6614042296# or +16465588656,6614042296#

Or Telephone:
Dial: +1 408 638 0968 (US Toll) or +1 646 558 8656 (US Toll) Meeting ID: 661 404 2296 International numbers available: https://lbnl.zoom.us/zoomconference?m=_h5BuJ686mPy3rWEyKf4NROxLaeOV5J8

Agenda

  1. Previous action items.
  2. Kyle, Michael: Refactoring room air heat and mass balance.
  3. EnergyPlus I/O variables.
  4. Stuart: FMI-QSS.
  5. Kyle, Michael: Optimica license protection.
  6. Jianjun: JSON representation for OS front-end to Modelica
  7. Other items

Participants

Kyle Benne
Yanfei Li
Stuart Mentzer
Bo Shen
Michael Wetter

Minutes

Refactoring room air balance

Branch issue1129_energyPlus_zone now works for one building for JModelica, Dymola and OpenModelica.

Branch issue1129_energyPlus_zone_fmiSignature works with building exported from JModelica as an FMU.

Kyle added FMI stubs based on feedback from FMU validator, and works on adding logging.

EnergyPlus appears to write to a directory that is read only, and will anyway be deleted after the execution.

To reproduce, run

$ cd Buildings/Resources/src/EnergyPlus/spawn/
$ python install.py
$ cd -
$ jm_ipython.sh jmodelica.py Buildings.Experimental.EnergyPlus.Validation.OneZone

The produces output of the form:

mode instantiation
fmi2SetupExperiment called
ERROR: Could not open output debug file:
/tmp/JModelica.org/jm_tmpYaaOE6/resources/0/RefBldgSmallOfficeNew2004_Chicago.idf/eplusout.dbg.

Inside the docker, the permissions are

$ ls -lh resources
total 12K
drwxr-xr-x 2 developer developer 4.0K Jul 17 15:00 0
drwxr-xr-x 2 developer developer 4.0K Jul 17 15:00 1
drwxr-xr-x 2 developer developer 4.0K Jul 17 15:00 2

Next, work on

  • Kyle to work on getting FMU to work in FMU validator. Done, steps through a simulation.
  • Michael to integrate fmu generation from Kyle. On hold because of write permission above.
  • Michael to finalize and merge https://github.com/lbl-srg/soep/tree/issue47_fmiSignature
  • Kyle to add error handling and flag to clean temporary files.
  • Kyle to provide an idf file with 3 identical rooms.
  • Installer package for all three platforms.
  • Then implement control I/O.

Contract:

  1. All zones in the idf file must have a zone model in Modelica. Otherwise the simulation stops with an error.
  2. If there is an HVAC system in the idf file, then EnergyPlus issues a warning, the EnergyPlus HVAC system is not simulated, but the coupled EnergyPlus/Modelica simulation proceeds.
  3. For the EnergyPlus envelope, either the CTF transfer function or the finite difference method can be used.

EnergyPlus I/O variables

No activity until room model is finished.

Modelon

No discussions.

FMI-QSS

No discussions.

CI testing (funnel)

No discussions.

Next:

  • Test using funnel as the default diff tool in BuildingsPy.
  • Use funnel for cross comparison between dymola and jmodelica.
  • Work on experiment specification.

Optimica license protection

No discussions.

Potential paths: Check diff to frozen library. Allow n models to be changed. Upgrade path to full OCT version (with access to cloud version in an integrated way).

Need to define the different use cases and work flows.

Use of python API makes protection much easier, is sufficient unless interactive mode is needed. Java API would be needed for interactive mode.

JSON representation for OS front-end to Modelica

No discussions.

Jianjun to work on modelica-json parsing in Modelica rather than CDL mode.

Ongoing is dealing with replaceable models.

Other items

None.

New action items

None.

Previous action items

None.

Clone this wiki locally