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 to documentation and wind libraries #28

Merged
merged 23 commits into from
Feb 4, 2025

Conversation

zsarnoczay
Copy link
Collaborator

No description provided.

hurricane/building/Hazus
- hurricane Hazus
	= consequence_repair_fitted.json
	= data/generate_library_files -> description
	= fragility_fitted.json
	= fragility_unmodified.json
	= loss_repair_unmodified.json
to allow storing and re-using fitted parameters. This facilitates
debugging and future modifications.
data when needed to make sure it is valid multilinear CDF input
script:
- remove invalid entries from fragilities
- sort fragility IDs
- use integers for wind speeds in unmodified fragilities
- fix bug by switching y|x into x|y in multilinear CDF data in
unmodified fragilities
- edit raw data to ensure it defines a valid multilinear CDF
- minor, almost surely inconsequential changes to some consequence and
loss parameters due to re-calibration

I am experiencing some issues with this commit, so I have to upload
files one-by-one. Starting with the consequence functions CSV.
pressure components from our initial publication.
Also:
- create its own folder under components
- create a raw data CSV file and a metadata header - something to
consider for other libraries that we expect to grow over time
- add a simple generator script that turns raw data into the standard
data format used in the DLML
- SimCenter Wind Component files
hazard folders, not in other parts of the repo
subassembly for the time being.

Hurricane is excluded because the generated docs would be too large for
Github to host. We are working on a solution.

Hazus EQ subassembly is excluded because the library is identical to the
component library. We'll need to review this workflow and decide how to
handle having a unique mapping script without changes to the core
library.
- Handle missing Theta_1 and DamageStateWeights
- Skip table generation for multilinear CDF
- Replace parameters with median and COV for Weibull
checking against True/False or consistently is True/False when knowing
for sure that we are checking against a boolean.

Also refactor a few variable names for clarity.
plus, regenerate the fragility JSON file
@zsarnoczay zsarnoczay merged commit b1dd6a3 into NHERI-SimCenter:main Feb 4, 2025
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