Logic tree structure question

33 views
Skip to first unread message

David Cohen

unread,
May 11, 2021, 1:28:10 PMMay 11
to OpenQuake Users
I am working on a logic tree for a site with 16 faults, one of the faults has three different lengths, another has two lengths. I am varying the dip angle, for the 16 faults there are many different variations but some have common angles.

My error message is that dip60 is not unique, but dips 40, 50,  60, and 75 are common throughout.

Is my logic structure inadequate?

David 
All_faults_source_model_logic_tree.rev.xml

David Cohen

unread,
May 11, 2021, 5:46:06 PMMay 11
to OpenQuake Users
I revised the logic tree file, because there were duplicate dip angles. Now I have isolated the dip angle at the end of the file, but the problem is that I want to use the dip angle tree for all the 16 faults.
 I used:

<logicTreeBranchingLevel branchingLevelID="bl59">
            <logicTreeBranchSet uncertaintyType="simpleFaultDipAbsolute"
                                branchSetID="bs_flt2_abs_dip"
                                applyToSources="AR-0000a""AR-0002""AR-0004""AR-0084""AR-0122""AR-0132""AR-0139""AR-0166""AR-0248""AR-0249""AR-0250""AR-0251""AR-0252""AR-0254""AR-0271""AR-0290">

                <logicTreeBranch branchID="dip50">
                    <uncertaintyModel>50.0</uncertaintyModel>
                    <uncertaintyWeight>0.30</uncertaintyWeight>
</logicTreeBranch>

                  <logicTreeBranch branchID="dip60">
                    <uncertaintyModel>60.0</uncertaintyModel>
                    <uncertaintyWeight>0.40</uncertaintyWeight>
                </logicTreeBranch>

                <logicTreeBranch branchID="dip75">
                    <uncertaintyModel>75.0</uncertaintyModel>
                    <uncertaintyWeight>0.30</uncertaintyWeight>
                </logicTreeBranch>

But it gave an invalid token error.
Then I tried:

<logicTreeBranchingLevel branchingLevelID="bl59">
            <logicTreeBranchSet uncertaintyType="simpleFaultDipAbsolute"
                                branchSetID="bs_flt2_abs_dip"
                                applyToSources="AR-0000a"
applyToSources="AR-0002"
applyToSources="AR-0004"
applyToSources="AR-0084"
applyToSources="AR-0122"
applyToSources="AR-0132"
applyToSources="AR-0139"
applyToSources="AR-0166"
applyToSources="AR-0248"
applyToSources="AR-0249"
applyToSources="AR-0250"
applyToSources="AR-0251"
applyToSources="AR-0252"
applyToSources="AR-0254"
applyToSources="AR-0271"
applyToSources="AR-0290">
                <logicTreeBranch branchID="dip50">
                    <uncertaintyModel>50.0</uncertaintyModel>
                    <uncertaintyWeight>0.30</uncertaintyWeight>
</logicTreeBranch>

                  <logicTreeBranch branchID="dip60">
                    <uncertaintyModel>60.0</uncertaintyModel>
                    <uncertaintyWeight>0.40</uncertaintyWeight>
                </logicTreeBranch>

                <logicTreeBranch branchID="dip75">
                    <uncertaintyModel>75.0</uncertaintyModel>
                    <uncertaintyWeight>0.30</uncertaintyWeight>
                </logicTreeBranch>
            </logicTreeBranchSet>
        </logicTreeBranchingLevel>

but I got a duplicate attribute since I have dublicate applyToSources

Is there anyway to make this work?

David

Michele Simionato

unread,
May 12, 2021, 3:33:11 AMMay 12
to OpenQuake Users
You should look at the tests of the engine. Then you will see that the right syntax is something like this:

applyToSources="1 2 3 4 5 6 7 8 10" 

(see openquake/qa_tests_data/classical/case_36/source_model_logic_tree.xml, the description of the test
is "applyToSources with multiple sources"). This is also documented in the manual.

        Michele

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