Author Topic: EDP keys  (Read 326 times)

ioannis_vm

  • Newbie
  • *
  • Posts: 5
    • View Profile
EDP keys
« on: September 27, 2021, 04:48:52 AM »
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

  • Moderator
  • Newbie
  • *****
  • Posts: 36
    • View Profile
Re: EDP keys
« Reply #1 on: September 28, 2021, 05:13:42 AM »
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

  • Moderator
  • Newbie
  • *****
  • Posts: 36
    • View Profile
Re: EDP keys
« Reply #2 on: October 11, 2021, 08:46:59 PM »
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