Versions Compared

Key

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

In the Block Model step you will be prompted to load your block models from Surpac (.mdl), Vulcan (.bmf), MineSight (.dat) or Micromine and convert it to Alastri Block Model formal format (which is .resmodel).

Table of Contents

Within Alastri’s resmodel we can take multiple block models and convert them to a common structure, common framework, with same number of fields and same fields in terms of their names. Within a single resmodel we can have multiple block models, what makes it a lot easier to store the information.

...

Press the New button to open the Reserve Model Generator.

...

  1. Press blue plus icon and import CSV file “.myblockmodel.csv”.

  2. Set the green Header Line to match the header text.

  3. Set the yellow Data Offset to match the first row of data.

  4. Press OK to finish.

...

Infotip

When importing Block Model CSV, you’ll see a preview of the first 100 rows of this CSV. It's a good time-saving feature, as your site Block models CSVs can be of a very large size and take a long time to open.

...

  • Most block models contain a material type field, such as “MatType” or “IDProduct”.

  • If there is no material type field in the block model, see the Block Model Formulas section to write your own.

...

  • Be careful to use the text T(“material”) syntax so that the parcel is read as text, not as a number.

Block Model Formulas and Logical Operators

There are a number of expressions available to use in the Reserve Model Generator.

Expand
titleBlock Model formulas

A+B

Add A and B

A-B

Subtract B from A

A*B

Multiply A and B

A/B

Divide A by B

A.ToLower()

Convert all upper case text (HG, Hg, hg) into lower case (hg)

Math.Min(A,B)

Return the minimum of A and B

Math.Max(A,B)

Return the maximum of A and B

N("density") <= 0 ? 0 : N("volume")

If density is less than or equal to zero, return zero volume, else return the volume field

A.Substring(0,Math.Min(3,A.Length))

Return the first three letters of A

( RowT("material")=="waste1" || RowT("material")=="waste2" ) ? "waste" : RowT("material")

If material is waste1 or waste2, then return "waste", else return the "material"

Expand
titleLogical operators:

And

&&

If A is "true" and B is "true" and C is "true", then return "true", else return "false"

Or

||

If A is "true" or B is "true" or C is "true", then return "true", else return "false"

Equal to

==

If A is equal to B, return "true", else return "false"

Not equal to

!=

If A is not equal to B, return "true", else return "false"

Greater than

>

If A is greater than B, return "true", else return "false"

Greater than or equal to

>=

If A is greater than or equal to B, return "true", else return "false"

Less than

<

If A is less than B, return "true", else return "false"

Less than or equal to

<=

If A is less than or equal to B, return "true", else return "false"

Fields

New reserve model fields can be created by clicking the sum, weighted, and class icons located in the top button ribbon. These add new rows into the field list.

...

7. The new custom variable will appear in the Variables list on the right in bold. Drag and drop it to map it to the applicable field.

...

.

...

Reserve Field Value Clamping

Use Minimum and Maximum columns to clamp numbers by block to be >= Minimum and <= Maximum.

This functionality can be used to help with data hygiene by ensuring that values are somewhat sensible.

...

Exporting Mapping

To facilitate the matching of fields of similar block models, the filled fields of one model can be copied and pasted into the other. The Copy Mappings and Export Fields buttons are used for this purpose.

...

Info

Always save reserve model files locally (or on the same server on which Rapid Reserver is running). When sharing work with a colleague, the Rapid Reserver file and the reserve model file should be shared together.

As such, a good rule of thumb is to save the reserve model file in the same folder as the Rapid Reserver project, to reduce confusion when sharing or backing up files.

...

Once the reserve model file has been generated, a block model summary is displayed for each loaded block model.

  • Use the Min/Max toggle to inspect the data for missing or rubbish values.

  • Check the material types, tonnes and grades for ballpark accuracy.

...

Export

You can export the entire Reserves model to a CSV file. To do this, click the Export button on the top line and specify the path to the destination folder.

The new CSV file will contain all block models, with all the blocks and all the fields existing and added by the user.

...

You can also narrow your Block Model Data export by selecting which parcels and fields you wish to export from the Reserves Summary.

...

Selected parcels and fields of the Reserves model can be exported to Excel or to Text/CSV formats.

...