NHERI-SimCenter/DamageAndLossModelLibrary: v3.1 — Stanford
Zenodo
NHERI-SimCenter/DamageAndLossModelLibrary: v3.1 — Stanford
Version 3.1 extends the controlled vocabularies with unit-type information for demand types. The model data itself is unchanged. Added Unit types in the demand-type vocabulary: the new canonical EDP_TYPES mapping records each demand type's short acronym and the physical quantity it is measured in (UnitType), and the new UNIT_TYPES vocabulary enumerates the valid unit types: acceleration, speed, displacement, unitless, rotation, force, force_per_length, and pressure. Consumers (e.g., Pelicun 3.10+) can infer physical units for demand data from the vocabulary instead of maintaining hardcoded lists. Changed EDP_to_demand_type is now derived from EDP_TYPES. Its content is identical to before, so existing consumers are unaffected. Install pip install simcenter-dlml Migrating from Pelicun 3.9 and earlier Pelicun 3.9 and earlier downloaded the model data from this repository's latest GitHub release at import time. Starting with v3.0 the data lives under src/dlml/data/, a layout those versions cannot read, so they fail with a download error once this release becomes the latest one. Recommended: upgrade to Pelicun 3.10 or later, which installs simcenter-dlml from PyPI and needs no download: pip install --upgrade pelicun If you must stay on Pelicun 3.9 or earlier, pin the model data to the last compatible release: pelicun dlml update v2.1.0 The v2.1.0 release remains available and is not going away.
0 comments
No comments yet.