ERROR Liquefaction Scenario OpenQuake: ZhuEtAl2015LiquefactionGeneral

42 views
Skip to first unread message

Ridho Alfi Mubarok

unread,
Feb 6, 2026, 11:58:15 AMFeb 6
to OpenQuake Users

Hello OpenQuake community,

I am running a scenario-based (event-based) analysis with secondary perils (liquefaction) using OpenQuake Engine WebUI version 3.24 on Windows, applying the ZhuEtAl2015LiquefactionGeneral model.

My setup is as follows:

  • Analysis type: Scenario / Event-based

  • Secondary perils: liquefaction

  • Liquefaction model: ZhuEtAl2015LiquefactionGeneral

  • Site model CSV includes additional parameters vs30 and cti

  However, during execution, the calculation fails with the following error:
  2026-02-06T16:17:16.28,INFO,SpawnProcess-11/10644,min_iml=[1.e-10]

2026-02-06T16:17:16.37,INFO,SpawnProcess-11/10644,Reordering the ruptures and storing the events

2026-02-06T16:17:16.43,INFO,SpawnProcess-11/10644,Reading 1 ruptures

2026-02-06T16:17:16.44,INFO,SpawnProcess-11/10644,Affected sites ~1499 per rupture, max=1499

2026-02-06T16:17:16.45,INFO,SpawnProcess-11/10644,maxw = 2

2026-02-06T16:17:16.58,WARNING,SpawnProcess-11/10644,Sent 1 event_based tasks, 147.45 KB

2026-02-06T16:17:29.84,INFO,SpawnProcess-11/10644,Received 1 * 78 B in 13 seconds [unpik=0.00s] from event_based {'tot': '78 B'}

2026-02-06T16:17:29.88,ERROR,SpawnProcess-11/10644,AttributeError: File "C:\Users\lenovo\AppData\Local\Programs\OpenQuake Engine\python3\Lib\site-packages\openquake\baselib\parallel.py", line 437, in new val = func(*args) ^^^^^^^^^^^ File "C:\Users\lenovo\AppData\Local\Programs\OpenQuake Engine\python3\Lib\site-packages\openquake\calculators\event_based.py", line 273, in event_based yield _event_based(block, cmaker, stations, srcfilter, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\lenovo\AppData\Local\Programs\OpenQuake Engine\python3\Lib\site-packages\openquake\calculators\event_based.py", line 228, in _event_based df = computer.compute_all(None, max_iml, mmon, cmon, umon) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\lenovo\AppData\Local\Programs\OpenQuake Engine\python3\Lib\site-packages\openquake\hazardlib\calc\gmf.py", line 372, in compute_all self.update(data, result, rlzs, ms[0], max_iml) File "C:\Users\lenovo\AppData\Local\Programs\OpenQuake Engine\python3\Lib\site-packages\openquake\hazardlib\calc\gmf.py", line 291, in update o = sp.compute(mag, zip(self.imts, gmfa), self.ctx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\lenovo\AppData\Local\Programs\OpenQuake Engine\python3\Lib\site-packages\openquake\sep\classes.py", line 226, in compute pga=gmf, mag=mag, cti=sites.cti, vs30=sites.vs30) ^^^^^^^^^ File "C:\Users\lenovo\AppData\Local\Programs\OpenQuake Engine\python3\Lib\site-packages\numpy\core\records.py", line 455, in __getattribute__ raise AttributeError("recarray has no attribute %s" % attr) from e AttributeError: recarray has no attribute cti.

For reference, I am attaching the configuration file (*.ini) and the site model CSV used in this scenario-based analysis.

I would greatly appreciate any guidance on how to resolve this issue so that the liquefaction modeling can run successfully.

Thank you very much for your help.

job.ini.jpegsite.jpeg

Lana Todorovic

unread,
Feb 7, 2026, 8:45:37 AMFeb 7
to OpenQuake Users
Dear user,

Please check the demos file and specifically how to format the site_model.csv (I think the error lies in the way your csv file is formatted):

https://github.com/gem/oq-engine/tree/master/demos/hazard/EventBasedLiquefaction 

Should you experience any further issues, please do attach the input files so I can further inspect. 

Hope this helps,
Lana

Ridho Alfi Mubarok

unread,
Feb 7, 2026, 9:57:39 AMFeb 7
to openqua...@googlegroups.com
The CSV data I used contain CTI and Vs30 parameters, which have been adjusted to meet the input requirements of the liquefaction model I selected, namely the Zhu et al. (2015) Liquefaction General Model. The data format has also been adapted based on the demo file you previously recommended. In addition, I have tried using several different versions of the OpenQuake Engine, but I continue to encounter the same error message. Therefore, I am attaching the input file I used for further review, in order to verify its compliance with the model specifications and OpenQuake Engine requirements. Thank you for your time and assistance.

--
You received this message because you are subscribed to the Google Groups "OpenQuake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/openquake-users/14cfa6a5-e79b-4cc9-a28f-37f0fb8bca24n%40googlegroups.com.
ScenarioHazard likuefaksi2.zip

Lana Todorovic

unread,
Feb 7, 2026, 10:23:57 AMFeb 7
to OpenQuake Users
Dear User,

Many thanks for sharing the inputs. As you pointed out, the site_model.csv file is formatted correctly. What could resolve you issue is removing this part from your job.ini file:
[Hazard sites] region_grid_spacing = 5 region = 126.9 2.43, 129.3 2.43, 129.3 0.3, 126.9 0.3
I am attaching the slightly modified job.ini file. Let me know if other issues appear.

Best regards,
Lana
job.ini

Ridho Alfi Mubarok

unread,
Feb 7, 2026, 11:20:42 AMFeb 7
to openqua...@googlegroups.com
  Thank you very much for the tips and suggestions you provided. They were very helpful and successfully resolved the issue I encountered.  

Reply all
Reply to author
Forward
0 new messages