Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support composite bindings with record instances #428

Open
AntoineGautier opened this issue Jan 21, 2025 · 0 comments
Open

Support composite bindings with record instances #428

AntoineGautier opened this issue Jan 21, 2025 · 0 comments
Assignees
Labels
bug Something isn't working Top Priority Top of the Priority List

Comments

@AntoineGautier
Copy link
Collaborator

Testing the app with MBL HP plant template shows that toggling the following parameter does not change the set of exposed parameters in the section "Plant controller" of the configuration panel. All parameters related to the CHW circuit should be disabled if have_chiWat=false, as with Modelica tools.

  parameter Boolean have_chiWat=true
    "Set to true if the plant provides CHW"

A probable cause is the following composite parameter binding cfg=cfg that is used to propagate all configuration parameters from the template to its controller.

  replaceable Buildings.Templates.Plants.HeatPumps.Components.Interfaces.PartialController ctl
    constrainedby 
    Buildings.Templates.Plants.HeatPumps.Components.Interfaces.PartialController(
      final cfg=cfg,
      final dat=dat.ctl)
    "Plant controller"
@AntoineGautier AntoineGautier added bug Something isn't working Top Priority Top of the Priority List labels Jan 21, 2025
@JayHuLBL JayHuLBL self-assigned this Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Top Priority Top of the Priority List
Projects
None yet
Development

No branches or pull requests

2 participants