Skip to content

Risk calcs fail for certain liquefaction models #10892

@LanaTodorovic93

Description

@LanaTodorovic93

In the current engine's master, there are two models for calculating lateral spread displacements that are stored in hazardlib/gsim:

However, when attempting to run a risk calculation using either of these two models (see attached test files), the following error is raised:

  File "C:\Users\lanat\GEM\oq-engine\openquake\commonlib\oqvalidation.py", line 1731, in set_risk_imts
    raise ValueError(f'The risk functions contain {imt} which is '
ValueError: The risk functions contain LSD which is not in the secondary IMTs set()

This issue occurs consistently with both models, while other sep models run without any problems.

job.zip

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions