Earthquake Modeling
Earthquake Modeling¶
The earthquake model can be imported using the following command. The earthquake model has been build using the following literature resources
Jeddi et al. (2022) Baghmisheh & Mahsuli (2021) FEMA (2020) Farahani et al. (2020) Kongar et al. (2017) Kongar et al. (2014) Cirone (2013) Atkinson & Wald (2007) Rajabzadeh & Kalantar (2022) Mo et al. (2017)
from IPython.display import display, HTML
import plotly.graph_objects as go
import plotly.io as pio
pio.renderers.default = "plotly_mimetype"
from erad.models.hazard import EarthQuakeModel/opt/homebrew/Caskroom/miniconda/base/envs/erad/lib/python3.12/site-packages/kaleido/__init__.py:14: UserWarning:
Warning: You have Plotly version 6.0.1, which is not compatible with this version of Kaleido (1.0.0).
This means that static image generation (e.g. `fig.write_image()`) will not work.
Please upgrade Plotly to version 6.1.1 or greater, or downgrade Kaleido to version 0.2.1.
An instance of EarthQuakeModel requires four pieces of information,
timestamp: The timestamp the earthquake happened
origin: Epicenter of the earthquake in lat / long format
depth: Depth of the earthquake, beneth the surface of the earth
magnitude: Magnitude of the earthquake
from datetime import datetime
from gdm.quantities import Distance
from shapely.geometry import Point
earthquake = EarthQuakeModel(
name="same name",
timestamp=datetime.now(),
origin=Point(-120, 36),
depth=Distance(30, "km"),
magnitude=6.2,
)
earthquake.pprint()An example of the EarthQuakeModel can be built using the example() methods for testing purposes.
earthquake = EarthQuakeModel.example()
earthquake.pprint()Building from historical events¶
Erad allows users to build earthquake models from historic earthquake events as well. The from_earthquake_code class method can be used to build earthquake models representing historic events.
earthquake = EarthQuakeModel.from_earthquake_code("ISCGEM851547")
earthquake.pprint()Plotting Earthquake Model¶
fig = go.Figure()
earthquake.plot(figure=fig)
fig.show()- Jeddi, A. B., Shafieezadeh, A., Hur, J., Ha, J.-G., Hahm, D., & Kim, M.-K. (2022). Multi-hazard typhoon and earthquake collapse fragility models for transmission towers: An active learning reliability approach using gradient boosting classifiers. Earthquake Engineering & Structural Dynamics, 51(15), 3552–3573.
- Baghmisheh, A. G., & Mahsuli, M. (2021). Seismic performance and fragility analysis of power distribution concrete poles. Soil Dynamics and Earthquake Engineering, 150, 106909.
- FEMA. (2020). Hazus Earthquake Model Technical Manual Hazus 4.2 SP3. Federal Emergency Management Agency Washington, DC.
- Farahani, S., Tahershamsi, A., & Behnam, B. (2020). Earthquake and post-earthquake vulnerability assessment of urban gas pipelines network. Natural Hazards, 101, 327–347.
- Kongar, I., Giovinazzi, S., & Rossetto, T. (2017). Seismic performance of buried electrical cables: evidence-based repair rates and fragility functions. Bulletin of Earthquake Engineering, 15, 3151–3181.
- Kongar, I., Rossetto, T., & Giovinazzi, S. (2014). Seismic fragility of underground electrical cables in the 2010 - 11 Canterbury (NZ) earthquakes. Second European Conference on Earthquake Engineering & Seismology, Istanbul.
- Cirone, P. (2013). Valutazione speditiva di sicurezza sismica degli edifici esistenti. D. Flaccovio.
- Atkinson, G. M., & Wald, D. J. (2007). “Did You Feel It?” intensity data: A surprisingly good measure of earthquake ground motion. Seismological Research Letters, 78(3), 362–368.
- Rajabzadeh, M., & Kalantar, M. (2022). Improving the resilience of distribution network in coming across seismic damage using mobile battery energy storage system. Journal of Energy Storage, 52, 104891.
- Mo, R., Kang, H., Li, M., & Zhao, X. (2017). Seismic fragility analysis of monopile offshore wind turbines under different operational conditions. Energies, 10(7), 1037.