1

Buildings Boiler Polynomial ask for modelica.interfaces.partialmedium

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?

RTisseur's avatar
11
RTisseur
asked 2016-12-06 10:12:10 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2016-12-06 12:00:49 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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.

Michael Wetter's avatar
1.7k
Michael Wetter
answered 2016-12-06 11:57:07 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments