Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the next section of the example above you will see some <rule> </rule> tags between <statement> </statement> tags. These are the rules to determine if SF_S1_1 fragility should be used for a particular building. If you look at the first rule where it says:

<rule>int no_stories GE 4</rule>

The first part that says int tells MAEviz what type of data to look for. The second part where it says no_stories tells MAEviz which column to look at, so in this case, there should be a column in the building dataset called no_stories. For reference, if you look in the previous section it was specified that the column no_stories should be of type integer. Now, the third part tells MAEviz what type of comparison to perform. In this case, we are looking for something that is greater than or equal to (GE) to 4. For our building to pass this first rule, it must have a no_stories column with a value greater than or equal to 4. If it matches, MAEviz will check the next rule, in this case, the next rule states that there must be a column called no_stories that is of type integer, with a value less than or Equal to 7 (LE). In order to use this set of fragilities a building must match all of the rules between <map> </map>. If any fail, MAEviz will move onto the next <property-match> </property-match> tags that contain the next fragility curve and its rules.

...