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 warning messages triggered by our own code. #72

Merged

Conversation

ioannis-vm
Copy link
Contributor

Some necessary changes related to PR #51 were held off to verify backwards compatibility. This resulted in a couple of warnings being triggered by our own code, which is of course undesirable. This PR brings in those necessary changes.

- Remove deprecated `DMG-` keyword from loss map.
- Replace deprecated `BldgRepair` with `Repair`.

Both worked for backwards compatibility but triggered a warning.
These changes were delayed to verify backwards compatibility.
We obviously don't want our own code to trigger warnings.
Add `"deterministic"` and implicitly `None` as valid distribution
options for capacity scaling operations.
Change default decision variables to the more common set of {'Cost',
'Time'}. Users who need to include 'Carbon' and 'Energy' should
manually set the decision variables when defining their assessment
objects.
Copy link
Collaborator

@zsarnoczay zsarnoczay left a comment

Choose a reason for hiding this comment

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

All changes look good to me; I have no comments or questions. Good job!

@zsarnoczay zsarnoczay merged commit ed7b081 into NHERI-SimCenter:develop Nov 7, 2024
12 checks passed
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