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

Include ddcks from within ddcks #171

Open
zuckerruebe opened this issue Nov 29, 2023 · 0 comments
Open

Include ddcks from within ddcks #171

zuckerruebe opened this issue Nov 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@zuckerruebe
Copy link
Contributor

As a user I'd like to be able to include ddcks from within ddcks so that I can compose systems in terms of subsystems - recursively.

I'd suggest re-using the include-as syntax which is currently supported in the config files in ddcks like so (e.g. in a ddck representing a building including a heat pump HP)

INCLUDE ...\path\to\heat_pump AS Hp

If the ddck for the house is included as "Build" then a variable :PCond in the heat_pump.ddck file would be expanded to "BuildHpPCond".

An open question would be how to replace nested ddcks with changeDdckFile - if at all.

E.g. the changeDdckFile could be qualified with the "full name" of the sub-ddck:

changeDdckFile BuildHp ...\new\path\to\ddck_file
@zuckerruebe zuckerruebe added the enhancement New feature or request label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant