EDP keys - ioannis_vm, September 27, 2021 #296
-
Hello!
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
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)
|
Beta Was this translation helpful? Give feedback.
-
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
|
Beta Was this translation helpful? Give feedback.
-
I was able to get PFV to work without any problem in Pelicun ver.3. 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. Pooya Rezvan
|
Beta Was this translation helpful? Give feedback.
-
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
|
Beta Was this translation helpful? Give feedback.
-
Hi Adam, I appreciate your detailed and helpful response. It is now completely clear how to add a new EDP to the mentioned list. I also wanted to suggest adding "Link rotation angle" to the list of EDPs in the next version. Thank you so much, Pooya
|
Beta Was this translation helpful? Give feedback.
-
Hi Pooya, Thanks for drawing my attention to this issue. I've added a few demand types so that everything listed in the fragility database is now supported by Pelicun. Specifically, I've added these new types:
Let me know if there is any other demand type you would find useful to have in Pelicun. Adam
|
Beta Was this translation helpful? Give feedback.
-
I forgot to mention in my previous message that I've made a new release (v3.1.b7) to make these changes immediately available for you to use.
|
Beta Was this translation helpful? Give feedback.
Hi Pooya,
Thanks for drawing my attention to this issue. I've added a few demand types so that everything listed in the fragility database is now supported by Pelicun. Specifically, I've added these new types:
Let me know if there is any other demand type you would find useful to have in Pelicun.
Adam