Skip to content

2020 07 28 library development

Michael Wetter edited this page Jul 28, 2020 · 5 revisions

IBPSA Modelica Library Coordination

Date: July 28, 2020, 8am-9am Pacific Times The purpose of this meeting is to coordinate the development https://github.com/ibpsa/modelica-ibpsa

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

Refrigerant media (Christian Vering)

CONTAM-style models (Klaas)

Update on geothermal models (Massimo)

Modelica formatting script (Antoine or Nick Long)

Cooling coil model (Donghun)

Change to CVode as default solver (Michael)

Visual enhancements of PartialTwoPort (https://github.com/ibpsa/modelica-ibpsa/issues/1280)

Progress on pull requests, https://github.com/ibpsa/modelica-ibpsa/pulls

Participants

Massimo Cimmino
Antoine Gautier
Filip Jorissen
Donghun Kim
Nicholas Long
Yash Shukla
Christian Vering
Michael Wetter
Ettore Zanetti

Minutes

Refrigerant media

Models may be added in August 2020, need some revisions first.

CONTAM-style models (Klaas)

To be discussed next time.

Update on geothermal models (Massimo)

Massimo works on making response factor calculations faster. New approach scales up to 1000 boreholes, uses k-means clustering to determine how to group boreholes.

Modelica formatter (Nick Long)

Nick presents modelica-fmt, https://github.com/urbanopt/modelica-fmt. Written in GO, works on Linux, Microsoft, OS X. Used and tweaked Antrl grammar for Modelica.

Is BSD 3-clause.

Next, start applying it to Buildings library to test if sufficiently robust, then apply to IBPSA.

Cooling coil model (Donghun)

See also the PR for Filip's model at https://github.com/ibpsa/modelica-ibpsa/pull/1113

Donghun presented the ongoing work on the cooling coil, dry or wet. Now works on numerical issues during mode changes, using spliceFunction and in flow reversal. Initialization is still a challenge. Testing in district model.

Next, understand advantages and limitiations of his model and Filip's model. Consider adding one state for accumulated water, which can then be used to avoid mode switch between nonlinear equations.

Filip's model has no algebraic loop.

Change to CVode as default solver (Michael)

No work on this item.

Visual enhancements of PartialTwoPort

Issue https://github.com/ibpsa/modelica-ibpsa/issues/1280.

See notes on ticket.

Progress on pull requests

All should work on the pull requests or open tickets.

New action items

LBL and NREL to further test modelica-fmt before applying it to a branch of the IBPSA library.

Previous action items

Michael to work on converting models to CVode for Dymola CI testing.

Michael to open ticket to use a scope such as shown in the top graphic of issue https://github.com/ibpsa/modelica-ibpsa/issues/1280

Klaas to make pull request for new air flow models.

Fluid Property models (RWTH) RWTH intern development of R134a, R410A, R32, R407C, R290 and R744 merge in December, Paper in March Are there further fluid models of interest? Models may be added in August 2020.

Clone this wiki locally