TomorrowsCities / tomorrowscities

MIT License
3 stars 1 forks source link

feature: GEM format for earthquake calculations #46

Closed hkayabilisim closed 4 months ago

hkayabilisim commented 4 months ago

Users can now use GEM XML format is earthquake calculations. The implementation has the following features:

  1. If both traditional Excel and GEM XML format are uploaded, GEM format is silently ignored
  2. Only “discrete” format is supported. For other formats, the execution stops.
  3. GEM XML format is only used on building exposure and earthquake analysis. For road and power infrastructures, the user should continue using custom fragility Excel files.
  4. In GEM fragility for every taxonomy identifier there is only one fragility function defined. For instance, if PGA is used in the fragility function of CR+CIP/LDUAL+DUM+HC+2s+Edu, there will no second fragility function for instance for SA(0.6). In other words, GEM XML dictates which intensity map is used.