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

Enable more detail when specifying district types #622

Merged
merged 7 commits into from
Mar 19, 2024
Merged

Conversation

vtnate
Copy link
Contributor

@vtnate vtnate commented Mar 5, 2024

Any background context you want to provide?

BREAKING CHANGE - CLI

Our existing technique for specifying which type of district we're modeling (4G, 5G, 5G with GHE, Steam) was not very simple or extensible. This should make it both more clear and better able to handle future additions. @nllong Let's talk about how we name the district types/generations.

What does this PR accomplish?

  • Changes the CLI input from a boolean flag (--ghe) to be a string from the user specifying what type of district they are modeling
  • Code to support that
  • Updates to tests to handle the new CLI command and code changes

How should this be manually tested?

CI is sufficient

What are the relevant tickets?

Screenshots (if appropriate)

@vtnate vtnate added the enhancement New feature or request label Mar 5, 2024
@vtnate vtnate self-assigned this Mar 5, 2024
@vtnate vtnate marked this pull request as ready for review March 5, 2024 23:40
Copy link
Collaborator

@JingWang-CUB JingWang-CUB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Nate, these changes look good to me. It's an exciting change.

Copy link
Member

@nllong nllong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love it, cleaner for sure!

To you naming questions... we should figure out a table like this.

https://github.com/urbanopt/geojson-modelica-translator-examples?tab=readme-ov-file#matrix-of-examples

@vtnate vtnate merged commit 1189955 into develop Mar 19, 2024
10 checks passed
@vtnate vtnate deleted the enhance-5th-gen branch March 19, 2024 15:39
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.

3 participants