Calculation of the mfds for faults with HMTK

12 views
Skip to first unread message

Doston Jumayev

unread,
Dec 14, 2025, 11:48:21 PM (3 days ago) Dec 14
to OpenQuake Users
Hello Open Quake Users,
I am trying calculate mfd from Slip Rate for each individual fault zone. The input fault files is given in .TOML format and the result is given in .xml file, attached here.
I am using following sewuences of codes to do these process:

"C:\Users\oq\AppData\Local\Programs\OpenQuake Engine\python3\python.exe" -m IPython

In [2]: from openquake.hmtk.parsers.faults.fault_yaml_parser import FaultYmltoSource

In [3]: input_file = r"C:\Users\oq\Desktop\D_P_h_D\Fault source\fault_model_3_fault_for_mfd.toml"

In [4: parser = FaultYmltoSource(input_file)

In [5]: fault_model, tect_reg = parser.read_file(1.0)

In [30]: fault_model.build_fault_model()

In [6]: output_file = r"C:\Users\oq\Desktop\D_P_h_D\Fault source\fault_mfd_result_model_3.xml"

In [7]: fault_model.source_model.serialise_to_nrml(output_file, use_defaults=True)

am wondering whether my mfd calculation is done properly or not? Because, my hazard outputs are quite higher than they are expected. Any comments and sugestions related to my calculation valuable for me. Thank you.
fault_mfd_result_model_3.xml
fault_model_3_fault_for_mfd.toml

Marco Pagani

unread,
Dec 15, 2025, 3:56:10 AM (2 days ago) Dec 15
to OpenQuake Users

Dear Donston,

Thanks for your message.

The features available in hmtk for characterizing faults are no longer maintained (and will likely be removed in the future).

You can take a look at the fault modeler, which is part of the model-building toolkit, at this link https://github.com/GEMScienceTools/oq-mbtk/tree/master/openquake/mbt/tools/fault_modeler

Some tests that you can use to learn how the tool works are available here: https://github.com/GEMScienceTools/oq-mbtk/tree/master/openquake/mbt/tests/tools/fault_modeler

Best wishes,

Marco


Hello Open Quake Users,
I am trying calculate mfd from Slip Rate for each individual fault zone.
The input fault files is given in .TOML format and the result is given in
.xml file, attached here.
I am using following sewuences of codes to do these process:

*"C:\Users\oq\AppData\Local\Programs\OpenQuake Engine\python3\python.exe"

-m IPythonIn [2]: from openquake.hmtk.parsers.faults.fault_yaml_parser

import FaultYmltoSourceIn [3]: input_file =

r"C:\Users\oq\Desktop\D_P_h_D\Fault
source\fault_model_3_fault_for_mfd.toml"In [4: parser =
FaultYmltoSource(input_file)In [5]: fault_model, tect_reg =

parser.read_file(1.0)In [30]: fault_model.build_fault_model()In [6]:

output_file = r"C:\Users\oq\Desktop\D_P_h_D\Fault

source\fault_mfd_result_model_3.xml"*

*In [7]: fault_model.source_model.serialise_to_nrml(output_file,
use_defaults=True)*

* am wondering whether my mfd calculation is done properly or not? Because,

my hazard outputs are quite higher than they are expected. Any comments and

sugestions related to my calculation valuable for me. Thank you.*

--
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/5837f309-3435-4908-8a88-548c457891a4n%40googlegroups.com.


Reply all
Reply to author
Forward
Message has been deleted
0 new messages