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

Updates fixing Hazus Hurricane assessment with both wind and flood demands #93

Merged
merged 7 commits into from
Jan 9, 2025

Conversation

zsarnoczay
Copy link
Collaborator

see commit messages for details

This does lead to unnecessary warnings when some components use loss
models while others use damage & consequence models. However, in every
other case, these warnings are useful to recognize that something went
wrong. I will try to figure out a way to avoid the unnecessary warnings.
DLC used to only save the losses from consequence functions for
backwards compatibility. Now that we have loss functions as an
alternative and sometimes both are used in the same simulation, it was
important to have both results combined and saved in the end.
This includes the following changes:

- Add support for multiple loss model files assigned to a single
built-in analysis type because Hazus Hurricane needs both wind and
flood loss data.

- Update loss map preparation to use the asset sample (instead of the
damage sample) so that we get all assigned components into the loss map.

- Leverage the new loss combination feature by making it available
through DL calculation and providing default combination matrix for
users of the Hazus Hurricane assessment. (The replacement threshold
configurations are also exposed, but not yet used in DL calculation)

- The Damage and Loss Model Library was also updated and several bugs
were fixed related to this feature. The corresponding changes are
described in the commits in that repo.

- Add the flood model file to the list of bundled resources
I am not sure why these were turned off. The corresponding tests were
also updated.
@zsarnoczay zsarnoczay merged commit 9af98ad into NHERI-SimCenter:develop Jan 9, 2025
15 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.

1 participant