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

Add horizontal pipe pressure drop to sys-params #700

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

vtnate
Copy link
Contributor

@vtnate vtnate commented Feb 6, 2025

Any background context you want to provide?

The horizontal pipe pressure drop had been hard-coded into a number of Modelica templates throughout the GMT. Exposing it as a user-adjustable variable in the sys-param file will enable more control over the model, as well as allowing ThermalNetwork to use the same value.

What does this PR accomplish?

  • Add pressure drop per meter to schema and test files
  • Add it to templates and code to render them, so it gets passed through appropriately
  • Begin taking use of template data being built in ModelBase

How should this be manually tested?

CI is sufficient

What are the relevant tickets?

Resolves #696

@vtnate vtnate added the enhancement New feature or request label Feb 6, 2025
@vtnate vtnate self-assigned this Feb 6, 2025
@vtnate vtnate requested a review from nllong February 6, 2025 21:08
@vtnate vtnate marked this pull request as ready for review February 6, 2025 21:08
@vtnate vtnate changed the title Add pipe pressure drop to sys-params Add horizontal pipe pressure drop to sys-params Feb 6, 2025
@vtnate
Copy link
Contributor Author

vtnate commented Feb 6, 2025

@nllong Unrelated to this PR, the district_single_ghe.py simulation test fails on CI but passes locally for me. It is the only failing test, preventing green here on github.

Can you help me figure out what is different about the CI runner, possibly just for that test?

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
None yet
Development

Successfully merging this pull request may close these issues.

Expose design pressure loss per length in sys_params file
1 participant