Research in Natural Hazards Engineering > Damage & Loss (PELICUN)

EDP keys

(1/2) > >>

ioannis_vm:
Hello!
I got a key error when I used a response.csv file containing peak floor velocities, labeled as PFV (e.g. 1-PFV-1-1).
In file_io.py, line 547, I see that the keys are different than those explained in the docs
https://nheri-simcenter.github.io/pelicun/common/user_manual/usage/pelicun/res_data.html.
Is there support for PFV, and what key should I specify?
Thank you

adamzs:
Hi Ioannis,

PFV should work and your label seems correct. It is not even a new feature, so I am surprised to see a bug there.

Which version of pelicun do you use? (You can check it in the __init__.py file, or by importing pelicun and running the pelicun.__version__ command in Python)

adamzs:
Hi Ioannis,

Did you manage the get PFV to work?

If not, I would appreciate it if you could share more information about the environment you use so that we can find the reason behind the error you experience and fix it.

Thank you

rezvan:
I was able to get PFV to work without any problem in Pelicun ver.3.
I only do not know what units are supported by the Pelicun module for PFV. I tried 'mps' which I guess stands for meter per second and it worked well.

However, in FEMA P-58 only some cabinets and bookcases are sensitive to velocity whose repair costs are not even defined in the FEMA database.
So I personally believe that unless the user does not have any special velocity-sensitive component, this EDP does not have any significant effect on the results.

Pooya Rezvan,

adamzs:
Hi Pooya,

Thank you for the feedback!

Let me provide some information on the available EDPs and units in pelicun. Both are quite easy to check in the base.py module of the library, here:

https://github.com/NHERI-SimCenter/pelicun/blob/master/pelicun/base.py

The list of supported EDPs is in the EDP_to_demand_type dictionary, currently at line 680.

The supported units are listed a bit earlier in the code, currently in lines 540 - 644. Internally, pelicun uses Standard Units. Each EDP has a particular unit type (e.g., acceleration, speed, length) associated with it. Any unit within the corresponding type is available and should work for an EDP. If you need a unit that is not already listed in base.py, you can simply add a new line with a conversion constant to an existing unit to make it available.

Let me know if you have more questions.

Adam

Navigation

[0] Message Index

[#] Next page

Go to full version