Addition Parameters

Use this option to perform operations on the values from the same variable in two different block models and see the results in a third block model. The two block models are combined according to the block size, offsets, and origin point specified for the resulting model in the block model definition file (.bdf). The two models may be overlapping each other totally, partially, or not at all.


Instructions

On the Block menu, point to Transfer, then click Addition Parameters.

Important:  The block models must be indexed prior to using Block Model Addition. To index the block model, see Block > Manipulation > Index.

Specifications

Follow these steps:

  1. Select the first block model from the drop-down list. The file name, including the (.bmf) file extension, can be up to 256 alphanumeric characters in length.

  2. Select the second block model from the drop-down list.

    Note:  It does not matter which model you select as the first or second one. Only the variables are stored in the resulting (.bdf) file. The names of the block models are not stored.

  3. Select the name of the new block model definition file (.adf) to be created from the drop-down list, or enter a name for a new one. The file name, including the file extension, can be up to 256 alphanumeric characters in length.

    Note:  The block model definition file name is taken from the new block model name. For example, if you enter FINAL as the new block model name, then your block model definition file will be named <proj>FINAL.adf.

  1. The option Prioritize speed over memory usage is enabled by default. However, you may disable this feature if you want to do so. On older computers or when manipulating very large models it may be beneficial to disable this option.

Output Schema

The final model constraints (block extents and block size) are controlled by a schema.

Follow these steps:

Schema Selection

  1. Select a schema.

    Note:  The first and second model parent schemas must be multiples of each other. The final model's parent schema must encompass both other parent schemas.

    • Parent schema from <model_1> - Select this option to use the parent schema of the first block model.

    • Parent schema from <model_2> - Select this option to use the parent schema of the second block model.

    • Combined Parent schemas - Select this option to use the parent schemas of both models. The schema will encompass the model one and two schemas.

  2. Enter the Offset min/max distances required to define the 3D extent of the model. The distances are relative to the origin.

  3. Enter the Origin. The origin defines the start of the offsets in the schema and the pivot for rotations.

  4. Enter the maximum Block size for the X, Y, and Z directions.

    The schema for the new (combined) model is then calculated. Sub-blocks are created based on the minimum number of cells required to represent the geometry of the new block model from the smallest cells available. See the Schemas option (under the Construction submenu) for more information on sub-blocking.

  5. Click the View Extents button to show the extents of the input and output models on the screen.

Variables

Follow these steps:

Select how you want to populate the table.

  • Click Populate to automatically populate the table with the variable names and data from both block models.

  • Click Populate From First Only to automatically populate the table with the variable names and data from the first block model listed.

  • Click Populate From Second Only to automatically populate the table with the variable names and data from the second block model listed.

Tip:  You can also use this table to add variables in addition to the variables of the two block models.
There are two reasons for allocating variables to the new model. One is a measure and the other shows type.
1. The variable may represent some measurement such as a grade estimation for that volume.
2. The other is that the variable may represent a boundary, for example, one side of a surface or inside a certain geological zone, or ore and waste.
Note: The number of variables in the new model cannot exceed 300.

Table Columns

Resultant Variable

Use this column to enter a variable name for the block model that will be created by the addition of the other two. The variable name, which can contain a maximum of 30 alphanumeric characters, must start with a letter. Block model variables that will be used for export to Isis databases should not have a name exceeding 5 alphanumeric characters.

Variable Description

Enter an optional 40 alphanumeric character description of the variable.

Create Variable

For each variable that you want to include in the new model, check the Create variable check box.

Default value

Enter the default value. The following characters may be used in combination with the default value, but not on their own:

[ ] ( ) { } %, + - * / &

Note:   We recommend that the default value is not a true value, that is, the default value does not occur in the block model. The reason for this is that in reserves reporting, default values are reported as an "unknown" category. For example, if you assign 2.8 as the default value for SG, and 2.8 happens to also be the global block SG value, then the reserves calculation will report the "true" 2.8 values in the wrong category (the "unknown" category). It is therefore better to use a non true default value such as -99 and then run a script to re-assign all blocks to 2.8. This way the blocks with SG = 2.8 will be reported in their correct category.

Important:  Byte and short data types must not have a negative default value because they are unassigned.

Data Type

  • Name - This is used for character type data. It is only possible to add one character type variable at a time. The description is entered in the Description field.

  • Byte - <Integer * 1 > - This uses a single byte of memory. Using byte data type saves significant memory particularly if you have a rock code that is an integer in the range 0 to 255.

  • Short <Integer * 2 > - This is a short integer taking two bytes of memory in the range -32767 to +32767.

  • Integer <Integer * 4 > - This is a fixed point number (-2,147,483,648 to +2,147,483,647).

  • Float - <Real * 4 > - This is a real number. It is generally used for single precision numerical data codes such as grades and densities - up to seven significant figures.

  • Double - <Real * 8 > - This requires two consecutive storage units providing greater precision than real number types and is used for numbers up to 14 significant figures.

Note:   Variables to be used as the estimated grade in grade estimation must be of a float or double data type.

Generate Output Value Method

The following options relate to how the variables are to be merged. Only one method can be chosen.

  • Assign Default Value - Select this option to assign the default value to the block.

  • Dominance - Select this option to use the values of the first and second model variables for the variable of the new model. Refer to figures 5 and 6 for a graphical example: Select, from the drop-down lists, the variables. In the lists, the block model name precedes the variable name.

    Figure 1 : Model 1/2 Values

    Check whether the variable from first or second model takes preference for the overlapping area.

    Figure 2 : Overlapping Area Values

  • Average of variables - Select this option to use the average values of the first and second model variable for the variable of the final model. Averaging variables does not apply to name variables.

    Example:  Using figure 5 as an example, the average value for the first cell would be 0.55 (0.6 if rounded), that is, value in the first model is 0.1 and in the second 1.0. Select, from the drop-down lists, the variables from which to calculate the average. In the lists, the block model name precedes the variable name.

  • Sum - Select this option to sum the values of a variable from the first and second model and see the resulting value in the resultant model.

  • First minus second - Select this option to subtract the value of a variable in the second model from the value of a variable in the first model and see the resulting value in the resultant model.

  • Direct mapping - Select this option to use variable values of one model only. Select, from the drop-down list, the variable. In the list, the block model name precedes the variable name.

  • Use Scripting File - Select this option to use an existing script file for the variables of the final model. The drop-down list contains <proj><var>.bcf and <proj><name>.bcf script files. Click Browse to select a file from another location.

    The first type is generated automatically through the Variable dominance, Average of variables, and Direct variable mapping options on this panel.

    The second type is created through the Manipulation > Edit Script option. The <proj><var>.bdf file is a simple script file. It contains the variables and a default value that is used for the new model if no values exist.

    Automatically Generated Script File

    IF (m1:material ne "-99999999")
    THEN 
        m3:mineralisation = m1:material
    ELSE
        m3:minieralisation = "waste"
    ENDIF
    END

    where :

    m1 is the first model (there is only one model as the file was created as a result of selecting the Direct Mapping Variable option)

    m3 is the final model. For more complex conditions, use the Manipulation > Edit Script option.

    Variables in the second model are skipped if they are identical to a variable in the first model.

First Model Input Variable

Select the input variable from the first of the two block models used to perform the addition.

Second Model Input Variable

Select the input variable from the second of the two block models used to perform the addition.

Mapped Variable

Note:  This option is available only if you have selected Direct Mapping in the Generate Output Value Method column.

After clicking the button, use the drop-down list to select the dominance order of the variables. In the list, the block model name precedes the variable name.

Use Scripting File

Note:  This option is available only if you have selected Use Scripting File in the Generate Output Value Method column.

After clicking the button, use the drop-down list to select a script file. The list will only contain <proj><var>.bcf and <proj><name>.bcf script files. Click Browse to select a file from another location.

Buttons

Create ADF - Click to generate a block definition file (.adf).

Run Addition - Click to generate a block definition file (.adf), and run the addition program.

Cancel - Click to exit the panel without saving any of your changes.