First time here? Check out the Help page!

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

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

asked 7 years ago

Siv's avatar

updated 7 years ago

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?

Preview: (hide)

Comments

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

Julien Marrec's avatar Julien Marrec  ( 7 years ago )

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  ( 6 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 7 years ago

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

Preview: (hide)
link

Comments

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

Siv's avatar Siv  ( 7 years ago )

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

1 follower

Stats

Asked: 7 years ago

Seen: 531 times

Last updated: Sep 21 '17