pelicun
Probabilistic Estimation of Losses, Injuries, and Community resilience Under Natural hazard events.
https://github.com/nheri-simcenter/pelicun
Category: Climate Change
Sub Category: Natural Hazard and Storms
Last synced: about 8 hours ago
JSON representation
Repository metadata
Probabilistic Estimation of Losses, Injuries, and Community resilience Under Natural hazard events
- Host: GitHub
- URL: https://github.com/nheri-simcenter/pelicun
- Owner: NHERI-SimCenter
- License: other
- Created: 2018-08-28T23:57:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-09-28T07:19:02.000Z (7 months ago)
- Last Synced: 2026-04-21T02:03:01.496Z (4 days ago)
- Language: Python
- Homepage: https://nheri-simcenter.github.io/pelicun/
- Size: 210 MB
- Stars: 62
- Watchers: 6
- Forks: 38
- Open Issues: 17
- Releases: 19
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
README.md
What is it?
pelicun is a Python package that provides tools for assessment of damage and losses due to natural hazard events. It uses a stochastic damage and loss model that is an extension of the high-resolution PEER performance assessment methodology described in FEMA P58 (FEMA, 2012). While FEMA P58 aims to assess the seismic performance of a building, with pelicun we provide a more versatile, hazard-agnostic tool to assess the performance of several types of assets in the built environment.
pelicun includes an integrated Damage and Loss Model Library (DLML) module that provides seamless access to comprehensive model libraries with automatic data initialization and CLI integration for efficient model management.
Detailed documentation of the available methods and their use is available at http://nheri-simcenter.github.io/pelicun
What can I use it for?
pelicun quantifies losses from an earthquake or hurricane scenario in the form of decision variables. This functionality is typically utilized for performance-based engineering and regional risk assessment. There are several steps of performance assessment that pelicun can help with:
-
Describe the joint distribution of asset response. The response of a structure or other type of asset to an earthquake or hurricane wind is typically described by so-called engineering demand parameters (EDPs).
pelicunprovides methods that take a finite number of EDP vectors and find a multivariate distribution that describes the joint distribution of EDP data well. You can control the type of target distribution, apply truncation limits and censor part of the data to consider detection limits in your analysis. Alternatively, you can choose to use your EDP vectors as-is without resampling from a fitted distribution. -
Define the damage and loss model of a building. The component damage and loss data from the first two editions of FEMA P58 and the HAZUS earthquake and hurricane models for buildings are provided with pelicun. This makes it easy to define building components without having to collect and provide all the data manually. The stochastic damage and loss model is designed to facilitate modeling correlations between several parameters of the damage and loss model.
-
Estimate component damages. Given a damage and loss model and the joint distribution of EDPs,
pelicunprovides methods to estimate the amount of damaged components and the number of cases with collapse. -
Estimate consequences. Using information about collapse and component damages, the following consequences can be estimated with the loss model: reconstruction cost and time, unsafe placarding (red tag), injuries and fatalities.
Why should I use it?
- It is free and it always will be.
- It is open source. You can always see what is happening under the hood.
- It is efficient. The loss assessment calculations in
pelicunusenumpy,scipy, andpandaslibraries to efficiently propagate uncertainties and provide detailed results quickly. - You can trust it. Every function in
pelicunis tested after every commit. See the Travis-CI and Coveralls badges at the top for more info. - You can extend it. If you have other methods that you consider better than the ones we already offer, we encourage you to fork the repo, and extend
pelicunwith your approach. You do not need to share your extended version with the community, but if you are interested in doing so, contact us and we are more than happy to merge your version with the official release.
Installation
pelicun is available at the Python Package Index (PyPI). You can simply install it using pip as follows:
pip install pelicun
If you are interested in using an earlier version, you can install it with the following command:
pip install pelicun==2.6.0
Note that 2.6.0 is the last minor version before the v3.0 release. Other earlier versions can be found here.
Documentation and usage examples
The documentation for pelicun can be accessed here.
It includes information for users, instructions for developers and usage examples.
Changelog
Detailed release notes for all versions are available in CHANGELOG.md and in the online documentation.
License
pelicun is distributed under the BSD 3-Clause license, see LICENSE.
Acknowledgment
This material is based upon work supported by the National Science Foundation under Grants No. 1612843 2131111. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.
Contact
Adam Zsarnóczay, NHERI SimCenter, Stanford University, adamzs@stanford.edu
Owner metadata
- Name: NHERI-SimCenter
- Login: NHERI-SimCenter
- Email:
- Kind: organization
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/9965185?v=4
- Repositories: 36
- Last ynced at: 2025-06-25T15:11:09.927Z
- Profile URL: https://github.com/NHERI-SimCenter
GitHub Events
Total
- Release event: 8
- Delete event: 1
- Pull request event: 92
- Fork event: 3
- Issues event: 6
- Watch event: 12
- Issue comment event: 13
- Push event: 60
- Pull request review comment event: 147
- Pull request review event: 144
- Create event: 9
Last Year
- Release event: 5
- Delete event: 1
- Pull request event: 28
- Fork event: 2
- Issues event: 1
- Watch event: 3
- Issue comment event: 2
- Push event: 21
- Create event: 6
Committers metadata
Last synced: 2 days ago
Total Commits: 1,673
Total Committers: 9
Avg Commits per committer: 185.889
Development Distribution Score (DDS): 0.447
Commits in past year: 70
Committers in past year: 1
Avg Commits per committer in past year: 70.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Adam Zsarnoczay | 3****y | 925 |
| John Vouvakis Manousakis | i****m@b****u | 671 |
| jinyan1214 | j****o@b****u | 39 |
| Pouria Kourehpaz | 6****1 | 14 |
| Sina Naeimi | s****i@u****u | 11 |
| kuanshi | k****i@s****u | 7 |
| bacetiner | b****r@u****u | 3 |
| Kanwar Shahbaz Singh Dhindsa | 1****a | 2 |
| Frank McKenna | f****a@b****u | 1 |
Committer domains:
- berkeley.edu: 3
- ucla.edu: 1
- stanford.edu: 1
- udel.edu: 1
Issue and Pull Request metadata
Last synced: 4 days ago
Total issues: 13
Total pull requests: 121
Average time to close issues: 6 months
Average time to close pull requests: 6 days
Total issue authors: 3
Total pull request authors: 6
Average comments per issue: 0.08
Average comments per pull request: 0.35
Merged pull request: 100
Bot issues: 0
Bot pull requests: 0
Past year issues: 1
Past year pull requests: 21
Past year average time to close issues: N/A
Past year average time to close pull requests: about 7 hours
Past year issue authors: 1
Past year pull request authors: 3
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.1
Past year merged pull request: 13
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- ioannis-vm (11)
- zsarnoczay (1)
- LMChina (1)
Top Pull Request Authors
- zsarnoczay (79)
- ioannis-vm (29)
- jinyan1214 (8)
- bacetiner (2)
- snaeimi (2)
- fmckenna (1)
Top Issue Labels
Top Pull Request Labels
Package metadata
- Total packages: 2
-
Total downloads:
- pypi: 525 last-month
- Total dependent packages: 1 (may contain duplicates)
- Total dependent repositories: 1 (may contain duplicates)
- Total versions: 46
- Total maintainers: 2
pypi.org: pelicun
Probabilistic Estimation of Losses, Injuries, and Community resilience Under Natural hazard events
- Homepage: http://nheri-simcenter.github.io/pelicun/
- Documentation: https://pelicun.readthedocs.io/
- Licenses: BSD-3-Clause
- Latest release: 3.9.0 (published 4 days ago)
- Last Synced: 2026-04-23T03:01:15.551Z (2 days ago)
- Versions: 45
- Dependent Packages: 1
- Dependent Repositories: 1
- Downloads: 513 Last month
-
Rankings:
- Dependent packages count: 7.39%
- Forks count: 7.604%
- Stargazers count: 10.263%
- Average: 13.903%
- Downloads: 21.989%
- Dependent repos count: 22.269%
- Maintainers (1)
pypi.org: pelicun-test20230830
Probabilistic Estimation of Losses, Injuries, and Community resilience Under Natural hazard events
- Homepage: http://nheri-simcenter.github.io/pelicun/
- Documentation: https://pelicun-test20230830.readthedocs.io/
- Licenses: BSD License
- Latest release: 3.2b4 (published over 2 years ago)
- Last Synced: 2026-04-23T03:01:11.394Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 12 Last month
-
Rankings:
- Dependent packages count: 7.49%
- Forks count: 7.633%
- Stargazers count: 10.738%
- Average: 23.917%
- Dependent repos count: 69.808%
- Maintainers (1)
Dependencies
- numpy >=1.21.0
- pandas >=1.3.0
- scipy >=1.7.0
- tables *
- xlrd <=1.2.0
- actions/checkout v2 composite
- actions/setup-python v2 composite
- codecov/codecov-action v3 composite
- autopep8 * development
- black * development
- flake8 * development
- glob2 * development
- pylint * development
- pytest * development
- pytest-cov * development
- yapf * development
- actions/checkout v3 composite
- actions/setup-python v3 composite
- pypa/gh-action-pypi-publish release/v1 composite
Score: 12.83766086166154