2019 11 06_meeting - lbl-srg/soep GitHub Wiki

SOEP Coordination meeting

Date: November 6, 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: NREL/Modelon subcontract timeline.
  3. Michael: SimBuild paper.
  4. Kyle, Michael: Refactoring room air heat and mass balance.
  5. Kyle, Michael: EnergyPlus I/O variables.
  6. Stuart: FMI-QSS.
  7. Kyle, Michael: Optimica license protection.
  8. Jianjun: JSON representation for OS front-end to Modelica
  9. Other items

Participants

Kyle Benne
Yanfei Li
Jianjun Hu
Stuart Mentzer
Michael Wetter

Minutes

SimBuild paper

Paper is developed at https://bitbucket.org/berkeleylab/srg-soep-papers/src/master/, see https://bitbucket.org/berkeleylab/srg-soep-papers/src/master/2020-simbuild/1_manuscript/

Michael to review outline with Amir.

Michael to point Stuart to a model for QSS, a couple of event indicator would be fine. Maybe use BESTEST with thermostat?

NREL/Modelon subcontract

Kyle communicated urgency to Luigi. Kyle to follow up with Luigi and cc Michael and Hubertus, maybe untangle the two subcontracts (technical and licensing).

Numerical investigations

No work conducted.

Refactoring room air balance

Branch issue1129_energyPlus_zone now works for multiple buildings for JModelica, Dymola and OpenModelica. This has the FMI interface now.

Branch issue1129_energyPlus_zone has new architecture with top level building instance.

The specification on https://lbl-srg.github.io/soep/softwareArchitecture.html has been updated for schedules and EMS actuators.

Next, work on

  • Yanfei to clean up idf file for 2 identical rooms to avoid EnergyPlus errors. (Branch issue1575_spawn_eplus_twozones.). Use clean idf file with only what is needed, and provide script that generates TwoIdenticalZones.dat file. Make pull request to issue1575_spawn_eplus_twozones.
  • Kyle to implement EnergyPlus output variables.
  • Michael to implement schedules and EMS actuators.
  • Kyle to implement schedules and EMS actuators.
  • Kyle to make an FMU that does not compress the files.
  • Kyle to look into generating all outputs in the folder tmp-simulation-TwoIdenticalZones
  • Kyle to look into numerical instability (walls may be initialized to wrong temperature). See for example Experimental/EnergyPlus/Examples/VAVReheatRefBldgSmallOffice/FloorOpenLoop or Experimental/EnergyPlus/Validation/OneZone and set the initial room temperature to 10 degC.
  • Michael and Kyle to work out how to filter level of info/error/fatal errors. See code near

const size_t nCat = fmi2_import_get_log_categories_num(bui->fmu); * Installer package for all three platforms. * Michael to add download information to https://lbl-srg.github.io/soep/ to check out development branch.

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.

FMI-QSS

No discussions.

Stuart works on using the directional derivatives, has it working now in OCT. Updated QSS code to use directional derivatives. Now works on parallelization.

Stuart works with Agnes as reverse dependencies seem missing in the modelDescription.xml file.

CI testing (funnel)

No discussions.

Next:

  • Work on experiment specification.

Optimica license protection

No discussion.

Subcontract between Modelon and NREL still not in place. Hubertus will have a call with Luigi.

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 discussion.

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, but see next steps under "Refactoring room air balance".

Previous action items

Jianjun will change nle_solver_tol_factor to 1E-2 instead of 1E-4 in regression testing.

Michael will look into making dp of pressure drop elements a state rather than p using stateSelect.

Agnes to get back regarding debug information for user for nonlinear solver.

⚠️ **GitHub.com Fallback** ⚠️