lbl-srg / modelica-buildings

Modelica Buildings library
258 stars 160 forks source link

Cyclically dependent constants or parameters for economizer sequence #885

Closed mwetter closed 7 years ago

mwetter commented 7 years ago

The following translation error occurs in OpenModelica's OMEdit:

[1] 12:28:17 Translation Error
[Buildings.Controls.OBC.ASHRAE.G36.Composite.Validation.EconomizerSingleZone_Mod_DamLim: 6:3-13:68]: Variable economizer: Cyclically dependent constants or parameters found in scope Buildings.Controls.OBC.ASHRAE.G36.Composite.EconomizerSingleZone$economizer: {minVOutMaxFanSpePos,desVOutMaxFanSpePos,desVOutMinFanSpePos,minVOutMinFansSpePos}.

[2] 12:28:17 Translation Error
Error occurred while flattening model Buildings.Controls.OBC.ASHRAE.G36.Composite.Validation.EconomizerSingleZone_Mod_DamLim

@milicag : can you please check the parameter assignment. If there is no easy solution and our code is correct, we can check whether this is a bug in OpenModelica.

mwetter commented 7 years ago

@milicag : Can you please have a look at this so that we can fix the issue early next week. We like to be able to simulate all sequences also with OpenModelica