Skip to content

Templates.AirHandlerFans access components that are not in constraining type #4497

@mwetter

Description

@mwetter

When updating the Optimica image to 1.66, the warning below appears.
This is through #4495, see travis
https://app.travis-ci.com/github/lbl-srg/modelica-buildings/jobs/638400864

*** Warning: Buildings.Templates.AirHandlersFans.Validation.VAVMultiZone: Access to component idZon not recommended, it is not present in constraining type of declaration 'inner replaceable Buildings.Templates.AirHandlersFans.Components.Controls.G36VAVMultiZone ctl constrainedby Buildings.Templates.AirHandlersFans.Components.Interfaces.PartialControllerVAVMultizone (final dat = dat.ctl, final nZon = nZon, final typFanSup = typFanSup, final typFanRel = typFanRel, final typFanRet = typFanRet, final nFanSup = nFanSup, final nFanRel = nFanRel, final nFanRet = nFanRet)'
*** Warning: Buildings.Templates.AirHandlersFans.Validation.VAVMultiZone: Access to component namGro not recommended, it is not present in constraining type of declaration 'inner replaceable Buildings.Templates.AirHandlersFans.Components.Controls.G36VAVMultiZone ctl constrainedby Buildings.Templates.AirHandlersFans.Components.Interfaces.PartialControllerVAVMultizone (final dat = dat.ctl, final nZon = nZon, final typFanSup = typFanSup, final typFanRel = typFanRel, final typFanRet = typFanRet, final nFanSup = nFanSup, final nFanRel = nFanRel, final nFanRet = nFanRet)'
*** Warning: Buildings.Templates.AirHandlersFans.Validation.VAVMultiZone: Access to component namGroZon not recommended, it is not present in constraining type of declaration 'inner replaceable Buildings.Templates.AirHandlersFans.Components.Controls.G36VAVMultiZone ctl constrainedby Buildings.Templates.AirHandlersFans.Components.Interfaces.PartialControllerVAVMultizone (final dat = dat.ctl, final nZon = nZon, final typFanSup = typFanSup, final typFanRel = typFanRel, final typFanRet = typFanRet, final nFanSup = nFanSup, final nFanRel = nFanRel, final nFanRet = nFanRet)'
Number of models with access not in constraining type           : 3

In the meantime, I will exclude them from the Optimica tests.

Note that this model does not translate with OpenModelica, but it translates with Dymola.

@AntoineGautier : can you please see if this is an issue with the templates.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions