Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

Buildings Boiler Polynomial ask for modelica.interfaces.partialmedium

asked 2016-12-06 10:12:10 -0500

RTisseur's avatar

updated 2016-12-06 12:00:49 -0500

Dear all, I'm new to modelica and especially to the buildings modelica library. I'm using the Buildings library in OpenModelica under Ubuntu. I'm trying to build a simple model with a boiler but when I use the Buildings.Fluid.Boilers.BoilerPolynomial the following error shows up component boi contains the definition of a partial class Medium. Please redeclare it to any package compatible with Modelica.Media.Interfaces.PartialMedium.

this is the definition in the model package Medium = Buildings.Media.Water; Buildings.Fluid.Boilers.BoilerPolynomial boi(redeclare package Medium = Medium)

what I'm missing?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-12-06 11:57:07 -0500

This seems to be a bug in OpenModelica. I opened a ticket at https://trac.openmodelica.org/OpenMod...

The model Buildings.Fluid.Boilers.Examples.BoilerPolynomial works with Dymola and JModelica.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

Stats

Asked: 2016-12-06 10:12:10 -0500

Seen: 278 times

Last updated: Dec 06 '16