Author Topic: Fragility Database export  (Read 5259 times)

Nikoch

  • Newbie
  • *
  • Posts: 3
    • View Profile
Fragility Database export
« on: October 18, 2022, 01:32:22 PM »
Hi, I'm trying to export the FEMA P58 database and population.json from PBE version 2.2.2 and 3.0.0 but it does not save anything, it only saves a file called 'data' but it is empty.

I already tried to save it in different files but nothing. Do i need to save it in a special path ?
I would appreciate your help. Thank you

adamzs

  • Moderator
  • Jr. Member
  • *****
  • Posts: 84
    • View Profile
Re: Fragility Database export
« Reply #1 on: October 18, 2022, 08:45:03 PM »
Hi Nikoch,

I've just tested the exporting feature with the P-58 database on versions 2.2.2 and 3.0.0 - both work fine for me on Windows 10.

So, let's explore what could go wrong on your machine. When clicking the export button, you need to select a destination folder. I usually create a folder for this purpose, but you could simply select one of the existing folders on your hard drive. It does not need to be a special path.

Are you running in a Windows or macOS environment?

Do the examples run fine within PBE? If yes, that confirms that the tool has access to the databases.

Depending on your answers to the above, I'll have more questions.

Adam

Nikoch

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Fragility Database export
« Reply #2 on: October 19, 2022, 07:01:43 AM »
Hi Adam, thanks u so much for your answer,

Im running on Windows 11 pro, maybe that is the problem right ?? If so, could you pass me the database and population.json here please, I would greatly appreciate it.
So far all examples run pretty well in PBE.

Thanks for your time.

adamzs

  • Moderator
  • Jr. Member
  • *****
  • Posts: 84
    • View Profile
Re: Fragility Database export
« Reply #3 on: October 20, 2022, 02:23:51 AM »
Hi Nikoch,

If you're interested in the database under PBE 3.0, you can find it as part of pelicun, here: https://github.com/NHERI-SimCenter/pelicun/tree/master/pelicun/resources
The fragility_DB_FEMA_P58_2nd CSV and JSON files have the fragility function data; and the bldg_repair, bldg_injury, and bldg_redtag files have the consequence function data.

Let me know if you are interested in the old version of the data we used under PBE 2.x and I am happy to send that to you.

Adam