Skip to content

Fix gen cost validation#558

Merged
adfarth merged 3 commits intodevelopfrom
fix-gen-cost
Jan 9, 2024
Merged

Fix gen cost validation#558
adfarth merged 3 commits intodevelopfrom
fix-gen-cost

Conversation

@adfarth
Copy link
Copy Markdown
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 requested a review from Bill-Becker January 9, 2024 19:31
@adfarth adfarth merged commit f40d4b7 into develop Jan 9, 2024
@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.

2 participants