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

Fix gen cost validation #558

Merged
merged 3 commits into from
Jan 9, 2024
Merged

Fix gen cost validation #558

merged 3 commits into from
Jan 9, 2024

Conversation

adfarth
Copy link
Collaborator

@adfarth adfarth commented Jan 7, 2024

Please check if the PR fulfills these requirements

  • CHANGELOG.md is updated
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?

(Bug fix, feature, docs update, ...)
Bug fix

What is the current behavior?

(You can also link to an open issue here)
User inputs for Generator installed_cost_per_kw are being overridden due to incorrect use of if statements in validators

What is the new behavior (if this is a feature change)?

Fixed bug so that defaults are only applied if user input is not supplied.

Does this PR introduce a breaking change?

(What changes might users need to make in their application due to this PR?)
Results will now reflect user inputs for generator costs.

@adfarth adfarth merged commit f40d4b7 into develop Jan 9, 2024
1 check passed
@adfarth adfarth deleted the fix-gen-cost branch January 9, 2024 20:20
rathod-b pushed a commit that referenced this pull request Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants