Reference PDF
Reference PDF
Reference Manual
1
Copyright 1996, 1997, 1999 Whittle Programming Pty Ltd. All rights reserved.
Apart from any use as permitted under the Berne Convention and the relevant Copyright Act of each
country, no part of this publication may be reproduced by any process without prior written permission
from Whittle Programming Proprietary Limited, Melbourne, Australia, A.C.N. 065 377 004.
This version of the Four-X Manual was released with revision 1.10 of Four-X.
email: [email protected]
web: www.whittle.com.au
2
High Level Table of Contents
Chapter 3: Slope Profile, Profile Number and Additional Arcs Files ____________________227
3
High Level Table of Contents
5 July, 1999
High Level Table of Contents, Continued
Chapter 1: General Techniques for Getting the Most out of the Package_________________269
4
High Level Table of Contents
5 July, 1999
Detailed Table of Contents
5
Detailed Table of Contents
5 July, 1999
Detailed Table of Contents, Continued
6
Detailed Table of Contents
5 July, 1999
Detailed Table of Contents, Continued
7
Detailed Table of Contents
5 July, 1999
Detailed Table of Contents, Continued
Chapter 3: Slope Profile, Profile Number and Additional Arcs Files ____________________227
Overview__________________________________________________________________227
Section A: Slope Profile File_____________________________________________________228
Overview and Layout ________________________________________________________228
Section B: Profile Number File___________________________________________________230
Overview and Layout ________________________________________________________230
Section C: Additional Arcs File __________________________________________________232
Overview and Layout ________________________________________________________232
Chapter 1: General Techniques for Getting the Most out of the Package_________________269
Section A: Iteration ____________________________________________________________269
Section B: From Optimized Outline to Design _______________________________________270
Section C: Using a Spider Diagram to Plot Data About the Sensitivity of a Project___________273
8
Detailed Table of Contents
5 July, 1999
Detailed Table of Contents, Continued
9
Detailed Table of Contents
5 July, 1999
Detailed Table of Contents, Continued
10
Detailed Table of Contents
5 July, 1999
Using this Manual
Introduction Four-X is a powerful and complex package and this Reference Manual has been
created to help you find what you need to know about the package as quickly
and easily as possible.
There are single and multi-element versions of the package but, since the only
difference between them lies in the number of elements allowed, this Reference
Manual applies to both versions. There are separate Getting Started Manuals
for the two versions.
Conventions used in this Manual
There are a number of conventions that have been set up to help you learn
about Four-X. This topic details these conventions.
↵”
Enter symbol “↵ In this Manual, the symbol “↵” is used to indicate that you need to press the
“Enter” (or Return) key.
Here is an example.
↵
In response to the question, “Please enter a name for the print file”, type: tut1↵
In the preceding example, the “↵” indicates that you need to press the Enter key
after typing “tut1”.
Square brackets
“[ ]” Whenever a default response to a question asked by the Four-X program is
shown, that response is enclosed in square brackets: “[ ]”.
Here is an example.
In the preceding example, “400” is the default price for GOLD given by
Four-X.
The default response will be used by the program if the user presses the Enter
key (↵) without typing in any information.
11
Using this Manual
5 July, 1999
Using this Manual, Continued
Angle brackets Throughout the Manual, angle brackets “< >” are used to indicate that the
“< >” appropriate codes or values should be inserted where the brackets appear,
replacing the brackets and any information enclosed by them.
Here is an example.
<method>.<element>
For more information, see Using this Manual, starting on page 11.
The language file is always called fx.lng no matter what language is involved.
12
Using this Manual
5 July, 1999
Using this Manual, Continued
Program names As the user has two means of accessing the Four-X programs, that is via the
and Command Menu or from the Command Line, each of the Four-X programs has two names:
Line names
• A Program name
• A Command Line name
In this Manual, Program names have been used in preference to Command Line
names.
The following table lists Four-X Program names and their corresponding
Command Line names.
13
Using this Manual
5 July, 1999
Using this Manual, Continued
Terminology There are a number of special terms used in this Manual. These are explained
in the body of the text and in the Glossary at the back of the Manual.
Abbreviation Term
CAF Cost Adjustment Factor
G&A costs General and Administration costs
GMP Generalised Mining Package
IRR Internal rate of return
k thousand(s)
m million(s)
NPV Net Present Value
PC Personal Computer
14
Using this Manual
5 July, 1999
Part 1: The Four-X Package
Overview
15
Part 1: The Four-X Package
5 July, 1999
Introducing Four-X
Background Four-X analyses and forecasts the optimal pit for long term projects†. There is
a single element version and a multi-element version.
Using the information assembled during exploration and all possible economic
scenarios, Four-X can provide a nested set of 40-100 optimal pit outlines‡ ,
each with a range of possible economic projections. It can give detailed
analyses of quantities, grades, stripping ratios, cash flows and discounted cash
flows.
In a multi-element situation, Four-X allows the user to consider the elements
individually, without having to create equivalent metal formulations.
Four-X is similar in usage to Whittle Four-D (which only handles one element),
but has a number of significant facilities that Four-D does not. For more
information, refer to Differences Between Four-X and Four-D, on page 394.
Four-X can be used for project scoping, for feasibility studies, for sensitivity
work, for risk analysis, for scheduling, and for deciding where to drill. Some
idea as to the breadth of its scope can be gleaned from the list of papers which
can be found on the Whittle Web site on http://www.whittle.com.au. Copies of
many of these papers are obtainable from Whittle Programming free of charge.
How Four-X Four-X operates on a regular block model of the ore body.
operates
Typically, the blocks in the block model contain:
• Material containing product
Depending on the potential revenue from the product it contains, the material
may or may not be worth processing.
• Material containing no product
This material is always mined as waste.
• Air
This distinguishes blocks above the topography from those below it.
By applying different factors to the revenue and re-optimizing for each factor,
Four-X produces a set of nested pits which are used to guide the mining
sequence during simulation of the operation of the mine.
The mining sequence is translated into a long-term production schedule, with
cash flows and discounted cash flows. This allows the user to select the pit
which is most suitable for the user’s aims.
†Long term projects are those that will run for more than 2-3 years.
‡Four-X uses a computer implementation of the Lerchs-Grossmann method. See H. Lerchs & I. F.
Grossmann, “Optimum Design of Open-Pit Mines”, Joint C.O.R.S. and O.R.S.A. Conference, Montreal, May
27-29, 1964, in Transactions, C.I.M., 1965, pp.17-24.
16
Part 1: The Four-X Package
5 July, 1999
Program Description
Introduction The Four-X package consists of eight separate programs. These programs are
described below.
The Re-blocking The Re-blocking Program allows you to modify Model and Results Files and to
Program (FXRE) create new Model, Results or Pit List Files.
The Re-blocking Program can operate in five different modes and depending on
the mode used, it can:
• Extend and truncate model frameworks, in any direction
• Merge element data from multiple single element models into one
multi-element model
• Combine blocks into bigger blocks and/or split blocks into smaller blocks,
along each of the three axes independently
• Mine out/strip off some of the pits found in a Results File
• Calculate positional mining and processing CAFs
• Limit the output blocks to those whose centres lie within a polygon specified
by the user
• Create a modified Parameters File that reflects changes to the model
framework.
The Structure Arcs The Structure Arcs Program prepares a file of “structure arcs” that describes the
Program (FXST) slopes you require in a form that is suitable for use in the pit optimization.
The Optimization The Optimization Program carries out the pit optimizations, and produces a
Program (FXOP) Results File containing the different pit outlines.
17
Part 1: The Four-X Package
5 July, 1999
Program Description, Continued
The Pit The Pit Visualisation Program creates a print file containing diagrams in the
Visualisation form of plans and sections of the pits or of the different push-backs.
Program (FXPI)
The Mining Width The Mining Width Program modifies a set of push-back outlines and a final pit
Program (FXMI) based on specified pit numbers. It adjusts the shapes of the outlines, so as to
produce practical push-backs that satisfy mining width conditions.
The Analysis The Analysis Program allows you to simulate the operation of the mine over its
Program (FXAN) lifetime, under a wide range of throughputs and economic circumstances.
This allows you to select the best pit outline and the best way of operating the
mine long-term, according to almost any criteria.
In addition, if required, the Analysis Program can produce:
• A Mining Sequence File
• Opti-Cut Sequence and Economic Text Files
• Spreadsheet output.
For more For more information about the programs in the Four-X package, see Part 2:
information The Programs, on page 29.
18
Part 1: The Four-X Package
5 July, 1999
Files
Introduction Four-X uses a wide range of files. Some are created by your GMP or by
Four-X itself and others are supplied with the package.
This section contains a description of each of the files that you will use.
19
Part 1: The Four-X Package
5 July, 1999
Files, Continued
20
Part 1: The Four-X Package
5 July, 1999
Files, Continued
21
Part 1: The Four-X Package
5 July, 1999
Files, Continued
Description A text file that contains details of the pit shells and all
of the blocks within the optimized pit for an infinite
Revenue Factor.
Created by • The Optimization Program
• The Re-blocking Program
Used by • The Re-blocking Program
• The Pit Visualisation Program
• The Mining Width Program
• The Analysis Program
• The Utilities Program
Further information See page 223.
22
Part 1: The Four-X Package
5 July, 1999
Files, Continued
23
Part 1: The Four-X Package
5 July, 1999
Files, Continued
Print files Print files are files in which the programs store the results of their runs.
All programs, except for Edit Parameters Program, create print files and Four-X
has a different print file extension for each of the programs. Here is a list of
print file extensions.
24
Part 1: The Four-X Package
5 July, 1999
Files, Continued
On a PC On UNIX
To view a print file, type: To view a print file, type:
EDIT <filename and more <filename and
extension>↵ extension>↵
- or - - or -
TYPE <filename and pg <filename and
extension> | MORE↵ extension>↵
To print a print file, type: To print a print file, type:
print <filename and lp <filename and
extension>↵ extension>↵
25
Part 1: The Four-X Package
5 July, 1999
Files, Continued
Log files Log files are files that contain abbreviated prompts and answers. They can be
used to re-run a program using the previously logged set of prompts and
answers.
Four-X has a different log file extension for each of the main programs.
For more information about using log files, see page 275.
26
Part 1: The Four-X Package
5 July, 1999
Files, Continued
Filenames and Four-X has special facilities for handling filenames and extensions to minimize
extensions data entry.
As programs are run, the filenames and the extensions used are recorded in the
initialization file, fx.ini. In a subsequent run of the same, or a different
program, these recorded filenames will be offered as defaults.
Note: If you type in a filename without an extension, Four-X will add the
default extension for a file of that type.
If Four-X adds an extension to a filename, it will match the case of the
extension to the case of the last alphabetic character in the name.
Using your own file extension
To use your own file extension instead of the default extension, type in an
extension after the filename.
If you want to make sure the filename has no extension, you should end it with
a full stop (.).
Note: As a general rule, it is not advisable to do use a different file extension
from the default file extensions. This is because the different default extensions
have been designed to distinguish the different types of files.
27
Part 1: The Four-X Package
5 July, 1999
Files, Continued
Naming files As you control the names of the files that come from your GMP and are created
by Four-X, the following may be useful when choosing names for those files.
Use a project name or code and series number
Four-X has been set up so that it is possible to run all of the programs using the
same name part, and letting the program add the appropriate default extension.
Because of this, the use of a project name or code, and a series number may be
the easiest way of maintaining filename consistency for a project.
Filename limitations
• In Four-X, for both PCs and UNIX, there is an overall limit of 50 characters
for the filename and any directory path name.
• Under DOS, file and directory names are limited to a name part of 1 to 8
characters and an extension of up to 3 characters.
• As mentioned above, Four-X uses filename extensions to distinguish the
different types of files.
28
Part 1: The Four-X Package
5 July, 1999
Part 2: The Programs
Overview
Approaches to Before looking at the programs in detail, consider the following approaches to
using Four-X using Four-X.
Approach 1: The following table sets out the minimum required to do a detailed pit design.
minimum required
Step Description
1. Export a Model File from your GMP.
2. Work out the expected costs and prices.
3. Decide on your slope requirements, allowing for the location of the
haul roads.
4. Use the Structure Arcs Program to pre-calculate the slopes and to
create a Structure Arcs File.
5. Use the Optimization Program to create a Results File containing
nested pits.
6. Use the Analysis Program to analyse the Results File and to decide
which pit to use.
7. Import the pit outline from the Results File back into the GMP and
do the detailed pit design, using the outline as a guide.
29
Part 2: The Programs
5 July, 1999
Overview, Continued
Approach 2: The tables below detail a two-stage approach, using two different block sizes.
recommended
approach This approach will give you a good understanding of the economic and slope
sensitivity of the pit, and should lead to a design that is stable in the face of
change.
There are many possible variations of this approach, which you will develop
with experience.
Stage one:
sensitivity work
Step Description
1. Export a Model File from your GMP.
In addition, we recommend that you:
• Use the Pit Visualisation Program to prepare plans and sections
of the file. This will enable you to check that the exporting
procedure has placed the blocks where you expect them to be.
• Use the Utilities Program to check quantities, rock-types, and so
forth.
2. If the model is too big for sensitivity work (see Block Sizes on page
307 for more information), use the Re-blocking Program to
re-block it. (Note: You should keep the original file for later use).
3. Work out the expected costs and prices
4. Decide on your slope requirements, allowing for the effect of the
haul roads.
5. Use the Structure Arcs Program to prepare a Structure Arcs File.
6. Use the Optimization Program to produce a Results File
containing nested pits.
7. Use the Analysis Program to do some preliminary analysis runs for
different pit sizes, and then select the best pit for your purposes.
30
Part 2: The Programs
5 July, 1999
Overview, Continued
Step Description
8. Use the Pit Visualisation Program to prepare plans and sections of
the pit that you selected in step 7.
Check that:
• The pit is roughly the shape and size that you expected
Are your assumptions about the scale of the project still correct?
• The pit contains no unexpected “craters” due to bad values in the
Model File
You may have to fix the Model File in your GMP and start again.
• The pit does not hit the side of the model framework
You may have to extend the model either in your GMP or with
the Re-blocking Program.
• The haul roads will fit where you have laid back the slopes to
allow for them
You may have to adjust the slopes and re-create the Structure
File.
If there is anything wrong, make the necessary corrections and
repeat the processing as required.
9. Use the Analysis Program to do more extensive analysis runs to
explore all of the economic and throughput sensitivities of the
project.
If you are using multiple push-backs, use the
Mining Width Program to tidy up the outlines, and make use of
the Milawa Algorithm in the Analysis Program to optimize the
mining schedule.
If the scale of the operation is radically different from what you had
expected, re-calculate the costs and go back to step 6.
10. If you want to explore the sensitivity of the project in relation to the
pit slopes, go back to step 5.
11. Consider using a cut-off grade optimizer to see if the project can
benefit from varying the cut-offs with time.
31
Part 2: The Programs
5 July, 1999
Overview, Continued
Note: It will be easier to keep track of the files created by the programs if you
are very systematic in your use of filenames, and if you keep notes on what you
do. Refer to page 28 for guidelines on the naming of files.
Note also: You will require several versions of the Parameters File, which can
be prepared with the Edit Parameters Program. To simplify the explanation
above, they are not discussed here. For information about Parameters Files, see
page 178.
Acknowledgement The clip art included in this part of the Manual is provided by permission of
CorelDraw Corporation, © 1996. All rights reserved.
32
Part 2: The Programs
5 July, 1999
Chapter 1: Edit Parameters Program (FXED)
Overview
33
Part 2: Edit Parameters Program
5 July, 1999
Section A: Using the Edit Parameters Program
Menu System
Example Menu This is an example of the type of Menu that you will be using in the Edit
Parameters Program.
¯ X. eXit
The items in the example Menu are discussed in the table below.
Item Description
¬ This line identifies the program as the Edit Parameters Program.
- This line identifies title of the Menu.
® These lines specify the options available in this Menu.
¯ This line identifies the eXit option.
This option always gets you out of the Menu back to a higher level,
except in “The Main Menu”, where it terminates the program.
° There is a prompt for you to type in your choice from the options,
above. The default choice is always [X], the exit option.
34
Part 2: Edit Parameters Program
5 July, 1999
Menu System, Continued
Selecting an option In the Edit Parameters Menu system, some of the options have a single letter to
the left of them. This means that those options are currently available.
To select an option, type the letter to the left of the option and then press the
Enter key (↵).
For example, in the example Menu above, if you typed the letter “O”, you
would select <Option 1>.
Note:
• You can use either upper or lower case letters.
• The letter to the left of the option is always capitalised in the option itself.
If an option does not have a letter to the left of it, it means that the option is not
currently available, and you cannot choose it.
Most options cause the program to prompt you for more information.
Where the option is followed by an ellipsis (. . .), as in <optioN 5> above, this
indicates that the option leads to another Menu, possibly after prompting you
for some information.
The Menus are described in detail in Section B: The Menus, on page 37.
35
Part 2: Edit Parameters Program
5 July, 1999
Using the Program
(Depending on the version, the second line may read “Single element”.)
Press the Enter key (↵) and the Edit Parameters Main Menu will be displayed.
From this Menu, you can:
• Open an old file for editing
• Create a new file
• Change to a new file name
• Validate the data
• Save the data
For more information, see page 38 .
Stage Description
1. • Open the Parameters File you want to change
• Create a new Parameters File
If you are creating a new file, the Edit Parameters Program asks
you if you want to use an existing file as a starting point.
2. Edit the data in the file
3. Validate the data, and correct it by further editing if necessary
4. Save the data
5. Exit the program
36
Part 2: Edit Parameters Program
5 July, 1999
Section B: The Menus
Menu Structure
Menu structure The diagram below shows the Edit Parameters Program Menu structure.
37
Part 2: Edit Parameters Program
5 July, 1999
Main Menu
Introduction This topic discusses the various options available from the Edit Parameters
Program Main Menu.
The options available from the Main Menu are discussed below.
38
Part 2: Edit Parameters Program
5 July, 1999
Main Edit Menu Options
Main Edit Menu If you choose the “Edit the data” option from the Main Menu, the Edit
Parameters Program will display the Main Edit Menu. It looks like this.
Main Edit Menu The table below sets out the Main Edit Menu options.
options
Option leads to … See page
edit Header comments… Header Comment Edit Menu 40
edit the Dimensions… Dimensions Edit Menu 40
edit the Global values… Global Values Edit Menu 40
edit the Sub-regions… Sub-region Select Menu 41
edit the Elements… Element Edit Menu 42
edit the expression Expression Edit Menu 42
Formulae…
edit the Rock-types… Rock-type Edit Menu 42
edit the Processing-Method/Rock-type 43
Processing-method/
rock-type combinations… Combination Select Menu
edit the processing Processing Method Group Menu 43
Method groups…
edit the Trailer Trailer Comment Edit Menu 43
comments…
exit to the main menu… Main Menu 38
39
Part 2: Edit Parameters Program
5 July, 1999
Main Edit Menu Options, Continued
Header Comment In this Menu you can add, delete or edit comment lines at the start of the
Edit Menu Parameters File.
Note: The Edit Parameters Program does not support comments embedded in
the Parameters File. If it finds such comments in an input file, it moves them to
the end.
It also allows you to scroll the display if there is too much data to be displayed
on the screen at the one time.
When comment lines are typed into the Edit Parameters Program, all leading
and multiple spaces are usually removed. If you need leading or multiple
spaces in a comment, use the tilde character (~) in place of the required spaces.
The tildes will be changed to spaces.
40
Part 2: Edit Parameters Program
5 July, 1999
Main Edit Menu Options, Continued
41
Part 2: Edit Parameters Program
5 July, 1999
Main Edit Menu Options, Continued
42
Part 2: Edit Parameters Program
5 July, 1999
Main Edit Menu Options, Continued
Processing Method In this Menu you can add, delete or edit a processing method group.
Group Menu
It also allows you to scroll the display if there is too much data to be displayed
on the screen at the one time.
Trailer Comment In this Menu you can add, delete or edit comment lines at the end of the
Edit Menu Parameters File.
Note: The Edit Parameters Program does not support comments embedded in
the file, although they are allowed by the other programs. If it finds such
comments in an input file, it moves them to the end.
It also allows you to scroll the display if there is too much data to be displayed
on the screen at the one time.
When comment lines are typed into the Edit Parameters Program, all leading
and multiple spaces are usually removed. If you need leading or multiple
spaces in a comment, use the tilde character (~) in place of the required spaces.
The tildes will be changed to spaces.
43
Part 2: Edit Parameters Program
5 July, 1999
Section C: Further Information
For more Refer to the page references below for further information about a topic.
information
Topic See Page
Error messages 404
Filenames and extensions 19
Parameters File information 178
Using the Four-X package 15
44
Part 2: Edit Parameters Program
5 July, 1999
Chapter 2: Re-blocking Program (FXRE)
Overview
Purpose The Re-blocking Program allows you to modify Model and Results Files to
create a new Model File, Results File or Pit List File.
Terminology Model
In relation to the Re-blocking Program, “model” denotes a rectangular
co-ordinate framework containing a collection of blocks.
A model is defined by a Parameters File together with a Model File, a Results
File or a Pit List File.
Framework
The framework is the space into which block values are loaded and one or more
files can be loaded into it in any position.
Primary model
The first model to be read into the Re-blocking Program is called the “primary”
model.
Primary model framework
The primary model framework is based on the primary model and is the
framework into which other models will be read if the framework has not been
defined.
Position of the model
The position of the model within the framework is defined by the offset of the
model origin from the framework origin. When the two origins coincide, the
offset is zero.
45
Part 2: Re-blocking Program
5 July, 1999
Overview, Continued
Terminology (continued)
Secondary models
Any subsequent models that are read into the Re-blocking Program are merely
“pasted” over this initial arrangement. These models are referred to as
“secondary” models.
The term primary model is used for the first model, even when there are no
secondary models.
If a block is already occupied when a secondary model is loaded, then the
secondary model block replaces the previous block. This secondary model
block can, in turn, be replaced by a subsequent secondary model block in the
same position.
Note: The exception to overwriting occurs when Four-D model files are
merged into one multi-element Four-X model file. See Merging Elements from
Different Four-D Model Files on page 399.
46
Part 2: Re-blocking Program
5 July, 1999
Section A: What the Re-blocking Program Does
Modes of Operation
Introduction The Re-blocking Program has five different modes of operation. They are as
follows.
Mode 4
Pit List Pit List
Mode 5 File(s)( .pil) File ( .pil)
Polygon
File (.pol)
47
Part 2: Re-blocking Program
5 July, 1999
Modes of Operation, Continued
What the What the Re-blocking Program can do differs depending on the mode being
Re-blocking used. The table below provides a list of the different options available in each
Program can do of the modes.
Available options
Merge element ü
data
Change model ü ü ü ü ü
framework size
Load models from ü ü ü ü ü
the input file(s)
into the framework
in any position(s)
Mine out/strip off ü ü ü
pits
Combine blocks ü ü
Split blocks ü ü ü ü ü
Calculate CAFs ü ü ü ü
Trim output with ü ü ü ü ü
polygon
Write new ü ü ü ü ü
Parameters File
Note:
• You can only mine out, or trim off pits when a Results File is input.
• Only blocks without pit numbers can be combined.
• CAFs can only be stored in Model and Results Files.
• Only Model Files are optimized, and so require all blocks to be present if a
mining CAF is included.
48
Part 2: Re-blocking Program
5 July, 1999
Options
Merging element This option allows you to merge Model Files with different element orders and
data different element names.
Applicable to When merging models, if two blocks have the same co-ordinates, but the
mode 1 where models contain different element information, the elements are merged,
more than one otherwise the second overrides the first.
Model File used
In other words, all of the different elements from the different models will
appear in the new model.
Note:
• The total number of elements cannot exceed the system limit. For
information about how to check the system limits, see Chapter 8: Utilities
Program (FXUT), Section D: Showing Four-X System Limits, on page 171.
• As each Parameters File stipulates the order of the element data, if there are
different numbers of elements, then a new Parameters File must be output by
the Re-blocking Program to update the names and location information.
The merge facility may be particularly useful where, for example, your GMP
has the facility for outputting Four-D Model Files but not Four-X Model Files.
See page 399 for more information about how to do this.
49
Part 2: Re-blocking Program
5 July, 1999
Options, Continued
The diagram below shows, in section, a primary model framework that has been
extended both sideways and vertically.
New
framework
Air extensions limits
Surface
50
Part 2: Re-blocking Program
5 July, 1999
Options, Continued
Splitting blocks
When blocks are split, the tonnage and element content is shared equally
between the output blocks. The number of parcels in each output block is the
same as in the original block.
The usual reason for splitting blocks is to improve the slope modelling when
blocks are wide, in relation to the depth of the pit. The Optimization Program†
can only mine whole blocks, so that wide blocks sometimes make it difficult to
model the slopes accurately.
† The Optimization Program utilises the Lerchs-Grossmann algorithm which can only mine whole blocks.
51
Part 2: Re-blocking Program
5 July, 1999
Options, Continued
Example
If you are re-blocking by a factor of 2 in all three directions, and it finds an
output block into which only 5 sub-blocks have been read rather than 8, it adds
three times the default block tonnage for that sub-region.
If the output block straddles two sub-regions, the appropriate default block
tonnages are used for each sub-block.
Example When the Re-blocking Program asks you for the combining/splitting factor for
combining/splitting a particular direction, you can answer with an integer, for example 3. In this
factors case, the blocks are combined by that factor in that direction.
Alternatively you can answer with a fraction such as “1/2”. In this case the
blocks are split by that factor. Note that an integer fraction must be used. The
value 0.5 cannot be used in place of the fraction “1/2”.
It is even possible to answer with, say, “3/2”. In this case the blocks are
combined in threes and then split in two.
• When reading multiple files into different positions, it may be helpful to draw
a sketch with the block positions of each of the model frameworks on it
before you run the Re-blocking Program. You can also add a dummy waste
block with a recognisable tonnage (e.g. 10001, 10002) to each file in block
position 1,1,1, and then check that the special blocks are correctly placed in
the output file.
52
Part 2: Re-blocking Program
5 July, 1999
Section B: Using the Re-blocking Program
Overview
In this section The Re-blocking Program requests a substantial amount of information which
differs according to the mode being used. As a result we have provided
separate procedures for each of the five modes.
However, as a general guide, the following information is requested by the
program:
1. Preliminary information:
• Print file name
• Mode number
• Number of input Model, Results or Pit List Files you want to use
(modes 1, 2 and 5)
• Whether you want to merge element data during input (mode 1)
• Input Parameters File name
2. Whether you want to change the size and/or position of the model
3. Whether you want to mine out or strip off any pits (modes 2, 3 and 4)
4. Whether you want to split and/or combine blocks
5. The maximum number of parcels of each rock-type to be output for a block
(modes 1, 2, 3 and 5)
6. Whether you want to calculate mining and/or processing CAFs
(modes 1, 2, 3 and 5)
7. Other information:
• Whether you want to limit the output with a polygon
• The name of the new file
• Whether you want the program to create a new Parameters File
53
Part 2: Re-blocking Program
5 July, 1999
Mode 1: Manipulating Model Files
Entering The program will now ask for certain information. Follow the steps in the table
preliminary below.
information
Step Action
1. Type in a name for the print file and press Enter
2. Press Enter to accept the default mode [1]
3. Type in the number of Model Files that you want to use (up to
10), or press Enter to select the default [1]†
4. Use the table below to determine your next step
If you are using… then…
One Model File Continue with step 5
More than one Model Type: Y to merge element data, or press
File Enter to accept the default [N]
Continue with step 5
5. Type in the name of the Parameters File that you want to use as
input and press Enter
6. Continue with the procedure titled Changing the size and/or
position of the model, on page 55
† Note: If more than one Model File is to be used, then the primary Parameters File must have an active
blocks indicator of 1. That is, the sub-region(s) must fill the primary model framework space, otherwise
there may be no default block tonnage available where the program needs it.
54
Part 2: Re-blocking Program
5 July, 1999
Mode 1: Manipulating Model Files, Continued
Changing the size You will be asked if you want to change the size or position of the model
and/or position of during input.
the model
To keep the existing size and position of the model, follow the steps in the
table below.
Step Action
1. Press Enter to accept the default [N]
2. Type in the name of the primary input Model File and press Enter
3. Continue with the procedure titled Combining and/or splitting
blocks, on page 56
To change the size or position of the model, follow the steps in the table
below.
Step Action
1. Type: Y↵
2. Framework size: type in the desired X, Y and Z co-ordinates at
the prompts to change the framework size, or press Enter to
accept the default co-ordinates
3. Type in the name of the primary input Model File and press Enter
4. Framework position: type in the desired X, Y and Z
co-ordinates at the prompts to change the framework position, or
press Enter to accept the default co-ordinates
5. Use the table below to determine your next step
If you are using… then…
One Model File Continue with the procedure titled
Combining and/or splitting blocks, on
page 56
More than one Model Continue with step 6
File
55
Part 2: Re-blocking Program
5 July, 1999
Mode 1: Manipulating Model Files, Continued
Step Action
8. Framework position: type in the desired X, Y and Z
co-ordinates at the prompts to change the framework position, or
press Enter to accept the default co-ordinates
The program will repeat steps 6-8 until you have entered all of the
information according to the number of files that you have elected
to use
9. Continue with the procedure Combining and/or splitting blocks
below
56
Part 2: Re-blocking Program
5 July, 1999
Mode 1: Manipulating Model Files, Continued
Step Action
1. Use the table below to determine your next step
If you… then…
Want to calculate the Type: Y↵
mining CAFs
Type in the adjustment formula†
Do not want to Press Enter to accept the default [N]
calculate the mining
CAFs
Step Action
1. Use the table below to determine your next step
If you… then…
Want to limit the output Type in the name of the Polygon File
with a polygon that you want to use and press Enter
Do not want to limit the Press Enter to accept the default [N]
with a polygon
2. Type in the name of the new Model File and press Enter
† See Chapter 3: Using Expressions starting on page 282 for more information about expressions.
57
Part 2: Re-blocking Program
5 July, 1999
Mode 1: Manipulating Model Files, Continued
Step Action
3. Use the table below to determine your next step
If you… then…
Want to write a new Press Enter to accept the default [Y]
Parameters File Type in a name for the new Parameters
File and press Enter
Do not want to write a Type: N↵
new Parameters File
Note: If you have selected to merge Model Files and there are
different numbers of elements, then a new Parameters File must
be written to update the names and location information.
4. Refer to What Happens (All Modes), on page 81
58
Part 2: Re-blocking Program
5 July, 1999
Mode 2: Manipulating Results Files
Entering The program will now ask for certain information. Follow the steps in the table
preliminary below.
information
Step Action
1. Type in a name for the print file press Enter
2. Type 2↵ to select mode 2
3. Type in the number of files that you want to use (up 10 Results
Files) or press Enter to select the default [1]†
4. Type in the name of the Parameters File that you want to use as
input and press Enter
5. Continue with the procedure titled Changing the size and/or
position of the model below
† Note: If more than one Results File is to be used, then the primary Parameters File must have an active
blocks indicator of 1. That is, the sub-region(s) must fill the primary model framework space, otherwise
there may be no default block tonnage available where the program needs it.
59
Part 2: Re-blocking Program
5 July, 1999
Mode 2: Manipulating Results Files, Continued
Changing the size You will be asked if you want to change the size or position of the model
and/or position of during input.
the model
To keep the existing size and position of the model, follow the steps in the
table below.
Step Action
1. Press Enter to accept the default [N]
2. Type in the name of the primary input Results File and press
Enter
3. Mining out pits: use the table below to determine your next step
If you… then…
Want to mine out Type: Y↵
pits
Type in the number of the pit that you
want to mine out and press Enter
Do not want to mine Press Enter to accept the default [N]
out pits
4. Stripping off pits: use the table below to determine your next step
If you… then…
Want to strip off any of the Type: Y↵
outer pits
Type in the number of the biggest
pit you want to keep and press
Enter
Do not want to strip off any Press Enter to accept the default
of the outer pits [N]
60
Part 2: Re-blocking Program
5 July, 1999
Mode 2: Manipulating Results Files, Continued
Step Action
7. Type in the name of the secondary input Results File and press
Enter
8. You will now be asked if you want to mine out or strip off any
pits. Follow steps 3 and 4, above, then continue with the
procedure titled Splitting blocks, on page 63
To change the size or position of the model, follow the steps in the table
below.
Step Action
1. Type: Y↵
2. Framework size: type in the desired X, Y and Z co-ordinates at
the prompts to change the framework size, or press Enter to
accept the default co-ordinates
3. Type in the name of the primary input Results File and press
Enter
4. Mining out pits: use the table below to determine your next step
If you… then…
Want to mine out Type: Y↵
pits
Type in the number of the pit that you want
to mine out and press Enter
Do not want to Press Enter to accept the default [N]
mine out pits
5. Stripping off pits: use the table below to determine your next step
If you… then…
Want to strip off any of the Type: Y↵
outer pits
Type in the number of the biggest pit
you want to keep and press Enter
Do not want to strip off Press Enter to accept the default [N]
any of the outer pits
61
Part 2: Re-blocking Program
5 July, 1999
Mode 2: Manipulating Results Files, Continued
Step Action
6. Framework position: type in the desired X, Y and Z
co-ordinates at the prompts to change the framework position or
press Enter to accept the default co-ordinates
7. Use the table below to determine your next step
If you are using… then…
One Results File Continue with the procedure titled
Splitting blocks, on page 63
More than one Results Continue with step 8
File
62
Part 2: Re-blocking Program
5 July, 1999
Mode 2: Manipulating Results Files, Continued
Step Action
1. Use the table below to determine your next step
If you… then…
Want to split Type Y↵
the blocks
Type in the desired X, Y and Z splitting factors
at the prompts, or press Enter to accept the
default splitting factor [1/1] (i.e. the blocks will
not be split in that direction)
Do not want to Press Enter to accept the default [N]
split the blocks
63
Part 2: Re-blocking Program
5 July, 1999
Mode 2: Manipulating Results Files, Continued
Step Action
1. Use the table below to determine your next step
If you… then…
Want to calculate the Type: Y↵
mining CAFs
Type in the adjustment formula†
Do not want to Press Enter to accept the default [N]
calculate the mining
CAFs
† See Chapter 3: Using Expressions starting on page 282 for more information about expressions.
64
Part 2: Re-blocking Program
5 July, 1999
Mode 2: Manipulating Results Files, Continued
Step Action
1. Use the table below to determine your next step
If you… then…
Want to limit the output Type in the name of the Polygon File
with a polygon that you want to use and press Enter
Do not want to limit the Press Enter to accept the default [N]
output with a polygon
2. Type in the name of the new Results File and press Enter
3. Use the table below to determine your next step
If you… then…
Want to write a new Press Enter to accept the default [Y]
Parameters File Type in a name for the new Parameters
File and press Enter
Do not want to write a Type: N↵
new Parameters File
65
Part 2: Re-blocking Program
5 July, 1999
Mode 3: Converting a Results File to a Model File
Entering The program will now ask for certain information. Follow the steps below.
preliminary
information
Step Action
1. Type in a name for the print file press Enter
2. Type: 3↵ to select mode 3
3. Type in the name of the Parameters File that you want to use as
input and press Enter
4. Continue with the procedure titled Changing the size and/or
position of the model below
66
Part 2: Re-blocking Program
5 July, 1999
Mode 3: Converting a Results File to a Model File, Continued
Changing the size You will be asked if you want to change the size or position of the model
and/or position of during input.
the model
To keep the existing size and position of the model, follow the steps in the
table below.
Step Action
1. Press Enter to accept the default [N]
2. Type in the name of the primary input Results File and press
Enter
3. Mining out pits: use the table below to determine your next step
If you… then…
Want to mine out Type: Y↵
pits
Type in the number of the pit that you
want to mine out and press Enter
Do not want to mine Press Enter to accept the default [N]
out pits
4. Stripping off pits: use the table below to determine your next step
If you… then…
Want to strip off any of the Type: Y↵
outer pits
Type in the number of the biggest
pit you want to keep and press
Enter
Do not want to strip off any Press Enter to accept the default
of the outer pits [N]
67
Part 2: Re-blocking Program
5 July, 1999
Mode 3: Converting a Results File to a Model File, Continued
To change the size or position of the model, follow the steps in the table
below.
Step Action
1. Type: Y↵
2. Framework size: type in the desired X, Y and Z co-ordinates at
the prompts, or press Enter to accept the default co-ordinates
3. Type in the name of the primary input Results File and press
Enter
4. Mining out pits: use the table below to determine your next step
If you… then…
Want to mine out Type: Y↵
pits
Type in the number of the pit that you
want to mine out and press Enter
Do not want to mine Press Enter to accept the default [N]
out pits
5. Stripping off pits: use the table below to determine your next step
If you… then…
Want to strip off any of the Type: Y↵
outer pits
Type in the number of the biggest
pit you want to keep and press
Enter
Do not want to strip off any Press Enter to accept the default
of the outer pits [N]
68
Part 2: Re-blocking Program
5 July, 1999
Mode 3: Converting a Results File to a Model File, Continued
69
Part 2: Re-blocking Program
5 July, 1999
Mode 3: Converting a Results File to a Model File, Continued
Step Action
1. Use the table below to determine your next step
If you… then…
Want to calculate the Type: Y↵
mining CAFs
Type in the adjustment formula†
Do not want to Press Enter to accept the default [N]
calculate the mining
CAFs
† See Chapter 3: Using Expressions starting on page 282 for more information about expressions.
70
Part 2: Re-blocking Program
5 July, 1999
Mode 3: Converting a Results File to a Model File, Continued
Step Action
1. Use the table below to determine your next step
If you… then…
Want to limit the output Type in the name of the Polygon File
with a polygon that you want to use and press Enter
Do not want to limit the Press Enter to accept the default [N]
with a polygon
2. Type in the name of the new Model File and press Enter
3. Use the table below to determine your next step
If you… then…
Want to write a new Press Enter to accept the default [Y]
Parameters File Type in a name for the new Parameters
File and press Enter
Do not want to write a Type: N↵
new Parameters File
71
Part 2: Re-blocking Program
5 July, 1999
Mode 4: Converting a Results File to a Pit List File
Entering The program will now ask for certain information. Follow the steps in the table
preliminary below.
information
Step Action
1. Type in a name for the print file and press Enter
2. Type: 4↵ to select mode 4
3. Type in the name of the Parameters File that you want to use as
input and press Enter
4. Continue with the procedure titled Changing the size and/or
position of the model below
72
Part 2: Re-blocking Program
5 July, 1999
Mode 4: Converting a Results File to a Pit List File, Continued
Changing the size You will be asked if you want to change the size or position of the model
and/or position of during input.
the model
To keep the existing size and position of the model, follow the steps in the
table below.
Step Action
1. Press Enter to accept the default [N]
2. Type in the name of the primary input Results File and press
Enter
3. Mining out pits: use the table below to determine your next step
If you… then…
Want to mine out Type: Y↵
pits
Type in the number of the pit that you
want to mine out and press Enter
Do not want to mine Press Enter to accept the default [N]
out pits
4. Stripping off pits: use the table below to determine your next step
If you… then…
Want to strip off any of the Type: Y↵
outer pits
Type in the number of the biggest
pit you want to keep and press
Enter
Do not want to strip off any Press Enter to accept the default
of the outer pits [N]
73
Part 2: Re-blocking Program
5 July, 1999
Mode 4: Converting a Results File to a Pit List File, Continued
To change the size or position of the model, follow the steps in the table
below.
Step Action
1. Type: Y↵
2. Framework size: type in the desired X, Y and Z co-ordinates at
the prompts or press Enter to accept the default co-ordinates
3. Type in the name of the primary input Results File and press
Enter
4. Mining out pits: use the table below to determine your next step
If you… then…
Want to mine out Type: Y↵
pits
Type in the number of the pit that you
want to mine out and press Enter
Do not want to mine Press Enter to accept the default [N]
out pits
5. Stripping off pits: use the table below to determine your next step
If you… then…
Want to strip off any of the Type: Y↵
outer pits
Type in the number of the biggest
pit you want to keep and press
Enter
Do not want to strip off any Press Enter to accept the default
of the outer pits [N]
74
Part 2: Re-blocking Program
5 July, 1999
Mode 4: Converting a Results File to a Pit List File, Continued
Step Action
1. Use the table below to determine your next step
If you… then…
Want to split Type Y↵
the blocks
Type in the desired X, Y and Z splitting factors
at the prompts, or press Enter to accept the
default splitting factor [1/1] (i.e. the blocks will
not be split in that direction)
Do not want to Press Enter to accept the default [N]
split the blocks
Step Action
1. Use the table below to determine your next step
If you… then…
Want to limit the output Type in the name of the Polygon File
with a polygon that you want to use and press Enter
Do not want to limit the Press Enter to accept the default [N]
output with a polygon
2. Type in the name of the new Pit List File and press Enter
3. Use the table below to determine your next step
If you… then…
Want to write a new Press Enter to accept the default [Y]
Parameters File Type in a name for the new Parameters
File and press Enter
Do not want to write a Type: N↵
new Parameters File
75
Part 2: Re-blocking Program
5 July, 1999
Mode 5: Converting a Model File and One or More Pit List Files to
a Results File
Entering The program will now ask for certain information. Follow the steps in the table
preliminary below.
information
Step Action
1. Type in a name for the print file and press Enter
2. Type: 5↵ to select mode 5
3. Type in the number of Pit List Files that you want to use
(up to 9), or press Enter to select the default [1]
4. Type in the name of the Parameters File that you want to use as
input and press Enter
5. Continue with the procedure titled Changing the size and/or
position of the model below
Changing the size You will be asked if you want to change the size or position of the model
and/or position of during input.
the model
To keep the existing size and position of the model, follow the steps in the
table below.
Step Action
1. Press Enter to accept the default [N]
2. Type in the name of the primary input and press Enter
3. Continue with the procedure titled Splitting blocks, on page 78
76
Part 2: Re-blocking Program
5 July, 1999
Mode 5: Converting a Model File and One or More Pit List Files to
a Results File, Continued
To change the size or position of the model, follow the steps in the table
below.
Step Action
1. Type: Y↵
2. Framework size: type in the desired X, Y and Z co-ordinates at
the prompts to change the framework size, or press Enter to
accept the default co-ordinates
3. Type in the name of the primary input Model File and press Enter
4. Framework position: type in the desired X, Y and Z
co-ordinates at the prompts to change the framework position, or
press Enter to accept the default co-ordinates
5. Use the table below to determine your next step
If you are using… then…
One Pit List File Continue with the procedure titled
Splitting blocks, on page 78
More than one Pit List Continue with step 6
File
77
Part 2: Re-blocking Program
5 July, 1999
Mode 5: Converting a Model File and One or More Pit List Files to
a Results File, Continued
Step Action
1. Use the table below to determine your next step
If you… then…
Want to split Type Y↵
the blocks
Type in the desired X, Y and Z splitting factors
at the prompts, or press Enter to accept the
default splitting factor [1/1] (i.e. the blocks will
not be split in that direction)
Do not want to Press Enter to accept the default [N]
split the blocks
78
Part 2: Re-blocking Program
5 July, 1999
Mode 5: Converting a Model File and One or More Pit List Files to
a Results File, Continued
Step Action
1. Use the table below to determine your next step
If you… then…
Want to calculate the Type: Y↵
mining CAFs
Type in the adjustment formula†
Do not want to Press Enter to accept the default [N]
calculate the mining
CAFs
† See Chapter 3: Using Expressions starting on page 282 for more information about expressions.
79
Part 2: Re-blocking Program
5 July, 1999
Mode 5: Converting a Model File and One or More Pit List Files to
a Results File, Continued
Step Action
1. Use the table below to determine your next step
If you… then…
Want to limit the output Type in the name of the Polygon File
with a polygon that you want to use and press Enter
Do not want to limit the Press Enter to accept the default [N]
with a polygon
2. Type in the name of the new Results File and press Enter
3. Use the table below to determine your next step
If you… then…
Want to write a new Press Enter to accept the default [Y]
Parameters File Type in a name for the new Parameters
File and press Enter
Do not want to write a Type: N↵
new Parameters File
80
Part 2: Re-blocking Program
5 July, 1999
What Happens (All Modes)
81
Part 2: Re-blocking Program
5 July, 1999
Section C: Further Information
For more Refer to the page references below for further information about a topic.
information
Topic See Page
Error messages 404
Filenames and extensions 19
Model Files 214
Parameters File information 178
Pit List Files 235
Polygon Files 237
Print files 24
Results Files 223
Techniques with blocks 307
Using the Four-X package 15
Tutorials and For practice in using the Re-blocking Program and re-blocking techniques,
exercises refer to the following tutorials and exercises in your Getting Started Manual:
• Tutorial 4 - Re-arranging a Model
• Exercise 4 - Adding Positional Mining CAFs
• Tutorial 5 - Dealing with an Obstruction
82
Part 2: Re-blocking Program
5 July, 1999
Chapter 3: Structure Arcs Program (FXST)
Overview
Purpose The Structure Arcs Program creates a file of “structure arcs” that describes the
required slopes in a form that is suitable for use in a pit optimization.
What are structure Each structure arc defines the mining relationship between two blocks.
arcs?
Taken together, structure arcs define which blocks must be removed to give
access to other blocks.
Visually, structure arcs can be represented by arrows pointing from one block
to another.
Example
Structure arcs
Block A
In the above example, the structure arc from Block A to Block B indicates that,
if Block A is to be mined, Block B must be mined first to uncover it.
83
Part 2: Structure Arcs Program
5 July, 1999
Overview, Continued
Operation of the In generating these structure arcs, the Structure Arcs Program takes into
Structure Arcs account the dimensions of the blocks and the required pit slopes.
Program
It has two ways of producing the arcs:
• It can get the slope profiles from the sub-regions in the Parameters File. It
then applies them to the blocks within each sub-region. This means that the
regions that the slope profiles apply to are strictly rectangular.
• It can get the slope profiles from a Slope Profiles File, and a profile number
for each block from either a Model File zone number or a Profile Number
File. With this approach, the regions that the slope profiles apply to can be
any shape at all. You would generally design these shapes in your GMP.
Note that it takes significantly longer to produce the arcs by this method, but
has no effect on optimization time.
If you provide it with a normal Parameters File containing one or more
sub-regions, it produces arcs by the first method. If you provide it with a
Parameters File with no sub-regions, the second method is used.
In either case, the Structure Arcs Program can also incorporate additional arcs
in the Structure Arcs File, as specified by the user in an Additional Arcs File.
Note: Even when using the first method, the arcs produced by this program are
slightly different from those produced by versions of the Four-X Structure Arcs
Program prior to revision 1.10, which were the same as Four-D. The
differences are caused by the fact that the arcs which join adjacent slope
regions are now calculated more accurately than before, and changes of slope
are more accurately modelled. Optimizations done with the new Structure Files
will produce slightly different pits than with the old Structure Files, but the
differences will usually only be a small number of blocks here and there.
84
Part 2: Structure Arcs Program
5 July, 1999
Overview, Continued
Parameters
File (.par) Structure Arcs
FXST Structure
Slope Arcs File
Profile (.stu)
File (.slp)
Profile
Number Print File
File (.pnu) (.prs)
or
Model
File (.mod)
Additional
Arcs File
(.add)
85
Part 2: Structure Arcs Program
5 July, 1999
Using the Structure Arcs Program
Step Action
1. Type in a name for the print file and press Enter
2. Type in the name of the Parameters File that you want to use as
input and press Enter
If the Parameters File contains one or more sub-regions, the program will
skip to step 6.
3. Type in the name of the Slope Profile File that you want to use as
input and press Enter
If the Slope Profile File contains only one profile, the program will
skip to step 6.
4. Use the table below to determine your next step
If you… then…
Wish to provide the slope Type: P↵
profile numbers for the
Type in the name of the Profile
blocks via a Profile Number
Number File that you want to use and
File
press Enter
Wish to provide the slope Type: M↵
profile numbers for the
Type in the name of the Model File
blocks via the zone numbers
that you want to use and press Enter
in a Model File
86
Part 2: Structure Arcs Program
5 July, 1999
Using the Structure Arcs Program, Continued
Procedure (continued)
Step Action
5. Use the table below to determine your next step
If… then…
That file contains a profile Type: Y↵
number for every block in
the model framework
That file does not contain a Type: N↵
profile number for every
Type in the slope profile number to
block in the model
use for other blocks and press Enter
framework
7. Type in a name for the Structure Arcs File and press Enter
87
Part 2: Structure Arcs Program
5 July, 1999
Using the Structure Arcs Program, Continued
88
Part 2: Structure Arcs Program
5 July, 1999
Further Information
For more Refer to the page references below for further information about a topic.
information
Topic See Page
Additional Arcs Files 232
Error messages 404
Filenames and extensions 19
How the Structure Arcs File handles slopes, generates arcs 330
and creates the Structure Arcs File
Model Files 214
Parameters File information 178
Print files 24
Profile Number Files 230
Slope Profile Files 228
Structure Arcs Files 23
Using the Four-X package 15
Tutorials and For practice in using the Structure Arcs Program, refer to Tutorial 1 - The
exercises Basics in your Getting Started Manual.
89
Part 2: Structure Arcs Program
5 July, 1999
Chapter 4: Optimization Program (FXOP)
Overview
Purpose The Optimization Program carries out the pit optimizations. It produces a
Results File containing the different pit outlines and details of the blocks within
those outlines.
Structure
Arcs File Print File
(.stu) (.pro)
Restart run
Restart runs are used where an Optimization Program run has been terminated
because of power failure or hardware malfunction. When the Optimization
Program is used, it automatically creates a Work File which contains all of the
intermediate information generated during a pit optimization and this
information is used in a restart run.
Continued on next page
90
Part 2: Optimization Program
5 July, 1999
Overview, Continued
Files (continued)
Work File
(.wrk)
Print File
(.pro)
91
Part 2: Optimization Program
5 July, 1999
Using the Optimization Program
Step Action
1. Type in a name for the print file and press Enter
2. Use the table below to determine your next step
If this is… then…
Not a restart run Press Enter to accept the default [N]
A restart run Type: Y↵
Type the name of the Work File that you want
to use as input and press Enter
Continue with step 7
3. Type the name of the Parameters File that you want to use as input
and press Enter
4. Type the name of the Model File that you want to use as input and
press Enter
5. Type the name of the Structure Arcs File that you want to use as
input and press Enter
6. Type in a name for the output Work File and press Enter
7. Type in a name for the output Results File and press Enter
92
Part 2: Optimization Program
5 July, 1999
Using the Optimization Program, Continued
93
Part 2: Optimization Program
5 July, 1999
Using the Optimization Program, Continued
Stage 5
The program creates:
• A Results File containing details of the optimizations that were done, and
all of the blocks within the optimized pit for an infinite Revenue Factor
• A print file containing the pit details
Note: If you have included fake blocks with large tonnages to represent
immovable objects, you should always exclude the pit for an infinite
Revenue Factor from any analysis you do. The Pit Visualisation Program
will only display this pit if the highest Revenue Factor you specify mines all
possible ore.
What happens - If you restart a previous run, the new run will recommence with the first pass
restart run after the last restart dump was done.
On a restart run, the program:
• Reads the Work File and checks that a valid restart dump was done
• Continues the optimization to completion
• Creates a Results File and a print file.
If the run is terminated again after further restart dumps, it can be restarted
again from the latest dump. Note that the run-time shown at the end of a
restarted run is the time that the whole run would have taken if done without
restarts.
94
Part 2: Optimization Program
5 July, 1999
Further Information
For more Refer to the page references below for further information about a topic.
information
Topic See Page
Calculating costs for pit optimization 293
Error messages 404
Filenames and extensions 19
Model Files 214
Parameters File information 178
Pit Visualisation Program 96
Print files 24
Results Files 223
Structure Arcs Files 23
Techniques with blocks 307
Using the Four-X package 15
Work Files 24
Tutorials and For practice in using the Optimization Program, refer to the following tutorials
exercises and exercises in your Getting Started Manual:
• Tutorial 1 - The Basics
• Tutorial 4 - Re-arranging a Model
• Tutorial 5 - Dealing with an Obstruction
95
Part 2: Optimization Program
5 July, 1999
Chapter 5: Pit Visualisation Program (FXPI)
Overview
Purpose The Pit Visualisation Program creates a print file containing diagrams in the
form of plans and sections of the pits at the various different push-backs.
To produce the diagrams, the Pit Visualisation Program uses information from
a Results File, Model File, or Mining Sequence File.
The plans and sections show each block as a single character that can indicate:
• The pit number or the mineralisation if you are using a Results File
• The zone number or the mineralisation if you are using a Model File
- or -
• The period if you are using a Mining Sequence File
Alternatively, the character can show whether the block contains one or more
elements, is entirely waste, or is air.
Parameters
File (.par) Pit Visualisation
Results File
(.res)
OR
Model File
(.mod)
OR Mining
Sequence
File (.msq)
96
Part 2: Pit Visualisation Program
5 July, 1999
Overview, Continued
97
Part 2: Pit Visualisation Program
5 July, 1999
Using the Pit Visualisation Program
Step Action
1. Type in a name for the print file and press Enter
2. Type in the name of the Parameters File that you want to use as
input and press Enter
3. Use the table below to determine your next step
If you want to use a… then…
Results File as input Press Enter to accept the
default [1]
Model File as input Type: 2↵
Mining Sequence File as input Type: 3↵
98
Part 2: Pit Visualisation Program
5 July, 1999
Using the Pit Visualisation Program, Continued
Procedure (continued)
Step Action
7. Use the table to determine your next step
If you… then…
Want to emphasise a particular pit Press Enter to accept the
default [Y]
Do not want to emphasise a Type: N↵
particular pit
99
Part 2: Pit Visualisation Program
5 July, 1999
How the Diagrams are Displayed
Blocks The Pit Visualisation Program creates a print file which contains the output
plans and/or sections.
In the output plans and/or sections in the print file, the different types of blocks
are displayed in the following ways:
• Air blocks, defined as having exactly zero tonnage, are always represented by
a “.” symbol
• Other blocks are represented, according to the choice you made when
running the program, either as:
- Their pit, zone, or period
- or -
- Using value signs (+mineral, − waste)
When the program gets to the end of the lower case alphabet, it starts again
with upper case letters, then back to lower case letters, and so forth.
Example
The following is an example of a plan showing pit numbers.
100
Part 2: Pit Visualisation Program
5 July, 1999
How the Diagrams are Displayed, Continued
Note that the proportions are incorrect because the characters used to represent
each block are not the same shape as a block.
101
Part 2: Pit Visualisation Program
5 July, 1999
How the Diagrams are Displayed, Continued
Displaying value When the option to display value signs is used, then:
signs
• The “+” sign indicates the presence of ore.
- and -
• The “−” sign indicates the presence of waste.
Example
The following is an example of a section showing ore and waste.
**********|*********|*********|****
*...........................------*
*.............--------------------*
*---------------------------------*
-----------------------------------
*---------------------- *
* *
* *
* +++ *
* +++ *
* +++++ *
++++++ *
Z +++++++ *
+++++++++ *
- ++++++++ -
* ++++++++ *
* +++++++++ *
* +++++++++ *
* ++++++++ *
* +++++++ *
* ++++ *
* *
* *
* *
**********|***** X *|*********|****
In this example, the “−” sign is used to indicate the presence of weathered
waste which is the only waste included in the Model File. All other waste
blocks are undefined blocks and automatically assume the default block
tonnage.
102
Part 2: Pit Visualisation Program
5 July, 1999
Further Information
For more Refer to the page references below for further information about a topic.
information
Topic See Page
Error messages 404
Filenames and extensions 19
Mining Sequence Files 221
Model Files 214
Parameters File information 178
Print files 24
Results Files 223
Using the Four-X package 15
Tutorials and For practice in using the Pit Visualisation Program, refer to the following
exercises tutorials and exercises in your Getting Started Manual:
• Tutorial 1 - The Basics
• Tutorial 5 - Dealing with an Obstruction
103
Part 2: Pit Visualisation Program
5 July, 1999
Chapter 6: Mining Width Program (FXMI)
Overview
Purpose The Mining Width Program modifies a set of push-back outlines and a final pit,
based on specified pit numbers. It adjusts the shapes of the outlines, so as to
produce practical push-backs that satisfy mining width conditions.
Input is usually provided in the form of a Results File, and the corresponding
Parameters and Structure Arcs Files. The user specifies which pit numbers to
use as push-back outlines and for the final pit outline, and a set of mining width
conditions and control options. The output is a new Results File with the
push-back numbers in place of pit numbers, and a print file showing the
push-backs after modification.
A Pit List File can be used in place of the input Results File. In this case, a new
Pit List File is output and the Re-blocking Program can then be used to merge it
with a Model File to produce a Results File.
Parameters
File (.par) Mining Width
Print File
FXMI (.prm)
Structure
Arcs File
(.stu)
Results File
(.res)
104
Part 2: Mining Width Program
5 July, 1999
Overview, Continued
Files (continued)
Note: If you are using a Results File as input, that file must contain all of the air
blocks. The program can then correctly handle sloping terrain and the
application of structure arcs, without generating erroneous waste blocks.
This means that when the Results File is produced with the Optimization
Program:
• The active blocks indicator should be set to 1 or 3.
• Air flag B must be set to 3.
The Mining Width Program checks air flag B in the Parameters File, and, if it
is not set to 3, then the run terminates with an error message.
• The Parameters File you use should be the same Parameters File used to
produce the Results File.
Parameters
File (.par) Mining Width
Print File
FXMI (.prm)
Structure
Arcs File
(.stu)
Pit List
File (.pil)
105
Part 2: Mining Width Program
5 July, 1999
How the Mining Width Program Works
Introduction The Optimization Program takes no account of mining width in the generation
of pits. Consequently, an optimized pit which is used as a starting point for the
design of a final pit can have a floor that is too narrow, or irregularities in the
pit wall that cannot be followed easily in practice.
Optimized pits that are used as the starting points for the designs of push-backs
can have the same problems as the final pit. Other mining width problems can
arise if the wall of a push-back is too close to that of a subsequent push-back or
the final pit.
The Mining Width Program starts from a series of pits that the user has selected
as push-back walls and the final pit wall. It then checks for certain conditions
and makes adjustments to each bench in turn, from the bottom of the pit to the
top.
Adjustments can result in four types of change:
• Blocks at the bottom of the pit can be excluded from the pit
• Blocks at the bottom of a push-back can be included in a later push-back
• Blocks can be included in an earlier push-back
• Blocks can extend the final pit
After each bench is adjusted, blocks in higher benches are also adjusted to
allow for slope constraints.
The possible conditions and adjustments are described below.
106
Part 2: Mining Width Program
5 July, 1999
How the Mining Width Program Works, Continued
Mining width “Mining width” is the minimum width necessary for the extraction of the ore
regardless of the actual width of ore-bearing rock†.
Mining width is represented in the Mining Width Program by a template. The
template is a rectangle defined by numbers of blocks in the X and Y directions.
Blocks in a particular push-back, which cannot be covered by the template
without part of the template lying outside the push-back are regarded as
inaccessible and requiring correction.
To cater for practical mining situations, a tolerance can be specified to control
precisely how strictly the template must be applied. If the tolerance is set by
the user to zero, then the complete template must be able to cover every block
in every push-back without extending outside the push-back. If the tolerance is
set to one, then it is permissible for one block to lie outside the push-back, and
so forth.
We recommend that you set the mining tolerance to one less than the largest
template dimension in blocks (i.e. a 3 × 3 template would have a tolerance of
2), although ultimately the most appropriate setting will vary from case to case.
Example
For example, if the template was three blocks by three blocks and the tolerance
was zero, then the highlighted blocks in push-back 2 below would be regarded
as inaccessible. If, on the other hand, the tolerance was 2, then all of the blocks
in push-back 2 would be regarded as accessible.
22222
2222222222222
2222222222222222222
222222111111112222222
2222211111111112222222
222221111111111112222222
222221111111111112222222
222221111111111112222222
222221111111111112222222
Inaccessible blocks are dealt with either by extending the push-back that they
belong to, or by extending an earlier push-back to cover them.
† United States Department of the Interior, Dictionary of Mining, Mineral and Related Terms, P. W. Thrush
et al (eds) Bureau of Mines, Chicago, 1968.
107
Part 2: Mining Width Program
5 July, 1999
How the Mining Width Program Works, Continued
Small drop cuts The floor of the final pit or of push-backs can be smoothed by eliminating small
drop cuts. A drop cut is eliminated by reassigning those blocks within it to a
later push-back, or, in the case of the final pit, by removing the blocks from the
design.
Drop cuts are defined in the Mining Width Program as regions of contiguous
blocks, within a push-back, that are surrounded by blocks of later push-backs or
by the final pit limit. Contiguous blocks are defined as blocks that share a
common boundary.
Example 1
Diagram A below shows a group of 4 contiguous blocks while Diagram B
shows two blocks which are not contiguous
The user specifies the minimum number of blocks that must be in a drop cut for
it to remain. If the Mining Width Program finds a drop cut which has less than
the minimum number, then the drop cut will be eliminated.
There are two cases to consider:
• Drop cuts at the final pit floor
At the final pit floor, blocks in drop cuts that are eliminated are excluded
from the pit and they are no longer available for mining.
• Drop cuts elsewhere
Elsewhere, the blocks within small drop cuts are reassigned to the next
push-back. In other words, access to the blocks is delayed.
The user may set these values while using the program in the push-back control
values screen.
Intermediate
drop cuts
Drop cuts at
floor of pit
108
Part 2: Mining Width Program
5 July, 1999
How the Mining Width Program Works, Continued
2222222222222222222222222 2222222222222222222222222
2222212222222222221222222 2222222222222222222222222
2222212221111222222122222 2222222221111222222222222
2222222221111222221122222 2222222221111222222222222
2222222222222222222222222 2222222222222222222222222
The small drop cuts to the left and right would be changed, while the centre
drop cut would remain.
109
Part 2: Mining Width Program
5 July, 1999
How the Mining Width Program Works, Continued
Small walls Small walls are defined as small groups of contiguous blocks that are
surrounded by blocks belonging to both earlier and later push-backs, or by
earlier push-backs and by the edge of the final pit.
If the number of contiguous blocks is less than a minimum specified by the user
in the push-back control values screen, then the blocks will be included in the
earlier push-back.
The small walls may occur at the edge of the final pit, as shown in the diagram
below.
33 11
3333 1111
211133 111111
2111113 1111111
1111111111 1111111111
Alternatively, they may occur within the pit, as shown in the diagram below.
3333333333333333333333333 3333333333333333333333333
3333333333333332223333333 3333333333333331113333333
3333333333333222222221111 3333333333333111111111111
1111111111111111111111111 1111111111111111111111111
1111111111111111111111111 1111111111111111111111111
110
Part 2: Mining Width Program
5 July, 1999
How the Mining Width Program Works, Continued
Small stumps A “stump” is a row of blocks belonging to a later push-back sticking out of an
otherwise straight wall of blocks. It may be inconvenient to work around these
blocks and easier to mine as a straight wall.
A stump is small if its length is less than or equal to the template width or
template height along the wall. You can specify that you want small stumps
removed during a run of the Mining Width Program in the push-back control
values screen. Stumps are removed by including them in the earlier push-back.
The following plan illustrates a stump 3 blocks long.
1111111111111111111111111 1111111111111111111111111
1111111122211111111111111 1111111111111111111111111
2222222222222222222222222 2222222222222222222222222
In the case above, if the template was four or more blocks wide, the blocks
within the stump would be reassigned to push-back 1, as is shown.
Small holes A “hole” is a row of blocks belonging to an earlier push-back sticking into an
otherwise straight wall of blocks. It may be easier to mine as a straight wall.
A hole is small if its length is less than or equal to the template width or
template height as appropriate. You can specify that you want small holes
removed in the push-back control values screen.
Small holes are removed by assigning the blocks within them to a later
push-back. However, since the Mining Width Program works by extending
earlier push-backs into later ones, the removal of small holes can only take
place if a previous adjustment to the bench has extended the first push-back
into the area.
The following plan illustrates a hole 3 blocks long.
2222222222222222222222222 2222222222222222222222222
2222222211122222222222222 2222222222222222222222222
1111111111111111111111111 1111111111111111111111111
In this case, the blocks within the hole may be reassigned to push-back 2.
111
Part 2: Mining Width Program
5 July, 1999
How the Mining Width Program Works, Continued
Sharp corners Sharp corners can be difficult to deal with, and it may be easier to work with
rounded corners.
This option can be turned on or off by the user during a run of the Mining
Width Program in the push-back control values screen.
1111111111111111111111111 1111111111111111111111111
1111111111111111111111111 1111111111111111111111111
2222222222221111111111111 2222222222211111111111111
2222222222221111111111111 2222222222221111111111111
2222222222221111111111111 2222222222221111111111111
The corner block will be included in the earlier push-back. The final pit outline
will not be modified.
Similarly, a corner where an earlier push-back protrudes into a later one may be
trimmed. However, since the Mining Width Program works by extending
earlier push-backs into later ones, such trimming can only take place if a
previous adjustment to the bench has extended the first push-back.
Slopes The final pit and push-backs contained in the input Results File all comply to
the required pit slope constraints.
In order to ensure that the modified pit and push-backs produced by the Mining
Width Program continue to comply with pit slope constraints, the program
refers to the input Structure Arcs File throughout processing.
In other words, if a block is reassigned to an earlier push-back, then all the
blocks in higher benches that need to be removed to gain access to this block
will also be reassigned to the earlier push-back.
Additional arcs If the Structure Arcs File contains additional arcs from an Additional Arcs File,
then these arcs will be obeyed in almost all cases. In general, additional arcs
either point to a block on the same bench or a block on a higher bench.
However, it is possible to include a downward pointing arc in an Additional
Arcs File. The program cannot guarantee to obey the dependencies defined by
downward pointing arcs, however the Mining Width Program issues a warning
if this type of arc is found.
If you don’t want the additional arcs to be applied during push-back
adjustment, then create another Structure Arcs File without the additional arcs.
112
Part 2: Mining Width Program
5 July, 1999
How the Mining Width Program Works, Continued
Using the Analysis The Analysis Program can be used on the Results File modified by the Mining
Program after the Width Program, however references to pit numbers will now be to push-back
Mining Width numbers, and “specified case” with the push-back numbers 1, 2, 3 etc. will be
Program your specified push-backs case.
It is therefore easy to measure any changes in NPV caused by the modifications
made by the Mining Width Program to the push-backs and access the impact of
the control parameters.
Air blocks in the The input Results File must contain all of the air blocks. Specifically, this
input Results File means that when the Results File was produced with the Optimization Program,
the active blocks indicator should have been set to 1 or 3 and air flag B should
have been set to 3.
When air is included in the Results File, the program can correctly handle
sloping terrain and the application of structure arcs without generating
erroneous waste blocks.
The Parameters File you use with the Mining Width Program should be the
same Parameters File that you used to produce the Results File. The Mining
Width Program checks air flag B in the Parameters File, and if it is not set to 3
the run terminates with an error message.
Regardless of the setting of air flag A in the Parameters File, the Mining Width
Program considers all air blocks when working out the slopes.
In effect, it temporarily sets air flag A to 1.
If the optimization has been done with the flag set to 2, and some part of the
topography is steeper than the specified slopes, the Mining Width Program may
be forced to add extra blocks to the pit. In this case, if the user has requested
that there be no pit expansion, the blocks are still added, but a warning is issued
at the end of the run.
113
Part 2: Mining Width Program
5 July, 1999
Using the Mining Width Program
4. Type the name of the Results File or Pit List File that you want to
use as input and press Enter
5. Type the name of the Structure Arcs File that you want to use as
input and press Enter
6. Type in a name for the output Results File or Pit List File (as
appropriate) and press Enter
7. Type in the number of the largest pit that you want to use for the
final pit outline and press Enter
8. Enter the pit numbers you want to use to identify the intermediate
push-backs and the final pit by typing in:
• The exact pit numbers that you want to use
• A single pit number
The program will assume that you want to use multiples of that
number as push-backs.
• Two or more pit numbers
The program will extrapolate from the last two numbers given,
and list a series of pit numbers of the same distance apart.
114
Part 2: Mining Width Program
5 July, 1999
Using the Mining Width Program, Continued
Step Action
9. Use the table below to determine your next step
If the pit numbers listed for the then…
push-backs are…
Correct Type: Y↵
Not correct Type: N↵
Go back to step 8
10. Type in the mining width that you want to use and press Enter or
press Enter to accept the default mining width
11. The program will list a series of push-back control values. Use the
table below to determine your next step
If you… then…
Want to modify Press Enter to accept the default [Y]
any of these The program will display a numbered list of
values these values. Choose the number of the item you
want to change and press Enter
You are now given the option of changing the
values or turning on/off additional smoothing
options. Make the desired changes and press
Enter
Continue this process until you have completed
all of the necessary changes, then type: 99↵ to
exit.
Do not want to Type: N↵
modify any of
these values
115
Part 2: Mining Width Program
5 July, 1999
Using the Mining Width Program, Continued
What happens
Stage 1
The Mining Width Program reads in the:
• Parameters File
• Structure Arcs File
• Results File or Pit List File
It then converts the pit numbers to push-back numbers (i.e. 1, 2, 3).
Stage 2
Working from the bottom up, it applies a series of tests and adjustments to
each bench, in turn.
• If the user has specified a value for small drop cuts, the program will
check to see if any blocks need to be reallocated.
• It looks at the pit outline to ensure that all blocks are accessible (within
tolerance).
• If pit expansion is allowed, it will expand the pit to make the blocks
accessible in such a way as to minimize the number of blocks affected.
Stage 3
The program then deals with each push-back in turn, starting from the
outside. In each case it:
• Checks that all blocks can be accessed within the specified tolerance. If
necessary it allows the previous push-back to extend into the current
push-back in such a way as to minimize the number of blocks affected.
• Removes:
- Small walls
- Small stumps
- Small holes
- Sharp corners
Stage 4
The program then creates:
• A modified Results File or Pit List File
• A print file containing detailed information about modified push-backs
and the final pit
116
Part 2: Mining Width Program
5 July, 1999
Print File Output
Contents of the In the case where a Results File is used as input, the print file contains details
print file of:
• Blocks read, accepted and rejected on input and those written to the new file
• Any material added to or omitted from the final pit
• The push-backs, including push-back tonnage
If a Pit List File is used as input, then the print file reports on blocks rather than
tonnages.
Resultant push-backs
In the print file, the resultant push-backs are:
• Displayed bench by bench
• Labelled a to z to enable blocks that have been moved to a new push-back to
be highlighted with capital A to Z
Pit expansion/block removal
There are two symbols used to highlight, where the final pit has been expanded
to accommodate mining width:
• The “+” symbol is used to show where a block has been added to the final pit
for which a record exists in the input Results File.
• The “*” symbol is used where no record exists in the Results File. In the
latter case the block is assumed to be waste.
If blocks are removed from the final pit, they are shown as “#”.
Initial push-backs
If you want details of the push-backs without any other modifications, use the
Mining Width Program with a mining width of zero (or a template of one block
by one block) and no other changes.
This will just change the pit numbers to push-back numbers and output the
push-backs in the print file, bench by bench.
117
Part 2: Mining Width Program
5 July, 1999
Further Information
For more Refer to the page references below for further information about a topic.
information
Topic See Page
Additional Arcs Files 232
Error messages 404
Filenames and extensions 19
Model Files 214
Parameters File information 178
Pit List Files 235
Pit size techniques 313
Print files 24
Results Files 223
Structure Arcs Files 23
Using the Four-X package 15
Tutorials and For practice in using the Mining Width Program, refer to the following tutorials
exercises and exercises in your Getting Started Manual:
• Tutorial 6 - The Basics of Mining Width Control
• Exercise 6 - Further Tidying Up
118
Part 2: Mining Width Program
5 July, 1999
Chapter 7: Analysis Program (FXAN)
Overview
Purpose The Analysis Program allows you to analyse the contents of a Results File by
simulating the operation of the mine over its lifetime, using a wide range of
throughputs and economic circumstances. This allows you to select the best pit
outline and the best way of operating the mine long-term, according to almost
any criteria.
Most of your time will be spent in running the Analysis Program and studying
its output.
Parameters
File (.par) Analysis
Print File
(.pra)
Results File FXAN
(.res)
Spreadsheet
Output File
(.sso)
t
Sp rea dshee e
Fil
De finition
(.ssd )
Opti-Cut Opti-Cut
Economics
Text File (.etx) + Sequence
Text File (.stx)
Mining
Sequence
File (.msq)
119
Part 2: Analysis Program
5 July, 1999
Overview, Continued
120
Part 2: Analysis Program
5 July, 1999
Section A: Analysis Program Overview
Terminology
Analysis In Four-X, the term analysis refers to carrying out runs of the Analysis Program
and considering its output.
The runs simulate the operation of the mine with different pit sizes, throughput
limits and economic circumstances.
Analysis request An analysis request is the information that you provide to the program for it to
do an analysis.
Economic scenario An economic scenario is set of economic values and process definitions which
may change over time, and which constitutes one possible economic
environment for this project.
Mining schedule A mining schedule is a mining sequence divided into time slots.
121
Part 2: Analysis Program
5 July, 1999
The Analysis
Introduction The Analysis Program analyses the Results File according to the analysis
requests input by the user.
Analysis requests The program allows you to input a number of analysis requests.
Each analysis request details one or more economic scenarios. For each
scenario, the Analysis Program simulates the mining of the pit in various
sequences, and stores details of the mining schedules with tonnages, grades and
cash flow figures in the print file.
You specify:
• The final pit
• The prices
• The costs and recoveries
• The discount rate
• The throughput limits
What happens Each simulation covers the operation of the mine, through to the end of
production. The program outputs the following information for each period (if
a full print is requested) and, for the life of the mine:
• Period-by-period mining and processing tonnages
• Grades
• Cash flows
• Discounted cash flows
This information is located in the Analysis Program print file (.pra).
The prices, costs, and throughput limits for mining, processing and production
may vary from period to period.
An unlimited number of different simulations can be carried out in one run.
If requested, selected values can be stored in a Spreadsheet Output File for
further manipulation or graphing by a spreadsheet program.
122
Part 2: Analysis Program
5 July, 1999
Mining Schedules: Worst Case, Best Case and User Specified
Introduction One to three different mining schedules can be used during each simulation.
The mining schedules used by the Analysis Program consist of two extreme
schedules supplied by the program, namely:
• “Worst case”
- and -
• “Best case” .
In addition, there is the user specified schedule.
The best case and user specified schedules make use of the pit outlines that lie
inside the one being studied.
The intersections between the various pit outlines and the benches divide the
benches into nested mining units, and it is the sequence of these units that is
controlled.
When these schedules are combined with careful economic forecasting, they
allow you to make informed strategic decisions that will minimize corporate
exposure to economic changes, whilst maximizing the likely return.
Worst case The worst case schedule consists of mining each bench completely before
starting on the next bench.
This schedule, or something very close to it, is usually feasible. It also sets a
lower limit to the Net Present Value.
Unless you mine waste to the exclusion of ore, it is difficult to achieve a lower
NPV.
Best case The best case schedule consists of mining out pit 1, the smallest pit, and then
mining out each subsequent pit shell from the top down, before starting the next
pit shell.
In other words, there are as many intermediate mining push-backs as there are
pit outlines within the one we are mining.
This schedule is seldom feasible because the push-backs are usually much too
narrow. Its usefulness lies in setting an upper limit to the achievable Net
Present Value.
If, as is sometimes the case, worst case and best case Net Present Values differ
by only a percent or two, then you know that, for that pit, mining sequence is
unimportant from an economic point of view.
123
Part 2: Analysis Program
5 July, 1999
Mining Schedules: Worst Case, Best Case and User Specified,
Continued
User specified If, as is more common, the difference between worst and best case is
significant, you can approximate a more realistic mining schedule, between the
two extremes, by specifying the sequence of pit outlines to push back to.
The exact order in which the push-back benches are mined depends on whether
you choose to mine push-backs:
• With a constant lag
• To improve NPV, using the Milawa Algorithm
- or -
• To improve throughput balance, using the Milawa Algorithm
Constant lag
With the constant lag option, you specify a number of benches by which the
mining of each push-back is to lag behind the previous one.
If, for example, you choose a lag of 4, mining would commence on the first
push-back and proceed until four benches were mined. Mining would then
commence on the second push-back and would also continue on the first
push-back. Work commences on the third push-back when the fourth bench of
the second push-back has been completed, etc.
This is the method used in previous versions of Four-X.
Milawa Algorithm
The Milawa Algorithm is a strategic scheduling tool which differs from most
other schedulers in that it is designed specifically for long term scheduling. It
operates in two modes:
• NPV mode
Use this mode to specify that you want the system to find a schedule with
improved NPV. The order in which the benches of push-backs are mined is
determined by the Milawa Algorithm as it seeks to maximize NPV.
• Balancing mode
Use this mode to specify that you want the system to find a schedule with
improved throughput balance. In this mode, the Milawa Algorithm seeks to
maximize the usage of production facilities early in the life of the mine
instead of maximizing NPV. This option will only be of use if you specify at
least two of the possible mining, processing or selling limits.
In both modes, you can limit the number of benches of a push-back mined in a
period, and control the lead of one push-back over the following push-back.
124
Part 2: Analysis Program
5 July, 1999
Mining Schedules: Worst Case, Best Case and User Specified,
Continued
Note: In order for the Analysis Program to use the Milawa Algorithm, the
initialization file must contain a line which reads Milawa=Yes in the
[System] section.
To enable the Analysis Program to use the Milawa Algorithm, follow the steps
in the table below.
Step Action
1. Open and view the Four-X initialization file, fx.ini, using a text
editor or a word processor in pure text mode
2. Under the [System] section header, find the line beginning with:
Milawa=
3. Edit the line to read:
Milawa=Yes
4. Save the file and exit from the text editor or word processor
For information about how the Milawa Algorithm works, see page 381.
125
Part 2: Analysis Program
5 July, 1999
Section B: Using the Analysis Program
Procedure
126
Part 2: Analysis Program
5 July, 1999
Procedure, Continued
Step Action
6. Use the table below to determine your next step
If you… then…
Want to enter Type: Y↵
time/replacement
Continue with the procedure titled Entering
costs explicitly
time/replacement costs below
Do not want to enter Press Enter to accept the default [N]
time/replacement
Continue with the procedure titled Entering
costs explicitly
the economic scenario on page 128
Entering The Analysis Program will ask you to enter an analysis request. Follow the
time/replacement steps in the table below.
costs
Step Action
1. Type in a value for the initial capital expenditure and press Enter, or
press Enter to accept the default value
2. Type in a value for time costs and press Enter, or press Enter to
accept the default value
3. Type in a value for the replacement capital expenditure and press
Enter, or press Enter to accept the default value
4. Type in a value for the reference mining cost and press Enter, or
press Enter to accept the default value
5. Type in a value for the time/replacement costs factored into the cost
of mining and press Enter, or press Enter to accept the default value
6. Type in a value for the method/type specified and press Enter, or
press Enter to accept the default value
This step will be repeated for each method/type
7. Type in the time replacement costs factored into the particular
element selling cost or press Enter to accept the default [0]
8. Continue from step 3 of the procedure titled Entering the economic
scenario below
127
Part 2: Analysis Program
5 July, 1999
Procedure, Continued
Entering the The Analysis Program will ask you to enter an analysis request. Follow the
economic scenario steps in the table below.
Step Action
1. Type in a value for the initial capital expenditure, or press Enter to
accept the default value
2. Type in a value for the reference mining cost, or press Enter to
accept the default value
3. Type in a value for the prices to be obtained for the element
specified, or press Enter to accept the default value
This step will be repeated for each element
4. Type in a pit number and press Enter
5. Type in a value for the discount percentage per period, or press
Enter to accept the default value
6. Type in a value for the maximum† tonnes of rock per period, or
press Enter to accept the default value
†
7. Type in a value for the maximum tonnes per period for the
processing method specified, or press Enter to accept the default
value
This step will be repeated for each processing method
†
8. If processing groups exist, then type in a value for the maximum
tonnes per period for each processing method group, or press Enter
to accept the default value
This step will be repeated for each processing method group
†
9. Type in a value for the maximum units of each element per period,
or press Enter to accept the default value
This step will be repeated for each element
128
Part 2: Analysis Program
5 July, 1999
Procedure, Continued
Step Action
10. The program then asks if you want to modify the other Parameters
File values. Use the table below to determine your next step.
If you… then…
Want to Type: Y↵
modify any of
The program will display a numbered list of these
the values
values
Choose the number of the item you want to change
and press Enter
You will then get the option to change the values
Make the desired changes and press Enter
Continue this process until you have completed all
of the necessary changes, then type: 99↵ to exit
Do not want to Press Enter to accept the default [N]
modify these
values
129
Part 2: Analysis Program
5 July, 1999
Procedure, Continued
2. Type in a list of pit numbers that you want to push back to, and
press Enter
3. Use the table below to determine your next step
If you want to mine the then…
push-backs…
With a constant lag Press Enter to accept the default [1]
Type in the number of benches by which
each push-back must lead to the next (i.e.
the lag) and press Enter
With improved NPV Type: 2↵
With improved Type: 3↵
throughput balance
If you choose either improved NPV or throughput balance, you will
be asked if you want to specify maximum bench mining or bench
lead constraints. If you answer in the affirmative, you will be shown
a Menu which will allow you to set constraints which apply to all
push-backs, or to set constraints individually for each push-back.
Note that, as for throughput limits, a value of zero indicates that
there is no constraint.
4. Worst case schedule: use the table below to determine your next
step
If you… then…
Want to produce a worst Press Enter to accept the default [Y]
case schedule
Do not want to produce a Type: N↵
worst case schedule
130
Part 2: Analysis Program
5 July, 1999
Procedure, Continued
Step Action
5. Best case schedule: use the table below to determine your next step
If you… then…
Want to produce a best case Press Enter to accept the default [Y]
schedule
Do not want to produce a Type: N↵
best case schedule
Step Action
1. The program will ask whether the values for this request are correct.
Use the table below to determine your next step
If the values are… then…
Correct Type: Y↵
Wrong Type: N↵
You will be prompted to re-enter all
time/replacement cost information,
economic variables and schedule
information, as appropriate. However,
the values you have just entered are
given as defaults, so that you only have
to type in the changes.
131
Part 2: Analysis Program
5 July, 1999
Procedure, Continued
Step Action
3. You will be asked whether you want a full print†. Use the table
below to determine your next step
If you… then…
Want a full print Type: Y↵
Do not want a full print Type: N↵
5. Opti-Cut files: use the table below to determine your next step
If you… then…
† A full print consists of all of the information for each analysis per period and per schedule.
‡ Note: If you have not entered explicit time costs you will receive a warning that the Economics Text File
(ETX file) will need to be modified before Opti-Cut is run.
132
Part 2: Analysis Program
5 July, 1999
Procedure, Continued
Step Action
6. Mining Sequence File: use the table below to determine your next
step
If you… then…
Want a Mining Sequence Type: Y↵
File
Type in a name for the Mining
Sequence File and press Enter
Do no want a Mining Press Enter to accept the default
Sequence File [N]
7. The program starts its run. Refer to What Happens on page 135
In the example above, by typing ^ and pressing the Enter key (↵) the program
would repeat the “Reference mining cost” prompt, showing the response you
have just entered as the default response (in this case, 1.36).
You are then able re-type or edit the Reference mining cost information.
Default answers If you go through the analysis request questions more than once, either to make
a correction or to enter another request, the default values will be the ones you
entered previously.
It is therefore easy to input multiple requests with small changes for each
request. You merely have to press Enter for most of the questions.
133
Part 2: Analysis Program
5 July, 1999
Procedure, Continued
134
Part 2: Analysis Program
5 July, 1999
What Happens
135
Part 2: Analysis Program
5 July, 1999
Entering Value Ranges in Analysis Requests
Introduction If you want to enter a number of analysis requests in which only certain
numbers are changed in each, consider the following techniques.
Changing one or If you want to change one or more values in an ascending series from request to
more values in an request, instead of typing in a single number, you can enter a range in the form
ascending series of:
LOW-STEP-HIGH
Example 1
If you enter 20-2-30 for the pit number it is as though you entered analysis
requests for pit numbers 20, 22, 24, 26, 28 and 30. You are then able to carry
out the same analysis on this range of pit sizes.
Example 2
If you enter 300-25-400 for the price, and single values for everything else, it is
as though you had entered analysis requests for 300, 325, 350, 375 and 400.
136
Part 2: Analysis Program
5 July, 1999
Entering Value Ranges in Analysis Requests, Continued
Entering ranges for If you enter a range for more than one value, then each range is expanded
more than one within each value of the preceding range.
value
Example
If you enter:
• Price as 300-50-400
- and -
• pit number as 35-2-41
…then the requests for the following cases will be generated in the order shown
below, with all other values being constant.
Price 300 300 300 300 350 350 350 350 400 400 400 400
Pit 35 37 39 41 35 37 39 41 35 37 39 41
Other questions…
Price to be obtained for the GOLD
[400.00] : 350-10-450
Price to be obtained for the SLVR
[5.00] : 4.5-0.1-5.5
Other questions…
In the above example, the output would contain the data that you require.
However the program would generate 121 scenarios and the data that you
require would be buried in a lot of data that you do not want.
137
Part 2: Analysis Program
5 July, 1999
Entering Value Ranges in Analysis Requests, Continued
Where you want Where you want two values to change together, you have to enter each pair of
two values to values separately.
change together
Example
Other questions…
Price to be obtained for the GOLD
[400.00] : 350
Price to be obtained for the SLVR
[5.00] : 4.5
Other questions…
Enter another analysis request (Y/N) ? Y
… and so on.
Values that change When entering values in an analysis request, use the following construct to
with time indicate values that change with time:
p<n>/value
Where:
• p represents period.
• <n> represents a period number.
• value represents a value.
138
Part 2: Analysis Program
5 July, 1999
Entering Value Ranges in Analysis Requests, Continued
Example
If you currently operate a processing mill with a maximum throughput of 200k
tonnes per period, but are constructing a second mill with a throughput of 150k,
which you expect to bring into production after 2 periods, you can enter the
throughput limit of the mill as:
200k p3/350k
Where k indicates thousands.
During the simulation of the life of the mine, the Analysis Program will use a
limit of 200k for the first two periods, and will then use 350k for the remainder
of the life of the mine.
139
Part 2: Analysis Program
5 July, 1999
Entering Value Ranges in Analysis Requests, Continued
• If ranges are used with period changes, then all of the ranges for a particular
entry must have the same number of steps, or have a single step (i.e. one
value). An example of this is given below.
• Ranges within an entry do not multiply with each other.
Example 1
20-1-25 p7/30-1-35
… will produce 6 requests (not 36). It is the equivalent of entering:
- 20 p7/30 the first time
- 21 p7/31 the second time
- 22 p7/32 … etc.
Example 2
20 P5/30-1-32
… is the equivalent of entering:
- 20 P5/30
- 20 P5/31
- 20 P5/32
140
Part 2: Analysis Program
5 July, 1999
Entering Value Ranges in Analysis Requests, Continued
Discount percentage
Any discount percentage that you set should be for the length of period you
have decided on. Thus, if a period is three months, the discount percentage will
be less than if the period is a year. If the period length varies, then the discount
percentages should vary as well.
How Four-X calculates discounted cash flows
The fraction by which cash flows for a period are multiplied to produce
discounted cash flows is worked out by multiplying the factor for the previous
period (or 1.0 if this is the first period) by either:
†See, for example, D. W. Gentry & T. J. O’Neil, “Mine Feasibility Studies”, in H. L. Hartman et al (eds),
SME Mining Engineering Handbook, 2nd edn, Society for Mining, Metallurgy and Exploration, Littleton,
Colorado, 1992, pp. 393-404.
141
Part 2: Analysis Program
5 July, 1999
Entering Value Ranges in Analysis Requests, Continued
You can change the type of discounting you use through the fx.ini file.
Follow the steps in the table below.
Step Action
1. Open and view the Four-X initialization file, fx.ini, using a text
editor or a word processor in pure text mode
2. Under the [System] section header, find the line beginning with:
Discount=
3. Edit the line to read:
• Discount=MethodA
- or -
• Discount=MethodB
… as required
4. Save the file and exit from the text editor or word processor
Throughput limits
Throughput limits for mining, processing and product, all work on the
principle: if a positive value is supplied, that value is taken as the limit and is
honoured absolutely.
That is, during a simulation, if any limit is reached, then the current period is
terminated, and a new period is started. Thus, for example, there is no
provision for balancing ore and waste mining.
Any throughput limit that you set should be for the length of period that you
have decided on. Therefore, if the period is a quarter, its throughput limits will
be less than if the period is a year.
If the throughput limit is set to zero then it is ignored, and has no effect on
scheduling.
Note: At least one limit should be non-zero, otherwise scheduling cannot take
place, and everything is mined in the first period.
142
Part 2: Analysis Program
5 July, 1999
Entering Value Ranges in Analysis Requests, Continued
Note that, when calculating Internal Rate of Return, the Analysis Program
assumes that the period cash flows are for periods of one year, regardless of the
discount rate and throughput settings. Thus, if you do vary the period length,
any Internal Rate of Return will be incorrect.
143
Part 2: Analysis Program
5 July, 1999
Entering Value Ranges in Analysis Requests, Continued
144
Part 2: Analysis Program
5 July, 1999
Section D: Output
Introduction The Analysis Program produces output in the form of a print file. In addition, it
can provide the user with:
• A Spreadsheet Output File
• A Mining Sequence File
• Opti-Cut Sequence and Economics Text Files
This topic discusses spreadsheet and print file output.
Spreadsheet output The Analysis Program can generate a large quantity of information very quickly
and users frequently want to manipulate the data further, or plot graphs from it.
Manipulation and/or plotting can most easily be done by using a spreadsheet
program.
The Analysis Program offers a facility that allows you to output selected values
to a text file, which can then be read into a spreadsheet (or any other) program.
When you use this facility, you need to create a Spreadsheet Definition File that
lists the items that you want to output for spreadsheet use (see page 241 for
more information about Spreadsheet Definition Files). The Analysis Program
then outputs the values you have indicated in a Spreadsheet Output File.
145
Part 2: Analysis Program
5 July, 1999
Spreadsheet and Print File Output, Continued
Multi-element tutorial 2
Grand totals:
See page 263 for more information about Spreadsheet Output Files.
Print file output The Analysis Program outputs the results of its run in the print file (file
extension “.pra”).
146
Part 2: Analysis Program
5 July, 1999
Spreadsheet and Print File Output, Continued
Example The following is an example of print file output from the Analysis Program.
Rock Proc Meth Proc T/R Recov Threshold Minimum Maximum Cut-off
Type Element Cost adj Ratio Grade cut-off cut-off /over
BEST CASE SCHEDULE : with inner pits always mined out first
An explanation of many of the values in print file output is given in the Getting
Started Manual.
147
Part 2: Analysis Program
5 July, 1999
Section E: Further Information
For more Refer to the page references below for further information about a topic.
information
Topic See Page
Error messages 404
Filenames and extensions 19
Mining Sequence Files 221
Model Files 214
Opti-Cut Sequence and Economics Text Files 239
Optimization Program 90
Parameters File information 178
Pit Visualisation Program 96
Print files 24
Results Files 223
Spreadsheet Definition Files 241
Spreadsheet Output Files 263
Time cost handling during analysis 305
Using the Four-X package 15
Tutorials and For practice in using the Analysis Program, refer to the following tutorials and
exercises exercises in your Getting Started Manual:
• Tutorial 1 - The Basics
• Exercise 1 - Using Different Pit Sizes
• Tutorial 2 - Further Analysis of the Results File
• Exercise 2 - Varying Silver Prices
• Tutorial 3 - Improving the Value by Using Contract Mining
• Exercise 3 - Improving the Value by Using Two Push-backs
• Tutorial 4 - Re-arranging a Model
• Exercise 5 - Should the Mill be Moved
• Tutorial 6 - The Basics of Mining Width Control
• Exercise 6 - Further Tidying Up
• Tutorial 7 - Optimizing the mining sequence
• Exercise 7 - Limiting the push-back lead
148
Part 2: Analysis Program
5 July, 1999
Chapter 8: Utilities Program (FXUT)
Overview
149
Part 2: Utilities Program
5 July, 1999
Section A: Summarising a Data File
Overview
(Optional) Parameters
Utilities - summarise data file
File (.par)
Print File
(.mod)
OR
Results File
(.res) Spreadsheet
Output File
OR (.sso)
Mining
Sequence
File (.msq)
150
Part 2: Utilities Program
5 July, 1999
Starting the Program and Entering Preliminary Information
151
Part 2: Utilities Program
5 July, 1999
Starting the Program and Entering Preliminary Information,
Continued
Step Action
5. Type of summary: use the table below to determine your next step
If you want the then…
program to output…
Counts only Type: 1↵
Continue with the procedure titled
Procedure: Counts Only, on page 153
Distribution graphs only Type: 2↵
Continue with the procedure titled
Procedure: Graphs Only, on page 155
Both counts and graphs Type: 3↵
Continue with the procedure titled
Procedure: Counts and Graphs, on page
157
152
Part 2: Utilities Program
5 July, 1999
Procedure: Counts Only
153
Part 2: Utilities Program
5 July, 1999
Procedure: Counts Only, Continued
Procedure (continued)
154
Part 2: Utilities Program
5 July, 1999
Procedure: Graphs Only
†With constant histogram scaling, the information is displayed so that the areas are proportional to the values
or ranges.
155
Part 2: Utilities Program
5 July, 1999
Procedure: Graphs Only, Continued
Procedure (continued)
156
Part 2: Utilities Program
5 July, 1999
Procedure: Counts and Graphs
157
Part 2: Utilities Program
5 July, 1999
Procedure: Counts and Graphs, Continued
Procedure (continued)
†With constant histogram scaling, the information is displayed so that the areas are proportional to the values
or ranges.
158
Part 2: Utilities Program
5 July, 1999
Procedure: Counts and Graphs, Continued
Procedure (continued)
159
Part 2: Utilities Program
5 July, 1999
What Happens and Output
160
Part 2: Utilities Program
5 July, 1999
What Happens and Output, Continued
Output The Utilities Program outputs the counts and/or graphs in the print file, and also
if available/requested, in a spreadsheet output file.
161
Part 2: Utilities Program
5 July, 1999
What Happens and Output, Continued
Example 2
Below is an example of graph information contained in the print file output.
x 1000
Tonnes Tonnes of material in grade range
Grade range material 0 500 1000 1500 2000 2500
--------------------------|---------|---------|---------|---------|---------|
0.005 0.010 2160 |
0.010 0.015 73440 |#
0.015 0.020 449840 |#########
0.020 0.025 856800 |#################
0.025 0.030 1334880 |###########################
0.030 0.035 1307920 |##########################
0.035 0.040 902480 |##################
0.040 0.045 807280 |################
0.045 0.050 476720 |##########
0.050 0.055 382880 |########
0.055 0.060 252080 |#####
0.060 0.065 160480 |###
0.065 0.070 102560 |##
0.070 0.075 68640 |#
0.075 0.080 50160 |#
0.080 0.085 21520 |
0.085 0.090 20000 |
0.090 0.095 8000 |
0.095 0.100 13520 |
0.100 0.105 7360 |
0.105 0.110 3680 |
0.110 0.115 5840 |
------------------------------------------------------------------------------
7308240
162
Part 2: Utilities Program
5 July, 1999
What Happens and Output, Continued
Spreadsheet output Each Spreadsheet Output File produced by the Summarise a Data File mode
contains standard information and is in a fixed format.
As such, the Summarise a Data File mode does not use a Spreadsheet
Definition File to produce the Spreadsheet Output File.
Below is part of a Spreadsheet Output File produced in the Summarise a Data
File mode.
163
Part 2: Utilities Program
5 July, 1999
Section B: Showing Block Value Calculations
Overview
Purpose In this mode, the Utilities Program creates output containing a full explanation
of the block value calculation for each block that you have selected.
(.mod)
OR
Results File
(.res)
OR
Mining
Sequence
File (.msq)
164
Part 2: Utilities Program
5 July, 1999
Procedure
Step Action
1. Type in a name for the print file and then press Enter
2. Type: 2↵ to select the “show block value calculations” option
3. Type in the name of the Parameters File that you want to use as
input and press Enter
4. Use the table below to determine your next step
If you want to use a… then…
Model File as input Type: 1↵
Type in the name of the Model File
and press Enter
Results File as input Type: 2↵
Type in the name of the Results File
and press Enter
Mining Sequence File Type: 3↵
as input Type in the name of the Mining
Sequence File and press Enter
165
Part 2: Utilities Program
5 July, 1999
Procedure, Continued
Procedure (continued)
Step Action
5. Type in the desired X, Y and Z co-ordinates either as a single value
or as a range and press Enter
6. Type in the desired Revenue Factor value for the calculations and
press Enter
166
Part 2: Utilities Program
5 July, 1999
Print File Output
Introduction In the “showing block value calculations” mode, the Utilities Program creates a
print file containing a full explanation of the block value calculation for each
block selected.
This can be read alongside the explanation of how Four-X calculates block
values, on page 337.
167
Part 2: Utilities Program
5 July, 1999
Section C: Showing Cut-off Variation with Processing CAF
Overview
Purpose In this mode, the Utilities Program creates output containing theoretical
cut-offs, and any cut-offs obtained by cut-off scaling which are different from
the theoretical cut-offs, by ≥ 1 in the last digit.
Parameters FXUT
File (.par) Print File
(.pru)
Note:
• Theoretical cut-offs are calculated using the formulae given on pages 354
and 359. These cut-offs are subject to any minima and maxima in the
Parameters File.
• For more information about cut-offs obtained by cut-off scaling, see page
366.
168
Part 2: Utilities Program
5 July, 1999
Procedure
Step Action
1. Type in a name for the print file and then press Enter
2. Type: 3↵ to select the “show cut-off variation with processing CAF”
option
3. Type in the name of the Parameters File that you want to use as
input and press Enter
4. Type in the range of processing CAFs that you want to use and press
Enter
5. Type in the desired Revenue Factor value for the calculations and
press Enter
169
Part 2: Utilities Program
5 July, 1999
Print File Output
Introduction In the “showing cut-off variation with processing CAF” mode, the Utilities
Program creates a print file containing a list of:
• Theoretical cut-offs
• Any cut-offs obtained by cut-off scaling which are different from the
theoretical cut-offs, by ≥ 1 in the last digit.
170
Part 2: Utilities Program
5 July, 1999
Section D: Showing Four-X System Limits
Overview
Autoexec.bat
(Pcs only)
171
Part 2: Utilities Program
5 July, 1999
Procedure
Step Action
1. Type in a name for the print file and then press Enter
2. Type 4↵ to select “show Four-X system limits” option
3. Use the table below to determine your next step
If you… then…
Want to output details of the following files: Press Enter to
• autoexec.bat (PCs only) accept the
default [Y]
• config.sys
- and -
• fx.ini
Do not want the program to output details of Type: N↵
these files
What happens The program will display on the screen and output to the print file:
• Four-X limitations, including those relating to:
- Models
- Computer memory and filenames
- The programs
• If requested, details of the following files:
- autoexec.bat
- config.sys
- fx.ini (Four-X initialization file)
172
Part 2: Utilities Program
5 July, 1999
Print File Output
Introduction The program outputs to the print file details of Four-X limitations and, if
requested, details of autoexec.bat (PCs only), config.sys, and fx.ini files.
Example Here is an example of print file output for the PC version of the package.
MODELS
Parcels in a block 99
Dimension in blocks in X,Y and Z direction 999
Sub-regions 20
Slopes within a sub-region 8
Number of elements 10
Number of expressions 99
Characters in an expression 1200
Rock types 50
Processing-method/rock-type combinations 50
Processing method groups 9
Total items in all processing method groups 50
RE-BLOCKING (FXRE)
Input files 10
Parcels in a block during re-blocking 3000
Points in a polygon definition 100
OPTIMIZATION (FXOP)
Optimal pits per run 101
ANALYSIS (FXAN)
Periods in a simulation 999
Columns for spreadsheet output 50
Milawa algorithm limits
Number of phases that can be improved 9
Number of mining, processing and selling limits 10
Number of changing economics in current scenario 50
Mine life in periods 999
Note: The actual numbers that you will see will be the limits that apply to your
particular copy of Four-X.
System files The program also offers to print your system files (config.sys, autoexec.bat (PC
systems only), and fx.ini).
This can be useful when reporting problems to Whittle Programming.
173
Part 2: Utilities Program
5 July, 1999
Section E: Further Information
For more Refer to the page references below for further information about a topic.
information
Topic See Page
Auxiliary files: Config.sys, autoexec.bat, fx.ini 265
Calculating block values 337
Error messages 404
Filenames and extensions 19
Mining Sequence Files 221
Model Files 214
Ore selection methods 346
Parameters File information 178
Print files 24
Results Files 223
Spreadsheet Output Files 263
Techniques with blocks 307
Using the Four-X package 15
Tutorials and For practice in using the Utilities Program, refer to Tutorial 1 - The Basics in
exercises your Getting Started Manual.
174
Part 2: Utilities Program
5 July, 1999
Part 3: Detailed File Formats
Overview
Introduction Four-X uses and/or creates 10 different types of text files plus 3 auxiliary files.
This part details the format of 8 of the text files. The other 2 text files are
Opti-Cut files. They are briefly described here, but for a full description refer
to the Opti-Cut User Manual.
This part also details the three auxiliary files.
Order of The information in each of the text files can appear in either:
information in the
text files • Fixed column layout
• Comma delimited format
Fixed column layout
In fixed column layout, the information in each of the text files can appear in a
certain order according to column numbers.
Example
Column 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
number
The fixed column layout for each of the text files is described in detail in the
following chapters.
Comma delimited format
In comma delimited format, commas are used to separate the different items. In
this case, the width and column positions are immaterial, but every field, even
if it is blank, must appear with a comma after it.
175
Part 3: Detailed File Formats
5 July, 1999
Overview, Continued
Default format of By default, when Four-X writes them, the Mining Sequence, Model, Pit List,
certain files Results and Spreadsheet Files are formatted in the fixed column layout. You
can change the default format of these files which is set in the fx.ini file.
Follow the steps in the table below.
Step Action
1. Open and view the fx.ini file using a text editor or word processor.
2. Under the [System] section header, find the line that reads:
Store<filename>=Fixed
• If you want to change the format to Store<filename>=Comma,
then edit the text to read:
Store<filename>=Comma
3. Save the fx.ini file and exit from the text editor or word processor.
In addition, Spreadsheet Output Files can be formatted in quote format, that is,
where quotation marks are used to separate the items, as well as comma
delimited format.
The format of the Spreadsheet Output File can be changed to comma delimited
format or to quote format in a similar manner to that described, above.
Value types There are certain types of values that must be used in the text files. The
following table provides details of each of the allowed value types and the
abbreviation used to identify them in the following chapters.
176
Part 3: Detailed File Formats
5 July, 1999
Overview, Continued
File limitations There are limits to the numbers of various types of items that can be included in
these text files.
See Appendix I: Four-X System Limits and Precision on page 402 for details of
these limits.
177
Part 3: Detailed File Formats
5 July, 1999
Chapter 1: Parameters File
Overview
Description Parameters Files (file extension “.par”) are text files that contain:
• The model layout
• The dimensions
• The slopes
• The materials
• The processing methods
The programs that The Parameters File is read by each of the Four-X programs, although each
use the Parameters does not use all of the information it contains.
File
178
Part 3: Detailed File Formats
5 July, 1999
Layout
Introduction The Parameters File is a text file with different types of lines identified by a line
type number.
Note: If the Edit Parameters Program is used to prepare, modify and validate
the Parameters File, then it automatically enters the line numbers.
Line Each type of line contains certain information. Each type of line is referred to
as a “line type”.
The line types in the Parameters File must appear in the following order:
• Type 1
• Type 2
• Type 3
• For each sub-region:
- Type 4
- Type 5
- For each bearing and slope in the sub-region: Type 6
• Type 12
• Type 13
• One or more Type 14
• For each element type: Type 18
• For each grade-dependent expression: Type 19
• For each element type: Type 20
• For each rock-type: Type 21
• For each method/type combination for open pit:
- Type 25
- For each element: Type 26
• For each method/type combination for underground:
- Type 30
- For each element: Type 31
• For each processing method group: Type 35
179
Part 3: Detailed File Formats
5 July, 1999
Line Types
Introduction The information contained in the different line types must appear in a certain
order within that line type. This information and its position is detailed below.
For more information about the dimension of the model framework, see page
193.
180
Part 3: Detailed File Formats
5 July, 1999
Line Types, Continued
181
Part 3: Detailed File Formats
5 July, 1999
Line Types, Continued
Note: The Structure Arcs Program requires a minimum of three benches for any
sub-region which is at the top of the model framework.
For more information about sub-region block limits, see Sub-region
information, starting on page 201.
For more information about slopes, benches and the sub-region default block
tonnage, see Sub-region information, starting on page 201.
182
Part 3: Detailed File Formats
5 July, 1999
Line Types, Continued
The bearings and slopes for a sub-region, together with the number of benches
to consider from line type 5, constitute the definition of a slope profile.
For more information about slope, bearing and angle, see Sub-region
information, starting on page 201.
† Note: A negative number will scale the output by that power of ten. Example: -3 for thousands.
183
Part 3: Detailed File Formats
5 July, 1999
Line Types, Continued
184
Part 3: Detailed File Formats
5 July, 1999
Line Types, Continued
Line type 14 There are two different formats for line type 14:
• Single Revenue Factor value
• Revenue Factor value range
Successive line types 14 can have either format in any order, provided that the
resulting Revenue Factor values form an ascending sequence.
Four-X uses Revenue Factor as a means of varying the pit shells. With Four-X,
it is more appropriate to talk of a base case revenue, and then scale the revenue
up or down to create the inner and outer pit shells.
The factor varies, typically, from 0.25 to 2 in 40 to 100 steps.
The start value is stored, then repeatedly increased by the step value and stored,
until it is greater than the end value. The last value stored is less than or equal
to the end value.
For more information about Revenue Factor values, see page 200.
185
Part 3: Detailed File Formats
5 July, 1999
Line Types, Continued
186
Part 3: Detailed File Formats
5 July, 1999
Line Types, Continued
For more information about expressions, see pages 204 and 282.
Note: It is not usually meaningful to use expressions for selling cost or price,
except when the ore itself is the product (e.g. for iron ore). For more
information about elements, see page 204.
†Note that grades here are for individual parcels. Contrast this with expressions for positional CAFs in the
Re-blocking Program, which are average grades for the whole block.
187
Part 3: Detailed File Formats
5 July, 1999
Line Types, Continued
Note: If more than one processing method is available for a particular rock-type
and ore selection is by cut-off, then the methods must be specified in the order
in which they are to be applied.
For example, for a mill and heap leach operation, it is important to describe the
mill first.
Four-X first checks to see if a parcel is at, or above, the cut-off(s) for the mill.
If it is, the parcel would be sent to the mill. Only if the parcel is not good
enough for the mill will it be checked against the heap leach cut-offs.
For more information about processing methods, see page 211.
188
Part 3: Detailed File Formats
5 July, 1999
Line Types, Continued
For more information about element data for open pit mining, see page 207.
† Note: When considering any second and subsequent processing methods applicable to a particular rock-
type:
• An element cannot be controlled by a cut-off, unless it was controlled for the previous method.
• All elements which were controlled by a cut-off in the previous method must be controlled in this method,
unless the number of controlled elements is reduced to 1.
This is not relevant if ore selection is by cash flow.
189
Part 3: Detailed File Formats
5 July, 1999
Line Types, Continued
The codes, values and usages are identical to those for open pit mining.
For more information about element data, see Processing-method/ rock-type
information - open pit mining on page 207.
For details of when and how to allow for the effects of underground mining on
the open pit, see page 326.
190
Part 3: Detailed File Formats
5 July, 1999
Line Types, Continued
The codes, values and usages are identical to those for open pit mining.
For more information about element data, see Processing-method/ rock-type
information - open pit mining on page 207.
See page 326 for details of when and how to use them to allow for the effects of
underground mining on the open pit.
† Note: When considering any second and subsequent processing methods applicable to a particular rock-
type:
• An element cannot be controlled by a cut-off, unless it was controlled for the previous method.
• All elements which were controlled by a cut-off in the previous method must be controlled in this method,
unless the number of controlled elements is reduced to 1.
This is not relevant if ore selection is by cash flow.
191
Part 3: Detailed File Formats
5 July, 1999
Line Types, Continued
All codes are case insensitive, and should be left-justified within the columns
indicated.
To include a group inside another group, use a group code.
For example, “GR_1” refers to the first group defined, “GR_2” to the second,
etc.
Group codes cannot be used until after the group has been defined.
For more information about processing method groups, see page 211.
Blank and/or Blank lines or comment lines can appear anywhere in the file. Start a blank line
comment lines or comment line with any of the following characters: ' * ! "
Comma delimited As an alternative to the fixed column layout given above, Parameters Files can
format be in comma delimited format, with the values on each line separated by
commas.
192
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File
Introduction This topic lists the information contained in the Parameters File.
Dimensions of the The model framework size is expressed as the number of blocks in the X, Y and
model framework Z directions.
Origin co-ordinates The origin of the model framework is at the outer corner of the block with
co-ordinates 1,1,1.
Note: It is not at the centre of this block.
The provision of origin co-ordinates is optional, but they can be useful when
Results Files are read back into GMPs, and when reading in a Polygon File.
They must be co-ordinates in a system which is aligned parallel to the model
framework.
The Re-blocking Program, can change the origin of a model framework and
will adjust the origin co-ordinates when it creates a new Parameters File.
If the output of the Re-blocking Program is being limited to blocks whose
centres lie within a polygon specified by the user, then the X and Y
co-ordinates of the origin are subtracted from the X and Y co-ordinates of each
of the points which define the polygon. This gives the co-ordinates within the
model framework.
If the origin co-ordinates do not appear in the Parameters File, they are
assumed to be zero.
General formatting The general formatting requirements provide the number of decimal places to
requirements be used for the input and output of various quantities, other than those
associated with elements.
Scaling by a power of ten is also possible (e.g. use -3 to show numbers in
thousands) but this only affects output.
†Note: We use X, Y and Z as co-ordinates in Four-X because some models are not aligned North-South.
However, in general, the positive X direction corresponds to East, the positive Y direction corresponds to
North, and the positive Z direction corresponds to up.
193
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Active blocks The active blocks indicator specifies which blocks you want Four-X to work on
indicator when doing the optimizations. There are three possible indicators: 1, 2 and 3.
Active blocks indicator of 1: all of the blocks in the model framework are
considered for mining.
If the Parameters File has sub-regions, the sub-region(s) that you define must
fill the volume of the model framework exactly. This is because the slopes are
defined separately for each sub-region, and, if all blocks are to be considered,
then slopes must be defined for all blocks.
This is the most commonly used active blocks indicator.
Active blocks indicator of 3: only blocks provided in the Model File are
considered during optimization. That is, the rest of the blocks in the model
framework are completely ignored.
With an active blocks indicator of 3, you will need to ensure that every relevant
block that could be mined is included in the Model File. You must also ensure
that structure arcs are generated for all of these blocks.
You can do this by using an active blocks indicator of 1 for the Structure Arcs
Program run, or an active blocks indicator of 2 with sub-regions that totally
enclose the volume of interest.
Any structure arcs in the Structure Arcs File that do not apply to blocks in the
Model File are discarded by the Optimization Program.
Refer to page 215 for a discussion of which blocks to include in the Model File.
194
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Restart interval The Optimization Program periodically dumps all of the data from memory to
its Work File to enable a later restart. This can be extremely helpful if, for
example, a long optimization run is terminated because of power failure.
The restart interval lets you specify the time between these dumps. Restart
dumps do not take long, but it would be a waste of time to do them too often.
Note: If the restart interval is left blank, restart dumps occur every two hours.
Reference mining The reference mining cost is the cost of mining waste of undefined rock-type at
cost the Reference Block.
Cost of mining waste of a defined rock-type at the Reference Block
The cost of mining waste of a defined rock-type at the Reference Block is
obtained by multiplying the Reference Mining Cost by the appropriate
rock-type mining CAF.
Cost of mining waste of any type at a particular block
The cost of mining waste of any type at a particular block is obtained by
multiplying the cost of mining the same rock as waste at the Reference Block
by the positional mining CAF for the block in question.
Mining dilution When mining at the edge of an ore body, it can be difficult to avoid mining
factor some waste as well. This waste dilutes the grade of the material that is
processed. The mining dilution factor allows an overall mining dilution to be
applied.
Example: A five percent dilution would be effected by a mining dilution factor
of 1.05.
Note: The dilution is applied by increasing the tonnage of mineralised parcels,
regardless of whether there is any waste (non-parcel tonnage or parcels with no
elements) in the block. This can lead to a negative waste tonnage for an
individual block and, in regions of the pit that are entirely mineralised, negative
stripping ratios are possible.
195
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Mining recovery When mining at the edge of the ore body, it is possible to miss some of the ore.
factor It is also possible to lose some of the ore during transportation to the processing
mill.
The mining recovery factor allows an overall mining recovery to be applied.
Example: A five percent mining loss would be effected by a mining recovery
factor of 0.95.
Note: Do not confuse mining recovery with processing recovery.
General default Default block tonnages are used by the Re-blocking Program and by the
block tonnage Optimization Program (where the active blocks indicator is set to 1 or 2) for
blocks that are not specified in the Model File.
Default block tonnages can be blank (meaning undefined), or a value that is
zero (to represent air), or positive.
If a value is supplied, then that value is used as the default block tonnage
everywhere in the model, except within sub-regions that have their own default
block tonnage (see Sub-region information, starting on page 201).
Ore selection The ore selection method flag controls how Four-X selects ore for processing
method flag from the available parcels. There are two possible flag settings: 1 and 2.
196
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Usually, the actions will be the same in both cases, but see page 367 for further
details.
Air flag A Air flag A controls whether air blocks are included or excluded, during pit
optimization. There are two possible flag settings: 1 and 2.
Air flag A set to 1: air blocks are included in the pit optimization. This is
required if you are going to use the Mining Width Program.
Air flag A set to 2: air blocks are not included in the optimization.
It is often quicker to optimize without the air blocks because of the reduction in
the number of blocks the program has to work with. This should only be done
if no part of the initial topography is steeper than the required mining
slopes.
It is important to note that the structure arcs, which define the slopes during
optimization, rely on “chaining”. That is, if there is an arc from block P to
block Q, and one from block Q to block R, then chaining will ensure that, if
block P is mined, block R will be mined also.
However, this will only happen if block Q is considered during optimization. If
it is not, then neither the arc P-Q, nor the arc Q-R will be used, and this link
between mining P and mining R will be lost.
Example
The diagram below shows a situation where mining block P can only be
guaranteed to trigger the mining of block R, if air blocks are included in the
optimization.
Air R
P Earth
197
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Air flag B Air flag B controls which air blocks from the Model File are included in the
Results File. There are three possible flag settings: 1, 2 and 3.
Air flag B set to 1: air blocks are not included in the Results File, regardless of
whether air blocks were included or excluded during optimization.
Air flag B set to 2: only those air blocks are included in the Results File that
would be “mined” as part of the largest pit extended into the air.
Example
In this diagram the blocks in area B are included in the Results File.
A Air
B C
Earth
Note: This option is only available if air blocks are included during
optimization (i.e. air flag A needs to be set to 1).
Note also: Air flag B is set to 2 if the active blocks indicator is 3.
198
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Air flag B set to 3: all air blocks are included in the Results File. This is
required if you are going to use the Mining Width Program.
Example
In the diagram, above, the blocks in areas A, B and C are included in the
Results File.
Positional mining The positional mining CAF flag controls whether or not the positional mining
CAF flag CAFs are used by the Optimization Program and the Analysis Program. There
are two possible flag settings: 1 and 0.
Positional mining CAF flag set to 1: the positional mining CAFs in the Model
File are used by the Optimization Program and the Analysis Program.
Positional mining CAF flag set to 0: the positional mining CAFs in the Model
File are not used by the Optimization Program nor the Analysis Program.
This flag does not affect the use of rock-type mining CAFs.
Positional The positional processing CAF flag controls whether or not the positional
processing CAF processing CAFs are used by the Optimization Program and the Analysis
flag Program. There are two possible flag settings: 1 and 0.
Positional processing CAF flag set to 1: positional processing CAFs in the
Model File are used by the Optimization Program and the Analysis Program.
Positional processing CAF flag set to 0: positional processing CAFs in the
Model File are not used by the Optimization Program nor the Analysis
Program.
199
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Print unprocessed The print unprocessed mineralisation flag controls whether or not the
mineralisation flag Optimization Program and the Analysis Program report the total tonnage and
element content of any mineralised material that is mined but not processed.
These quantities can be useful when reconciling the results of different runs.
There are two possible flag settings: 1 and 0.
Print unprocessed mineralisation flag set to 1: the Optimization Program and
the Analysis Program report the total tonnage and element content of any
mineralised material that is mined but not processed.
Print unprocessed mineralisation flag set to 0: the Optimization Program and
the Analysis Program do not report the total tonnage and element content of
any mineralised material that is mined but not processed.
Note: Parcels with zero element content, i.e. defined waste, are never reported
by this facility.
Revenue Factor The Optimization Program uses a Revenue Factor to scale base case prices up
values or down, in order to control what nested pits are to be produced.
Individual values and/or ranges can be specified. Note that the resultant
sequence of values must be in ascending order.
As a general rule, you should start with a range of Revenue Factor values from
0.3 to 2.0 (say 0.3 to 2.0 in steps of 0.02).
The aim is to get 50 or more pits, ranging in size from less than one year’s
production to much bigger than you expect to mine. These pits will enable you
to do realistic sequencing and scheduling during analysis.
Note: It is irrelevant if you do not expect to design a pit with only a one year
life. The inner pits are required for sequencing and to guide you to the best
place to start mining.
The number of pits will be reduced if:
• The ore body is such that some of the lower values do not produce a pit at all
- or -
• Successive Revenue Factor values are so close together that the change does
not add even one block to the pit outline.
If this is the case, you may want to rearrange the values.
200
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Block limits
The size and location of a sub-region is specified by its lowest and highest
block numbers in the X, Y and Z directions.
An example of the specification of sub-regions in this way is given in the
Appendix on page 344.
201
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Rock density
If the density of rock varies within the model framework, but the variation can
be simulated by allocating different default block tonnages to different
sub-regions, then sub-region default block tonnages can be useful.
It is common for users to simulate variations in density with depth by setting up
a Parameters File having a number of shallow sub-regions, with each carrying a
different default block tonnage. These sub-regions may be too shallow to
adequately reproduce the slopes, but the programs that use the default block
tonnages do not use the slopes and vice versa, so that different Parameters Files
can be used for the two purposes.
Bearing
Bearings are expressed in degrees, clockwise from the positive Y direction –
usually North.
It is very important to note that bearings are given instead of wall positions.
Any walls at right angles to the bearings, in a particular slope region, will have
the given slope applied.
Example
In the diagram below the slope specified for a bearing of 45 degrees would be
used by the program in the positions indicated by the arrows.
45
202
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Slope
Slopes are expressed in degrees from horizontal. Thus 50 degrees is steeper
than 45 degrees.
For information on:
• How Four-X handles slopes, see page 331
• Variation of slopes with rock-type, see page 324
Max ( BX , BY ) × 8
BZ
Where:
• BX is the X co-ordinate of a block (horizontal dimension)
• BY is the Y co-ordinate of a block (horizontal dimension)
• BZ is the Z co-ordinate of a block (height)
With normal slopes of 40-50 degrees from the horizontal, this will usually give
an average slope error of the order of one degree.
Example
If the blocks are dimensioned 20 by 30 by 10 in the X, Y and Z directions, you
would start with 24 (=30x8/10).
203
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Grade dependent For each grade dependent expression, the user must specify:
expression
information • An expression identification code
• The expression usage
• The definition of the expression
Expression codes can be used in place of constants to provide user defined
grade-dependent values for:
Note that it is not usually meaningful to use expressions
• Selling costs
• Prices } for selling cost or price, except when the ore itself is
the product (e.g. for iron ore).
• Rock-type mining CAFs
• Rehabilitation costs
• Processing costs
• Element processing costs
- and -
• Recovery fractions
For more information about expressions, see page 282.
204
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Rock-type code
The rock-type code is an alphanumeric code of from 1 to 4 characters which
identifies a particular rock-type in the model. It is case insensitive.
Examples: OXID, SULF, WTHR
This code must not contain a period (.) or slash (/), and must not match any
spreadsheet code (e.g. ROCK).
If this code does not also appear in a method/type line (see below), this
rock-type is known as defined waste.
205
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
206
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Processing-method/ For each processing method/rock-type for open pit mining, the user must
rock-type specify the:
information - open
pit mining • Processing method code
• Rock-type code
• Processing cost
• Element information
For each element the:
- Element type code
- Cut-off control flag for selection by cut-off
- Element processing cost per unit
- Processing recovery fraction
- Processing recovery threshold
- Minimum
- Maximum
Processing method code
The processing method code is an alphanumeric code of from one to four
characters. It identifies the processing method to be used. It is case insensitive.
Examples: MILL, HEAP, CIL
This code must not contain a period (.) or slash (/), and must not match any
spreadsheet code (e.g. ROCK). In addition, it must not be the same as any
rock-type code.
Rock-type code
The rock-type code, which is case insensitive, must be one of the codes defined
for a rock-type.
The pairing of the method and type codes indicates that parcels of this
rock-type may be processed by this processing method, if it is economic to do
so. If a rock-type, even one containing elements, occurs in the Model File, but
is not paired with a processing method here, it will be treated as waste.
207
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
Processing cost
The effective processing cost used by the Optimization Program and the
Analysis Program is the product of the processing cost defined here, and the
positional processing CAF for the particular block (if used).
The effective processing cost is used not only for calculating cash flows, but
also for calculating cut-offs.
Note that whenever cut-offs are output on the screen, in printed reports or in
spreadsheet data, they are shown for a positional processing CAF of 1.0.
The cut-offs used in deciding whether to process the parcels of a block may be
different from those shown if processing CAFs are being used. Typically they
are higher.
See page 366 for details of how the cut-offs and cut-overs are changed.
Note that the code for a grade-dependent expression can be used instead of a
constant.
Element information
For each element, the user must specify:
• The element type code
• The cut-off control flag for selection by cut-off
• The element processing cost per unit
• The processing recovery fraction
• The processing recovery threshold
• The minimum
• The maximum
208
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
209
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
The minimum
The minimum is used differently, depending on the type of ore selection in use.
See page 371.
If ore selection is by:
• Cut-off
This value sets a minimum for the cut-off.
When a cut-off or cut-over grade for this element is calculated by the
Optimization Program or the Utilities Program, it is compared with this
minimum. If it is lower than this minimum, then the minimum is substituted
and an asterisk (*) is printed next to it in the printouts.
• Cash flow
This value sets a minimum for the acceptable grade for this element.
Parcels with grades lower than this value are not processed by this method.
Minima can be used to obtain more control over the allocation of parcels in
relation to processing methods. However, care should be exercised when using
them during pit optimization. This is because their value does not change with
Revenue Factor, whereas the cut-offs and cash flows calculated by the
Optimization Program, the Analysis Program and the Utilities Program do.
210
Part 3: Detailed File Formats
5 July, 1999
Information in the Parameters File, Continued
The maximum
This maximum is used differently, depending on the type of ore selection in
use. See page 372.
If ore selection is by:
• Cut-off - This value sets a maximum for the cut-off used. When a cut-off or
cut-over grade for this element is calculated by the Optimization Program or
the Utilities Program, it is compared with this maximum. If it is higher than
this maximum, then the maximum is substituted and an asterisk (*) is printed
next to it in printouts.
• Cash flow - This value sets a maximum for the acceptable grade for this
element. Parcels with grades higher than this value are not processed by this
method.
Maxima can be used to obtain more control over the allocation of parcels to
processing methods. However, care should be exercised when using them
during pit optimization. This is because their value does not change with
Revenue Factor, whereas the cut-offs and cash flows calculated by the
Optimization Program, the Analysis Program and the Utilities Program do.
Method/type The codes, values and usages are identical to those for open pit mining, above.
information for
underground See page 326 for details of when and how to use them to allow for the effects of
mining underground mining on the open pit.
Processing method A processing method group is defined by a list of from two to fifteen processing
group information method codes, or previous group codes. Group codes are of the form “GR_1”,
which refers to the first group defined, and “GR_2” which refers to the second,
and so forth.
Processing method groups are used by the Analysis Program to allow you to
limit the throughput of a group of processing methods (and/or previous
groups).
This can be useful if, for example, you have two different processing streams
but only one crusher. You define a group consisting of the two processing
codes, and the Analysis Program asks you for a throughput limit for the group.
Group codes can also be used wherever a method code can be used in
spreadsheet codes.
211
Part 3: Detailed File Formats
5 July, 1999
Example Parameters File
18 GOLD 2 3 0 4
18 SLVR 1 3 0 4
20 GOLD 0.000 400.000
20 SLVR 0.000 5.000
There are limits to the number of items of various types that can be included.
The limits for your version of Four-X can be found by running the Utilities
Program. See page 171 for more information.
212
Part 3: Detailed File Formats
5 July, 1999
Chapter 2: Model, Mining Sequence and Results Files
Overview
213
Part 3: Detailed File Formats
5 July, 1999
Section A: Model File
Overview
Description Model Files (file extension “.mod”) consist of lines of text that provide details
of the block contents.
Each block contains:
• The block co-ordinates within the model framework
• A total block tonnage
If the total block tonnage is greater than the total of the parcel tonnages in the
block, then the excess is treated as undefined blocks with a rock-type mining
CAF of 1.0 and a rehabilitation cost of zero.
• Zero or more parcels
Each parcel contains a rock-type code, a tonnage and one or more element
contents. The rock-type code must match one of the rock-type codes in the
Parameters File. If the rock-type is waste, the element contents may be zero.
Each block may also include a positional mining CAF and/or a positional
processing CAF.
214
Part 3: Detailed File Formats
5 July, 1999
Overview, Continued
Which blocks to Four-X must, in some way, be given the details of every block in its “region of
include interest”.
You can provide details of blocks through:
• The Model File
- and -
• The general and/or sub-region default block tonnages
If you do not provide details of a block in the Model File, the general and/or
sub-region default block tonnages will be used.
For more information about default block tonnages see:
• General default block tonnage, on page 196
• Sub-region information, starting on page 201
Region of interest
The area that Four-X looks at within the model framework is called the “region
of interest”. The region of interest depends on the setting of the active blocks
indicator in the Parameters File.
For more information about setting the active blocks indicator in the Parameters
File, see page 194.
Active blocks indicator of 1
If the active blocks indicator in the Parameters File is set to 1, then all blocks
within the rectangular model framework are of interest.
Defined sub-region
Defined sub-region
Blocks supplied
Region of interest -
Active Blocks Indicator of 1
215
Part 3: Detailed File Formats
5 July, 1999
Overview, Continued
Defined sub-region
Defined sub-region
Blocks supplied
Region of interest -
Active Blocks Indicator of 2
Setting the default block tonnage when the active blocks indicator is set to
1 or 2
If you have set the active blocks indicator to 1 or 2, it is appropriate to provide
details of every mineralised block and air block in the model framework, as a
minimum.
Every block that you do not provide will be assumed to have the appropriate
default block tonnage from the Parameters File.
Alternatively, you can provide all of the mineralised and waste blocks, and set
the default block tonnage to 0 (zero) to represent air.
If you cannot represent the variations of density through the general or
sub-region default block tonnages, then the Model File must include values for
all the waste blocks as well as the mineralised blocks. You can include them in
any case, if you wish, but it will make the file bigger, and some runs will be
slightly slower.
216
Part 3: Detailed File Formats
5 July, 1999
Overview, Continued
Defined sub-region
Defined sub-region
Blocks supplied
Region of interest -
Active Blocks Indicator of 3
217
Part 3: Detailed File Formats
5 July, 1999
Layout
Introduction The Model File consists of lines of text that describe a series of blocks.
In the Model File, the line types are:
• The Block Header Line
• The Parcel Line
The line types must appear in this order in each block.
Information The information contained in the Block Header Line and the Parcel Line
describing the describe the blocks. The information in these lines includes:
blocks
• The block X, Y and Z co-ordinates
• A positional mining CAF
• A positional processing CAF
• The block tonnage
• A zone number (optional)
The zone number can be used to indicate the source of the block in the
original model. Zone numbers can be displayed for checking by using the Pit
Visualisation Program.
• For each parcel (if any):
- The rock-type code
- The parcel tonnage
- For each element the units of the element in the parcel (note that this is a
quantity, not a grade)
Order of the This information contained in the Block Header Line and the Parcel Line must
information appear in a certain order. The tables below detail where this information is to
be shown in the Model File.
218
Part 3: Detailed File Formats
5 July, 1999
Layout, Continued
Parcel Line
Columns Contents Value type
2-4 Block index in the X or East direction. Integer
5-7 Block index in the Y or North direction. Integer
8-10 Block index in the Z or up direction. Integer
12-15 Rock-type code. Character
17-26 Parcel tonnes (it must be positive). Real
28-37 Units of element 1 in the parcel. Real
39-48 Units of element 2 in the parcel. Real
50-59 Units of element 3 in the parcel. Real
61-70 Units of element 4 in the parcel. Real
72-81 Units of element 5 in the parcel. Real
83-92 Units of element 6 in the parcel. Real
94-103 Units of element 7 in the parcel. Real
105-114 Units of element 8 in the parcel. Real
116-125 Units of element 9 in the parcel. Real
127-136 Units of element 10 in the parcel. Real
219
Part 3: Detailed File Formats
5 July, 1999
Layout, Continued
Note:
• Data is only required for the number of elements in the model
• The blocks can be in any order in the file
Blank and/or Blank lines or comment lines can appear anywhere in the file. Start a blank line
comment lines or comment line with any of the following characters: * ' ! "
Comma delimited As an alternative to the fixed column layout given above, Model Files can be in
format comma delimited format, with the values on each line separated by commas.
For more information, see Order of information in the text files on page 175.
Changing the When Model Files are created by the Re-blocking Program, by default they are
format of the created in fixed column layout. Refer to the instructions on page 176 for
Model File information about how to change the default format of the Model File.
220
Part 3: Detailed File Formats
5 July, 1999
Section B: Mining Sequence File
Description Mining Sequence Files (file extension “.msq”) are text files that describe:
• Which blocks, and how much of each block is mined in each period of a
mining sequence, simulated by the Analysis Program
• The method used to process each parcel
Mining Sequence Files allow you to carry out further detailed studies in relation
to mining simulation.
How the Mining The Mining Sequence File is created by the Analysis Program.
Sequence File is
created
Layout The format of the Mining Sequence File is identical to that of the Model File,
except that:
• A period and fraction is added to each block header
- and -
• A processing method is added to each parcel
Processing method
The processing method is added to each parcel after all of the element details
are listed. There is a one character space followed by the four character
method code. If the parcel was not processed, the code “-np-” appears.
221
Part 3: Detailed File Formats
5 July, 1999
Overview and Layout, Continued
Layout (continued)
The file is written in period order and, if any of the blocks for a period have a
fraction of less than 1.0, then the same blocks will appear again in the next
period.
Note that the economic conditions can be different in different periods so that,
if a block is mined partly in one period and partly in another, it is theoretically
possible for the processing method code to be different in the two periods for
the same parcel.
Changing the When Mining Sequence Files are created by the Analysis Program, they are by
format of the default created in fixed column layout. Refer to the instructions on page 176
Mining Sequence for information about how to change the default format of the Mining Sequence
File File.
222
Part 3: Detailed File Formats
5 July, 1999
Section C: Results File
Description Results Files (file extension “.res”) are text files that contain details of the
optimizations and all of the blocks within the optimized pit for an infinite
Revenue Factor.
223
Part 3: Detailed File Formats
5 July, 1999
Overview and Layout, Continued
Layout The format of the Results File is similar to that of the Model File except that it
has a special header section and the block detail headers have a pit number in
place of a zone number. The special header is used for internal purposes only.
The layout is as follows.
Results Header
Line
Columns Contents Value type
2-4 These columns contain a specific header code.
5-7 e.g. -1 1-97 0
8-10
12-13 0 Real
17-26 First pit. Real
28-37 Last pit (this includes the infinite pit). Real
39-48 0 Real
59-60 These columns contain either: Integer
• 0 = No Revenue Factor details
If the model has been re-blocked, the Revenue
Factor information will be excluded from the
Results File.
• 1 = Revenue Factor details
224
Part 3: Detailed File Formats
5 July, 1999
Overview and Layout, Continued
Revenue Factor This line is only used if 1 is displayed in columns 59-60, above.
Details Lines
Columns Contents Value type
2-4 These columns contain a specific header code.
5-7 e.g. -1 1-97 0
8-10
12-13 0 Real
17-26 Start of the Revenue Factor range Integer
28-37 End of the Revenue Factor range Integer
39-48 0 Real
50-59 The number of the smallest pit that the Revenue Integer
Factor is part of
There is one such line for each pit up to the last pit (the “infinite pit”).
The format of the Results File is then identical to that of the Model File, except
that columns 50-59 of the block header line are formatted as follows.
Unless air flag A is set to 1 during optimization, any air flags have zero in this
field. If air flag A is 1, each air block is output with the number of the pit shell
which would reach it if the slopes were extended up into the air.
The Results File is output in ascending order of X within Y within Z. Only
those blocks, including waste blocks, that are to be mined in the largest pit are
output. Air blocks may or may not be included, depending on the value of air
flag B in the Parameters File.
The first several “blocks” in a Results File are dummy blocks that carry
information about the optimizations that have been done. They are
distinguished by having a block index in the X direction (columns 2-4) of -1. If
you read a Results File into another package, these blocks should be ignored.
225
Part 3: Detailed File Formats
5 July, 1999
Overview and Layout, Continued
Comma delimited As an alternative to the fixed column layout given above, Results Files can be
format in comma delimited format, with the values on each line separated by commas.
For more information, see Order of information in the text files on page 175.
Changing the When Results Files are created by the Optimization Program and the
format of the Re-blocking Program, they are by default created in fixed column layout. Refer
Results File to the instructions on page 176 for information about how to change the default
format of the Results File.
226
Part 3: Detailed File Formats
5 July, 1999
Chapter 3: Slope Profile, Profile Number and Additional Arcs
Files
Overview
227
Part 3: Detailed File Formats
5 July, 1999
Section A: Slope Profile File
Description Slope Profile Files (file extension “.slp”) are text files that describe one or more
slope profiles.
A slope profile consists of a series of bearing/slope pairs and the number of
benches to consider when creating arcs. Each sub-region in a Parameters File
contains a slope profile described in a line type 5 and one or more lines of
type 6.
A Slope Profile File provides an alternative way of describing a slope profile
which is independent of sub-regions.
Layout Slope Profile Files are made up of lines of text. The order of these lines in the
file is immaterial.
There are two different line types, and each has a pre-defined left-hand side
with numeric data on the right-hand side. The line types are described below.
Bearing and slope A “bearing and slope” line contains the following text:
line
FX.SlopeProfile.<n>.BearingSlope=<bearing>,<slope>
where:
• <n> is a profile number
• <bearing> is a bearing (0.00-360.00) clockwise in degrees from the positive
Y direction (Real)
• <slope> is the required pit slope (0.01-89.99) at the above bearing, in
degrees from the horizontal (Real)
• All other text is as shown - case is unimportant
This information has the same significance as that found in line type 6 of the
Parameters File. See page 183.
228
Part 3: Detailed File Formats
5 July, 1999
Overview and Layout, Continued
Blank and/or Blank lines or comment lines can appear anywhere in the file. Start a blank line
comment lines or comment line with any of the following characters: ' * ! "
Example !
! This file describes two slope profiles
!
FX.SlopeProfile.1.BearingSlope=0,50.5
FX.SlopeProfile.1.BearingSlope=180,55
FX.SlopeProfile.1.BenchesToConsider=10
FX.SlopeProfile.2.BearingSlope=0,37
FX.SlopeProfile.2.BenchesToConsider=6
!
! Although the lines could be in any order, it is
! easier to check them if you group them logically.
!
229
Part 3: Detailed File Formats
5 July, 1999
Section B: Profile Number File
Description Profile Number Files (file extension “.pnu”) are text files that list the slope
profile number to be used for each block.
Profile Number Files, by supplying a profile number for each block, define the
slope regions in which each slope profile is to apply. The shapes of these slope
regions are thus completely arbitrary. Contrast this with the alternative
approach of defining slope regions by the rectangular sub-regions in the
Parameters File.
Profile Number Files will usually have a record for each block in the model
framework, but a default number can be used for blocks which are not included.
Layout Profile Number Files are made up of lines of text that list the number of the
slope profile which is to apply to each block. The order of these lines in the file
is immaterial.
230
Part 3: Detailed File Formats
5 July, 1999
Overview and Layout, Continued
Order The text in the Profile Number File must appear in a certain order on each line.
The table below details where the information should be shown in the file.
Blank and/or Blank lines or comment lines can appear anywhere in the file. Start a blank line
comment lines or comment line with any of the following characters: ' * ! "
Comma delimited As an alternative to the fixed column layout given above, Profile Number Files
format can be in comma delimited format, with the values on each line separated by
commas. For more information, see Order of information in the text files on
page 175.
231
Part 3: Detailed File Formats
5 July, 1999
Section C: Additional Arcs File
Description Additional Arcs Files (file extension “.add”) are text files that contain details of
extra structure arcs that you wish to add to those generated by Structure Arcs
Program for the slopes.
How the Additional The Additional Arcs File is created by the user, with a text editor or a word
Arcs File is created processor in pure text mode.
The programs that The Additional Arcs File is used by the Structure Arcs Program.
use the Additional
Arcs File
Uses of the Uses of an Additional Arcs File are described on page 314.
Additional Arcs
File
232
Part 3: Detailed File Formats
5 July, 1999
Overview and Layout, Continued
Order The block co-ordinates must appear in a certain order on each line in the
Additional Arcs File.
The table below details where the X, Y and Z co-ordinates are to be shown in
the file.
Each line specifies that if block “A” is to be mined, then block “B” must be
removed as well to uncover “A”
Blank and/or Blank lines or comment lines can appear anywhere in the file. Start a blank line
comment lines or comment line with any of the following characters: ' * ! "
Comma delimited As an alternative to the fixed column layout given above, Additional Arcs Files
format can be in comma delimited format, with the values on each line separated by
commas. For more information, see Order of information in the text files on
page 175.
233
Part 3: Detailed File Formats
5 July, 1999
Chapter 4: Pit List, Polygon and Opti-Cut Files
Overview
234
Part 3: Detailed File Formats
5 July, 1999
Section A: Pit List File
Description Pit List Files (file extension “.pil”) are text files that list the smallest numbered
pit that each block is part of. It is therefore like a Results File without the
details of the block contents.
Pit List Files can be used to simplify the input of pit outlines to your GMP, or
you can create them with your software, so that they describe push-backs that
you want to analyse with the Analysis Program. In this case, you merge them
with a Model File, using the Re-blocking Program, and then run the analysis on
the resulting pseudo Results File. By this method you can design your own
push-backs and then use the power of the Analysis Program to simulate the
mining of these push-backs under different conditions.
How the Pit List The Pit List File is created by:
File is created
• The Re-blocking Program from a Results File
• The Mining Width Program
- or -
• User software
Layout Pit List Files are made up of lines of text that list the smallest numbered pit that
each block is part of. The order of these lines in the file is immaterial.
235
Part 3: Detailed File Formats
5 July, 1999
Overview and Layout, Continued
Order The text in the Pit List File must appear in a certain order on each line. The
table below details where the information should be shown in the file.
Note: If you create a Pit List File outside Four-X to describe push-backs, you
must ensure that push-back 1 can be completely mined out, before starting
push-back 2 etc. This is because the Analysis Program will assume that this
sequence will honour the slope requirements.
Blank and/or Blank lines or comment lines can appear anywhere in the file. Start a blank line
comment lines or comment line with any of the following characters: ' * ! "
Comma delimited As an alternative to the fixed column layout given above, Pit List Files can be
format in comma delimited format, with the values on each line separated by commas.
For more information, see Order of information in the text files on page 175.
Changing the When Pit List Files are created by the Re-blocking Program or the Mining
format of the Width Program, they are by default created in fixed column layout. For
Model File information about how to change the default format of the Pit List File, refer to
the instructions on page 176.
236
Part 3: Detailed File Formats
5 July, 1999
Section B: Polygon File
Description Polygon Files (file extension “.pol”) are text files containing a sequence of X,Y
co-ordinates that define the vertices of a polygon, in the order in which they
occur as the edge of the polygon is traversed.
The Polygon Files are used to limit the output blocks to those whose centres lie
within a polygon as specified in the file.
The programs that The Polygon File is used by the Re-blocking Program.
use Polygon File
Layout Polygon Files consist of lines of text that each contain a set of X,Y
co-ordinates.
X and Y are expressed as distances, not blocks, in the co-ordinate system in
which the origin in Parameters File is expressed.
If no origin is given in the Parameters File, the co-ordinate system is assumed
to start at the lower left-hand corner of the lower left-hand column of blocks in
the model framework.
All X,Y points must lie within the model framework.
Example
Given the following values:
237
Part 3: Detailed File Formats
5 July, 1999
Overview and Layout, Continued
Order The X, Y co-ordinates must appear in a certain order in the Polygon File.
The table below details where the X, Y co-ordinates are to be shown in the file.
Note: The points must lie in sequence around the polygon, but can be ordered
either clockwise or anti-clockwise. There is no need for the last point to be the
same as the first point because the Re-blocking Program automatically joins the
last to the first.
The Re-blocking Program selects blocks with centres which lie within the
polygon.
Blank and/or Blank lines or comment lines can appear anywhere in the file. Start a blank line
comment lines or comment line with any of the following characters: ' * ! "
Comma delimited As an alternative to the fixed column layout given above, Polygon Files can be
format in comma delimited format, with the values on each line separated by commas.
238
Part 3: Detailed File Formats
5 July, 1999
Section C: Opti-Cut Files
Introduction Two types of Opti-Cut files can be created by the Analysis Program.
These are:
• The Sequence Text File (file extension .stx)
Sequence Text Files are text files that describe the physical resource and the
proposed mining sequence.
• The Economic Text File (file extension .etx)
Economics Text Files are text files that contain detailed information about an
economic scenario and how the Opti-Cut optimization is to be done.
The format of these files is given in the Opti-Cut User Manual.
Note: In order for the Analysis Program to create the Opti-Cut Files, the
initialization file must contain a line which reads Opti-Cut=Yes in the
[System] section. For more information, refer to page 391.
Note: Since development and enhancement of Opti-Cut is done independently
of that of Four-X, it is likely that the two programs will get out of step from
time to time, and the Economic Text File will require some adjustment before
being used. In any case some Four-X features, such as expressions, cannot be
automatically translated into Opti-Cut terms.
Time costs If you have not handled time costs explicitly in Four-X, or if you wish to use
stockpiles, then the Economics Text File will require modification before being
used in Opti-Cut.
Since the philosophies of the two programs are quite different, it is probably a
good idea to check the Economics Text File in any case.
239
Part 3: Detailed File Formats
5 July, 1999
Chapter 5: Spreadsheet Files
Overview
240
Part 3: Detailed File Formats
5 July, 1999
Section A: Spreadsheet Definition File
Overview
Description Spreadsheet Definition Files (file extension “.ssd”) are text files which control
the data that the Analysis Program outputs to Spreadsheet Output Files.
How the The Spreadsheet Definition Files are created and modified using a text editor or
Spreadsheet a word processor in pure text mode.
Definition File is
created
The programs that The Spreadsheet Definition File is used by the Analysis Program to control the
use the Spreadsheet data that it outputs to the Spreadsheet Output File.
Definition File
Output The Spreadsheet Definition File can specify the following tables of values as
output in the Spreadsheet Output File:
• A period table
Period information includes period tonnages, strip ratios, grades, cash flows
and start/end benches and pits.
• A grand totals table
Grand total values are those that appear at the end of each schedule report.
Common values, such as unit rates, mining cost, product price, discount rate
and tonnage limits, that apply to both periods and grand totals can also be
output.
For more information, see Section B: Spreadsheet Output File, on page 263.
241
Part 3: Detailed File Formats
5 July, 1999
Layout
Line types Spreadsheet Definition Files are made up of lines of text. The data is not in
fixed field positions. Only its sequence is important.
Each line of text starts with a line type. The line types for the Spreadsheet
Definition File are:
• PER
- Lines starting with PER specify which values should appear in the period
table, and their order.
• GRA
- Lines starting with GRA specify which values should appear in the grand
totals table and their order.
Information Line types are followed by a series of codes. Codes may appear more than
following line types once in a line, if required.
Example
242
Part 3: Detailed File Formats
5 July, 1999
Codes
Introduction Codes are made up of a keyword which may or may not be followed by an
attribute.
Example
This topic describes the various keywords and attributes that make up
Spreadsheet Definition File codes.
Codes for values set The following table lists the various codes for values set by the user.
by the user
In this table:
• Items in angle brackets should be replaced by appropriate codes or values.
The angle brackets should not be included.
Where items in brackets are used in combination they must be separated by a
full stop (.).
Example 1: <method>.<type>.<element>
Example 2: MILL.OREA.GOLD
• The inclusion of an exclamation mark indicates that the insertion of a “U” at
that point will cause the code to return the underground value.
243
Part 3: Detailed File Formats
5 July, 1999
Codes, Continued
Code Description
CAPEXINI
Initial capital expenditure.
DISCOUNT
Discount percentage per period.
LAG
Bench lag between the mining in specific
push-backs.
MINDIL
Mining dilution factor.
MINREC
Mining recovery factor.
PUSH<n>
Pit number for the nth push-back in the
specified push-backs schedule.
PUSH<n>/MAX_LEAD
The maximum number of benches by
which the mining of a push-back can lead
the next push-back during schedule
optimization.
PUSH<n>/MAX_MINE
The maximum number of benches that
can be mined in a push-back in a period
during schedule optimization.
PUSH<n>/MIN_LEAD
The minimum number of benches by
which the mining of a push-back can lead
the next push-back during schedule
optimization.
ROCK/LIMIT
Throughput limit.
UNDEF/TIME_CM
Time cost factored into reference mining
cost.
UNDEF/UNIT_CM
Reference mining cost.
<element>/LIMIT
Throughput limit.
<element>/PRICE
Price.
<element>/TIME_CS
Time cost factored into unit cost of
selling.
<element>/UNIT_CS
Unit cost of selling.
<GR_n>/LIMIT
Throughput limit for group “n”.
<method>/LIMIT
Throughput limit for method.
<method>.<type>/TIME_CP
Time cost factored into unit cost of
processing.
<method>.<type>/UNIT_CP!
Unit cost of processing.
244
Part 3: Detailed File Formats
5 July, 1999
Codes, Continued
Code Description
<method>.<type>.<element>/MAX!
Maximum.
<method>.<type>.<element>/MIN!
Minimum.
<method>.<type>.<element>/
Recovery percentage.
RECPER!
<method>.<type>.<element>/
Recovery threshold.
RECTHR!
<method>.<type>.<element>/
Unit cost of processing due to an element.
UNIT_CE!
<type>/CAF
Rock-type cost adjustment factor.
<type>/THRFACT
Rock-type throughput factor.
<type>/TIME_CM
Time cost factored into unit cost of
mining for a rock-type (derived value).
<type>/UNIT_CM
Unit cost of mining for a rock-type
(derived value).
<type>/UNIT_CR
Unit cost of rehabilitation for a rock-type.
Note: When any of the codes for values set by the user is requested in a grand
total, and the value is changed during the life of the mine, it returns the value
applicable in the first period.
245
Part 3: Detailed File Formats
5 July, 1999
Codes, Continued
Codes for derived Codes for derived values are made up of keywords which may or may not be
values followed by attributes. The table below lists the keywords for derived values
and any allowed attributes for those keywords.
Refer to page 250 for a list of the possible attributes and their meanings.
In this table:
• Items in angle brackets should be replaced by appropriate codes or values.
The angle brackets should not be included.
Where items in brackets are used in combination they must be separated by a
full stop (.).
Example: <method>.<type>.<element>
• An asterisk (*) after an attribute indicates that, for grand total codes, another
letter must be added to the attribute to indicate the scheduling option. The
extra letter will either be “B” for the best case, “S” for the user specified case
and “W” for the worst case.
• There are some instances where no attribute is required for period values, but
a slash and B, S or W is required for grand total values. This is shown as /*.
246
Part 3: Detailed File Formats
5 July, 1999
Codes, Continued
247
Part 3: Detailed File Formats
5 July, 1999
Codes, Continued
248
Part 3: Detailed File Formats
5 July, 1999
Codes, Continued
† Group codes are of the form GR_1 which refers to the first group defined and GR_2 which refers to the
second, and so forth.
249
Part 3: Detailed File Formats
5 July, 1999
Codes, Continued
Attributes for Attributes for derived codes consist of a slash (/) and two or three letters.
derived codes
The table below lists the various attributes and their meanings.
In the table, an asterisk (*) after an attribute indicates that, for grand total
codes, another letter must be added to the attribute to indicate the scheduling
option. The extra letter will either be “B” for the best case, “S” for the
specified case and “W” for the worst case.
Note that:
• All cash flow and cost attributes start with /C, with the second letter
indicating the type of cash flow or cost. The discounted equivalent of each
attribute is obtained by changing the C to D.
• All tonnages start with /T.
• All units of elements start with /U.
• All grades start with /G.
250
Part 3: Detailed File Formats
5 July, 1999
Codes, Continued
Attribute(s) Description
/BM The total number of benches mined in a push-back,
including fractions. This does not include benches which
are entirely air. Only applicable to user specified case.
/CE* /DE* Cost of processing due to elements.
/CI* /DI* Cash income (revenue).
/CM* /DM* Cost of mining.
/CP* /DP* Cost of processing.
/CR* /DR* Cost of rehabilitation.
/CS* /DS* Cost of selling.
/CT* /DT* Cash flow - total of the other cash flows in the category.
/EN End pit or bench for a period. For bench use, see also
/USE.
/FI Finish pit or bench for a grand total.
/GG* Grade in the ground before processing.
/GI* Grade input to processing.
/GP* Grade in place.
/GR* Grade rejected.
/OF Cut-off.
/OFU Cut-off for underground methods.
/ST Start pit or bench for a period.
/TG* Tonnes in the ground before processing.
/TI* Tonnes input to processing.
/TP* Tonnes in place.
/TR* Tonnes rejected.
/UG* Units of an element in the ground before processing.
/UI* Units of an element input to processing.
/UO* Units of an element output from processing.
/UP* Units of an element in place.
/UR* Units of an element rejected.
/USE Percentage of the bench mined at the end of a period. See
also /EN.
251
Part 3: Detailed File Formats
5 July, 1999
Codes, Continued
Note that:
• GP, TP and UP refer to all material mined, be it ore or waste.
• GG, TG and UG refer only to the material in the ground which is selected for
processing.
• GI, TI and UI refer to the material input to processing, after any mining
dilution or recovery has been applied.
252
Part 3: Detailed File Formats
5 July, 1999
Guidelines and Examples
Rules and Please note the following rules and guidelines when creating or editing a
guidelines Spreadsheet Definition File.
• Blank lines or comment lines can appear anywhere in the file. Start a blank
line or comment line with any of the following characters: ' * ! "
• Codes can be in upper or lower case, or a mixture of the two.
• Codes can also be continued on second and subsequent lines. Where codes
are continued on the second or subsequent lines, the line type must be
repeated at the beginning of the line. For an example, see page 254.
• The maximum length of a line in the Definitions File is 80 characters.
• The maximum number of codes/columns that can appear in a period or grand
total table is set when the Four-X package is compiled. Run the Utilities
Program to find out what your limit is.
• The user must ensure that enough values are output to identify the source of
the values. For example, period data will normally include CASE and
PERIOD.
Examples of codes Most codes are quite easy to remember once you become accustomed to using
them.
Examples
• ROCK/TG represents tonnes of rock in the ground for the period table.
• ROCK/LIMIT represents the throughput limit you have set on the amount of
rock to be mined in a period.
• MIL1.OXID.GOLD/UOW represents:
- (/UOW) the grand total of units output in worst case scheduling
- (GOLD) when the element, GOLD, is extracted from
- (OXID) rock-type OXID in
- (MIL1) the processing method, MIL1
253
Part 3: Detailed File Formats
5 July, 1999
Guidelines and Examples, Continued
In this example:
• Gra indicates that the codes which follow are for grand totals
• GOLD/Price (code for value set by the user)
- GOLD refers to the element, gold
- /Price refers to the price of the element, gold
• Pit/FI (code for derived value)
- Pit indicates pit number
- /FI refers to the final pit for a grand total
• Rock/tgw (code for derived value)
- Rock indicates the total material mined - ore and waste
- /tgw refers to the tonnes in the ground before processing in a worst case
scenario (w)
• Mill/tiw (code for derived value)
- Mill refers to the processing method used, mill
- /tiw indicates tonnes input to processing in a worst case scenario (w)
• OPVALUE/DTW (code for derived value)
- OPVALUE refers to the cash flow from the open pit
- /DTW indicates the discounted total cash flow
As you can see, codes can be in upper or lower case, or a mixture of the two.
Example Codes can also be continued on second and subsequent lines. The following is
Spreadsheet the exact equivalent of the example, above:
Definition File 2
Gra GOLD/Price Pit/FI Rock/tgw
GRA Mill/tiw OPVALUE/DTW
The application of These codes, listed above, give you access to almost every value you could
spreadsheet codes want in order to best assess a design. If you find their sheer number confusing,
you may find it helpful to refer to the diagrams in the following section.
254
Part 3: Detailed File Formats
5 July, 1999
Application of Spreadsheet Codes
Introduction The diagrams below may make it clearer where the spreadsheet codes are
applied.
Overview The following is an overview of the main material movements which occur
during mining.
Material mined
See Material mined,
on page 256
Processing
details
See Processing
details, on page 259
Output
See Output details,
on page 261
255
Part 3: Detailed File Formats
5 July, 1999
Application of Spreadsheet Codes, Continued
Material mined The following tables show all of the codes that can be used in relation to the
material mined.
Description Code(s)
• Unit cost of mining waste UNDEF/UNIT_CM, UNDEF/TIME_CM
<type>/UNIT_CM, <type>/TIME_CM
Description Code(s)
• Tonnage ROCK/TP*
PUSH<n>/TP*
<type>/TP*
• Grade <element>/GP*
<type>.<element>/GP*
256
Part 3: Detailed File Formats
5 July, 1999
Application of Spreadsheet Codes, Continued
Material mined as The following tables show all of the codes that can be used in relation to the
waste material mined as waste.
Description Code(s)
• Unit rehabilitation cost <type>/UNIT_CR
Description Code(s)
• Total waste tonnage WASTE/*
257
Part 3: Detailed File Formats
5 July, 1999
Application of Spreadsheet Codes, Continued
Material mined The following tables show all of the codes that can be used in relation to the
as ore material mined as ore.
Codes for values set by the user
Description Code(s)
• Mining dilution MINDIL
• Mining recovery MINREC
Description Code(s)
• Tonnage in the ground before ROCK/TG*
processing PUSH<n>/TG*
<type>/TG*
<method>/TG*
<method>.<type>/TG*
<GR_n>/TG*
• Element quantity in the ground <element>/UG*
before processing <method>.<element>/UG*
<type>.<element>/UG*
<method>.<type>.<element>/UG*
<GR_n>.<element>/UG*
• Grade in the ground before <element>/GG*
processing <method>.<element>/GG*
<type>.<element>/GG*
<method>.<type>.<element>/GG*
<GR_n>.<element>/GG*
• Tonnage input to processing ROCK/TI*
PUSH<n>/TI*
<type>/TI*
<method>/TI*
<method>.<type>/TI*
<GR_n>/TI*
• Element quantity input to <element>/UI*
processing <method>.<element>/UI*
<type>.<element>/UI*
<method>.<type>.<element>/UI*
<GR_n>.<element>/UI*
• Grade input to processing <element>/GI*
<method>.<element>/GI*
<type>.<element>/GI*
<method>.<type>.<element>/GI*
<GR_n>.<element>/GI*
258
Part 3: Detailed File Formats
5 July, 1999
Application of Spreadsheet Codes, Continued
Note: Mining dilution and mining recovery can affect the quantities input to
processing. This leads to the following relations between the above attributes
for the same code:
• Tonnage input to processing
TI = TG × MINDIL × MINREC
UI = UG × MINREC
GI = GG / MINDIL
Processing details The following tables show all of the codes that can be used in relation to the
processing stage of mining.
Description Code(s)
• Cut-offs <method>.<type>.<element>/MIN!
<method>.<type>.<element>/MAX!
• Product prices <element>/PRICE
• Processing limits <method>/LIMIT
<GR_n>/LIMIT
• Recoveries <method>.<type>.<element>/RECPER!
<method>.<type>.<element>/RECTHR!
• Throughput factors <type>/THRFACT
• Unit costs of processing <method>.<type>/UNIT_CP!
<method>.<type>/TIME_CP!
• Unit cost of element processing <method>.<type>.<element>/UNIT_CE!
259
Part 3: Detailed File Formats
5 July, 1999
Application of Spreadsheet Codes, Continued
Description Code(s)
• Costs of processing <method>/CP*, <method>/DP*
<type>/CP*, <type>/DP*
<method>.<type>/CP*, <method>.<type>/DP*
<GR_n>/CP*, <GR_n>/DP*
260
Part 3: Detailed File Formats
5 July, 1999
Application of Spreadsheet Codes, Continued
Output details The following tables show all of the codes that can be used in relation to the
output stage of mining.
Codes for values set by the user
Description Code(s)
• Production limit <element>/LIMIT
• Unit selling cost <element>/UNIT_CS, <element>/TIME_CS
Description Code(s)
• Product <element>/OU*
<method>.<element>/OU*
<GR_n>.<element>/OU*
<type>.<element>/OU*
<method>.<type>.<element>/OU*
• Selling costs <element>/CS*, <element>/DS*
<method>/CS*, <method>/DS*
<type>/CS*, <type>/DS*
<method>.<element>/CS*, <method>.<element>/DS*
<method>.<type>/CS*, <method>.<type>/DS*
<type>.<element>/CS*, <type>.<element>/DS*
<method>.<type>.<element>/CS*
<method>.<type>.<element>/DS*
<GR_n>/CS*, <GR_n>/DS*
<GR_n>.<element>/CS*, <GR_n>.<element>/DS*
• Revenue <element>/CI*, <element>/DI*
<method>/CI*, <method>/DI*
<type>/CI*, <type>/DI*
<method>.<element>/CI*, <method>.<element>/DI*
<method>.<type>/CI*, <method>.<type>/DI*
<type>.<element>/CI*, <type>.<element>/DI*
<method>.<type>.<element>/CI*
<method>.<type>.<element>/DI*
<GR_n>/CI*, <GR_n>/DI*
<GR_n>.<element>/CI*, <GR_n>.<element>/DI*
261
Part 3: Detailed File Formats
5 July, 1999
Application of Spreadsheet Codes, Continued
Description Code(s)
• Net cash flow <element>/CT*, <element>/DT*
<method>/CT*, <method>/DT*
<type>/CT*, <type>/DT*
<method>.<element>/CT*, <method>.<element>/DT*
<method>.<type>/CT*, <method>.<type>/DT*
<type>.<element>/CT*, <type>.<element>/DT*
<method>.<type>.<element>/CT*
<method>.<type>.<element>/DT*
<GR_n>/CT*, <GR_n>/DT*
<GR_n>.<element>/CT*, <GR_n>.<element>/DT*
CAPEXREP/CT*, CAPEXREP/DT*
TIMECOST/CT*, TIMECOST/DT*
OPVALUE/CT*, OPVALUE/CT*
COVALUE/CT*, COVALUE/DT*
UGVALUE/CT*, UGVALUE/CT*
• Internal rate of INTERNAL
return
262
Part 3: Detailed File Formats
5 July, 1999
Section B: Spreadsheet Output File
Overview This section discusses the Spreadsheet Output File as produced by the Analysis
Program.
It does not provide a detailed discussion of the spreadsheet output produced by
the Utilities Program in the Summarise a Data File mode. For more
information see Utilities Program, Section A: Summarising a Data File, on
page 150.
Description Spreadsheet Output Files (file extension “.sso”) are text files that contain output
from the Analysis Program and the Utilities Program in a form suitable for
importation into most spreadsheet programs.
Using the The Spreadsheet Output File is used by the customer and input into a
Spreadsheet spreadsheet package. This allows for further plotting of the data.
Output File
Layout The layout of the Spreadsheet Output File is quite simple. It can contain:
• A period table
- and/or -
• A grand totals table
Each table consists of columns of numbers, with each column headed by the
corresponding code.
If both a period table and a grand totals table are included, the periods table
appears first.
By default, the columns are separated by spaces.
263
Part 3: Detailed File Formats
5 July, 1999
Overview and Layout, Continued
Format The default format (i.e. columns separated by spaces) of a Spreadsheet Output
File can be read into most spreadsheet packages.
However, in some cases it may be necessary to parse the text after input (i.e.
arrange text into columns of cells), in order to get the numbers into their
corresponding columns. If this is inconvenient, two other formats are available
to you. These are:
• “StoreSpread=Comma”
The columns are separated by commas.
• “StoreSpread=Quote”
The columns are separated by commas and the headings are enclosed in
double quotes (“ ”).
These options are obtained by changing the “StoreSpread” field in your fx.ini
file from “StoreSpread=Fixed” to one of the two alternatives, above.
For more information, see Order of information in the text files, on page 175.
"Grand totals:"
264
Part 3: Detailed File Formats
5 July, 1999
Chapter 6: Auxiliary Files
Introduction This topic discusses the various auxiliary files that come with the Four-X
package or are created by the programs, namely the initialization, language and
fx??.ok files.
Initialization file The initialization file (the “ini” file) is a text file. The Four-X initialization file
is called fx.ini.
The initialization file is updated every time you run one of the Four-X
programs. It keeps a record of the filenames you are using, and enables
programs to offer a likely name as a default when a program asks you for a
filename. Also included in this file are the number of lines to print on a page,
controls for output file formats, and details of your license entitlement.
A copy of fx.ini must be present in your working directory whenever you run
any of the Four-X programs.
You can have different copies of fx.ini for different disk directories.
Layout The initialization file, fx.ini, is divided up into the following sections:
• [Extensions]
• [Filenames]
• [System]
• [LicenseDetails]
[Extensions]
This section identifies the default extensions for all file types used in Four-X.
For more information about default file extensions, see page 19 and following.
[Filenames]
This section records the last filename used in each program. This is used to
predict default filenames to be used in a re-run, or in the next step of the
Four-X process. For more information about filenames, see page 27.
265
Part 3: Detailed File Formats
5 July, 1999
Initialization, Language and Fx??.ok Files, Continued
Layout (continued)
[System]
This section is used to define system-wide variables. It contains:
• Variables which you may want to alter
• Information used by the programs which will not need to be altered
The following table lists the variables which you may want to alter.
To edit any of these variables, follow the steps in the table below.
Step Action
1. Open and view the Four-X initialization file, fx.ini, using a text
editor or a word processor in pure text mode.
2. Under the [System] section header Edit the variable(s) as
required.
3. Save the file and exit from the text editor or word processor.
266
Part 3: Detailed File Formats
5 July, 1999
Initialization, Language and Fx??.ok Files, Continued
Layout (continued)
[LicenseDetails]
This section lists license information relating to your copy of Four-X. Do not
change any of the information in this section.
Language file This file allows the programs to translate their screen prompts, screen messages
and printer output into a language other than English.
The language file is always called fx.lng, no matter what language is involved.
If you are supplied with a language file and you wish to use the translation
facilities, make sure that there is a copy of it in your working directory. If a
copy of fx.lng is not present in your working directory, all output text will be in
English.
Fx??.ok file When a program starts a run, it first deletes any copy of the file fx??.ok (where
fx?? is the Command Line name). If the run completes successfully, it writes a
new copy of fx??.ok.
For example, if an fxst.ok file were in your Four-X directory, it would indicate
that the Structure Arcs File has been run successfully.
These files can be used to control batch file execution. For more information
on batch files, see page 280.
267
Part 3: Detailed File Formats
5 July, 1999
Part 4: Techniques
Overview
268
Part 4: Techniques
5 July, 1999
Chapter 1: General Techniques for Getting the Most out of the
Package
Section A: Iteration
Introduction It cannot be too greatly emphasised that the use of any pit optimizer is an
iterative process.
Even with Four-X, which makes some of the iterations easier, you do not just
create a block model, do an optimization run and some analysis, and then
complete a detailed final design.
Example There are many reasons for this. For example, until you have done one
optimization, you may not know where the haul roads will be. Until you know
this, you do not know where to lay back the slopes to allow for the haul roads.
Iteration Thus, in order to do a proper pit design, a circular solution is required. This
involves the repeated use of Four-X, as well as other design tools and
techniques.
As each cycle proceeds, the body of knowledge on which you base your
assumptions increases.
During this process, it is very easy to get swamped with data. Using
spreadsheet output and producing graphs will help you to summarise data and
to spot trends.
Once this process is completed to your satisfaction, the final set of assumptions
becomes your plan.
For more For a recommended approach for using the Four-X package, refer to Approach
information 2: recommended approach on page 30.
269
Part 4: Techniques
5 July, 1999
Section B: From Optimized Outline to Design
Introduction Even when you have done all of the necessary sensitivity work, and have settled
on a particular optimal pit that you want to use for the design, you still have to
do the detailed design.
To do this, we suggest that you use a technique which employs the use of an
optimal outline.
Optimal outline The optimal outline is initially a jagged line defined by block edges.
This is created by Four-X which uses a block model and mines each block
completely or not at all. However, as the ore body itself does not consist of
neat rectangular blocks, it is not relevant to try to follow the jagged outline in
detail, or to mine the individual blocks as though they were significant entities.
Creating a detailed To create a detailed design outline from the optimal outline you must remove
design outline the jagged outline.
The precise method by which you do this depends on the tools that are available
to you in your GMP.
You may do it entirely by hand, or with varying degrees of computer assistance.
In plan, it is only necessary to draw a smooth line through the zigzag, as is
shown in the diagram below.
270
Part 4: Techniques
5 July, 1999
From Optimized Outline to Design, Continued
In section, the simplest method is to join the centre points of the bottom of each
column of blocks that is to be mined, as is shown in the diagram below.
271
Part 4: Techniques
5 July, 1999
From Optimized Outline to Design, Continued
The aim is to produce a detailed design that deviates as little as possible from
the general outline provided by optimization. Where deviation is unavoidable,
try to balance extra tonnage in one place with reduced tonnage in another.
Sometimes you may find that the bottom of the optimal pit is too narrow to
allow sufficient room to manoeuvre the equipment. This situation is discussed
in Minimum Mining Width, on page 313.
Final design The final design should, in most cases, have ore and waste tonnages very
similar to those for the optimal outline that you are using. If you cannot
achieve this, you may need to re-optimize with different slopes that make better
allowance for haul roads, and so forth.
272
Part 4: Techniques
5 July, 1999
Section C: Using a Spider Diagram to Plot Data About the
Sensitivity of a Project
Introduction An important aspect of Four-X is its ability to provide information about the
sensitivity of the project to the various processing and cost factors.
One way of presenting this data is called a “spider” diagram.
How to plot data You can plot the distribution of NPV for each of the factors involved in the
relating to the optimization when the factors are varied by, say, plus or minus 10% from the
sensitivity of a base case.
project
The item with the most potential impact on the project is the one with the
maximum gradient.
SENSITIVITY TO CHANGE
35
30
25
NPV in millions
20
Cost of mining
15
Process cost
Gold price
10
Silver price
5 +25% NPV
-25% NPV
0
-10% Base 10%
Items that affect the NPV by more than ± 25% are highly significant.
In the example, above, both the processing cost and the gold price are highly
significant.
273
Part 4: Techniques
5 July, 1999
Chapter 2: Computer Techniques
Overview
274
Part 4: Techniques
5 July, 1999
Section A: Using Log Files
Introduction Log files are files that contain abbreviated prompts and answers. They can be
used to re-run a program using the previously logged set of prompts and
answers.
As everything you type has been “pre-recorded”, log files can significantly
reduce the time and effort taken to re-run programs. Since they can be edited,
they also make it very easy to re-run with changes.
Example of a log Here is an example of a log file for running the Optimization Program.
file
PrintFile #tut4
Restart_run? N
ParametersFile tut4
ModelFile tut4
StructureFile tut4
WorkFile #tut4
ResultsFile #tut4
In this example:
• The left-hand column shows shortened versions of the screen prompts
• The right-hand column shows the responses
• The # symbol is used to tell the program to automatically overwrite:
- The print file
- The Work File
- The Results File
275
Part 4: Techniques
5 July, 1999
What are Log Files? Continued
Default log file Four-X has a different log file extension for each of the Four-X programs.
extensions
Here is a list of default log file extensions.
Using log files Log files are controlled by special logging commands which you enter in
response to any prompt. For more information see Logging Commands on
page 277.
Editing log files Log files can be edited with any text editor or a word processor in pure text
mode.
It is quite common to edit an existing log file to produce a new one, but care
must be taken not to change anything in the left-hand column, and to ensure that
responses all start in the same column (column 26).
Blank and/or Blank lines or comment lines can appear anywhere in a log file. Start a blank
comment lines line or comment line with any of the following characters: ' * ! "
Tutorials and For practice using log files, refer to the following tutorials and exercises in your
exercises Getting Started Manual:
• Tutorial 2 - Further Analysis of the Results File
• Exercise 2 - Varying Silver Prices
• Tutorial 6 - The Basics of Mining Width Control
276
Part 4: Techniques
5 July, 1999
Logging Commands
!LOG Command How to use Type: !LOG <filename> and press the Enter key (↵)
in response to any prompt.
Description The !LOG command starts the writing of answers to the
log file, and repeats the prompt.
If you do not provide a filename, the last one used as a
log file for the program you are running will be used.
With each answer, the program writes a shortened version
of the prompt.
Abbreviation !L
Restriction You cannot use the !LOG command if you are already
logging.
Note: When creating a log file with the !LOG command, any log file of the
same name will be overwritten.
277
Part 4: Techniques
5 July, 1999
Logging Commands, Continued
278
Part 4: Techniques
5 July, 1999
Logging Commands, Continued
Example: using the If you type “!LOG <filename>” in response to any prompt, the program will
!LOG command start recording (or logging) your answers in “<filename>”.
It will continue to prompt you for input, issuing the same prompt again. This
will continue until the end of the run, or until you type “!END” in response to a
prompt.
If you do not include an extension in “<filename>”, Four-X will add the default
extension for a log file for the program you are running.
279
Part 4: Techniques
5 July, 1999
Section B: Running the Programs in Batch Files
Introduction The Four-X programs can also be automated in the following ways:
• Using the autolog facility from the Command Line
• Running files created by you as redirected input files from the Command
Line
Autolog facility If log files have been created, the autolog facility can be used to automate a
series of runs, from the Command Line.
To use this facility, a log file must exist in the current directory, with the name:
autofx??.log
where fx?? is the Command Line name.
This file will automatically be used as a log file without your giving a !USE or
!DEMO command.
Example
Assume a file called autofxan.log exists in the current directory. This file
will automatically be used if the Analysis Program (FXAN) is run.
If you want to do a series of analyses, you could set up a series of individual
log files and then copy the log files, in turn, to the autofxan.log file before
running the Analysis Program. Note that you would need different print file
and Spreadsheet Output File names set up in the logs to retain the individual
results.
Here is an example of a DOS file using the autolog facility:
@echo off
del autofxan.log
goto end
:error
echo.
echo One of the FXAN runs failed.
echo.
echo autofxan.log contains the log file involved.
echo.
:end
280
Part 4: Techniques
5 July, 1999
Running the Programs in Batch Files, Continued
Using files as Another way to automate user input is to create a file containing the responses
redirected input required for the keyboard, then to use this file as a redirected input file.
files
Note: This feature is not available under Windows NT.
To run a file as a redirected input file, at the Command Line type:
Example
FXAN <inp↵
In this example, the Analysis Program (FXAN) would be run, using the
keyboard responses from the file “inp”.
Using the fx??.ok The fx??.ok file (where fx?? is the Command Line name) is a file that is created
file to check the by each program when a run is completed successfully. This file is deleted at
run the start of a run and re-created at the end, if the run is successful.
This file can be useful in determining whether a program run has been
successful.
In addition, its presence or absence can be used to control subsequent action by
a batch or macro file.
281
Part 4: Techniques
5 July, 1999
Chapter 3: Using Expressions
Types of Expressions
Introduction There are two different types of expressions that can be used in Four-X.
They are:
• Positional CAF expressions
• Grade-dependent expressions
This topic discusses the use of these two types of expressions.
Positional CAF Positional CAF expressions can be used with the Re-blocking Program to
expressions calculate values for the positional mining and processing cost adjustment
factors.
Positional CAF expressions are input to Re-blocking Program interactively or
via a log file.
Expressions input interactively
If you type an ampersand (&) at the end of a line, the program will repeat the
prompt and you can continue typing in the expression. This can continue for
many lines. The maximum depends on a number of factors, such as the
maximum number of characters in an expression, and so forth.
Using a log file
If you have to input a long expression, it is easiest to enter a simple expression
broken into two lines and use a log file to record the prompts and responses.
The long expression can then be edited into the log file, using as many lines as
required, and the program re-run with the log file.
282
Part 4: Techniques
5 July, 1999
Types of Expressions, Continued
Using expressions These two different types of expressions operate the same way. The only
difference is the variables that can be used in them.
Specifically these expressions can be used for specifying:
• Selling costs†
†
• Prices
• Rock-type mining CAFs
• Rehabilitation costs
• Processing costs
• Element processing costs
• Recovery fractions
† Note: It is not usually meaningful to use expressions for selling cost or price, except when the ore itself is
the product (e.g. for iron ore).
283
Part 4: Techniques
5 July, 1999
The Form of Expressions
Introduction Each expression takes the form of a normal algebraic expression containing:
• Constants
• Variables
• Arithmetic symbols and parentheses
- and -
• Functions
Some special functions have been provided that are particularly useful for this
purpose.
Upper and lower case are equivalent throughout, and spaces can occur
anywhere.
Constants Constants are values that are fixed and unchanging for the purposes of a
particular calculation. These can have zero or more decimal places and,
optionally, a decimal exponent.
Examples
0.5 12k (where k is thousands) 2.7M (where M is millions)
5 1.376 256.1e+3 (=256100)
Variable Description
<element>.G The grade of “element” in the parcel under
consideration.
284
Part 4: Techniques
5 July, 1999
The Form of Expressions, Continued
Variables (continued)
Grades may be grades mined, grades sent to the waste dump or grades input to
the mill, depending on the usage of the expression.
The usage is defined by the expression “type” on the same line as the
expression.
Variable Description
BX, BY, BZ The output block size in units of distance.
NX, NY, NZ The output model size in blocks.
MX, MY, MZ The output model size in units of distance.
IX, IY, IZ The co-ordinates in blocks of the output block.
X, Y, Z The co-ordinates of the centre of the current output
block relative to the model origin, in units, of distance.
<element>.G The average grade of all mineralised material, for the
designated element, in the current output block.
Contrast this grade with the grade used in
grade-dependent expressions.
OLDCAF The CAF from the input file.
When blocks are combined, this is a weighted average
of the CAFs from the input blocks.
Note: All except OLDCAF refer to the output model and block size.
285
Part 4: Techniques
5 July, 1999
The Form of Expressions, Continued
286
Part 4: Techniques
5 July, 1999
The Form of Expressions, Continued
† This is the minimum number of letters that needs to be provided in order to ensure that it matches only one
function.
287
Part 4: Techniques
5 July, 1999
The Form of Expressions, Continued
Special functions Three special functions are also available for use in expressions.
They are:
• The Select function
• The Distance function
• The Ranges function
The example above could be used to generate a positional mining CAF that
varies irregularly with depth.
† This is the minimum number of letters that needs to be provided in order to ensure that it matches only one
function.
288
Part 4: Techniques
5 July, 1999
The Form of Expressions, Continued
Distance function †
Abbreviation : D
Layout: D (x1, y1, z1, x2, y2, z2)
Description: Distance calculates the straight line distance between a point at
co-ordinates (x1,y1,z1) and a point at (x2,y2,z2).
Example
The example above could be used to find the horizontal distance of the current
block from the North West corner of the model (Note: Zero has been used for
both z values).
† This is the minimum number of letters that needs to be provided in order to ensure that it matches only one
function.
289
Part 4: Techniques
5 July, 1999
The Form of Expressions, Continued
Note:
• The last value should always be a y value, so there should be an even number
of arguments.
• The z values must be in ascending order (no check is made on this).
Example 2
This example could be used to set a factor 20% higher if the gold grade was
greater than or equal to 2.5.
max....)(0,Au.g-0.2)*0.95/max(Au.g,0.2)
290
Part 4: Techniques
5 July, 1999
The Form of Expressions, Continued
291
Part 4: Techniques
5 July, 1999
Chapter 4: Calculating Costs
Overview
292
Part 4: Techniques
5 July, 1999
Section A: Calculating Costs for Pit Optimization
Costs - General
Introduction When preparing for a pit optimization using the Optimization Program, you
need to calculate the expected mining, processing, rehabilitation and selling
costs. This is because the Lerchs-Grossmann pit optimization method used by
Four-X can only take account of block values and slope requirements.
However, Four-X has very specific requirements with regard to the calculation
of these costs and the way they are input, and it is important that these be fully
understood.
How costs to be Costs must be expressed as “mining cost per tonne”, as “processing cost per
expressed tonne”, as “rehabilitation cost per tonne”, or as “selling cost per unit of product
produced”.
To reduce costs to a per tonne or a per unit basis, you have to make
assumptions about the production rate.
If the size of the pit, produced by the optimization, makes these assumptions
inappropriate, then the costs should be re-calculated and the optimization done
again.
Note: Many users set up all of their cost calculations in a computer spreadsheet.
This makes re-calculation much easier.
293
Part 4: Techniques
5 July, 1999
Costs - General, Continued
• Incremental costs
Such as wages and fuel costs.
These costs must be included in the calculation of the cost of the activity with
which they are associated.
Costs may or may not include
• Expenditures that are related to time, rather than to tonnage or production
These require careful thought, but generally:
The reasoning behind this is that, when the Optimization Program adds a block
to the pit outline, it may effectively extend the life of the mine. If it does, the
extra costs that would occur as a result of this extended life must be paid for.
Otherwise, the Optimization Program will add blocks to the pit that reduce,
rather than increase its real value.
Sharing Since the Optimization Program can only take note of costs expressed through
time-related costs the block values, it is necessary to share time-related costs between the blocks
between blocks in some way.
How they should be shared depends on whether production is limited by:
• Mining
• Processing
- or -
• The market
294
Part 4: Techniques
5 July, 1999
Costs - General, Continued
Amount to be added
In each case, the amount added is the time costs per year, divided by the
throughput limit per year.
Note: It is possible to handle time costs explicitly, rather than factoring them
into other costs as described above, during the analysis with the Analysis
Program. This is discussed in Section B: Time Cost Handling During Analysis,
on page 305.
Cost adjustment Four-X assumes that all costs that you give it are calculated for a particular
factors block in the model. This block, called the Reference Block, is usually at the
surface, but it can be anywhere you nominate. The concept of a Reference
Block is very important in Four-X.
Mining and processing costs should be worked out for the Reference Block
even if there is no appropriate material in that block. That is, even if the
Reference Block consists entirely of barren material, you should still work out
the processing cost as though the material to be processed was in that block.
These costs are stored in the Parameters File.
Four-X deals with any variation of these costs, such as the increase of mining
cost with depth, by the use of CAFs.
There can be adjustment factors for the (waste) mining cost and for the
processing cost for each block in the Model File. There can be a second
adjustment for the (waste) mining cost that depends on rock-type, and that
appears in the Parameters File.
295
Part 4: Techniques
5 July, 1999
Costs - Specific
296
Part 4: Techniques
5 July, 1999
Costs - Specific, Continued
297
Part 4: Techniques
5 July, 1999
Costs - Specific, Continued
298
Part 4: Techniques
5 July, 1999
The Application of Costs
Processing mill There may be a several types of costs involved in relation to a processing mill.
There may also be other expenditures that are not considered to be “costs” for
the purposes of Four-X.
Example
Assume that we have a processing mill that cost $10m to build and commission.
If the mine were to be shut down very shortly after operations commenced, the
mill would have:
• A certain salvage value
- and -
• An unrecoverable amount
Unrecoverable amount
The unrecoverable amount (for the purposes of this example, $4m) is an
“up-front” or “sunk” cost which must either be:
• Entered as an initial capital expenditure during the analysis with the Analysis
Program (see page 305)
- or -
• Subtracted from any optimized value of the pit itself
It is not a cost for Four-X purposes.
Salvage value
The mill may also have a certain salvage value (in our example, $6m).
The extent of the salvage value will depend on:
• Whether there is an on-going program of maintenance and capital
replacement
This will keep the salvage value of the mill close to $6m in today's dollars. In
this situation the $6m is theoretically recoverable when the mine is closed,
and so is not a cost.
However, maintenance and periodic capital replacement expenses are costs
for these purposes, because they would stop if mining stopped. They
should be averaged and treated as time costs.
299
Part 4: Techniques
5 July, 1999
The Application of Costs, Continued
Trucks The types of costs involved in relation to trucks depends upon the life of the
mine.
Where the life of the mine shorter than the life of a truck
If the expected life of the mine is shorter than the operating life of a truck, then
truck purchases can be treated in the same way as the cost of the mill (see the
example, above).
Where the life of the mine is longer than the life of a truck
If the life of the mine is much longer than the life of a truck, then trucks will
have to be purchased progressively to maintain the fleet.
Such purchases will stop if mining is stopped. Consequently, the cost of
purchasing trucks should be averaged out over the life of the mine and treated
as a time cost.
Unless the life of the mine is expected to be very long, some compromise
between the two approaches, above, is usually required.
Contract mining companies must take these factors into account when quoting
for a job, and it is sometimes useful to think as they do when you are working
out the costs for your own fleet. You should include everything that they do,
except for their allowance for profit.
Administration As on-site administration costs will usually stop if mining is stopped, they
costs should be treated as a time cost.
Head office administration costs may, or may not, stop if mining stops
depending on the circumstances of the particular mine, and thus may or may not
be included.
300
Part 4: Techniques
5 July, 1999
The Application of Costs, Continued
Bank loans for Repayment (principal and interest) of a bank loan taken out to cover initial
initial costs set-up costs will have to continue whether mining continues or not.
Repayments of bank loans for initial costs should therefore not be included in
the costs used when calculating block values.
These repayments will have to come from the cash flow of the mine. Thus, if
the mine is not going to produce enough cash flow to cover them, the project
should not proceed. You should not introduce these repayments as costs, in an
attempt to “improve” the optimization. The result will be quite the opposite to
what you expect. You will get a smaller pit with a smaller total cash flow.
Bank loans for Although bank loan repayments themselves are not included, some of the items
recoverable costs that the loan was used to pay for may be included.
For example, if you borrow money from the bank for day-to-day working
capital or for items, such as the $6m discussed in the mill example above, then
you can reasonably expect to repay the loan if mining stops.
Consequently, the interest paid on such a loan is a cost that stops if mining
stops. It should therefore be treated as a time cost.
Note: Four-X works throughout in today’s currency, so the interest rate used
should not include an allowance for inflation.
Grade control costs It is often necessary to do grade control work on waste rock as well as ore. In
this case, grade control costs apply to waste rock costs too.
If only some of the waste rock is grade controlled, then the correct way to
handle it is to load the cost of those particular types of waste rock.
However, many users make an estimate of the tonnes of such waste rock per
tonne of ore and increase the cost of mining ore.
Support cable bolts If the permitted pit wall slope is to be increased by the use of cable bolts or
some other similar technique, the cost per tonne is related to pit size, which has
to be estimated.
In this situation, a cost per square foot of wall can be transformed into a cost
per tonne of waste. This is an iterative estimate, but fortunately costs per tonne
are usually low.
301
Part 4: Techniques
5 July, 1999
The Application of Costs, Continued
Reagent costs If a certain element, not necessarily a product, uses up reagent and thus
increases the cost of processing, you can use an element processing cost to
simulate it.
If the extra cost is not directly proportional to the amount of the element input
to the mill, set up a grade-dependent expression for the processing cost per
tonne, and then use the expression code in place of the processing cost.
302
Part 4: Techniques
5 July, 1999
Example of Cost Calculation
Introduction The following shows how time costs would be handled where the operation is
either milling or mining limited.
Time cost
calculations
Time costs per year 980,000
Expected yearly mill throughput 1,000,000
Time cost per tonne milled 0.98
Expected yearly mining capacity 4,000,000
Time cost per tonne mined 0.24
Incremental costs
per tonne
Bench Mining waste Mining ore Extra for mining ore Milling ore
5 1.05 1.87 0.82 8.25
4 1.17 2.15 0.98 8.25
3 1.29 2.47 1.18 8.25
2 1.41 2.84 1.43 8.25
1 1.53 3.26 1.73 8.25
Throughput limit
on milling
Bench Mining Mining Milling Extra Time Milling Milling
waste cost ore for costs cost for cost
adj. mining Four-X adj.
ore
5 1.05 1.00 8.25 0.82 0.98 10.05 1.00
4 1.17 1.11 8.25 0.98 0.98 10.21 1.02
3 1.29 1.23 8.25 1.18 0.98 10.41 1.04
2 1.41 1.34 8.25 1.43 0.98 10.66 1.06
1 1.53 1.46 8.25 1.73 0.98 10.96 1.09
Cost of mining 1.05 Cost of processing 10.05
303
Part 4: Techniques
5 July, 1999
Example of Cost Calculation, Continued
Throughput limit
on mining
Bench Mining Time Mining Mining Milling Extra Milling Milling
waste costs cost cost ore for cost cost
for adj mining for adj.
Four-X ore Four-X
5 1.05 0.24 1.29 1.00 8.25 0.82 9.07 1.00
4 1.17 0.24 1.41 1.09 8.25 0.98 9.23 1.02
3 1.29 0.24 1.53 1.19 8.25 1.18 9.43 1.04
2 1.41 0.24 1.65 1.28 8.25 1.43 9.68 1.07
1 1.53 0.24 1.77 1.37 8.25 1.73 9.98 1.10
Cost of mining 1.29 Cost of processing 9.07
304
Part 4: Techniques
5 July, 1999
Section B: Time Cost Handling During Analysis
Introduction During analysis with the Analysis Program, time costs do not need to be
factored into the mining, processing or selling costs like they do when using the
Optimization Program. This is because time costs can be dealt with explicitly.
To deal with this, the Analysis Program has a special facility that allows you to
type in the factored amounts themselves. The Analysis Program can then use
the original costs for calculating the cut-offs and can correct the costs when
calculating the cash flows.
You will then be prompted, in each analysis request, for the time costs and the
replacement capital costs.
You will also be prompted, after you have entered the reference mining cost,
for the “Time/Replacement costs factored into” the mining cost, the processing
cost(s) and the selling cost.
For a full procedure, see Section B: Using the Analysis Program on page 126.
305
Part 4: Techniques
5 July, 1999
Chapter 5: Mining Factors
Overview
306
Part 4: Techniques
5 July, 1999
Section A: Techniques with Blocks
Block Sizes
Introduction There are four different block sizes that should be used in pit optimization.
These are discussed below.
Block size for The size of block that you need for outlining the ore body depends on the shape
outlining the ore and size of the ore body, and on your GMP.
body
The size of the block may be quite small, which can lead to a model framework
consisting of millions of blocks.
Block size for The values of blocks should be calculated for a block size that is similar to the
calculating values selective mining size. That is, a block should not be so small that it could not
be mined separately, nor so large that grades are artificially smoothed.
A block size calculated in this way is sometimes bigger than is required for
outlining the ore body.
If the block size in the model is smaller than this, then you should use the
Re-blocking Program to re-block it and to reduce the number of parcels, per
rock-type, in a block to one.
This has the effect of averaging the grade within the block. If you do not do
this, you will be simulating the mining of the ore body with a selectivity that
you cannot achieve in practice. This will produce an unrealistically optimistic
result.
For more information about what the Re-blocking Program can do, see page 48.
Block size for For pit design purposes, 100,000 to 200,000 blocks for the model framework is
designing a pit usually sufficient, assuming the pit occupies most of the model framework, and
is not too convoluted.
This is because the smoothed optimal outline that you will produce when
designing a pit is quite insensitive to block size, and because the pit value is
quite insensitive to pit tonnage changes near the optimal (maximum) value.
For more information, see page 270.
307
Part 4: Techniques
5 July, 1999
Block Sizes, Continued
The diagram below shows the sort of curve you get if you plot total pit value
against pit tonnage.
Note that the graph goes through a smooth maximum. Such a smooth
maximum is normal for real ore bodies (indeed it is possible to prove that the
curve cannot have a sharp peak).
This has a profound effect on the process of designing pits.
As this diagram shows, small deviations from a design that is not optimal (A)
can have significant effects on the pit value. Thus, generations of mining
engineers have experimented with small changes to try to improve their
designs.
As can be seen, this is quite unnecessary if you start from the optimal
outline (B), provided by Four-X, where small deviations have only a small
effect on the value of the pit.
These considerations can lead to a block size that may be bigger than is
required for calculating values.
If it is, you should combine blocks by using the Re-blocking Program.
However, you should not reduce the parcels to one per rock-type per block.
For a discussion on limiting the parcels to a reasonable number, see page 312.
308
Part 4: Techniques
5 July, 1999
Block Sizes, Continued
Block size for You may want to do sensitivity work if, for example, you want to examine the
sensitivity work effects of different prices or costs.
Assuming that the pit fills most of the model framework, a framework of
25,000 to 50,000 blocks will usually give just the same shape of graph with a
very small shift of absolute value.
When you work with a model of this size, sensitivity work can be done very
quickly, and this approach generally leads to a much more thorough sensitivity
analysis.
Time spent on sensitivity work is almost always rewarded by an increase in the
value of the project that far outweighs the cost of the sensitivity work itself.
Step Action
1. Create a block model with a suitable block size for delineating the
ore body.
2. Re-block it, if necessary, within your GMP to a size that is of the
same order as your selective mining tonnage, before outputting it
from your GMP as a Four-X Model File.
Alternatively you can output it in its original form, and then
re-block it with the Re-blocking Program.
3. Re-block this initial Model File with the Re-blocking Program so
as to reduce the number of blocks in the model framework to
25,000-50,000.
For a discussion on limiting the parcels to a reasonable number, see
page 312.
4. Do the sensitivity work using this model, and establish the Revenue
Factor, costs and slopes which give you the outline that you want to
use for design purposes.
5. Re-block the initial Model File again, but this time produce a model
framework having around 200,000 blocks.
6. Use the Optimization Program to do a pit optimization, using the
required economics and slopes.
7. Use the Analysis Program to do a few quick checks on your
sensitivity work conclusions, before importing the Results File back
into your GMP for final detailed design.
309
Part 4: Techniques
5 July, 1999
Re-blocking and Bias
Introduction When someone has put a great deal of effort into creating a very detailed block
model of a mineralised body, it may seem almost sacrilegious to combine the
small blocks into larger blocks.
However, provided the parcels are retained when the blocks are combined,
re-blocking usually has very little effect on the optimized result. This is
because, for any price and costs, the value of the new block is exactly the sum
of the values of the component blocks. All that has been lost is a little
positional accuracy with respect to the parcels.
310
Part 4: Techniques
5 July, 1999
Re-blocking and Bias, Continued
Example
The following diagram shows a high-grade, shallow dipping reef, the footwall
of which will form one wall of the pit.
Air
Earth
Bias Tests on a wide range of ore bodies have given changes in total pit value of
around only one percent when model frameworks are re-blocked from, say,
200,000 blocks to 25,000 blocks.
Since re-blocking of this order reduces optimization time by a large factor, this
makes the runs required for sensitivity work very quick.
For more For more information about the Re-blocking Program, see page 45.
information
311
Part 4: Techniques
5 July, 1999
Restricting the Number of Parcels in a Block
Introduction Four-X currently allows up to 99 parcels per block. Since most GMPs export
only one parcel per block, this limit is seldom a restriction, even when models
are severely re-blocked.
However, some GMPs do subdivide their blocks in order to more fully
delineate the ore body, and some of them export the pieces as separate parcels.
Also, multiple parcels are sometimes used to model the results of indicator
kriging.
In either case, re-blocking can lead to a number of parcels which exceeds the
limit of 99.
Using the The Re-blocking Program allows you to set a limit on the number of parcels for
Re-blocking each rock-type per block.
Program
If, when combining blocks, the program finds an output block which contains
more parcels than this limit for a particular rock-type, it reduces the number by
a mechanism which is described on page 51.
When to limit If you are producing a model where the block size is similar to the selective
parcels mining size, you should limit the number of parcels to one for each rock-type,
as is discussed in the section on block sizes, starting on page 307.
If you are producing a model for use in design or sensitivity work, you have to
consider how many parcels you need.
Assuming that the grades are different in the different parcels, what is important
is to retain a good description of the grade distribution in the model as a whole,
so that the tonnage processed will react realistically to changes in cut-off. It
does not have to be too detailed in a particular block . This is because the
overall mine behaviour is dependent on the grade distribution of groups of
blocks rather than that of individual blocks.
With a single element, five or ten parcels per rock-type in a block is probably
enough. With two elements, one might expect to have to square this, but five or
ten is still probably enough. This is because the tonnage discrimination is the
same as for one element.
312
Part 4: Techniques
5 July, 1999
Section B: Pit Shape Techniques
Introduction If the ore body is large, achieving the necessary minimum mining width at the
bottom of the pit usually involves only minor adjustments to the optimal
outline.
However, if you have a steeply dipping, narrow, high-grade reef, or the
mineralisation is very spotty, the problem may be more significant.
Dealing with There are four ways of dealing with these situations:
mining width
• You can exclude a small amount of ore when you do the design, thus
deviating slightly from the outline.
The viability of this approach depends on how much you have to exclude.
The Mining Width Program can do this for you. For more information, see
page 104.
• You can lay the slopes back slightly during the pit optimization, widen the
bottom of the pit, and get back the extra waste further up the walls.
This is shown in the following exaggerated diagram.
Optimal
outline
Detailed
design
• If only small parts of the bottom of the pit are too narrow, you can check that
the mining width is maintained on the bench above, and then plan to dig out
the blocks containing ore at the end of mining.
• You can, in some cases, use a file of additional arcs, as is explained below.
Note: You should always do a pit optimization without additional arcs first,
as the problem may not be as bad as you expect.
313
Part 4: Techniques
5 July, 1999
Minimum Mining Width, Continued
Using a file of If you know, in a horizontal sense, where the base of the pit will be, you can
additional arcs link strings of blocks together with additional arcs to ensure that the required
mining width is achieved.
The diagram below shows a steeply dipping reef, where it is clear that the
footwall of the reef will form one wall of the pit.
Air
Steeply
dipping Earth
reef
Blocks
This diagram shows strings, of four blocks each, that could be linked to ensure
a minimum width of four blocks at the bottom of the pit.
Strings like this would have to be provided along the whole strike and depth of
the reef, but take care not to link them along strike as well as across strike.
This would have the effect of linking planes of blocks together, which would
specify the length of the pit floor and force it to be horizontal. Such a
constraint could easily distort the optimization so much that it would hardly be
worth doing.
The sheer number of additional arcs required for this technique would almost
certainly make it necessary to write a program to create them. The program
would have to be given, or would have to obtain from the model, details of the
line where the footwall of the reef intersects each bench. It would then be a
simple matter to identify the positions of the blocks which have to be linked.
314
Part 4: Techniques
5 July, 1999
Minimum Mining Width, Continued
To link together four blocks (A, B, C and D), you should include the following
arcs in an Additional Arcs File, in the order shown:
Other arcs and sequences will produce the same pit outline, but this approach
gives the quickest optimization.
For similar reasons, it is best to include the arcs for the lowest bench first, and
then work upwards.
For the format of the Additional Arcs File, see Section C: Additional Arcs File,
on page 232.
315
Part 4: Techniques
5 July, 1999
Dealing with Pits that Hit the Side of the Model Framework
Introduction If the active blocks indicator is 1 and any of the nested pits reaches the extreme
edge of the model framework, then that pit has effectively got a vertical wall, as
is shown in the diagram below.
Air
Vertical
wall
Pit
Earth
In this situation, no allowance has been made for the cost of mining the part
outside of the model framework (i.e. the dashed area in the above diagram).
This result is, in normal circumstances, undesirable.
Using the programs It is always a good idea to do a quick check for this with the Pit Visualisation
to deal with the Program, after doing a pit optimization.
problem
If you find that any of the pits do hit the side of the model framework, consider
using the Re-blocking Program to extend the model and the topology sideways
before running the Structure Arcs Program and the Optimization Program
again.
Where a pit In some circumstances it can be useful to have a pit reach the side.
reaching the side is
beneficial Example
When a lease boundary divides a single ore body that is being mined by two
different companies, and you want to explore the consequences of joining the
pits.
316
Part 4: Techniques
5 July, 1999
Dealing with Pits that Hit the Side of the Model Framework,
Continued
Active blocks If the active blocks indicator is 2, and the sub-regions do not fill the whole
indicator of 2 model framework, the same concepts apply if a pit hits a sub-region wall that is
not at the side of the model framework, and that does not have another
sub-region adjacent to it.
317
Part 4: Techniques
5 July, 1999
Dealing with Obstructions and Immovable Objects
Introduction It is not uncommon in open pit design to have things, such as a crusher, or a
road or a lease boundary, that the pit must not encroach upon.
There are very simple ways of handling obstructions and immovable objects
using Four-X.
Adding “pseudo” In order to prevent Four-X from including an area in the optimal pit that
blocks contains an immovable object or an obstruction, add blocks to the model that
have a very high rock tonnage.
These blocks will be so expensive to mine that they will not be included in any
optimal pit.
Adding pseudo If you wish to preserve a straight boundary, then you may have to add
blocks and additional arcs to stop the pit from encroaching on, for example, a lease
additional arcs boundary.
Tutorials and For practice using this technique, refer to Tutorial 5 - Dealing with an
exercises Obstruction in your Getting Started Manual.
318
Part 4: Techniques
5 July, 1999
Extending the Ore Body
Introduction Sometimes when you optimize, the pit reaches the bottom of the model
framework, and the question arises as to whether it could go deeper.
If drilling has already been done below the model framework, then you can
create a new, deeper block model in your GMP, re-create the Model File and
repeat the optimization and sensitivity work.
If the model framework goes as deep as the drilling, you can use Four-X to
investigate whether further drilling is warranted. You can extend the bottom of
the model downwards along the current plunge/dip and then re-optimize to see
if the resultant pit goes deeper.
When to use this The Parameters File and Model File created in this way are based on the
technique assumption that the mineralisation continues downwards with the same width
and grade as in the blocks in the bottom bench of the original model
framework.
If the pit goes no deeper than it did before when you re-optimize, then there is
not much point in drilling deeper, unless you have reason to believe that the
grades or the mineralisation width may increase with depth.
319
Part 4: Techniques
5 July, 1999
Extending the Ore Body, Continued
Procedure To extend the mineralised body downwards, follow the steps in the table below.
Step Action
1. Using the existing Parameters File and Model File, use the
Re-blocking Program to:
• Reduce the height of the model framework to 1 bench, but change
nothing else.
This will create a Model File containing just the blocks from the
bottom bench.
• Create a new Parameters File to go with it.
You can now effectively paste this single bench model under your original
model framework any number of times, for example, 5 times.
2. Run the Re-blocking Program and tell it you want to input 6 Model
Files.
• Use the original Parameters File as the primary Parameters File
and extend the framework downwards by five benches.
Do this by increasing the height of the model by 5 and by loading
the primary Model File with an offset of 5 in the Z direction only.
• When the Re-blocking Program asks for details of the secondary
files, use the single bench Parameters File and Model File for
each of them, and load each with a different Z offset in the
range 0 to 4.
320
Part 4: Techniques
5 July, 1999
Section C: Complex Processing Methods
Introduction When there are multiple products, it is common for processing streams to have
different sections which are used to extract different products.
Here are some examples, with some suggestions on how to model them in
Four-X.
Element extraction Sometimes different products are extracted at different stages in the processing.
at different stages
Example
10% recovery
for Element 1
Element 1 Element 1
321
Part 4: Techniques
5 July, 1999
Complex Processing Methods, Continued
Separation If, for example, after crushing, the material is divided into two streams in which
each extract a different product, we might have the following.
Example
Ore Element 1
- Element 1 Crush Separate Method A
- Element 2
70% recovery
of Element 1
80% of the ore
70% of Element 2
60% recovery
Method B of Element 2
Element 2
322
Part 4: Techniques
5 July, 1999
Complex Processing Methods, Continued
Multiple Processes
If there are different selling costs or prices associated with Element 1 in the two
streams, then it may be better to treat it as two separate elements (e.g. Element
1 and Element 4).
323
Part 4: Techniques
5 July, 1999
Section D: Handling Slopes that Vary with Rock-type
Introduction Each slope profile has a set of bearings and slopes associated with it.
Thus, the slopes can vary with direction within a single slope region, as is
illustrated below.
Example In this diagram, if only one slope region was used, the slope specified for a
bearing of 45 degrees would be used by Four-X in the positions indicated by
the arrows.
45
If you did not want this slope to be applied at all these positions, possibly
because different rock-types were involved, then you could define different
slope regions within which different slope profiles could be applied. There are
two ways of doing this:
• You could define the slope regions and profiles in the Parameters File. In
this case the slope regions would be rectangular.
• You could define the slope regions with a Model File zone number or a
Profile Number File, and the slope profiles with a Slope Profile File. In this
case the slope regions can be of arbitrary shape.
324
Part 4: Techniques
5 July, 1999
Handling Slopes that Vary with Rock-type, Continued
Using rectangular The following diagram shows a model with two rock-types, separated by an
slope regions irregular boundary.
Air
Sub-region 1
Sub-region 2
Rock type A
Sub-region 3
Sub-region 4
Rock type B
If we assume that:
• Rock-type A will support 40 degree slopes
- and -
• Rock-type B will support 55 degree slopes
… then an approximation to this can be achieved by setting up sub-regions 1 to
4, as shown.
Sub-regions 1 and 2 would have 40 degree slopes, and 3 and 4 would have 55
degree slopes.
A better approximation could be achieved by using more sub-regions, but there
is a limit to this technique.
Note: Care should be taken not to use sub-regions that contain only a few
benches, because this can make the slope modelling for that sub-region very
poor.
Using irregular A better approach in this case would be to use a Model File which carried zone
slope regions numbers or a Profile Number File to identify the rock-type of each block. This
could then be used in conjunction with a Slope Profile File to generate a
Structure File which exactly modelled the required slopes.
325
Part 4: Techniques
5 July, 1999
Section E: Allowing for Underground Mining
Introduction Four-X is concerned with designing open pits and currently has no direct
relevance to underground mining.
However, if both above-ground and underground methods are to be used, this
can affect the design of the open pit, and Four-X can take account of this.
Important When considering this issue, it is important that, if a particular block can be
considerations mined by either above-ground methods or underground methods, then the
correct value to give it during open pit optimization is the difference between
its value when mined above-ground and its value when mined underground.
Example
Consider a block that is worth $1,000 if mined by above-ground methods and
$800 if mined by underground methods.
• If no underground mining is to take place, then the correct value to use
during open pit optimization is $1,000.
• If you decide to mine underground below the open pit, then the correct value
to use for open pit optimization is $200.
This is because the advantage to the company obtained by mining the block
by above-ground methods is only $200, since the company will still make
$800 if the block is omitted from the open pit.
However, if the block is included in the open pit, then $1,000 is made from it.
Therefore, there is a difference between the profit gained from mining the block
and the advantage gained from choosing to mine it by above-ground methods.
It is this advantage which is relevant to open pit optimization. Open pits which
are designed to maximize advantage to the company are usually smaller than
pits which are designed to maximize the value of the pit itself.
Procedure To use this facility, follow the steps in the table below.
Step Action
1. If only some of the blocks in the model are being considered for
underground mining (e.g. a particular reef), identify the relevant
parcels by giving them a different rock-type code.
2. For those rock-types that could be mined underground, add
line-types 30 and 31 to the Parameters File, indicating how they will
be processed if mined underground. See page 190 for more
information about line-types 30 and 31.
326
Part 4: Techniques
5 July, 1999
Allowing for Underground Mining, Continued
The way values are There are several differences between the way values are calculated for open pit
calculated for mining and underground mining.
underground
With underground mining:
• The underground value of a block is calculated without any reference to the
total ROCK in the block.
• The processing cost, PROCOST, you supply must cover all mining costs,
which are assumed to be proportional to the amount of ore mined.
• The positional mining, the rock-type mining and the positional processing
CAFs are not applied.
• Mining dilution and recovery are ignored.
Nested pits With underground calculations, if you want to generate just one pit and have
thus set the minimum and maximum Revenue Factor to the same value, then
there are no restrictions on the methods and values you supply.
However, if you want to produce multiple nested pits, then there are certain
restrictions required to ensure that the pits nest correctly.
For each rock-type, these are:
• If one or more underground processing method(s) is defined, at least one
above-ground processing method must be defined.
And, for each element in the rock-type:
• All above-ground processing recovery fractions must be greater than, or
equal to, any underground processing recovery fractions.
• The ratio of RECOVERY/(PROCOST-REHCOST) for all above-ground
methods must be greater than, or equal to, the ratio of
RECOVERY/(PROCOST-REHCOST) for any underground methods.
• All above-ground recovery thresholds must be less than, or equal to, any
underground recovery thresholds.
• All above-ground minimum cut-offs must be less than, or equal to, any
underground minimum cut-offs.
• All above-ground maximum cut-offs must be less than, or equal to, any
underground maximum cut-offs.
These restrictions are normally complied with naturally, and will only come
into effect if you supply unusual values in the Parameters File.
327
Part 4: Techniques
5 July, 1999
Allowing for Underground Mining, Continued
Note: If you are using positional processing CAFs (which only apply to
above-ground mining) or grade-dependent expressions the above restrictions do
not ensure that the pits are correctly generated in all cases. If such a possibility
is detected, the Optimization Program does extra checks when it is reading in
the Model File. If nesting could fail, the optimization continues, but a warning
message is issued. In this case the pits will be nested, but each may not be
strictly optimal.
Illustration of the
underground effect
Optimum pit
Pit ore
Possible
u’gnd ore
328
Part 4: Techniques
5 July, 1999
Appendices
Overview
329
Appendices
5 July, 1999
Appendix A: How the Structure Arcs Program Works
Overview
330
Appendices
5 July, 1999
How the Structure Arcs Program Handles Slopes
Introduction Slope profiles are required by the Structure Arcs Program when creating a
Structure Arcs File. Depending on how the slope regions are defined, the slope
profiles may be defined in the sub-regions part of the Parameters File or in a
Slope Profiles File.
Note: These slopes set maxima to the slopes of the final pit outline. If the
outline is following the ore body (e.g. along an ore footwall), the slopes may be
shallower.
How the Structure For each slope profile, the Structure Arcs Program first converts the slope
Arcs Program requirements into an inverted “cone” that defines the rock that must be mined to
deals with slopes expose a point at the tip of the cone.
At each bearing specified, this cone has the required slope. Between these
bearings the slope is interpolated.
If only one bearing and slope is specified, the slope is the same all round, and
the bearing is ignored.
Example 1 Consider bearings BA and BB, with BB greater than BA, and corresponding
slopes SA and SB.
The interpolation formula for the slope at a bearing B, between BA and BB, is
as follows.
1 BB − B B − BA 1 1
arctan min + , ,
BB − BA tan SA ( ) ( )
tan SB tan SA cos B − BA tan SB cos BB − B
331
Appendices
5 July, 1999
How the Structure Arcs Program Handles Slopes, Continued
Example 1 (continued)
If you find the formula somewhat daunting, consider the following figure.
This is a horizontal section through part of the inverted “cone” with slopes
specified as above, and with SA being steeper than SB.
The curved line, PQR, is the initial interpolation line, but note that between P
and Q it curves outside the tangent to the slope SA.
This would rarely be what the engineer would want, so the Structure Arcs
Program uses the tangent (straight line PQ) until it reaches Q, and then follows
the curve QR. This explains why the formula above contains a minimum
function.
332
Appendices
5 July, 1999
How the Structure Arcs Program Handles Slopes, Continued
Example 2: a more In a more extreme situation with, say, a steep slope to the north and a shallow
extreme situation one to the south, without the limitation to the tangent, a single block ore body
would produce a heart shaped pit, as shown below.
Under such circumstances, the Structure Arcs Program uses the straight line,
PQR, rather than the curve PQR.
This use of tangents to the slope wall sets a minimum bearing difference for a
particular change of slope. This is because neither slope radius can go beyond
a right-angle to the other slope radius.
For two slopes SA and SB, where SA is greater than SB, as in the example
above, the minimum bearing difference is:
tan SB
arccos
tan SA
Slopes that change If you have slopes that change more quickly than this, then any program except
more quickly than the Edit Parameters Program will detect it when it reads the slope profile, and
this will show on the screen and in the print file the minimum bearing difference
required.
The Edit Parameters Program only detects the problem when you “validate” the
data that you are editing.
333
Appendices
5 July, 1999
How Possible Arcs are Generated for a Block
How Four-X works Having created the inverted cone for a particular sub-region, Four-X then works
out the minimum out the minimum set of arcs that will ensure that the necessary blocks will be
set of arcs removed, if these arcs are applied to all blocks.
Example The procedure is complicated and works in three dimensions, but the following
example in two dimensions will illustrate it.
In the above example, the desired slope can be achieved by using just the three
arcs shown by dashed lines with arrow heads for each block. This is because,
when these three arcs are applied to all of the blocks, chaining of the block
dependencies results in every block with a centre above the line of the desired
slope being mined, if the bottom left-hand block is mined.
In this case we have considered 8 benches. If we had only considered 3
benches, we would only have found two of the arcs, and the slopes would have
been steeper.
Clearly, the more benches we examine, the more accurately we can reproduce
the slopes. For Four-X, you specify the number to be examined, by supplying
the number of “benches to consider” when generating the structure arcs for
each sub-region in the Parameters File or for each slope profile on a Slope
Profile File.
334
Appendices
5 July, 1999
How Possible Arcs are Generated for a Block, Continued
Working in three In practice, when working in three dimensions, it typically requires between 50
dimensions and 100 arcs per block to ensure an average slope accuracy of 1 degree, which
is sufficient for most purposes.
The number of benches required for this depends on the proportions of the
blocks. We suggest a way of calculating a starting number in the section on the
Parameters File, on page 201. However, note that there is an inherent limitation
to the accuracy, which is the fact that the Optimization Program can only
“mine” whole blocks.
Shallow models or Some models that are shallow and/or have wide blocks can present slope
models that have modelling difficulties. In these cases the Re-blocking Program can be used to
wide blocks split the blocks to make them narrower.
335
Appendices
5 July, 1999
How the Structure Arcs File is Generated
How the Structure When these generic lists of arcs per block have been generated for each
Arcs Program sub-region, the Structure Arcs Program examines each block in the model and
generates the adds structure arcs appropriate to it to the Structure Arcs File.
Structure Arcs File
During this operation, it checks for and rejects arcs that go outside the model,
and adjusts arcs which start in one slope region and end in another.
The arcs are stored as lists towards each block from below, and consequently
no arcs are generated for the bottom bench.
If Additional Arcs If an Additional Arcs File is supplied, the Structure Arcs Program adds the arcs
File used from it to the end of the Structure Arcs File.
336
Appendices
5 July, 1999
Appendix B: How Four-X Calculates a Block Value
Introduction In calculating a block value, Four-X uses information from the Model File and
from the Parameters File.
Values from the The values from the Model File are listed in the following table.
Model File
Note: We have given the different items code names so that the values can be
easily identified in the flowcharts that follow.
Those marked with an asterisk (*) are optional and can be ignored at the first
reading.
The ratio between the cost of mining waste, where this block MINADJ*
is, and the cost of mining waste at the Reference Block
The ratio between the processing cost, where this block is, PROADJ*
and the processing cost at the Reference Block
337
Appendices
5 July, 1999
Values Used from the Model File and Parameters File, Continued
Values from the The values from the Parameters File are listed in the following table.
Parameters File
Note: We have given the different items code names so that the values can be
easily identified in the flowcharts that follow.
Those marked with an asterisk (*) are optional and can be ignored at the first
reading.
338
Appendices
5 July, 1999
Values Used from the Model File and Parameters File, Continued
339
Appendices
5 July, 1999
The Calculation
Introduction Four-X calculates the value of a block by adding together the cash flows
associated with each parcel, and subtracting the cost of mining the whole block
as waste.
Where optional If the optional values (i.e. asterisked values (*), above) are ignored, there is no
values ignored underground option, and ore selection is by cut-off.
In this case, Four-X calculates the value of a block as follows.
Where:
• BLOCKAG is the value of the block if it is mined above ground.
• BLOCKVAL is the value of the block (in this simple case equal to
BLOCKAG).
• REVENUE is the value of the element recovered from the parcel.
• PARVAL is the cash flow from processing the parcel.
Process where ore The procedure is very similar if ore selection is by cash flow, except that parcel
selection is by cash values are calculated for all processing methods and the best is used, provided
flow that it produces a better cash flow than treating the parcel as waste.
340
Appendices
5 July, 1999
The Calculation, Continued
Where all optional If all the optional values are taken into account, the procedure for calculating
values taken into the value of a block is as follows.
account
341
Appendices
5 July, 1999
The Calculation, Continued
Where:
• BLOCKUG is the value of the block if it is mined underground.
• REHVAL is the total rehabilitation cost for the parcel.
• AVAILMET is the element content of the parcel above the processing
recovery threshold.
• SELLVAL is the cost of selling the recovered element.
• ELEMVAL is the cost of processing the element.
Process where ore Again, the procedure is very similar if ore selection is by cash flow, except that
selection by cash parcel values are calculated for all processing methods and the best is used,
flow provided that it produces a better cash flow than treating the parcel as waste.
Utilities Program The Utilities Program has facilities for printing out the details, like those shown
above, of actual block value calculations using your data. For more
information see page 164.
342
Appendices
5 July, 1999
Appendix C: How a Block Model is Defined
Block Model
Introduction A block model is a collection of data that contains estimates of things, such as
element grade and density, for a set of blocks that include the ore body and its
surrounds. This is usually prepared with your Generalised Mining Package
(GMP) and is contained in a Model File.
Details of the precise data requirements for a Four-X Model File start on page
214.
Model framework We use the term “model framework” to denote a rectangular region of space
that is divided into a number of such blocks, all rectangular and of the same
size.
Example
The above figure shows such a region with one of the blocks outlined.
The only restriction set by Four-X on the size and proportions of a block is that
an exact number of them must fit into the model along each side. That is, the
size of the model framework in any direction must be a multiple of the block
size in that direction.
The position of each block in the model framework is defined by the block
indices IX, IY and IZ. These are counts of block positions along each of the
axes, starting from 1.
Note: We use X, Y and Z rather than Easting, Northing and Elevation because
not all models are aligned by the compass. Note that blocks are numbered from
the bottom up in the Z direction.
343
Appendices
5 July, 1999
Sub-regions
Introduction For certain purposes, we divide the model region into two or more sub-regions.
Each sub-region is rectangular, and is defined in the Parameters File by the
minimum and maximum block co-ordinates in the X, Y and Z directions.
Example The diagram below shows a model framework divided into four sub-regions.
20
55 11
41
40 10 60
35 36
1
1 1
In this diagram, the numbers represent block positions along each axis.
The table below shows the block limits used to define these sub-regions.
344
Appendices
5 July, 1999
Sub-regions, Continued
Information Sub-regions carry slope profile definitions and the sub-region default block
contained in the tonnage. Consequently, the slope definitions and the default block tonnage can
sub-regions vary with position in the model. The order in which sub-regions are declared in
the Parameters File is immaterial.
Sub-region layout It is possible to have a different sub-region layout for slopes and for default
block tonnages. You would set these up in two different Parameters Files, and
use one with the Structure Arcs Program for structure arc generation, and the
other with the Re-blocking Program for re-blocking and the Optimization
Program for pit optimization.
345
Appendices
5 July, 1999
Appendix D: Ore Selection Methods: by Cut-off or Cash Flow
Overview
Introduction Four-X has two methods of selecting parcels for processing. It can use cut-offs
or cash flow.
A parcel has a rock-type and one or more element grades. Zero or more
processing methods will be applicable to that rock-type. If there are zero
methods for the rock-type, the parcel is automatically mined as waste.
The ore selection method is controlled by the ore selection method flag in the
Parameters File. See page 196 for more information.
346
Appendices
5 July, 1999
Overview, Continued
347
Appendices
5 July, 1999
Section A: Cut-offs
Ore selection by As mentioned above, when ore selection is by cut-off, ore is selected by
cut-off comparing the grades of the material with pre-calculated processing cut-offs. If
it does not satisfy the cut-offs, it is treated as waste.
For an explanation of how multiple cut-offs are handled, see Cut-offs with
Multiple Elements on page 361.
If more than one processing method is applicable, the grades are compared with
the cut-offs of each in turn, in the order in which they are specified in the
Parameters File.
Below we explain how cut-offs are calculated for a single element, when ore
selection is by cut-off.
We will start with a simple case and progressively introduce more complexity.
Cut-off calculation: If only one element is involved and only one processing method is applicable to
the simple case a particular rock-type, then the cut-off used to decide whether to process
material or not is that grade at which the product recovered just pays for the
processing of the material (plus any extra mining and hauling cost for ore).
That is:
- or -
PROCOST
Cut-off =
RECOVERY × PRICE
348
Appendices
5 July, 1999
Ore Selection by Cut-off and Cut-off Calculation, Continued
Revenue
per tonne
ice
x Pr
ry
ve
eco
R
t=
dien
a
Gr
0 Grade
Cut-off
Cost of
"processing"
In this diagram, the thick line is referred to as the processing line. If the
processing recovery or the price increases, the line gets steeper and the cut-off
grade decreases.
Mining dilution Allowing for mining dilution (MINDIL) and mining recovery (MINREC), the
and recovery cost and revenue can be expressed as follows.
and hence:
(MINDIL × PROCOST)
Cut-off =
(RECOVERY × PRICE)
349
Appendices
5 July, 1999
Ore Selection by Cut-off and Cut-off Calculation, Continued
Positional The processing cost at the Reference Block is multiplied by the Positional
processing and cost Processing CAF (PROADJ) for each block.
adjustment factor
This leads to a cut-off for a parcel within a particular block of:
(PROCOST × PROADJ)
Cut-off =
(RECOVERY × PRICE)
Note that this means that the cut-offs applied by Four-X may be different in
different parts of the pit.
However, for details of how the cut-offs are scaled in Four-X, see page 366 .
Element processing Four-X provides for an extra processing cost which is proportional to the grade
cost of an element (ELCOST). This gives:
PROCOST
Cut-off =
RECOVERY × PRICE − ELCOST
350
Appendices
5 July, 1999
Ore Selection by Cut-off and Cut-off Calculation, Continued
Non-linear Four-X has a facility whereby you can simulate non-linear recovery by
processing recovery subtracting a “threshold” grade from the actual grade of the material before
applying the recovery fraction (THRESHOLD).
The amount of product per tonne that we get is:
RECOVERY
(GRADE − THRESHOLD) ×
GRADE
The sort of effective recovery fraction curves that result from this are illustrated
in the following diagram.
Effective
recovery
fraction
THRESHOLD + PROCOST
Cut-off =
RECOVERY × PRICE
351
Appendices
5 July, 1999
Ore Selection by Cut-off and Cut-off Calculation, Continued
Revenue
per tonne
e
P r ic
yx
er
c ov
Re
t=
ie n
ad
Gr
0 Grade
Cut-off
Cost of
"processing"
Threshold
0 grade
If a processing mill has a constant tailings grade, regardless of head grade, and
all the other product is recovered, this is easily simulated by setting the
recovery threshold to the expected tailings grade, and the recovery to 100%.
Selling cost If there is a cost which is proportional to the amount of a product sold
(SELCOST), then it can effectively be subtracted from the price.
This gives:
PROCOST
Cut-off =
[RECOVERY × (PRICE - SELCOST)
352
Appendices
5 July, 1999
Ore Selection by Cut-off and Cut-off Calculation, Continued
Rehabilitation cost If there are rehabilitation costs (REHCOST) incurred when a particular type of
rock is mined as waste and dumped, this can make it more economic to process
some material at a loss, rather than mining it as waste.
This has the effect of reducing the calculated cut-off.
(PROCOST - REHCOST)
Cut-off =
(RECOVERY × PRICE)
Revenue
per tonne
ice
x Pr
ry
ve
eco
R
t=
dien
a
Gr
0 Grade
Rehabilitation cost
Cost of
"processing"
Cut-off
In the extreme case where the rehabilitation cost is greater than the processing
cost, the cut-off will fall to zero, and all mineralised material will be processed.
353
Appendices
5 July, 1999
The Derivation of the Formula for a Marginal Cut-off
Introduction Four-X uses marginal cut-offs for each element when a single processing
method is applicable to a particular rock-type.
The formula for the marginal cut-off, taking into account all of the optional
values is explained below.
Tonnage into the The tonnage into the mill per tonne mined is:
mill
MINDIL × MINREC
Amount of product The amount of product into the mill per tonne mined is:
into the mill
GRADE × MINREC
354
Appendices
5 July, 1999
The Derivation of the Formula for a Marginal Cut-off, Continued
Product produced The amount of product produced per tonne mined is:
Main processing The main processing cost per tonne mined is:
cost
Element processing The element processing cost per tonne mined is:
cost
Cash flow If the material is processed, the cash flow per tonne is therefore:
355
Appendices
5 July, 1999
The Derivation of the Formula for a Marginal Cut-off, Continued
Rehabilitation cost If the material is rejected, the rehabilitation cost per tonne mined is:
REHCOST
Note that, because the decision to process or not is made while the material is
still in the ground, MINDIL and MINREC do not affect rehabilitation cost.
Cash flow and In order to calculate the marginal cut-off, we equate the cash flow per tonne
rehabilitation cost calculated above, plus the rehabilitation cost per tonne to zero.
= zero
(GRADE - THRESHOLD × MINDIL) × MINREC × RECOVERY × (PRICE - SELCOST)
+ REHCOST
= ZERO
The necessary steps are then taken to solve this equation for GRADE.
Bringing grade The GRADE items are brought together on one side of the equation, as follows.
items together
- REHCOST
356
Appendices
5 July, 1999
The Derivation of the Formula for a Marginal Cut-off, Continued
REHCOST
+ MINDIL × PROCOST × PROADJ -
MINREC
[
GRADE × RECOVERY × (PRICE - SELCOST) - ELCOST ]
=
Dividing by the The equation is then divided through by the GRADE multiplier.
GRADE multiplier
357
Appendices
5 July, 1999
The Derivation of the Formula for a Marginal Cut-off, Continued
(PROCOST × PROADJ)
Cut-off =
(RECOVERY × PRICE)
358
Appendices
5 July, 1999
The Formula for a Cut-over
Introduction If we use techniques similar to those shown in the derivation of the formula for
a cut-off on page 348, we get the following formula for a cut-over between two
processing methods “A” and “B”:
MINDIL × (PRICE - SELCOST)
× (THRESHOLDA × RECOVERYA - THRESHOLDB × RECOVERYB)
- MINDIL × PROADJ × (PROCOSTA - PROCOSTB)
Cut-over = RECOVERYA × (PRICE - SELCOST) - ELCOSTA
- RECOVERYB × (PRICE - SELCOST) - ELCOSTB
[(RECOVERY - RECOVERY ]
Cut-over =
A B
359
Appendices
5 July, 1999
Multiple Processing Methods
Introduction If more than one processing method is applicable to a particular rock-type then,
when ore selection is by cut-off, Four-X looks at the processing methods, in the
order in which they are specified in the Parameters File, and selects the first
method that passes the cut-off criteria.
Thus, the order in which methods are described in the Parameters File can be
important.
For example, for a mill and heap leach operation, it is important to describe the
mill first.
Diagram Graphically, the “processing lines” are laid on top of each other and the highest
at each point is used. Where this process leads to a grade at which we change
from one processing method to another, we refer to this grade as a cut-over,
rather than a cut-off.
The figure below shows the effect for a mill and heap leach operation, where it
is cheaper to heap leach material, but the recovery fraction is less.
Revenue Mill
per tonne
Heap leach
Cut-over
0 Grade
Cut-off
With this arrangement, Four-X will put material that is above the cut-over
through the mill. It will heap leach material that is between the cut-over and the
cut-off, and it will mine material that is below the cut-off as waste. The thick
combined processing line reflects this.
360
Appendices
5 July, 1999
Cut-offs with Multiple Elements
Introduction When there are two or more elements with cut-offs, Four-X uses an approach
which has the same effect as using an equivalent metal.
Example 1 This is illustrated below for the case where there are two elements P and Q with
cut-offs as shown.
Note that any grade combination can be represented by a point in the plane of
the graph.
P
P cut-off
Process
Don't process
Q cut-off Q
If the sum of the grades divided by the corresponding cut-offs is greater than
one, then the material is processed.
Note: This can lead to an apparently strange situation where the average grade
of an element processed is below the cut-off for that element.
361
Appendices
5 July, 1999
Cut-offs with Multiple Elements, Continued
Example 2 The material in the shaded area in the following diagram is below both cut-offs,
but still gives a positive cash flow when processed, because both elements
make a contribution.
P
Process
Process
P cut-off
Process
Process
Don't process
Q cut-off Q
Note that, if non-linear grade-dependent expressions are used for the prices or
costs, the exact line which divides positive and negative cash flow grade
combinations may not be straight. Nevertheless, if Four-X is using ore
selection by cut-off, a straight line is used to join the cut-offs. If this
discrepancy is important to you, consider using the method described in Ore
Selection by Cash Flow, on page 367).
362
Appendices
5 July, 1999
Ranked Cut-offs
Introduction Ranked cut-offs only become relevant when there is more than one processing
method for the same rock-type and when there is more than one element
involved.
Multiple processing In a normal situation, where there are multiple processing methods and multiple
methods and elements, Four-X works out the cut-offs and cut-overs independently for each
elements element.
Graphically, this can be represented by the following diagram.
Mill
Don't process
363
Appendices
5 July, 1999
Ranked Cut-offs, Continued
However, it is possible that the recoveries, costs and so forth, can be very
different for each element in relation to each processing method, creating a
situation like the one shown in the following diagram.
Mill
Heap leach
Waste
Unless Four-X calculates the cut-offs, in this situation you would have to resort
to ore selection by cash flow. See page 367 for more information.
364
Appendices
5 July, 1999
Ranked Cut-offs, Continued
Ranked cut-offs However, if Four-X calculates the cut-offs, it can force the cut-offs to be
ranked. That is, they are in the same ranked order along each axis.
This is shown in the following diagram.
Mill
Process
by method Process by
Heap leach Heap leach method Mill
Waste
Heap Mill
leach Q
Note: In this situation, you cannot specify minimum cut-offs, and maximum
cut-offs must be in the same order for the different processing methods.
365
Appendices
5 July, 1999
Display of Cut-offs and Cut-overs and Cut-off Scaling
Introduction The cut-offs and cut-overs produced by the Optimization Program, the Analysis
Program and the Utilities Program are rounded to the number of decimal places
that you specify for cut-offs and grades. These rounded values are then used in
ore selection.
Cut-offs in the It is important to realise that cut-offs and cut-overs reported by the
Optimization and Optimization Program and the Analysis Program are always for processing
Analysis Programs material at the Reference Block. See Cost adjustment factors on page 295.
If positional processing CAFs in the Model File are in effect, then the cut-offs
and cut-overs calculated for the parcels of a particular block are affected by the
processing CAF for that block, as is explained below.
Cut-off scaling When the processing cost adjustment factor in a block is other than 1.0, Four-X
scales the cut-offs and cut-overs as follows:
366
Appendices
5 July, 1999
Section B: Cash Flow
Ore selection by When ore selection is by cash flow, ore is selected by comparing the cash flow
cash flow which would be produced by processing it and the cash flow which would be
produced by mining it as waste. If the cash flow from processing it is higher,
the material is treated as ore. If not, it is treated as waste.
If more than one processing method is applicable, the one which produces the
highest cash flow is used.
In most cases, ore selection by cash flow will produce the same result as that
produced by the use of marginal cut-offs.
However there are some cases where this is not true. The following example
will make this clear.
367
Appendices
5 July, 1999
Ore Selection by Cash Flow, Continued
Mill A
For Mill A we can draw a line on the plane of all grade combinations which
divides those grade combinations for which it is profitable to send material to
Mill A from those for which it is not.
Product P
Cut-off for P
0.2
Send to Mill A
Waste
368
Appendices
5 July, 1999
Ore Selection by Cash Flow, Continued
Mills A and B
When we add Mill B we get the following.
Product P
Send to Mill B
Send to
Mill A cut-off 0.2 Mill A
Send to Mill A
Waste
Send to Mill B
Mill B cut-off 0.2 Mill A cut-off 0.3 Product Q
Clearly, it is not possible here to use cut-offs to select material for each mill so
as to give the highest cash flow in all cases. The only option is to adopt a grade
control system which is based on cash flows.
Whilst this case is artificial, real cases do occur which are just as complicated,
particularly where deleterious elements are involved.
369
Appendices
5 July, 1999
Section C: How Cut-offs and Cash Flows are Affected by Minima
and Maxima
Overview
Introduction When ore selection is by cut-off, any minima or maxima that you include in the
Parameters File are used as minimum or maximum cut-offs. When ore
selection is by cash flow, they are used as minimum or maximum parcel
grades.
The difference may appear subtle, but it is important. It is explained in this
section which contains the following topics:
• The effects of minimum and maximum cut-offs
• Minimum and maximum parcel grades
370
Appendices
5 July, 1999
The Effects of Minimum and Maximum Cut-offs
Introduction When ore selection is by cut-off, Four-X initially calculates its cut-offs so as to
maximize the cash flow. However, minimum and maximum cut-offs can
override these calculated cut-offs.
Minimum cut-offs If the minimum cut-off for a particular rock-type and processing method
combination is lower than the calculated cut-off, it has no effect.
If the minimum cut-off is higher than the calculated cut-off, then it forces the
cut-off higher, as is shown below. This may cause material that could have
been processed at a profit to be rejected.
Revenue
per tonne
Minimum
cut-off
Cut-off
0 Grade
Cost of
"processing"
371
Appendices
5 July, 1999
The Effects of Minimum and Maximum Cut-offs, Continued
Maximum cut-offs A maximum cut-off works in exactly the opposite way to a minimum cut-off.
If it is higher than the calculated cut-off, it has no effect.
If it is lower than the calculated cut-off, it forces the cut-off down, as is shown
below. This may cause material to be processed at a loss.
Revenue
per tonne
ice
x Pr
ry
ve
eco
R
t=
Maximum
dien
cut-off a
Gr
0 Grade
Cost of
"processing" Cut-off
Where both are If both a minimum and a maximum are used, then the minimum will come into
used play when the gradient of the line increases with increasing price, and the
maximum will come into play when the gradient decreases with decreasing
price. If the minimum and maximum are equal, then the cut-off will be fixed,
regardless of price.
Minimum and maximum cut-offs can be specified for each
processing-method/rock-type/element combination. They apply to both cut-offs
and cut-overs.
372
Appendices
5 July, 1999
The Effects of Minimum and Maximum Cut-offs, Continued
Example 1 The example below shows the effect of a minimum cut-off that applies to the
mill, when both mill and heap leach processing is available.
0 Grade
Cut-off
If the minimum was below the calculated cut-over at the intersection of the two
sloping lines, it would have no effect.
373
Appendices
5 July, 1999
The Effects of Minimum and Maximum Cut-offs, Continued
Example 2 The example below shows the effect of a maximum cut-off that applies to the
mill.
Revenue Mill
per tonne
0 Grade
Cut-off
Revenue Factor
The initial cut-offs, which are calculated so as to maximize cash flow, change if
the Revenue Factor changes, and thus they are different for each pit in a set of
nested pits produced by Four-X. Remember that any minima or maxima that
you specify do not change with the Revenue Factor, and they should therefore
be used with care in relation to optimization.
374
Appendices
5 July, 1999
The Effects of Minimum and Maximum Parcel Grades
Introduction When ore selection is by cash flow, Four-X usually treats each parcel in the
way which will maximize cash flow. However, minimum and maximum parcel
grades can override this.
A parcel with any of its grades outside the range specified by a minimum and/or
maximum parcel grade for a particular processing method is excluded from that
method.
Minimum parcel When there is only one element involved, the minimum has the same effect
grades regardless of the ore selection method. That is, a minimum cut-off and a
minimum parcel grade are the same. However, if two or more elements are
involved, the effects are very different.
P
P cut-off
Process
Don't process
Q cut-off Q
A minimum cut-off for element Q could affect the position of that cut-off, but
parcels with Q grades below that cut-off would still be acceptable if their P
grade was sufficiently high.
375
Appendices
5 July, 1999
The Effects of Minimum and Maximum Parcel Grades, Continued
Minimum Q
Q grade
Here material with a Q grade less than the minimum will not be processed
regardless of the P grade and regardless of the cash flow.
If there is more than one element and any of the parcel’s grades is below the
minimum, it will be rejected.
Maximum parcel The maximum has a very different effect with the two different ore selection
grades methods, even when there is only one element involved.
If ore selection is by cut-off, the cut-off cannot be above the maximum, so
material with grades above the cut-off will always be processed.
If ore selection is by cash flow, material with grades above the maximum will
never be processed. If there is more than one element, and any of the parcel’s
grades is above the maximum, it will be rejected.
376
Appendices
5 July, 1999
Appendix E: The Concepts Behind Four-X Nested Pits
Introduction Four-X uses a Model File containing details of the content of each block, but,
for optimization purposes, we need a single value for each block. This value is
the cash flow (positive or negative) that would result from mining the block.
For optimization purposes it is important to assume that the block has been
uncovered. It is incorrect to allow for stripping costs, because the optimizer
does this.
If we calculate the block values for a particular model we will get a certain set
of block values that, when used in a pit optimization, will lead to a particular pit
outline, the optimal outline.
Example 1 For the purposes of this example, assume the pit outline is outline “A” in the
following diagram.
Air
Earth
377
Appendices
5 July, 1999
The Concepts Behind Four-X Nested Pits, Continued
Example 1 (continued)
Although the increase in prices may cause the parcel to be treated differently
(e.g. it may now be processed rather than treated as waste), the cash flow will
always stay the same or increase. Increasing the prices will not decrease the
cash flow which results from mining any parcel.
Thus, if we increase the prices, the value of every block within outline A will
increase or stay the same. No block value will go down. Consequently, every
block within outline A is still worth mining.
Example 2 In addition, if we do another optimization using the new values, the new
outline, shown as B below, is certain to include the whole of A. It may also
include extra blocks that were not worth mining before, but which now are
worth mining.
Air
Earth
378
Appendices
5 July, 1999
The Concepts Behind Four-X Nested Pits, Continued
The Four-X Consequently, if we step the prices through a series of values, doing an
Optimization optimization for each, we obtain a set of nested pit outlines, and this is, in
Program effect, what the Optimization Program in Four-X does. It multiplies all of the
prices by a series of 50 to 100 “Revenue Factors” ranging, typically, from 0.3
to 2.0, and produces a pit outline for each.
The reason for producing outlines for the smaller values of Revenue Factor is
that we want to produce inner pit shells to highlight the best positions to start
mining and to assist with the sequencing. The outlines are usually very close
together and form an almost continuous “spectrum”, where the change in
tonnage from one outline to the next is quite small. However, if the grade
increases sharply with depth, or the ore body is discontinuous, large tonnage
differences between adjacent pits can occur.
Since all the outlines obey the pit slope requirements, it is simple to determine
what sequences are permissible when mining out a particular pit.
379
Appendices
5 July, 1999
The Concepts Behind Four-X Nested Pits, Continued
2-8 1 1 2 3 4 5 6 7 8
b a b c d e
g f g h i j
k l m n
o p q
r s
t
380
Appendices
5 July, 1999
Appendix F: How the Milawa Algorithm Works
381
Appendices
5 July, 1999
Appendix G: How the Lerchs-Grossmann Algorithm Works
Overview
Lerchs-Grossmann Four-X uses the Lerchs-Grossmann algorithm† for determining the exact
algorithm optimal shape for an open pit in three dimensions.
The method works on a block model of the ore body, and progressively
constructs lists of related blocks that should, or should not, be mined.
The final lists define a pit outline that has the highest possible total value,
subject to the required pit slopes.
This outline:
• Includes every block that is “worth mining” when waste stripping is taken
into account.
• Excludes every block that is not “worth mining”.
The method uses the values of the blocks and what are called structure arcs as
input.
For the purposes of using Four-X, there is no need for you to know the details
of how the Lerchs-Grossmann optimization method works. It is well
established and well regarded in the industry. However, for your information,
we have included the following simplified explanation which contains examples
of all the essentials of the method.
†H. Lerchs & I. F. Grossmann, “Optimum Design of Open-Pit Mines”, Joint C.O.R.S. and O.R.S.A.
Conference, Montreal, May 27-29, 1964, in Transactions, C.I.M., 1965, pp.17-24.
382
Appendices
5 July, 1999
Demonstration
This allows us to work with only three arcs per block. These three arcs go from
a block to the horizontal row of three blocks immediately above it, as shown in
the following figure.
383
Appendices
5 July, 1999
Demonstration, Continued
This ensures that, whenever a block is mined, the three immediately above it
are mined. Since the three arcs are applied to each of the blocks, a chaining
effect ensures that, whenever any block is mined, the whole 45 degree cone
above it is also mined.
The method “flags” each block that we currently intend to mine. During the
optimization process, these flags can be turned on and off many times. A block
is flagged to be mined if it currently belongs to a linked group of blocks that
have a total value that is positive. These groups are called “branches”.
The method repeatedly scans through the blocks looking for blocks that are
flagged to be mined and that have an arc pointing to a block that is not flagged
to be mined. Whenever it finds such a situation it has to do something about it,
because we are planning to mine a block without mining all the blocks above it.
The way it resolves these situations forms the core of the Lerchs-Grossmann
method.
384
Appendices
5 July, 1999
Demonstration, Continued
Step 1 We search along the bottom bench, starting at the left, as shown in the diagram
below.
As shown in this diagram, first arc from a “flagged” block that we find is to a
block which is not flagged.
Step 2 To resolve this, we link the two blocks together, as is shown in the following
diagram.
22.9
The total value of the two-block branch is 22.9. This is because we have had to
mine a block of waste which has a value of -1.0.
Step 3 We deal with the other two arcs from this block in the same way.
385
Appendices
5 July, 1999
Demonstration, Continued
Step 4 We then continue in the same way along the bottom bench and then along the
next bench as is shown in the following diagram.
Note: Even waste blocks are flagged if they belong to a positive branch.
Step 5 As is shown in the following diagram, the next flagged block has an arc to a
block which is also flagged.
We do not create a link for this arc or for the vertical one from the same block,
because nothing has to be resolved.
Step 6 The next arc from a flagged to another flagged block is between two branches.
386
Appendices
5 July, 1999
Demonstration, Continued
Step 7 We continue adding links until we reach the one shown in the following
diagram.
When we add this link, the branch total will become -0.1, and all the blocks in
the branch have their flags turned off.
Step 8 The next arc of interest is from a flagged block to a block which is part of a
branch which is not flagged.
Effectively the centre and the right-hand branches can co-operate in paying for
the mining of the circled common waste block.
387
Appendices
5 July, 1999
Demonstration, Continued
Step 9 The Lerchs-Grossmann method includes a procedure for combining the two
linked branches into one branch, with only one total value. This is shown in the
following diagram.
15.9 20.8
Note that there is no requirement to always branch upwards from the root.
Step 10 The next arc of interest is from a flagged block to a waste block.
Lerchs-Grossmann detects that this extra waste will remove the ability of the
centre branch to co-operate with the right-hand branch in paying for the mining
of the circled block.
Step 11 Lerchs-Grossmann includes a procedure for breaking the single branch into two
branches by removing a link.
388
Appendices
5 July, 1999
Demonstration, Continued
Step 12 We continue adding links and, eventually, the total value of the left-hand
branch becomes negative.
The next arc after this is again between a positive and a negative branch.
Step 13 This is dealt with in the same way as before, and the left and right-hand
branches are combined into one, with one total value.
Step 14 We continue adding arcs until we reach the situation shown above.
The program then scans for arcs from blocks which are flagged to blocks which
are not flagged. However, we can see that it will find none, and the
optimization is complete.
389
Appendices
5 July, 1999
Demonstration, Continued
Optimal pit Lerchs and Grossmann showed that, when no further arcs can be found that are
from a flagged block to a block that is not flagged, then the flagged blocks
constitute the optimal pit.
In this case, we have a W shaped pit that is worth 0.8, and we can see that this
is indeed the pit with the maximum possible value.
Note that the centre branch has a negative value, so that none of its blocks are
flagged and none of them are mined.
In real three-dimensional optimizations, there will usually be many scans of the
blocks, checking for arcs that have to be resolved. These continue until a scan
occurs in which none have to be resolved, and we know that the optimization is
complete.
390
Appendices
5 July, 1999
Appendix H: Four-X and Other Whittle Packages
Enabling Four-X to Opti-Cut Sequence Text Files and Economics Text Files can be generated any
create Opti-Cut time a user runs a single economic scenario and a single mining schedule using
Files the Analysis Program.
To do this, you must enable Opti-Cut output from Four-X. The procedure to
enable Opti-Cut output from Four-X is as follows.
Step Action
1. Open and view the Four-X initialization file, fx.ini, using a text
editor or a word processor in pure text mode.
2. Under the [System] section header, check to see if there is a line
beginning with the words:
Opti-Cut=
• If there is a line beginning “Opti-Cut=”:
- And the line reads “Opti-Cut=Yes”, then the program is
enabled for Opti-Cut output.
- And the line reads “Opti-Cut=No”, then the program is not
enabled for Opti-Cut output. To enable Opti-Cut output, edit
the line to read “Opti-Cut=Yes”.
• If there is there is no “Opti-Cut=” line under the [System] section
header, edit the file to include “Opti-Cut=Yes” in the [System]
section.
The line “Opti-Cut=” can occur anywhere in the [System] section.
It does not need to be the first line.
3. Save the file and exit from the text editor or word processor.
391
Appendices
5 July, 1999
Interfacing with Opti-Cut, Continued
Differences There are several differences between Opti-Cut and Four-X that need to be
between Four-X taken into account when using Four-X to produce Opti-Cut files. These
and Opti-Cut differences are discussed below.
Capital costs and Opti-Cut deals with capital costs and time costs. To cater for capital costs and
time costs time costs either:
• During the Analysis Program run:
- Add capital costs
- and -
- Choose the option to enter time costs explicitly.
Note: Remember to remove explicit time costs from the unit costs
- or -
• Once the Economics Text File is produced, edit the file to take into account
capital costs and time costs.
Throughput Four-X can have throughput adjustment factors for one or more rock-types.
adjustment factors This factor is not directly available in Opti-Cut, however, it can be simulated.
If, for instance, processing is the limiting factor, then adjust the throughput
limit in the Opti-Cut Economics Text File produced by the Analysis Program.
Example
Where a mill that can handle rock-types OREA and OREB and OREB has a
throughput factor of 1.15, you could specify a throughput group in the
Economics Text File, as follows:
In this example:
• In the Throughput Group Line (TG), the material that is put through to the
process (PROC) will be OREA plus OREB divided by 1.05.
In other words, this will ensure a throughput factor of 1.05 in relation to ore
type OREB.
• In the Throughput Limit Line (TL), the throughput of the process (PROC) is
limited to the <USER DEFINED LIMIT>.
Refer to the Opti-Cut Manual for other examples.
392
Appendices
5 July, 1999
Interfacing with Opti-Cut, Continued
Expressions Expressions are treated slightly differently in Four-X and Opti-Cut. Therefore,
you may need to adjust the Economics Text File if expressions have been used.
Example
In Four-X the recovery can be expressed as a period variation in the following
form.
REC1 P3/REC2
In this example, the recovery is REC1 until period 3 (P3) when it is REC2.
Here, REC1 and REC2 are grade dependent expressions.
In contrast, in Opti-Cut the expression would be set up to vary by period and
then the recovery would be assigned to that expression.
393
Appendices
5 July, 1999
Differences Between Four-X and Four-D
Introduction Experienced Four-D users may find the following summary useful when
coming to grips with the changes in Four-X.
In general, the major changes have been to the Parameters File, the Model and
Results File, and the Spreadsheet codes.
394
Appendices
5 July, 1999
Differences Between Four-X and Four-D, Continued
Program Differences between the Four-D and Four-X programs are detailed in the table
differences below.
395
Appendices
5 July, 1999
Differences Between Four-X and Four-D, Continued
Spreadsheet code The spreadsheet codes for Four-X are similar to those for Four-D, but because
differences Four-X is a multi-element package, keywords such as METAL are now element
based, and “method” and “type” codes must be extended to include
method.element, type.element and method.type.element.
Spreadsheet codes The table below lists Four-D and corresponding Four-X spreadsheet keywords
that have changed and the allowed attributes for each of the keywords.
(period and grand
total)
Four-D keyword For Four-X, use Allowed attributes
COSTM UNDEF/UNIT-CM
GR_<n> GR_<n>.<element> /GG /GI /UG /UI /UO
METAL <element> /UG /UI /UO
<method> <method>.<element> /GG /GI /UG /UI /UO
<method>.<type> <method>.<type>.<element> /GG /GI /UG /UI /UO
OUTSIDE OUTSIDE.<element> /GG /UG
PRICE <element>/PRICE
REJECTED <type>.<element> /GR /UR
REJECTED ROCK /TR
SELLCOST <element> /CS* /DS*
Sellcost <method>.<element> /CS* /DS*
<type> <type>.<element> /GG /GI /UG /UI /UO
396
Appendices
5 July, 1999
Differences Between Four-X and Four-D, Continued
Attributes Description
/BM Benches mined so far in a push-back (e.g. 7.43)
/CE* /DE* Cost of processing due to elements
/CI* /DI* Cash income (revenue)
/CM* /DM* Cost of mining
/CP* /DP* Cost of processing
/CR* /DR* Cost of rehabilitation
/CS* /DS* Cost of selling
/CT* /DT* Cash flow - total of the other cash flows in the category
/GP* Grade in place
/GR* Grade rejected
/LIMIT Throughput limit
/OF! Cut-off
/TIME_CM Time cost rate factored into unit cost of mining
/TIME_CP Time cost rate factored into the unit cost of processing
/TIME_CS Time cost rate factored into unit cost of selling
/TP* Tonnes in place
/TR* Tonnes rejected
/UNIT_CE! Unit cost of processing due to an element
/UNIT_CM Unit cost of mining
/UNIT_CP! Unit cost of processing
/UNIT_CR Unit cost of rehabilitation
397
Appendices
5 July, 1999
Differences Between Four-X and Four-D, Continued
Attributes Description
/UNIT_CS Unit cost of selling
/UP* Units of an element in place
/USE Percentage of a bench mined
/UR* Units of an element rejected
For an overview of in-ground, in-place and rejected codes, refer to page 255.
398
Appendices
5 July, 1999
Merging Elements from Different Four-D Model Files
Introduction Some GMPs have facilities for outputting Four-D Model Files, but not Four-X
Model Files.
Merging elements To successfully merge elements in this situation you will need to follow the
steps in the table below.
Step Action
1. Export separate Four-D Model Files containing the individual
elements from your GMP.
Make these Model Files as similar as possible.
2. Create corresponding Parameters Files (these may have been
produced by your GMP when it produced the Model Files).
3. Change each Four-D Parameters File into the corresponding Four-X
Parameters File.
Do this by reading each Four-D Parameters File into the Edit
Parameters Program (see page 33 for more information) and then:
• Fix the mining default waste cost
• Change the single element name (EL1) to the relevant element
code
- and -
• Save the file
Note: The different elements in the Model Files should be shown as
occupying the first position in the Model File in their respective Parameters
File. When they are merged they will be positioned in the order that the files
are read.
399
Appendices
5 July, 1999
Merging Elements from Different Four-D Model Files, Continued
Step Action
4. Run the Re-blocking Program:
• Use mode one
• Choose the number of input Model Files that you want to use
• Choose the merge† option
• Make sure you take the option to create a new Parameters File
Note: Always use the original Model Files from your GMP as input
files to this merge operation. Do not re-block them first, as this may
interfere with the element merging.
5. Use the Edit Parameters Program to check and correct any
inappropriate values in the new Parameters File.
Merging Process Before the merge starts, the Re-blocking Program first sets the positions of the
elements in the merged Model File. In this simple case, element “A” would go
in position 1 and element “B” would go in position 2.
More generally, the element positions for the first model are retained and any
new elements from subsequent models are allocated successive positions, as
required.
The first Model File is then read in and stored. The second and any subsequent
files are then read in and merged, block by block, with the stored model.
During merging, where the same block occurs in the stored model and in the
new Model File, the information is merged according to the following rules:
• If the two blocks have exactly the same number of parcels and all parcels
match in relation to rock-type and tonnage, then, for each parcel, the element
quantities are copied from the new block into the appropriate positions in the
stored block.
Note that, where the same element appears in both blocks, the element
quantity from the new block replaces that in the stored block.
• If the blocks have different numbers of parcels, or different parcel rock-type,
tonnage or order then the system searches for the first parcel that matches the
rock-type and tonnage that has not yet been used in this merge. If it cannot
find a match, it adds the material as a new parcel.
†Note: This merge facility is provided purely as an interim solution to the problem. It relies heavily on the
models which are merged being very similar, except for the elements they contain, and can produce
unexpected results if they are not. Encourage your GMP supplier to provide a Four-X interface which
outputs all the elements at once.
400
Appendices
5 July, 1999
Merging Elements from Different Four-D Model Files, Continued
• If any blocks have different numbers of parcels, the system will report the
first 50 differences with the message:
401
Appendices
5 July, 1999
Appendix I: Four-X System Limits and Precision
Current limits To view the current Four-X system limits use, the Utilities Program and choose
the “show Four-X system limits” mode. Refer to page 171 for further
information.
Number of blocks The number of blocks that can be held in memory, without using the software
that can be held in virtual memory system, is particularly important during optimization.
memory
Each block requires 16 bytes (characters) of memory, and if, after the
preliminary scan(s) the blocks will fit into memory, then the program will run
a lot faster.
This is because the Optimization Program does not have to spend time copying
block details back and forth, between memory and disk.
Note that the program will always run, no matter how many blocks you have
(up to 2 billion), but if you try to optimize, say, a one hundred million block
model on a PC, not only will you need a great deal of disk space, but you will
also have to wait a long time for the result.
Fortunately, you should never need to optimize such a big model. This is
explained in the section on block sizes which starts on page 307.
Virtual memory mode
Whenever you work with more blocks than will fit into memory, the programs
automatically switch into virtual memory mode, and this is when the buffers are
used.
In this mode, the program keeps data which it has not needed recently on disk
rather than in memory. When it does need it, something else has to be written
to disk before the required data can be read into memory.
This disk reading and writing slows things down, but the alternative is to be
unable to run with so many blocks.
402
Appendices
5 July, 1999
Four-X System Limits and Precision, Continued
Precision within The Parameters File gives the user control over a number of variables in the
Four-X Four-X package.
Decimal places
Line type 12 gives the user control over the number of decimal places in the
report outputs for the following fields:
• Tonnes in a block
• Totals of tonnes
• Revenue Factor values
• Small currency
• Currency totals
Line type 20 gives the user control over the decimal places used for:
• Element quantities in a block
• Element totals
• Grades
See page 178 for more information about the Parameters File.
Other variables
Other variables are rounded to a precision, as specified below.
403
Appendices
5 July, 1999
Appendix J: Error Messages
Overview
Introduction A package such as Four-X that runs on a wide range of machines, can produce
a wide range of error messages if things go wrong.
Types of error The error messages produced by Four-X fall into three broad categories.
messages
These are:
• Data checks
• Problem traps
• System error messages.
404
Appendices
5 July, 1999
Data Checks
Introduction Four-X never assumes that the data that it is given is correct, and it does
whatever checks it can as soon as it can.
For example, when you give any of the programs (except for the Edit
Parameters Program) the name of the Parameters File, it immediately reads it
and checks it. Any errors that Four-X detects are reported on the screen and in
the print file.
Error messages Data check error messages, produced by Four-X, are recognisable because they
all start with three asterisks (***) and are displayed in capital letters.
We have tried to make the meaning of these messages self-explanatory, so there
is little point in listing all of them here.
We have, however, listed two of the more common types of error messages
below.
On a PC, when a program is started, you may get one of the following error
messages:
“Warning - available memory restricted” error message.
Refer to the readme file for a discussion of how available memory might be
increased.
Note: There is a limit to the power of data checking. If you inadvertently give
Four-X wrong data that could still be valid, it cannot detect the error.
405
Appendices
5 July, 1999
Problem Traps
Introduction The programming of Four-X is defensive to the point that it does not even trust
itself to do the right thing.
There are nearly four hundred points in the code where the Programmer’s
understanding of the problem and the integrity of the program itself are
checked.
Error messages If any of the programs ever stop and display the message:
where the question marks are replaced by various letters, you should inform
Whittle Programming immediately, giving the details of the message and the
circumstances under which it appeared.
406
Appendices
5 July, 1999
System Error Messages
Introduction Four-X, like all application packages, uses the facilities of the computer
operating system when starting up, reading the data input, producing output and
stopping. It also uses the facilities of a FORTRAN compiler.
When either the operating system or the compiler detects an error, it usually
issues a message and stops the run, without giving the Four-X code the
opportunity to take any action. Consequently the operating system error
message is all you get.
Since Four-X can run on a variety of operating systems and compilers, there is
very little that can be said to help you deal with these messages, except to
suggest that you take the wording very literally.
If you report one of these system messages to Whittle Programming, please be
sure to include details of any computer gobbledegook that accompanies it.
407
Appendices
5 July, 1999
Appendix K: Requests for Program Enhancement
Requests From time to time, users may feel that additional features or functions would
make their life easier.
We certainly want to make your task as easy as possible. We are responsive to
users’ needs and all requests will be considered and implemented wherever
possible.
The more detailed an explanation you can give, the better your chances of
having your request implemented.
If you have a request, e-mail us at [email protected]. Alternatively,
photocopy this page, fill it out and fax it to Whittle Programming on one of the
following facsimile numbers:
Name:
Company:
Contact details:
Suggestion:
408
Appendices
5 July, 1999
Glossary
Additional Arcs An Additional Arcs File is text file containing details of Arcs that are additional
File to those required to maintain the slopes specified in the Parameters File.
Air block An air block is a block that is entirely above the earth’s surface. It has exactly
zero tonnage, no parcels, and is given a value of zero during optimization.
Analysis In Four-X, the term analysis refers to carrying out runs of the Analysis Program
and considering its output.
The runs simulate the operation of the mine with different pit sizes, throughput
limits and economic circumstances.
Analysis request An analysis request is the information that you provide to the program for it to
do an analysis.
Arc An arc is an ordered association between two blocks which indicates that, if the
first block is to be mined, then the second must also be mined, but not vice
versa. These are used during optimization to indicate the required slopes.
Binary file A binary file is a disk file containing information that is purely for computer
use, and that cannot be displayed on the screen, printed, or edited as text.
Block A block is a rectangular volume of space for which density and grade estimates
are made by interpolation from drill-hole and other data.
Block model A block model is a regular set of blocks covering the ore body and its
surrounds.
409
Glossary
5 July, 1999
Glossary, Continued
Cash flow The cash flow is the net cash income generated by the operation of a mine or
some component of it.
Character values Character values are made up of alphabetical characters and are usually a code.
Constant A constant is a value that is fixed and unchanging for the purposes of a
particular calculation.
Example: 0.5, 12k or 2.7M.
Where:
• k is thousands
• M is millions.
Cost adjustment The cost of mining and the cost of processing can vary with both position in the
factors pit and with rock-type. Four-X deals with this by using “cost adjustment
factors” (CAFs). See Positional CAFs and Rock-type CAFs.
Cost of mining In this Manual, unless the context indicates otherwise, the cost of mining is the
cost of blasting, loading and hauling a tonne of rock of a particular type as
waste.
See also Reference mining cost below.
Cost of processing In Four-X, the cost of processing is the difference between the total cost of
blasting, loading, hauling and processing a tonne of material as ore, and the cost
of blasting, loading and hauling the same material in the same position as waste.
If the cost of processing varies with the type of rock processed, and/or the
processing method, then different costs are used for each combination.
If the cost of processing varies with position in the pit, then positional
processing CAFs are used.
410
Glossary
5 July, 1999
Glossary, Continued
Cut-over A cut-over is a grade above which material is processed by one method and
below which it is processed by another method.
Defined waste Defined waste consists of parcels with a rock-type for which there is no
processing method.
Deleterious element A deleterious element is an element whose presence causes an increase in costs,
or a reduction in recovery.
Discounting A dollar that we get today is more valuable to us than a dollar that we expect to
get next year.
When estimating the value of a project, it is common to reduce expected future
cash flows by a certain percentage per year, to allow for interest and risk, etc.
This process is called discounting.
The sum of all expected discounted cash flows is called the Net Present Value
(NPV).
Drop cut Drop cuts are defined in the Mining Width Program as regions of contiguous
blocks, within a push-back, that are surrounded by blocks of later push-backs or
by the final pit limit. For more information, see page 108.
Economic scenario An economic scenario is a set of economic values and process definitions which
may change over time, that constitutes one possible economic environment for
this project.
Element processing An element processing cost is an addition to the processing cost which is
cost proportional to the quantity of an element which is input to the process.
411
Glossary
5 July, 1999
Glossary, Continued
Footwall A footwall is the rock surface exposed after a layer of ore has been removed.
TM
Four-D Four-D is a Whittle Programming computer package, similar to Four-X.
Like Four-X, Four-D allows rapid simulation of the mine life for different
mining sequences and economic scenarios and explicitly deals with the effect of
time on the value of cash flows. However, it can only handle one element.
Framework The framework is a rectangular region in space into which blocks are loaded
prior to re-blocking. One or more files can be loaded into it in any position.
Generalised A Generalised Mining Package is used to prepare the Model File for Four-X
Mining Package and, probably, to complete the details of the design after the final optimization.
Haul road A haul road is a roadway leading into the open pit that gives trucks access to
the region to be mined.
Head grade The head grade is the grade of the ore input into the mill.
412
Glossary
5 July, 1999
Glossary, Continued
Initial capital The initial capital expenditure is the amount spent before the first day of
expenditure operation of the mine.
Initialization file The initialization file is a small text file that is used to retain a record of the
most recently used filenames and extensions, so that the programs can offer
sensible default filenames. It also contains license, and other information. This
file is named fx.ini.
For more information, see page 265.
Input framework The input framework is a rectangular region of space into which blocks are
loaded prior to re-blocking.
Internal rate of The internal rate of return is the discount rate (percentage) at which the NPV of
return (IRR) the project is zero.
Lag The lag is the number of benches by which the mining of one specified
push-back is to lag behind the previous one.
Language file The language file is a binary file which contains the necessary information for
translating the English text that appears on the screen, and in the print files, into
another language.
The file, if present, is called fx.lng.
For more information, see page 267.
Log file A log file is a text file of abbreviated prompts and responses that can be used to
re-run a program.
For more information, see page 275.
Marginal cut-off A marginal cut-off is a cut-off which maximizes cash flow from the mine,
having regard to mill costs and time costs.
413
Glossary
5 July, 1999
Glossary, Continued
Maximum cut-off The maximum cut-off is a cut-off specified by the user. The Optimization,
Analysis and Utilities Programs will not raise a cut-off or cut-over above this
limit.
Maximum parcel A parcel with a grade greater than this will not be processed.
grade
Minimum cut-off The minimum cut-off is a cut-off specified by the user. The Optimization,
Analysis and Utilities Programs will not lower the cut-off or cut-over below this
limit.
Minimum parcel A parcel with a grade less than this will not be processed.
grade
Mining dilution When mining ore, it is common to inadvertently mine some waste also.
Mining Dilution
Dilution
Waste
Ore
If possible, the dilution of the ore should be dealt with in the construction of the
Model File. If this is not possible, or has not been done, Four-X can apply an
overall dilution factor that increases the tonnage of each parcel processed, but
leaves the element content of the parcel unchanged.
Example
A 5% dilution would require a mining dilution factor of 1.05. This factor
affects cut-offs and cut-overs.
414
Glossary
5 July, 1999
Glossary, Continued
Mining recovery Not all the ore that you intend to process actually reaches the processing mill.
If, for example, 5% is lost, then the mining recovery factor is 0.95. Both the
tonnage and the element content of each parcel processed are multiplied by this
factor.
This does not affect cut-offs and cut-overs.
Mining schedule A mining schedule is a mining sequence divided into time slots.
Mining sequence A mining sequence or a sequence is the order in which mining is to occur.
Mining Sequence A Mining Sequence File is a text file containing details of the blocks mined in
File each period of an analysis simulation.
Mining width The mining width is the minimum width required for access and for equipment
to operate on a working bench.
Model File A Model File is a text file containing details of the contents of the blocks in a
block model.
Model framework The model framework is the whole rectangular region of a block model. This
contains NX x NY x NZ blocks. The term is used in this Manual when we wish
to emphasise that we are referring to the whole region.
Modelling Modelling is the process of creating a block model from drill-hole and other
data. The term “slope modelling” is used for the process of converting slope
requirements into structure arcs.
415
Glossary
5 July, 1999
Glossary, Continued
Opti-Cut An Opti-Cut Economics Text File is a text file that carries detailed information
Economics Text about the economic scenario and how the Opti-Cut optimization is to be done.
File
Opti-Cut Sequence An Opti-Cut Sequence Text File is a text file that describes the physical
Text File resource and proposed mining sequence. These files can be produced by
Four-X.
Ore body An ore body is a solid and fairly continuous mass of mineralised material that
can be distinguished from the surrounding waste.
Ore selection by Ore is selected by comparing the cash flow which would be produced by
cash flow processing it and the cash flow which would be produced by mining it as waste.
If the cash flow from processing it is higher, the material is treated as ore. If
not it is treated as waste.
If more than one processing method is applicable, the one which produces the
highest cash flow is used.
Ore selection by Ore is selected by comparing the grades of the material with pre-calculated
cut-off processing cut-offs. If it does not satisfy the cut-offs, it is treated as waste.
If more than one processing method is applicable, the grades are compared with
the cut-offs of each in turn, in the order in which they are specified in the
Parameters File.
416
Glossary
5 July, 1999
Glossary, Continued
Parameters File A Parameters File is a small text file containing general information about the
project and how it is to be handled.
Parcel A parcel is part of a block for which the rock-type, tonnage and element content
(if any) are known. A block may contain zero or more parcels. The total
tonnage of the parcels may be the same as the tonnage of the block, or it may be
less. If it is less, the difference is called undefined blocks, that is, it is waste of
unknown rock-type. If a block has no parcels, the total tonnage of the block is
undefined blocks.
Neither the position of a parcel within a block, nor its shape, are defined.
Pit List File A Pit List File is a text file containing the block co-ordinates of each block in
the pits produced in an optimization run.
Polygon File A Polygon File is a text file containing the co-ordinates of a polygon, that can
be used to limit the blocks output by the Re-blocking Program.
417
Glossary
5 July, 1999
Glossary, Continued
Positional CAFs Four-X allows for the variation of mining and processing costs with position in
the pit by the use of positional mining and processing “cost adjustment factors”
(CAFs) which are part of the description of a block. These factors should be
1.0 for a group in the Reference Position, but can have any value in other
positions.
The mining cost per tonne, which applies to a particular rock-type at the
Reference Position, is multiplied by the positional mining CAF of each block to
obtain the mining cost for that block
Processing costs in a block are obtained in a similar manner by using the
positional processing CAF.
Position of the The position of the model within the framework is defined by the offset of the
model model origin from the framework origin. When the two origins coincide, the
offset is zero.
Primary model The first model to be read into the Re-blocking Program is called the “primary”
model.
Primary model The primary model framework is based on the primary model and is the
framework framework into which other models will be read if the framework has not been
defined.
Print files Print files are files in which the different programs store the results of their
runs. These files can be viewed or printed out by the user.
Four-X has a different print file extension for each of the main programs.
For a list of print files and default file extensions, see page 24.
Processing method A processing method group is defined by a list of from two to fifteen processing
group method codes, or previous group codes. Processing method groups are used by
the Analysis Program to allow you to limit the throughput of a group of
processing methods (and/or previous groups).
This can be useful if, for example, you have two different processing streams
but only one crusher. You define a group consisting of the two processing
codes, and the Analysis Program asks you for a throughput limit for the group.
418
Glossary
5 July, 1999
Glossary, Continued
Processing The processing recovery fraction is the fraction of product that is extracted by a
recovery fraction particular processing method.
See also Processing recovery threshold.
Processing The processing recovery threshold is a grade that is subtracted from the ore
recovery threshold grade before the processing recovery percentage is applied.
Product A product is an element which may be extracted for sale. Examples: gold,
copper, diamonds, etc.
Pure text mode When a word processor is operated in pure text mode, this causes it to store the
file in pure ASCII without any formatting controls.
Push-back A push-back is an intermediate pit outline that is mined to, before mining to
another push-back or to the final pit outline.
Real values Real values are numbers that include a decimal point.
Reference Block The Reference Block is a particular block in the model, chosen by the user, for
which all mining and processing costs are calculated. If the costs are different
in other parts of the model, this is handled by positional CAFs for mining
and/or processing.
Reference Mining The Reference Mining Cost is the cost of mining waste of undefined rock-type
Cost at the Reference Block.
The cost of mining waste of a defined rock-type at the Reference Block is
obtained by multiplying the Reference Mining Cost by the appropriate
rock-type mining CAF.
The cost of mining waste of any type at a particular block is obtained by
multiplying the cost of mining the same rock as waste at the Reference Block
by the positional mining CAF for the block in question.
Regular block A regular block model is a block model where the blocks are all of the same
model size.
419
Glossary
5 July, 1999
Glossary, Continued
Rehabilitation cost The rehabilitation cost is the cost, per tonne, of rehabilitating material of a
particular type of rock after it has been dumped as waste.
Rejected material Rejected material is material for which there is a processing path (i.e. a
method/rock-type combination) but which is not processed because its grades
are not good enough.
Replacement From time to time in the operation of a mine, it is necessary to refurbish major
capital expenditure pieces of equipment, and this often involves expenditure that is well in excess
of normal maintenance costs. We refer to this as replacement capital
expenditure.
For optimization purposes, it must be handled implicitly by averaging it out
over the expected mine life and factoring it into the mining, processing or
selling cost.
During analysis, it is possible to handle replacement capital expenditure
explicitly, as is explained on page 305.
Restart run Restart runs are used where an Optimization Program run has been terminated
because of power failure or hardware malfunction. When the Optimization
Program is used, it automatically creates a Work File which contains all of the
intermediate information generated during a pit optimization and this
information is used in a restart run.
Results File A Results File is a text file containing details of each block that is contained in
the pits produced in an optimization run.
Revenue Factor This is the factor by which the revenue for each block is scaled in order to
produce one of the nested pits. Different Revenue Factors produce different
pits, unless the change is so small that not even a single block is added or
removed.
420
Glossary
5 July, 1999
Glossary, Continued
Rock-type Different rock-types are identified in Four-X by the four-letter codes which
appear in each Parcel. The same codes appear in the Parameters File.
Rock-type mining The cost of mining can vary with rock-type, and this is handled in Four-X by
CAFs the use of rock-type mining “cost adjustment factors” (CAFs) in the Parameters
File.
Any variation of processing cost with rock-type is dealt with through the
processing costs.
Safety berm A safety berm is a horizontal strip along the wall of an open pit inserted to stop
falling material.
Secondary models Any subsequent models that are read into the Re-blocking Program are referred
to as “secondary” models.
Selective mining Selective mining size is the minimum tonnage of ore that can be extracted from
size a mine without extracting adjacent waste. This is usually determined by the
type of equipment used for mining the ore.
Slope profile A slope profile consists of a set of bearing and slope pairs together with a
number of benches to consider when generating structure arcs. A slope profile
is applicable to one or more slope regions. Slope profiles can be input to the
Structure Arcs Program either from the sub-regions part of a Parameters File or
from a Slope Profile File.
Slope region A slope region is a group of blocks to which a particular slope profile applies.
Slope regions which are rectangular can be defined by sub-regions in a
Parameters File. Irregular slope regions can be defined by the zone numbers in
a Model File or by a Profile Number File.
421
Glossary
5 July, 1999
Glossary, Continued
Spreadsheet A Spreadsheet Definition File is a small text file that lists the items which are to
Definition File be output to a Spreadsheet Output File during a run of the Analysis Program.
Spreadsheet A Spreadsheet Output File is a small text file containing columns of selected
Output File values created from a run of the Analysis Program.
The items that are to be included are listed in a Spreadsheet Definition File.
Stripping ratio The stripping ratio is the ratio of the tonnes mined but not processed to the
tonnes processed.
Structure arc Structure arc is the term used in Four-X for an arc in graphics theory.
Structure Arcs File A Structure Arcs File is a binary file containing the structure arcs required for
an optimization.
Sub-region A sub-region is a rectangular volume of blocks that forms part (or all) of a
Model framework.
Text file A text file is a file containing alphanumeric characters that can be displayed on
the screen, printed, and edited as text.
TM
Three-D Three-D is a Whittle Programming computer package.
Three-D finds the three-dimensional open pit outline which maximizes the total
undiscounted cash flow. It can be used for mines with a life of up to three
years. Beyond three years, the discounting of future cash flows starts to affect
the ultimate pit outline which has the highest NPV.
422
Glossary
5 July, 1999
Glossary, Continued
Throughput factor The throughput factor is the relative speed of processing for a particular
rock-type.
Example: A rock-type which is easy to crush might have a throughput factor of
1.2, and this would be allowed for when applying milling throughput limits.
Time costs Time costs are costs that continue during mining regardless of the amount
mined, processed or sold. These are often called overheads or G&A (General
& Administration) costs.
For optimization purposes, they must be handled implicitly by factoring them
into the mining, processing or selling cost.
During analysis, it is possible to handle time costs explicitly, as is explained on
page 305.
Undefined waste Undefined waste is any part of the total tonnage of a block which is not
included in a parcel in that block.
423
Glossary
5 July, 1999
Glossary, Continued
Units In Four-X, the units used for quantities of rock, elements and currency are
arbitrary, and it is possible to have different units for each element.
The units for rock and elements are set by the units used in the Model File, and
grades are expressed throughout as the ratio of quantities measured in these
units. For example, if the Model File contains rock quantities measured in
metric tonnes, gold quantities measured in grams and copper in pounds, then
the grades and cut-offs will be expressed in grams per tonne and pounds per
tonne respectively. (This Manual and Four-X refer to tonnes, but no particular
scaling is implied by this).
Four-X makes no assumptions about the units of distance, except that they must
be the same for the block dimensions and the origin co-ordinates in the
Parameters File.
The symbol for the unit of currency, which appears in the printed output from
the Analysis Program, can be controlled by the user.
Virtual memory Virtual memory is a system that uses the computer’s hard disk as temporary
storage in place of high-speed memory, to enable data that will not fit into
memory to be processed. Four-X uses this system only if the number of blocks
or analyses being processed cannot be fitted into physical memory.
Waste Waste is material that contains no product, or so little that it is not worth
processing.
Work File The Work File is a binary file containing working information for the
Optimization Program.
424
Glossary
5 July, 1999
Index
Page numbers in bold type contain extensive and/or highly relevant topic information.
A
.add .................................................................................................................................................See Additional Arcs File
Abbreviations used ............................................................................................................................................................14
Active blocks indicator
editing, using the Edit Parameters Program ...........................................................................................................37, 40
position in Parameters File.........................................................................................................................................181
reference.........................................................................................54, 59, 194, 196, 198, 201, 215, 216, 217, 316, 317
when creating a Structure Arcs File .............................................................................................................................23
when running the Optimization Program .....................................................................................................................93
when using the Mining Width Program .............................................................................................................105, 113
Additional Arcs File
definition ....................................................................................................................................................................409
layout..........................................................................................................................................................................232
reference.......................................................................................19, 84, 85, 87, 88, 112, 201, 232, 313, 314, 315, 336
Administration costs........................................................................................................................................................300
425
Index
5 July, 1999
Air block
definition ....................................................................................................................................................................409
position in Model File ................................................................................................................................................219
reference...................................................................................49, 51, 96, 100, 105, 113, 184, 197, 198, 199, 216, 225
Air flag A
position in Parameters File.........................................................................................................................................184
reference.....................................................................................................................................113, 184, 197, 198, 225
Air flag B
position in Parameters File.........................................................................................................................................184
reference.....................................................................................................................................................198, 199, 225
when using the Mining Width Program .............................................................................................................105, 113
Analysis Program
and default answers ....................................................................................................................................................133
entering
large values ...........................................................................................................................................................134
value ranges ..........................................................................................................................................................136
error correction...........................................................................................................................................................133
mining schedules........................................................................................................................... See Mining schedules
output .........................................................................................................................................................................145
reference.....................................................................................29, 30, 31, 32, 119, 305, 309, 366, 381, 391, 396, 409
setting period length...................................................................................................................................................140
using after the Mining Width Program.......................................................................................................................113
Analysis request, definition .............................................................................................................................................409
Analysis, definition..........................................................................................................................................................409
Arcs ...................................................................................................................................................See also Structure arcs
definition ....................................................................................................................................................................409
generation of ................................................................................................... 334. See also Benches for arc generation
Argument, definition .......................................................................................................................................................409
Arithmetic symbols..........................................................................................................................................................286
autofx??.log ........................................................................................................................................... See Autolog facility
Autolog facility................................................................................................................................................................280
Auxiliary files ..................................................................................................................................................................265
Average mining CAF
spreadsheet codes .......................................................................................................................................................256
Average processing CAF
spreadsheet codes .......................................................................................................................................................260
B
Bank loans
for initial costs............................................................................................................................................................301
for recoverable costs...................................................................................................................................................301
Bench
spreadsheet codes ...............................................................................................................................................246, 256
Bench, definition .............................................................................................................................................................409
Benches for arc generation
formula .......................................................................................................................................................................203
position in Parameters File.........................................................................................................................................182
reference.....................................................................................................................................................................203
Benches mined, spreadsheet codes ..................................................................................................................................251
Best case mining schedule .................................................................................................. See Mining schedules: best case
Bias..........................................................................................................................................................................310, 311
Binary file, definition ......................................................................................................................................................409
Blank lines.............................................................................................................................................. See Comment lines
426
Index
5 July, 1999
Block
adding "pseudo" blocks..............................................................................................................................................318
definition ....................................................................................................................................................................409
dimensions of .....................................................................................................................................................180, 193
Block model
definition ....................................................................................................................................................................409
reference.............................................................................................................................................269, 270, 309, 310
Block size
discussion...................................................................................................................................................................307
for calculating values .................................................................................................................................................307
for designing a pit.......................................................................................................................................................307
for outlining the ore body...........................................................................................................................................307
for sensitivity work.....................................................................................................................................................309
position in Parameters File.........................................................................................................................................180
reference.......................................................................................................................................................30, 285, 343
strategy .......................................................................................................................................................................309
Bold type, use of................................................................................................................................................................12
C
Can’t read error message .................................................................................................................................................407
CAF .............................................................................................................................................See Cost adjustment factor
Cash flow.........................................................................................................................................................................211
definition ....................................................................................................................................................................410
in Spreadsheet Definition File....................................................................................................................................250
minimum parcel grade................................................................................................... 210. See Parcel:grade:minimum
ore selection by .................................................................................................................... See Ore selection:cash flow
reference.....................................................................................................................283, 301, 340, 342, 367, 374, 375
spreadsheet codes ...............................................................................................................................................247, 251
underground spreadsheet codes..................................................................................................................................248
Changing the size and/or position of the model ................................................................................................................49
Combining and/or splitting blocks ....................................................................................................................................51
Comma delimited format .................................................................................................................................................175
Command Line names .......................................................................................................................................................13
Comment lines.............................................................................................................................................................40, 43
Constants
definition ....................................................................................................................................................................410
reference.....................................................................................................................................................................284
Co-ordinates of the origin........................................................................................................ See Model framework:origin
Corner......................................................................................................................................................... See Sharp corner
427
Index
5 July, 1999
Cost adjustment factor .....................................................................................................................................................295
average positional mining
spreadsheet codes..................................................................................................................................................246
average positional processing
spreadsheet codes..................................................................................................................................................246
definition ....................................................................................................................................................................410
mining
rock-type
definition .........................................................................................................................................................421
spreadsheet codes ............................................................................................................................................256
positional mining
definition...............................................................................................................................................................418
position in file .......................................................................................................................................................225
position in Model File...........................................................................................................................................219
position in Results File .........................................................................................................................................224
reference................................................................................................................195, 218, 295, 297, 327, 418, 419
positional mining CAF flag
reference................................................................................................................................................................199
positional mining flag
position in Parameters File....................................................................................................................................181
positional processing
definition...............................................................................................................................................................418
effect on cut-offs ...................................................................................................................................................208
reference........................................................................................................................208, 218, 297, 366, 418, 419
positional processing CAF flag
reference................................................................................................................................................................199
positional processing flag
position in Parameters File....................................................................................................................................181
rock-type
mining
position in Parameters File ..............................................................................................................................188
reference ..........................................................................................................................................195, 295, 419
spreadsheet codes..................................................................................................................................................245
Cost of mining
description..................................................................................................................................................................410
for a rock-type
spreadsheet codes..................................................................................................................................................245
reference.....................................................................................................................................206, 301, 348, 410, 421
spreadsheet codes ...............................................................................................................................................251, 256
time cost factored in
spreadsheet codes..................................................................................................................................................245
waste...........................................................................................................................................................................297
Cost of processing
definition ....................................................................................................................................................................410
due to an element
spreadsheet codes..................................................................................................................................................245
due to elements
spreadsheet codes..................................................................................................................................................251
element
spreadsheet codes..................................................................................................................................................260
reference.............................................................................................................................................297, 322, 348, 410
spreadsheet codes .......................................................................................................................................244, 251, 260
time cost factored in
spreadsheet codes..................................................................................................................................................244
428
Index
5 July, 1999
Costs........................................................................................................................................................................293, 296
examples.....................................................................................................................................................................299
rehabilitation
definition...............................................................................................................................................................420
position in Parameters File....................................................................................................................................188
reference................................................................................................................204, 205, 206, 214, 293, 296, 297
spreadsheet codes..................................................................................................................................245, 251, 257
selling
different selling costs ............................................................................................................................................323
position in Parameters File....................................................................................................................................187
reference................................................................................................................204, 205, 293, 295, 296, 297, 305
spreadsheet codes..................................................................................................................................244, 251, 261
time cost factored in
spreadsheet codes ............................................................................................................................................244
time-related ........................................................................................................................................................294, 298
calculation.............................................................................................................................................................303
definition...............................................................................................................................................................423
handled during analysis.........................................................................................................................................305
reference........................................................................................................................................295, 300, 301, 303
Currency characters, position in Parameters File.............................................................................................................183
Cut-off ..................................................................................................... See also Minimum and Maximum Cut-off grades
calculation ..................................................................................................................................................................348
definition ....................................................................................................................................................................410
display of....................................................................................................................................................................366
effect of processing CAFs ..........................................................................................................................................208
for underground methods
spreadsheet codes..................................................................................................................................................251
maximum....................................................................................................................................................168, 370, 371
definition...............................................................................................................................................................414
minimum ............................................................................................................................................................370, 371
definition...............................................................................................................................................................414
Multiple Elements ......................................................................................................................................................361
ore selection by ........................................................................................................................See Ore selection:Cut-off
reference.....................................................................................................................................................139, 305, 394
spreadsheet codes .......................................................................................................................................251, 259, 260
Cut-off control flag..........................................................................................................................................................209
position in Parameters File.........................................................................................................................................189
Cut-over...........................................................................................................................................................................359
definition ....................................................................................................................................................................411
description..................................................................................................................................................................360
display of....................................................................................................................................................................366
reference.............................................................................................................................................................211, 373
D
Data checks......................................................................................................................................................................405
Decimal places
currency totals, position in Parameters File................................................................................................................183
grades and cut-offs for element, position in Parameters File......................................................................................186
Revenue Factor values, position in Parameters File...................................................................................................183
small amounts of currency, position in Parameters File .............................................................................................183
tonnes, position in Parameters File ............................................................................................................................183
total units of element, position in Parameters File .....................................................................................................186
totals of tonnes, position in Parameters File...............................................................................................................183
units of element, position in Parameters File .............................................................................................................186
429
Index
5 July, 1999
Default block tonnage
general........................................................................................................................See General default block tonnage
sub-region
position in Parameters File....................................................................................................................................182
reference................................................................................................................................................215, 216, 345
Defined waste .............................................................................................................................. See also Undefined blocks
definition ....................................................................................................................................................................411
reference.....................................................................................................................................................195, 205, 419
Deleterious elements
definition ....................................................................................................................................................................411
reference.....................................................................................................................................................................369
Dilution ................................................................................................................................................. See Mining dilution
Dimensions of a block .................................................................................................................................. See Block sizes
Discount percentage
spreadsheet codes .......................................................................................................................................................244
Discounting
definition ....................................................................................................................................................................411
reference.............................................................................................................................122, 140, 143, 206, 250, 417
Distance function.............................................................................................................................................................289
example ......................................................................................................................................................................289
Drop cut................................................................................................................................................... See Small drop cut
E
.etx.......................................................................................................................... See Opti-Cut:files:Economics Text File
Edit Parameters Program ...................................................................................................................................................33
Dimensions Edit Menu.................................................................................................................................................40
Element Edit Menu ......................................................................................................................................................42
Expression Edit Menu ..................................................................................................................................................42
Global Values Edit Menu.......................................................................................................................................40, 41
Header Comment Edit Menu..................................................................................................................................39, 40
Main Edit Menu ...........................................................................................................................................................39
Main Menu...................................................................................................................................................................38
Menu system ................................................................................................................................................................34
Processing Method Groups Menu ................................................................................................................................43
Processing-Method/Rock-type Combination Select Menu...........................................................................................43
Rock-type Edit Menu ...................................................................................................................................................42
Sub-region Select Menu...............................................................................................................................................41
Trailer Comment Edit Menu ........................................................................................................................................43
430
Index
5 July, 1999
Element
code
description.............................................................................................................................................................204
position in Parameters File....................................................................................................................................186
data for open pit mining
position in Parameters File....................................................................................................................................189
definition ....................................................................................................................................................................411
extraction....................................................................................................................................................................321
information in Parameters File ...................................................................................................................................204
multiple ......................................................................................................................................................................322
prices
position in Parameters File....................................................................................................................................187
processing cost, definition..........................................................................................................................................411
quantity
in the ground
spreadsheet codes ............................................................................................................................................258
input to processing
spreadsheet codes ............................................................................................................................................258
spreadsheet codes..................................................................................................................................................256
spreadsheet codes .......................................................................................................................................................248
End pit or bench for a period
spreadsheet codes .......................................................................................................................................................251
Error messages.................................................................................................................................................................404
Expansion ..................................................................................................................................................See Pit:expansion
Exponential (X) function.................................................................................................................................................287
Expression
code
description.............................................................................................................................................................204
position in Parameters File....................................................................................................................................187
definition ....................................................................................................................................................................412
description..................................................................................................................................................................204
differences between Opti-Cut and Four-X .................................................................................................................393
editing ..........................................................................................................................................................................42
form of........................................................................................................................................................................284
grade dependent .........................................................................................................................................................284
information in Parameters File..............................................................................................................................204
position in Parameters File....................................................................................................................................187
reference................................................................................................176, 205, 206, 208, 209, 302, 322, 328, 393
splitting .................................................................................................................................................................291
grade-dependent .........................................................................................................................................................283
positional CAF ...................................................................................................................................................282, 285
reference.....................................................................................................................................................282, 394, 395
Extensions ..............................................................................................................................See Filenames and extensions
431
Index
5 July, 1999
F
Filenames and extensions ..................................................................................................................................................27
Finish pit or bench for a grand total
spreadsheet codes .......................................................................................................................................................251
Fixed column layout ........................................................................................................................................................175
Footwall
definition ....................................................................................................................................................................412
Four-D
description..................................................................................................................................................................412
differences from Four-X.............................................................................................................................................394
Framework
definition ....................................................................................................................................................................412
Free format ..............................................................................................................................See Comma delimited format
Function...........................................................................................................................................................................286
definition ....................................................................................................................................................................412
distance ......................................................................................................................................... See Distance function
exponential (X) ................................................................................................................. See Exponential (X) function
integral part of (X) ........................................................................................................ See Integral part of (X) function
Log (X)........................................................................................................................................... See Log (X) function
Log 10 (X)................................................................................................................................. See Log 10 (X) function
maximum (X1,X2,X3…) ....................................................................................See Maximum (X1,X2,X3…) function
minimum (X1,X2,X3…) ..................................................................................... See Minimum (X1,X2,X3…) function
ranges ...............................................................................................................................................See Ranges function
select ..................................................................................................................................................See Select function
square root.................................................................................................................................See Square root function
fx.lng .........................................................................................................................................................See Language file
fx??.ok file.......................................................................................................................................................................281
Fx??.ok file......................................................................................................................................................................267
FXAN ................................................................................................................................................. See Analysis Program
FXED ......................................................................................................................................See Edit Parameters Program
FXMI......................................................................................................................................... See Mining Width Program
FXOP .......................................................................................................................................... See Optimization Program
FXPI ...................................................................................................................................... See Pit Visualisation Program
FXRE............................................................................................................................................ See Re-blocking Program
FXST .........................................................................................................................................See Structure Arcs Program
FXUT .................................................................................................................................................. See Utilities Program
432
Index
5 July, 1999
G
G&A costs ......................................................................................................................................See Administration costs
General and Administration costs...................................................................................................See Administration costs
General default block tonnage .........................................................................................................................................196
position in Parameters File.........................................................................................................................................184
reference.............................................................................................................................................................215, 216
Generalised Mining Package, definition..........................................................................................................................412
Grade
in place
spreadsheet codes..................................................................................................................................................251
in the ground
spreadsheet codes..................................................................................................................................................258
in the ground before processing
spreadsheet codes ............................................................................................................................................251
input to processing
spreadsheet codes..........................................................................................................................................251, 258
rejected
spreadsheet codes..................................................................................................................................................251
spreadsheet codes .......................................................................................................................................................256
Grade control costs ..........................................................................................................................................................301
Grade dependent expressions ............................................................................................See Expression: grade dependent
Group “n”/element combination
spreadsheet codes .......................................................................................................................................................249
H
Haul road
definition ....................................................................................................................................................................412
reference.....................................................................................................................................................................271
Head grade, definition .....................................................................................................................................................412
Hole ............................................................................................................................................................... See Small hole
I
Immovable objects.....................................................................................................................................................94, 318
Initial capital expenditure
definition ....................................................................................................................................................................413
reference.............................................................................................................................................127, 128, 139, 299
spreadsheet code.........................................................................................................................................................244
Initialization file ..............................................................................................................................................................265
definition ....................................................................................................................................................................413
reference.......................................................................................................................................27, 125, 142, 172, 391
Input framework .................................................................................................................................See Model framework
Integral part of (X) function ............................................................................................................................................287
Internal rate of return
definition ....................................................................................................................................................................413
reference.......................................................................................................................................................................14
spreadsheet code.........................................................................................................................................................262
Internal Rate of Return
reference.............................................................................................................................................................140, 143
spreadsheet codes .......................................................................................................................................................247
Italics, use of......................................................................................................................................................................12
Iteration ...........................................................................................................................................................................269
L
.loa.................................................................................................................................................................... See Log files
.loe.................................................................................................................................................................... See Log files
.lom................................................................................................................................................................... See Log files
.loo.................................................................................................................................................................... See Log files
.lop.................................................................................................................................................................... See Log files
.lor .................................................................................................................................................................... See Log files
433
Index
5 July, 1999
.los .................................................................................................................................................................... See Log files
.lou.................................................................................................................................................................... See Log files
Lag
description..........................................................................................................................................................144, 413
reference.....................................................................................................................................................................124
spreadsheet codes ...............................................................................................................................................244, 256
Language file ...................................................................................................................................................................267
Language File
reference.....................................................................................................................................................................413
Lerchs-Grossmann algorithm ..........................................................................................................................................382
Lerchs-Grossmann method
reference...............................................................................................................................................................93, 293
License entitlement..........................................................................................................................................................265
Lines per page .................................................................................................................................................................265
Log (X) function..............................................................................................................................................................287
Log file
example ......................................................................................................................................................................275
extensions...................................................................................................................................................................276
reference.......................................................................................................................................................26, 275, 282
Log File
reference.....................................................................................................................................................................413
Log10 (X) function..........................................................................................................................................................287
M
.mod...............................................................................................................................................................See Model File
.msq ............................................................................................................................................. See Mining Sequence File
Marginal cut-off
definition ....................................................................................................................................................................413
reference.............................................................................................................................................................354, 367
Maximum (X1,X2,X3....) function..................................................................................................................................287
example ......................................................................................................................................................................290
Maximum cut-off grade............................................................................................................................. See Cut-off grade
Maximum, spreadsheet codes ..........................................................................................................................................245
Merging element data using the Re-blocking Program......................................................................................................49
Merging Elements from Different Four-D Model Files.............................................................................................46, 399
Method/type
information in the Parameters File
underground mining..............................................................................................................................................211
Milawa Algorithm ........................................................................ See Mining schedules:user specified: Milawa Algorithm
Minima .................... See Cut-off: maximum & Parcel: grade:maximum. See Cut-off: minimum & Parcel: grade:minimum
Minimum (X1,X2,X3....) function ..................................................................................................................................287
Minimum cut-off grade.............................................................................................................................. See Cut-off grade
Minimum, spreadsheet codes...........................................................................................................................................245
434
Index
5 July, 1999
Mining cost adjustment factor ......See Cost adjustment factor:positional mining, Cost adjustment factor:rock-type mining
Mining dilution
definition ....................................................................................................................................................................414
editing ..........................................................................................................................................................................40
factor ..................................................................................................................................................................195, 338
position in Parameters File....................................................................................................................................184
reference.............................................................................................................................................................195, 327
spreadsheet codes ...............................................................................................................................................244, 258
Mining limit
spreadsheet codes .......................................................................................................................................................256
Mining recovery
definition ....................................................................................................................................................................415
factor ..........................................................................................................................................................................196
position in Parameters File.........................................................................................................................................184
reference.............................................................................................................................................................196, 327
spreadsheet codes ...............................................................................................................................................244, 258
Mining schedules.............................................................................................................................................................123
best case .............................................................................................................................................................123, 131
spreadsheet codes..........................................................................................................................246, 247, 250, 397
definition ....................................................................................................................................................................415
user specified
constant lag ...........................................................................................................................................................124
specifying push-backs......................................................................................................................................144
Milawa Algorithm.................................................................................................................................124, 125, 381
reference................................................................................................................................................................124
spreadsheet codes..........................................................................................................................246, 247, 250, 397
worst case ...........................................................................................................................................................123, 130
spreadsheet codes..................................................................................................................246, 247, 250, 253, 397
Mining Sequence File
definition ....................................................................................................................................................................415
layout..........................................................................................................................................................................221
reference.........................................................................................................................................................19, 96, 221
Mining sequence, definition ............................................................................................................................................415
Mining tolerance
definition ....................................................................................................................................................................107
reference.....................................................................................................................................................................116
Mining width ...................................................................................................................................................................313
definition ....................................................................................................................................................................415
reference.............................................................................................................................................................106, 117
Mining Width Program....................................................................................................................................................104
Air blocks in the input Results File ............................................................................................................................113
output .........................................................................................................................................................................117
Model File
Block Header Line .....................................................................................................................................................219
definition ....................................................................................................................................................................415
layout..........................................................................................................................................................................218
Parcel Line .................................................................................................................................................................219
reference...............................................................19, 29, 45, 93, 96, 194, 207, 214, 221, 295, 297, 309, 337, 366, 415
435
Index
5 July, 1999
Model framework ..............................................................................................................................................49, 316, 343
definition ....................................................................................................................................................................415
description............................................................................................................................................................45, 415
dimensions
position in Parameters File....................................................................................................................................180
dimensions of .....................................................................................................................................................180, 193
origin
position in Parameters File....................................................................................................................................180
origin co-ordinates .....................................................................................................................................180, 193, 424
reference.............................................................................................17, 54, 59, 93, 194, 237, 307, 309, 311, 319, 320
Model, definition.............................................................................................................................................................415
Modelling, definition.......................................................................................................................................................415
N
Naming files ......................................................................................................................................................................28
Nested pits ...............................................................................................................................................................327, 377
Net cash flow
spreadsheet codes .......................................................................................................................................................262
Net present value .................................................................................................................................................... See NPV
NPV.........................................................................................................................123, 124, 130, 141, 273, 381, 411, 413
Number of blocks that can be held in memory ................................................................................................................402
O
Out of disk space error message ......................................................................................................................................407
Obstructions ..................................................................................................................................... See Immovable objects
Offset
definition ..............................................................................................................................................................45, 418
reference.....................................................................................................................................................................320
Operator
definition ....................................................................................................................................................................416
Opti-Cut...........................................................................................................................................................239, 266, 392
description..................................................................................................................................................................416
files.....................................................................................................................................................................119, 132
creation of .............................................................................................................................................................391
Economics Text File ...............................................................................................................................20, 239, 416
Sequence Text File..........................................................................................................................................20, 239
Sequence Text File................................................................................................................................................416
Optimal outline................................................................................................................................................................270
Optimization Program
reference.........................................23, 29, 30, 32, 52, 90, 105, 106, 194, 195, 293, 309, 316, 328, 335, 366, 379, 420
Ore body, definition ........................................................................................................................................................416
Ore selection
cash flow ............................................................................................................................................................346, 367
definition...............................................................................................................................................................416
description.............................................................................................................................................................196
reference................................................................................................................................................................340
cut-off.................................................................................................................................................................346, 348
definition...............................................................................................................................................................416
description.............................................................................................................................................................196
Ore selection method flag................................................................................................................................................196
position in Parameters File.........................................................................................................................................184
Origin co-ordinates..............................................................................................See Model framework:origin co-ordinates
436
Index
5 July, 1999
P
.par..........................................................................................................................................................See Parameters File
.pil ................................................................................................................................................................See Pit List File
.pnu..................................................................................................................................................See Profile Number File
.pol.............................................................................................................................................................. See Polygon File
.pra...................................................................................................................................................................See Print files
.prm .................................................................................................................................................................See Print files
.pro ..................................................................................................................................................................See Print files
.prp ..................................................................................................................................................................See Print files
.prr ...................................................................................................................................................................See Print files
.prs...................................................................................................................................................................See Print files
.pru ..................................................................................................................................................................See Print files
Parameters File
example ......................................................................................................................................................................212
layout..........................................................................................................................................................................179
line types ....................................................................................................................................................................180
reference.......................................................17, 20, 36, 45, 93, 105, 178, 225, 237, 295, 331, 333, 334, 338, 344, 415
Parcel
combining.....................................................................................................................................................51, 310, 312
grade
maximum ..............................................................................................................................................211, 370, 375
definition .........................................................................................................................................................414
minimum...............................................................................................................................................210, 370, 375
definition .........................................................................................................................................................414
limit ............................................................................................................................................................307, 308, 309
reference.....................................................................................................................................195, 200, 206, 207, 211
splitting ........................................................................................................................................................................51
Parse, definition...............................................................................................................................................................417
PC, definition ..................................................................................................................................................................417
Percentage of the bench mined, spreadsheet codes..........................................................................................................251
Period
definition ....................................................................................................................................................................417
length.....................................................................................................See Analysis Program: setting the period length
number .................................................................................................................................................................96, 100
spreadsheet codes..................................................................................................................................................247
reference.............................................................................................................................138, 139, 140, 222, 241, 393
Pit
expansion
definition...............................................................................................................................................................116
reference........................................................................................................................................................113, 117
hitting the side of the model framework.....................................................................................................................316
life of
spreadsheet codes..................................................................................................................................................247
number .................................................................................................................................................................96, 100
spreadsheet codes..................................................................................................................................................248
sizes............................................................................................................................................................................136
Pit List File
definition ....................................................................................................................................................................417
layout..........................................................................................................................................................................235
reference.................................................................................................................................21, 45, 104, 117, 235, 415
Pit Visualisation Program..................................................................................................................................................96
diagrams .....................................................................................................................................................................100
reference...........................................................................................................................................30, 31, 94, 218, 316
437
Index
5 July, 1999
Polygon File
definition ....................................................................................................................................................................417
layout..........................................................................................................................................................................237
reference.................................................................................................................................................21, 57, 193, 237
Positional CAF expressions................................................................................................ See Expression: positional CAF
Positional mining factors............................................................................................................ See Cost adjustment factor
Positional processing factors ...................................................................................................... See Cost adjustment factor
price
reference.....................................................................................................................................................187, 204, 379
Price
reference.....................................................................................................................................................137, 200, 205
spreadsheet codes ...............................................................................................................................................244, 259
Print files
Analysis Program .......................................................................................................................................................146
definition ....................................................................................................................................................................418
Mining Width Program ..............................................................................................................................................117
reference...............................................................................................................................................................24, 405
Utilities Program ................................................................................................................................161, 167, 170, 173
viewing and printing ....................................................................................................................................................25
Print unprocessed mineralisation flag
position in Parameters File.........................................................................................................................................181
reference.....................................................................................................................................................................200
Problem traps...................................................................................................................................................................406
Processing cost .................................................................................................................................. See Cost of processing
Processing cost adjustment factor............................................................. See Cost adjustment factor:positional processing
Processing data
for open pit mining, position in Parameters File ........................................................................................................188
Processing limits
spreadsheet codes .......................................................................................................................................................259
Processing method
code....................................................................................................................................188, 190, 207, 222, 249, 418
code............................................................................................................................................................................211
multiple ......................................................................................................................................................................360
position in Mining Sequence File ..............................................................................................................................221
spreadsheet codes .......................................................................................................................................................249
Processing method group
code............................................................................................................................................................................192
definition ....................................................................................................................................................................418
editing ..........................................................................................................................................................................43
position in Parameters File.........................................................................................................................................192
reference.............................................................................................................................................................206, 211
spreadsheet codes .......................................................................................................................................................249
Processing method/rock-type/element combination
spreadsheet codes .......................................................................................................................................................249
Processing mill
costs............................................................................................................................................................................299
Processing recovery
definition ....................................................................................................................................................................419
fraction
position in Parameters File....................................................................................................................................189
position in Parameters File....................................................................................................................................191
fraction .......................................................................................................................196, 209, 210, 327, 349, 352, 360
Product
definition ....................................................................................................................................................................419
spreadsheet codes .......................................................................................................................................................261
Production limit
spreadsheet codes .......................................................................................................................................................261
Profile Number File
layout..........................................................................................................................................................................230
reference...............................................................................................................................................................21, 230
Program names ..................................................................................................................................................................13
Programs
description....................................................................................................................................................................17
Pure text mode, definition ...............................................................................................................................................419
Push-back
438
Index
5 July, 1999
definition ....................................................................................................................................................................419
reference.............................................................................................................104, 106, 108, 110, 111, 112, 113, 116
spreadsheet codes ...............................................................................................................................................244, 256
R
.res ................................................................................................................................................................See Results File
Ranges function...............................................................................................................................................................289
example ......................................................................................................................................................................289
Reagent costs...................................................................................................................................................................302
Re-blocking .....................................................................................45, 193, 308, 310, 412. See also Re-blocking Program
Re-blocking Program.........................................................................................................................................................45
reference.........................................................................................30, 32, 104, 193, 238, 282, 308, 309, 312, 316, 320
Recovery.........................................................................................................................See Mining or Processing recovery
percentage
spreadsheet codes..................................................................................................................................................245
spreadsheet codes .......................................................................................................................................................259
threshold
spreadsheet codes..................................................................................................................................................245
Redirected input files.......................................................................................................................................................281
Reference Block
definition ....................................................................................................................................................................419
Reference mining cost .....................................................................................................................................................195
position in Parameters File.........................................................................................................................................184
spreadsheet codes .......................................................................................................................................................244
time cost factored in
spreadsheet codes..................................................................................................................................................244
Reference Mining Cost
definition ....................................................................................................................................................................419
Regular block model, definition ......................................................................................................................................419
Rejected
element quantity
spreadsheet codes..................................................................................................................................................257
material.......................................................................................................................... See Unprocessed mineralisation
spreadsheet codes..................................................................................................................................................257
tonnage
spreadsheet codes..................................................................................................................................................257
Replacement capital expenditure
definition ....................................................................................................................................................................420
spreadsheet codes .......................................................................................................................................................246
Restart
dump ..............................................................................................................................................................93, 94, 195
interval .......................................................................................................................................................................195
position in Parameters File....................................................................................................................................181
run ................................................................................................................................................................................94
run ................................................................................................................................................................................90
439
Index
5 July, 1999
Results File
Block Header Line .....................................................................................................................................................224
definition ....................................................................................................................................................................420
layout..........................................................................................................................................................................224
reference...............................................................................................................22, 29, 45, 90, 96, 113, 119, 223, 415
subsequent lines .........................................................................................................................................................225
Revenue
spreadsheet codes ...............................................................................................................................................251, 261
Revenue Factor
definition ....................................................................................................................................................................420
editing ..........................................................................................................................................................................41
infinite ..............................................................................................................................................22, 93, 94, 223, 224
position in Parameters File.........................................................................................................................................185
position in Results File...............................................................................................................................................225
reference.........................................................................................................................93, 94, 210, 211, 309, 327, 379
values .........................................................................................................................................................................200
Rock, definition ...............................................................................................................................................................420
Rock-type ........................................................................................................................................................................421
code
position in Parameters File............................................................................................................................188, 189
reference................................................................................................................................................................218
information in Parameters File ...................................................................................................................................205
position in Parameters File.........................................................................................................................................191
spreadsheet
codes .....................................................................................................................................................................249
spreadsheet codes .......................................................................................................................................................250
Rock-type/element combination
spreadsheet codes .......................................................................................................................................................250
S
.slp ...................................................................................................................................................... See Slope Profile File
.ssd...................................................................................See Spreadsheet Definition File. See Spreadsheet Definition File
.sso............................................................................................ See Spreadsheet Output File . See Spreadsheet Output File
.stu .................................................................................................................................................... See Structure Arcs File
.stx .............................................................................................................................See Opti-Cut:files:Sequence Text File
Safety berm
definition ....................................................................................................................................................................421
reference.....................................................................................................................................................................271
Scenario, definition .........................................................................................................................................................421
Select function.................................................................................................................................................................288
example ..............................................................................................................................................................288, 291
Selective mining size, definition......................................................................................................................................421
Sensitivity work
example ......................................................................................................................................................................273
reference.....................................................................................................................................................270, 273, 319
Sharp corner ............................................................................................................................................................112, 116
Slope
bearing and angle
position in Parameters File....................................................................................................................................183
editing ..........................................................................................................................................................................42
errors ............................................................................................................................................................................88
reference.................................................................................23, 29, 30, 42, 51, 83, 269, 271, 301, 313, 324, 331, 345
usage ..........................................................................................................................................................................202
Slope Profile File
layout..........................................................................................................................................................................228
reference...............................................................................................................................................................22, 228
Small drop cut
definition ....................................................................................................................................................................411
reference.............................................................................................................................................................108, 116
Small hole........................................................................................................................................................................111
Small stump .....................................................................................................................................................................111
Small wall........................................................................................................................................................................110
Spider diagram ................................................................................................................................................................273
Spreadsheet Definition File
440
Index
5 July, 1999
attributes.....................................................................................................................................................244, 245, 250
attributes for derived values
/BM.......................................................................................................................................................................251
/CE* ......................................................................................................................................................................251
/CI* .......................................................................................................................................................................251
/CM*.....................................................................................................................................................................251
/CP* ......................................................................................................................................................................251
/CR*......................................................................................................................................................................251
/CS* ......................................................................................................................................................................251
/CT* ......................................................................................................................................................................251
/DE*......................................................................................................................................................................251
/DI*.......................................................................................................................................................................251
/DM*.....................................................................................................................................................................251
/DP* ......................................................................................................................................................................251
/DR*......................................................................................................................................................................251
/DS* ......................................................................................................................................................................251
/DT*......................................................................................................................................................................251
/EN........................................................................................................................................................................251
/FI 251
/GG*......................................................................................................................................................................251
/GI* .......................................................................................................................................................................251
/GP* ......................................................................................................................................................................251
/GR*......................................................................................................................................................................251
/OF ........................................................................................................................................................................251
/OFU .....................................................................................................................................................................251
/ST ........................................................................................................................................................................251
/TG* ......................................................................................................................................................................251
/TI*........................................................................................................................................................................251
/TP*.......................................................................................................................................................................251
/TR* ......................................................................................................................................................................251
/UG*......................................................................................................................................................................251
/UI*.......................................................................................................................................................................251
/UO*......................................................................................................................................................................251
/UP* ......................................................................................................................................................................251
/UR*......................................................................................................................................................................251
/USE......................................................................................................................................................................251
codes ..................................................................................................................................................................243, 255
codes for derived values .............................................................................................................................................246
441
Index
5 July, 1999
codes for values set by the user ..................................................................................................................................243
<element>/LIMIT...........................................................................................................................................244
<element>/PRICE...........................................................................................................................................244
<element>/TIME_CS......................................................................................................................................244
<element>/UNIT_CS......................................................................................................................................244
<GR_n>/LIMIT..................................................................................................................................................244
<method>.<type>.<element>/.................................................................................................................245
<method>.<type>.<element>/MAX! .......................................................................................................245
<method>.<type>.<element>/MIN! .......................................................................................................245
<method>.<type>/TIME_CP........................................................................................................................244
<method>.<type>/UNIT_CP! .....................................................................................................................244
<method>/LIMIT .............................................................................................................................................244
<type>/CAF ......................................................................................................................................................245
<type>/THRFACT .............................................................................................................................................245
<type>/TIME_CM .............................................................................................................................................245
<type>/UNIT_CM .............................................................................................................................................245
<type>/UNIT_CR .............................................................................................................................................245
CAPEXINI ...........................................................................................................................................................244
DISCOUNT ..........................................................................................................................................................244
LAG ......................................................................................................................................................................244
MINDIL ................................................................................................................................................................244
MINREC ................................................................................................................................................................244
PUSH<n>..............................................................................................................................................................244
ROCK/LIMIT ......................................................................................................................................................244
UNDEF/TIME_CM ...............................................................................................................................................244
UNDEF/UNIT_CM ...............................................................................................................................................244
definition ............................................................................................................................................................421, 422
example ......................................................................................................................................................................254
442
Index
5 July, 1999
keywords ............................................................................................................................................................244, 245
keywords for derived values
<element>.........................................................................................................................................................248
<GR_n> ................................................................................................................................................................249
<GR_n>.<element> ........................................................................................................................................249
<method> ...........................................................................................................................................................249
<method>.<element>....................................................................................................................................249
<method>.<type>...........................................................................................................................................249
<method>.<type>.<element> ...................................................................................................................249
<type> ................................................................................................................................................................250
<type>.<element> ........................................................................................................................................250
AVMINCAF ...........................................................................................................................................................246
AVPROCAF ...........................................................................................................................................................246
BENCH ..................................................................................................................................................................246
BLANK ..................................................................................................................................................................246
CAPEXREP ...........................................................................................................................................................246
CASE.....................................................................................................................................................................247
COVALUE..............................................................................................................................................................247
INTERNAL ...........................................................................................................................................................247
LIFE.....................................................................................................................................................................247
OPVALUE..............................................................................................................................................................247
OUTSIDE..............................................................................................................................................................247
OUTSIDE.<element>......................................................................................................................................247
PERIOD ................................................................................................................................................................247
PIT .......................................................................................................................................................................248
ROCK.....................................................................................................................................................................248
STRIP ..................................................................................................................................................................248
TIMECOST ...........................................................................................................................................................248
UGVALUE..............................................................................................................................................................248
WASTE ..................................................................................................................................................................248
layout..........................................................................................................................................................................242
line types
GRA......................................................................................................................................................................242
PER.......................................................................................................................................................................242
reference.......................................................................................................................................22, 119, 145, 241, 263
Spreadsheet Output File
definition ....................................................................................................................................................................422
example ..............................................................................................................................................................146, 264
format .........................................................................................................................................................................264
layout..........................................................................................................................................................................263
reference...............................................................................................23, 119, 122, 126, 145, 150, 154, 176, 241, 263
Square root (X) function..................................................................................................................................................287
Start pit or bench for a period
spreadsheet codes .......................................................................................................................................................251
Stripping ratio
definition ....................................................................................................................................................................422
negative ......................................................................................................................................................................195
spreadsheet codes .......................................................................................................................................................256
Structure arcs...................................................................... 23, 83, 93, 194, 345, 383. See also Benches for arc generation
definition ......................................................................................................................................................................83
definition ....................................................................................................................................................................422
Structure Arcs File
definition ....................................................................................................................................................................422
reference.........................................................................................................23, 29, 30, 32, 84, 93, 104, 112, 194, 336
Structure Arcs Program .....................................................................................................................................................83
reference...........................................................................................................29, 30, 32, 194, 203, 232, 316, 330, 331
Stump ..........................................................................................................................................................See Small stump
Sub-region .......................................................................................................................................................................344
block limits
position in Parameters File....................................................................................................................................182
reference................................................................................................................................................................344
default block tonnage ........................................................................................... See Default block tonnage:sub-region
definition ....................................................................................................................................................................422
information in Parameters File ...................................................................................................................................201
443
Index
5 July, 1999
number
position in Parameters File....................................................................................................................................181
number of slope angles position in Parameters File ...................................................................................................182
Support cable bolts costs .................................................................................................................................................301
System error messages.....................................................................................................................................................407
T
Text file, definition..........................................................................................................................................................422
Three-D, description........................................................................................................................................................422
Throughput factor..............................................................................................................See Processing throughput factor
definition ....................................................................................................................................................................423
position in Parameters File.........................................................................................................................................188
spreadsheet codes ...............................................................................................................................................245, 259
Throughput limit
definition ....................................................................................................................................................................423
spreadsheet codes .......................................................................................................................................................244
Tonnes
in place
spreadsheet codes..................................................................................................................................................251
in the ground
spreadsheet codes..................................................................................................................................................258
in the ground before processing
spreadsheet codes..................................................................................................................................................251
input to processing
spreadsheet codes..........................................................................................................................................251, 258
rejected
spreadsheet codes..................................................................................................................................................251
spreadsheet codes .......................................................................................................................................................256
Trucks costs.....................................................................................................................................................................300
U
Unable to open file error message ...................................................................................................................................407
Unable to write file error message ...................................................................................................................................407
Undefined blocks.............................................................................................................................. See also Defined waste
definition ....................................................................................................................................................................423
reference.............................................................................................................................................................206, 417
Underground mining
element
data, position in Parameters File ...........................................................................................................................191
processing data, position in Parameters File ..............................................................................................................190
reference.............................................................................................................................................................211, 326
Underlining, use of ............................................................................................................................................................13
Unit cost
element processing, spreadsheet codes.......................................................................................................................259
mining waste, spreadsheet codes ................................................................................................................................256
processing, spreadsheet codes ....................................................................................................................................259
444
Index
5 July, 1999
Units
definition ....................................................................................................................................................................424
Units of an element
in place, spreadsheet codes.........................................................................................................................................251
in the ground before processing, spreadsheet codes...................................................................................................251
input to processing, spreadsheet codes.......................................................................................................................251
output from processing, spreadsheet codes ................................................................................................................251
rejected, spreadsheet codes.........................................................................................................................................251
UNIX, definition .............................................................................................................................................................424
Unprocessed mineralisation..................................................................200. See also Print unprocessed mineralisation flag
User specified mining schedule .................................................................................. See Mining schedules: user specified
Using the package
minimum required ........................................................................................................................................................29
recommended approach................................................................................................................................................30
Utilities Program .............................................................................................................................................................149
reference...............................................................................................................................................................30, 366
Showing Block Value Calculations mode..................................................................................................................164
Showing Cut-off Variation with Processing CAF mode ............................................................................................168
Showing Four-X System Limits mode .......................................................................................................................171
Summarising a Data File mode ..................................................................................................................................150
V
Value types in text files ...................................................................................................................................................176
Variable, definition..........................................................................................................................................................424
Variables..........................................................................................................................................................................284
Virtual memory
definition ....................................................................................................................................................................424
reference...............................................................................................................................................................93, 402
W
.wrk................................................................................................................................................................. See Work File
Wall ............................................................................................................................................................... See Small wall
Waste
definition ....................................................................................................................................................................424
total tonnage spreadsheet codes .................................................................................................................................257
Work File
definition ....................................................................................................................................................................424
reference...........................................................................................................................................24, 92, 93, 195, 420
Workstation
definition ....................................................................................................................................................................424
Worst case mining schedule .............................................................................................See Mining schedules: worst case
Z
Zone number .............................................................................................................................................96, 100, 218, 225
position in Model File ................................................................................................................................................219
445
Index
5 July, 1999