1

Error simulating a chiller using the buildings library in Open Modelica.

When I try to simulate the model, the following error presents itself.

Variable Chiller: Cyclically dependent constants or parameters found in scope 
Buildings.Fluid.Chillers.Carnot_TEva$Chiller: {COP_nominal,etaCarnot_nominal}.

Could someone please tell me how I can overcome this issue?

Siv's avatar
653
Siv
asked 2017-09-21 00:55:43 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-09-21 10:31:58 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Without more details it's hard to tell you where the cyclical parameters are...

Julien Marrec's avatar Julien Marrec (2017-09-21 10:20:29 -0500) edit

Hi, sorry for the delayed response. However, Could you please tell me what additional details might be necessary ?Anyway, I was able to overcome this issue using -d = ignoreCycles in Tools>Options>Simulation.

But I am unable to understand what is running in the background. Previously the simulation never ran when this error occurred. But now it runs and still displays the error. Are the results reliable ?

The example I ma trying to run is Buildings.Fluid.Chillers.Examples.Carnot_TEva

Thank you for your response in advance.

Siv's avatar Siv (2018-08-06 07:12:01 -0500) edit
add a comment see more comments

1 Answer

1

This looks like a bug in OpenModelica as the Carnot chiller and Carnot heat pumps all work in JModelica and in Dymola.

Michael Wetter's avatar
1.7k
Michael Wetter
answered 2017-09-21 17:39:16 -0500
edit flag offensive 0 remove flag delete link

Comments

Could you please explain the nature of this bug or describe this error a bit more in detail?

Siv's avatar Siv (2017-10-08 14:11:44 -0500) edit
add a comment see more comments