Professional Documents
Culture Documents
Opti-Cut: User Manual
Opti-Cut: User Manual
User Manual
April, 1998
1
Copyright 1998 Whittle Programming Pty Ltd. All rights reserved.
email: whittle@whittle.com.au
web: www.whittle.com.au
2
High Level Table of Contents
Tutorial 2 - Four-D and Four-X Interfaces and Sequence Compaction ................................................... 222
3
High Level Table of Contents
28 April, 1998
APPENDICES......................................................................................................... 262
GLOSSARY............................................................................................................ 276
INDEX..................................................................................................................... 290
4
High Level Table of Contents
28 April, 1998
Detailed Table of Contents
5
Detailed Table of Contents
28 April, 1998
Chapter 2: Economics Text File .................................................................................................................. 94
Overview .............................................................................................................................................. 94
Background Information ....................................................................................................................... 95
Economics Text File Layout.................................................................................................................. 96
Lines in Detail ...................................................................................................................................... 98
Allowed Value Types and Functions ................................................................................................... 109
Economics Text File Guidelines and Examples ................................................................................... 114
6
Detailed Table of Contents
28 April, 1998
Tutorial 1 - A Simple Run Through of the Main Programs...................................................................... 189
Overview ............................................................................................................................................ 189
Step 1: Producing the Sequence Binary File with the Sequence Input Program.................................... 190
Step 2: Producing the Economics Binary File with the Economics Input Program............................... 193
Step 3: Doing the Optimization with the Optimization Program ......................................................... 197
Step 4: Producing the Report using the Print Results Program ............................................................ 201
Step 5: Re-running the Print Results Program to obtain the Marginal Cut-off Scenario ....................... 211
File Summary ..................................................................................................................................... 214
What you have Learnt......................................................................................................................... 215
Tutorial 2 - Four-D and Four-X Interfaces and Sequence Compaction ................................................... 222
Overview ............................................................................................................................................ 222
Step 1: Producing the Initial Sequence Binary File with the Sequence Input Program ......................... 223
Step 2: Producing the Compacted Sequence Binary File with the Compaction Program ...................... 225
Step 3: Producing the Economics Binary File using a Log File............................................................ 227
Step 4: Running the Optimization using a Log File............................................................................. 229
Step 5: Running the Print Results Program with a Log File and Spreadsheet Output ........................... 230
What you have Learnt......................................................................................................................... 234
APPENDICES......................................................................................................... 262
Overview ............................................................................................................................................ 262
7
Detailed Table of Contents
28 April, 1998
Appendix B: How the Optimization is Achieved....................................................................................... 264
Overview ............................................................................................................................................ 264
Special Costs ...................................................................................................................................... 265
The Steps Involved in Optimization .................................................................................................... 268
GLOSSARY............................................................................................................ 276
INDEX..................................................................................................................... 290
8
Detailed Table of Contents
28 April, 1998
About this Release
Introduction This version of the Opti-Cut Manual was released with version 1.0 of the
Whittle Opti-Cut optimization software.
What Opti-Cut Opti-Cut adds another dimension to the existing Whittle optimization
does products, Three-D, Four-D and Four-X.
It allows the user to investigate how changing the cut-offs with time and the
use of stockpiles can increase the Net Present Value of a project.
For many mines, particularly those with a long mine life, this increase can be
substantial.
It can capture the results in spreadsheet format for graphing and further
analysis.
open-cut mines.
9
About this Release
28 April, 1998
Part 1: Introduction
Overview
10
Part 1: Introduction
28 April, 1998
Section A: How this Manual is Structured
Introduction This Manual contains everything you need to know in order to use the
Opti-Cut package effectively.
The Manual is divided into eight parts. These parts are described below.
Part 3: Detailed This part provides details of the different files used by the programs, and their
File Formats formats.
Economic factors.
Mining factors.
11
Part 1: Introduction
28 April, 1998
Section A: How this Manual is Structured, Continued
Part 5: These tutorials and exercises are designed to help you learn about Opti-Cut
Tutorials and and build up the necessary skills to use it.
Exercises
See page 185.
Glossary This part contains a list of terms used in the Manual, and their meanings.
Index This part contains an Index of the concepts and terms used in the Manual.
12
Part 1: Introduction
28 April, 1998
Section B: Using this Manual
Overview
13
Part 1: Introduction
28 April, 1998
Conventions Used in this Manual
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 the preceding example, the indicates that you need to press the Enter
key after typing in octut1.
Square brackets Throughout the Manual, whenever we show a default response to a question
[ ] asked by the Opti-Cut program, that response is enclosed in square brackets
[ ].
Here is an example.
14
Part 1: Introduction
28 April, 1998
Conventions Used in 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.
In the preceding example, the angle brackets and the information enclosed in
them indicate that the appropriate information should be inserted, replacing the
angle brackets and the information contained in them.
Topic References
Italics are also used to highlight references to related topics or literature.
Here is an example.
For more information, see Four-D and Four-X Interfaces, on page 28.
15
Part 1: Introduction
28 April, 1998
Conventions Used in this Manual, Continued
On a separate diskette, you will have been provided with your oc.ini file.
To indicate the letters from the Program name that make up the Command
Line name.
See below for more information about Command Line names and Program
names.
File types.
To indicate the letters that make up the file extensions for those file types.
See page 42 for more information about file types and extensions.
Underlining is only used where it will be most helpful to the user to determine
Command Line names or file extensions.
16
Part 1: Introduction
28 April, 1998
Conventions Used in this Manual, Continued
Program names As the user has two means of accessing Opti-Cut programs, that is via the
and Command Menu or from the Command Line, each of the programs in the Opti-Cut
Line names package has two names:
a Program name, and,
a Command Line name.
In this Manual, for reasons of consistency, Program names have been used in
preference to Command Line names.
The following table lists Opti-Cut Program names and their corresponding
Command Line names.
17
Part 1: Introduction
28 April, 1998
Terminology
Cost adjustment The cost of mining and the cost of processing can vary with position in the pit.
factors Opti-Cut deals with this by using positional cost adjustment factors (CAFs).
Cost of mining In this Manual, unless the context indicates otherwise, this means the cost of
blasting, loading and hauling a tonne of rock of a particular type as waste at
the Reference Position.
The cost of mining this type of rock as waste in any other position is obtained
by multiplying the cost of mining the same rock at the Reference Position by
the positional mining CAF for the group in question.
Cost of This is the difference between the total cost of blasting, loading, hauling and
processing processing a tonne of a particular type of rock as ore, and the total cost of
blasting, loading and hauling the same type of rock as waste, both at the
Reference Position.
The cost of processing for this type of rock in any other position is obtained by
multiplying the cost of processing the same rock at the Reference Position by
the positional processing CAF for the group in question.
Element A substance in the mineralised material which is of interest to the study, and
for which grades are available.
Reference A particular position in the mine, chosen by the user, for which all mining and
Position processing costs are calculated.
If the costs are different in other parts of the mine, this is handled by positional
CAFs for mining and/or processing in each group.
18
Part 1: Introduction
28 April, 1998
Terminology, Continued
Increment 1 Groups
Increment 2
Sequence
Increment 3
Increment
An increment is a section of a sequence which can be assumed to be mined as
a unit. That is, in any time period a given fraction of everything in the
increment will be mined. An increment consists of one or more groups.
Group
A group is a section of an increment which is all of one type of rock and which
has particular grade characteristics. A group has a tonnage, and grade
information for each element in the rock-type. The grade information can, in
each case, be either in the form of an average grade or a range consisting of
minimum, average and maximum grades.
If more than one element is involved, grade ranges should be sufficiently
narrow for it to be assumed that there is no correlation between the grades of
different elements within the group.
Multiple groups of the same rock-type can be used to represent any grade
distribution to arbitrary accuracy.
Each group carries mining and processing CAFs.
19
Part 1: Introduction
28 April, 1998
Terminology, Continued
Stockpile An accumulation of ore set aside for later processing. A rock-type and one or
more grade ranges are specified for each stockpile.
Time costs Costs that continue during mining, regardless of the amount mined, processed
or sold. These are often called overheads or G&A (General and
Administration) costs.
Units The units used for quantities of rock, elements, and currency are arbitrary, but
only one unit is allowed for each. Different elements can have different units.
Note: although the program and Manual refer to Tonnes throughout, Tons or
Short Tons can be used, provided they are used everywhere.
20
Part 1: Introduction
28 April, 1998
Abbreviations
Abbreviation Term
NPV Net Present Value
GMP Generalised Mining Package
m million(s)
k thousand(s)
CAF Cost Adjustment Factor
IRR Internal rate of return
G&A costs General and Administration costs
PC Personal Computer
21
Part 1: Introduction
28 April, 1998
Section C: Opti-Cut Methodology
Main features Opti-Cut has been designed to be as flexible as possible to cater for all the
different types of mining and processing which occur, and to allow designers
the maximum scope for creativity.
Some of the major features offered by Opti-Cut are:
Ability to handle multiple:
- Rock-types.
- Elements, where each element may or may not be:
- Subject to a cut-off.
- A product.
- Production processes and throughput limits.
- Stockpiles.
Ability to handle optimized cut-offs fixed for each period or for each
period/increment.
User definable (mining) sequence descriptions that are flexible enough to
allow the user to specify them for:
- scoping studies
- design work
- sensitivity analysis, and,
- production planning.
User definable economic scenarios that allow full variation with time of all
variables.
Spreadsheet output to allow further analysis and plotting of the results.
Kenneth F. Lane, The Economic Definition of Ore: Cut-off Grades in Theory and Practice, Mining Journal
Books Limited, London, 1988.
22
Part 1: Introduction
28 April, 1998
Section C: Opti-Cut Methodology, Continued
Programs in the The Opti-Cut package consists of six separate programs, and a control
Opti-Cut program called the Batch Processing Program (OC), to automate their
package operation.
The programs are the:
Sequence Input Program (OCSE).
List Details Program (OCLD).
Compaction Program (OCCO).
Economics Input Program (OCEC).
Optimization Program (OCOP).
Print Results Program (OCPR).
For more For more information, see Part 2: Programs in the Opti-Cut Package, starting
information on page 30.
23
Part 1: Introduction
28 April, 1998
Section D: Opti-Cut, Your Computer and Other Whittle
Programs
Overview
24
Part 1: Introduction
28 April, 1998
Hardware and Software Requirements
Introduction This section lists the hardware and software requirements for running
Opti-Cut:
On a PC.
On a UNIX workstation.
Platforms
Opti-Cut will run:
under DOS, and,
in a DOS window under Windows 3.x, Windows 95, Windows NT and
OS/2.
Preferred
Because of the multi-process nature of workstations, the preferred
configuration is:
32MB or more of memory, and,
300 MB or more of free disk space.
25
Part 1: Introduction
28 April, 1998
Installing Opti-Cut on Your Computer
Installing PCs
Opti-Cut on This section details the procedure for installing Opti-Cut on your PC.
your PC
Other computers
If you are installing Opti-Cut on a computer that is not a PC, then you will be
given separate instructions about installing it.
Step Action
1. Make sure you are in MS-DOS mode or you have a DOS window
open.
2. Select your hard drive as the default drive.
Example
Type C: at the DOS prompt, then press the Enter key to
change your default drive to the C drive.
3. Insert the disk labelled PC Version, Disk 1 of 2 into a diskette
drive.
4. At the DOS prompt run the program, INSTALL, by typing:
x:INSTALL (then press the Enter key )
Where x is the letter name of the diskette drive.
Example
C:> a:INSTALL
In this example, Opti-Cut would be installed from the A drive.
26
Part 1: Introduction
28 April, 1998
Installing Opti-Cut on Your Computer, Continued
Procedure (continued)
Step Action
5. Follow the instructions on the screen carefully.
By default, the installation will install the programs into C:\OC and
the tutorial information into C:\OC\TUTOR. You can change
these defaults and also control what to load.
The Opti-Cut programs will be installed onto your computer.
6. If you are running under Windows 3.1, 95 or NT, you can also
install the Whittle icons. To do this:
Insert the disk labelled Whittle Icons, Disk 1 of 1 into a
diskette drive.
At the DOS prompt, run the program, INSTALL, by typing:
x:INSTALL (then press the Enter key )
Where x is the letter name of the diskette drive.
Example
C:> a:INSTALL
In this example, Opti-Cut would be installed from the A drive.
Follow the instructions on the screen carefully.
The Whittle icons will be installed onto your computer.
7. On a separate diskette, you have been provided with an oc.ini file.
Copy this file:
into directory \oc\tutor, and,
into any directory where you intend to do work with Opti-Cut.
It would also be a good idea to store it in a directory \oc\ini for
safekeeping.
For more For more information, refer to the Read.me file located on PC Version, Disk
information 1 of 2.
27
Part 1: Introduction
28 April, 1998
Four-D and Four-X Interfaces
Introduction Customers who use either Four-D or Four-X can produce a Sequence Text
File and an Economics Text File from FDAN or FXAN for use with Opti-Cut.
To do this you must enable Opti-Cut output from Four-D or Four-X. This
section describes how you can do this.
Step Action
1. Open and view the:
Four-D initialization file, fd.ini, or,
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=Yes 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.
28
Part 1: Introduction
28 April, 1998
Four-D and Four-X Interfaces, Continued
Note: you should check the Economics Text File to ensure that capital costs
and time costs have been applied and that there are no other matters, such as
throughput factors or expressions to tidy up.
Note also: Opti-Cut files produced from Four-D or Four-X should be
compacted so that the programs run more quickly. See page 50 for further
discussion of this.
29
Part 1: Introduction
28 April, 1998
Part 2: Programs in the Opti-Cut Package
Overview
Introduction This part provides some general information about using Opti-Cut. It also
provides information about the programs in the Opti-Cut package, and the files
used by those programs.
30
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Chapter 1: Getting Started
Overview
In this chapter This chapter contains some basic information about the programs and their
operation. It is divided up into the following topics.
31
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Program Description
prints a report of the information in the Sequence Binary File to a print file,
enabling the user to double-check the information.
32
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Program Description, Continued
33
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Accessing the Programs
Once the Menu has been accessed, all programs will return to the Menu, on
completion, after the message:
Press any key to continue
34
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Accessing the Programs, Continued
Main Menu Bar The Main Menu Bar has three drop down submenus:
Files.
Options.
Selections.
Selection submenu
By default, the Opti-Cut Menu comes up with the Selection submenu open,
ready for you to select a program. Unlike the other two submenus, the
Selection submenu appears on the right hand side of the screen.
The Selection submenu lists the Opti-Cut programs generally in order of use.
It also allows you to:
view output
invoke a text editor, and,
exit from the program.
When another submenu has been selected, the Selection submenu is still
visible, but it is greyed out, and you will be unable to select any of the items
from the Selection submenu.
Files submenu
The Files submenu sets the locations, or paths, of the:
Working directory.
The working directory is maintained from session to session and can be
updated here. The working directory is displayed on the Menu, above the
Selection submenu. Programs are run from within the working directory.
Program.
The program path is automatically set up during the installation process. If
you change the location of the programs, then the program path must be
updated. The system will check to ensure that the programs exist in the
directory you specify.
Viewer.
This item allows you to specify the path for your favourite file viewer.
35
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Accessing the Programs, Continued
Editor.
This item allows you to specify the path for your favourite text editor.
Remember you only need a text-based editor. A typical path could be:
c:\dos\edit.com (or c:\windows\command\edit.com)
or
c:\util\list.com
EDIT is provided with MS-DOS 5.0 and above. LIST is shareware. It is
almost universally available, however, if you have difficulty in locating a
copy, please contact Whittle Programming. UNIX users can use emacs,
jove, vi etc. The system will check to ensure that the program exists.
The Files submenu also allows you to exit from the program.
Options submenu
The Options submenu sets the screen colour. The colour of the screen can be
changed to monochrome, or to a variety of colour schemes.
Menu: selecting The user can select an item from the Menu or a submenu by:
items
Moving the highlighted bar with the:
- up () or down () arrow keys on the keyboard, and then,
- pressing the Enter key ().
Typing one of the letters or numbers highlighted in the Menu items.
For example, if you typed the letter L, the List Details Program would be
started.
Using the point and click method, with a mouse.
Pressing the Escape key (Esc) twice and then pressing the Enter key ().
36
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Accessing the Programs, Continued
The Command The programs can be accessed from the Command Line, by typing in the
Line Command Line name and pressing Enter ().
Example
Typing:
ocse
at the Command Line, would start the Sequence Input Program.
Hint
Make sure that you are in the appropriate data directory, a copy of oc.ini is
also in that directory, and the Opti-Cut program directory is in your PATH.
Here is a table of Command line names, and corresponding Program names.
37
Part 2: Programs in the Opti-Cut Package
28 April, 1998
At the Terminal
Introduction This topic contains information about user interaction with the Opti-Cut
programs.
In particular, it discusses:
prompts and answers
selecting from a list of items
default answers
editing default answers and text
overwriting files, and,
exiting a program.
Prompts and All user interaction with Opti-Cut takes the form prompts for information, to
answers which you respond by typing an answer.
The prompts request:
decisions
values, or,
filenames.
Note: Opti-Cut can handle filenames containing upper and lower case
alphabetic characters.
On a PC, the alphabetic case of your responses is irrelevant.
On UNIX systems, where it is usual to use lower case filenames, the
alphabetic case is important.
38
Part 2: Programs in the Opti-Cut Package
28 April, 1998
At the Terminal, Continued
Selecting from a Sometimes Opti-Cut will display a list of options or items from which you can
list of items choose.
Generally, items can be selected by typing one of the:
highlighted letters, or,
numbered options
in the list.
Use the Escape key (Esc) to move from a selected submenu to the parent
Menu.
[ ]
If the default answer is the answer you want to give, just press the Enter
() key.
Here is an example of a default answer:
39
Part 2: Programs in the Opti-Cut Package
28 April, 1998
At the Terminal, Continued
Editing text
The following table lists the effects of the various special keys on text.
Key Function
End moves the cursor to the end of the text.
Home moves the cursor to the start of the text.
Left arrow moves the cursor one character to the left.
Right arrow moves the cursor one character to the right.
DEL deletes the character at the cursor position.
Backspace deletes the character to the left of the cursor.
INS toggles between insert and overtype mode.
Ctrl + Y deletes all the text.
Esc restores the text to the original default answer (see
Default answers, below).
40
Part 2: Programs in the Opti-Cut Package
28 April, 1998
At the Terminal, Continued
Overwriting Opti-Cut will not allow you to overwrite an existing data file with a new file
files unless you type the cross-hatch character (#) in front of the filename (with
no space in between).
Example
By typing:
#myrun1
If Opti-Cut suggests a default filename that you want to re-use, you merely
have to type the # character.
The # character does not form part of the filename.
Note: on some UNIX systems # is set up as the erase key. If this is the case
on your system, please redirect erase to some other key.
Exiting from a PC
program To exit from a program on a PC, hold down the Control key (Ctrl) and type
the letter C.
Where you have not yet typed a response, you will then need to press the
Enter key ().
UNIX
Under UNIX, the command for exiting a program varies as it is usually set up
by the user. However, as a starting point we suggest that you try Ctrl C or
Ctrl Y.
Terminating the Optimization Program
There is a special arrangement for terminating the Optimization Program
during an optimization run. To terminate an optimization run, press the
Escape (ESC) key.
41
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Files
This section contains a description of each of the files that you will use.
See page 82 for the detailed layouts of those files that you may have to work
on.
File types The types of files used by Opti-Cut are explained below.
42
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Files, Continued
43
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Files, Continued
44
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Files, Continued
45
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Print files Print files are files in which the different programs store the results of their
runs.
These files can be viewed by the user.
Opti-Cut has a different print file extension for each of the main programs.
Here is a list of default print file extensions.
- or -
from the Command Line.
The following table shows how you can view or print out a print file from the
Command Line.
On a PC On UNIX
To view a print file, type: To view a print file, type:
EDIT <filename and extension> more <filename and extension>
- or - - or -
TYPE <filename and extension> | pg <filename and extension>
MORE
46
Part 2: Programs in the Opti-Cut Package
28 April, 1998
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.
Opti-Cut has a different log file extension for each of the main programs.
Here is a list of default log file extensions.
For more information about using log files, see page 141.
Filenames and Opti-Cut has special facilities for handling filenames and extensions, to
extensions minimize data entry.
As programs are run, the filenames and the extensions used are recorded in the
initialization file, oc.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, Opti-Cut will add the default
extension for a file of that type.
If Opti-Cut adds an extension to a filename, it will match the alphabetic
case of the extension to the case of the last alphabetic character in the
name.
If you want to make sure the filename has no extension, you should end it
with a full stop (.).
47
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Files, Continued
Naming files As you control the names of many of the files created by the Opti-Cut
programs, the following may be useful when choosing names for those files.
Use a project name or code and series number
Opti-Cut 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
Under DOS, filenames are currently limited to 8 characters.
For both DOS and UNIX there is an overall limit of 50 characters in
Opti-Cut for the filename and any directory path name.
Opti-Cut uses filename extensions to distinguish the different types of files.
See page 42 for more information.
Alphabetic case
Note: Opti-Cut can handle filenames containing upper and lower case
alphabetic characters. This is particularly relevant for UNIX computers,
where it is usual to use lower case letters.
48
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Getting the Most out of the Package
Minimum The following table sets out the minimum you have to do to find a life-of-mine
required cut-off strategy, using Opti-Cut.
Stage Description
1. Prepare a description of the material you plan to mine, and the
sequence in which you plan to mine it. This should be in the form
of a Sequence Text File.
2. Run the Sequence Input Program to create a Sequence Binary File.
3. Prepare a description of the economic conditions under which you
expect to operate, in the form of an Economics Text File.
4. Run the Economics Input Program to create an Economics Binary
File.
5. Run the Optimization Program to optimize the cut-offs.
6. Run the Print Results Program to print the results of the
optimization detailing:
cut-offs
tonnages
grades
cash flows, and,
discounted cash flows
to a print file.
49
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Getting the Most out of the Package, Continued
Getting the Unfortunately, the simple approach described above is unlikely to lead to the
most out of the best solution. This is because no allowance is made for experimentation or for
package sensitivity work.
Consider the following ideas.
Merging Some Sequence files, particularly those created by Four-D and Four-X,
increments contain a large number of small increments. Opti-Cut treats each of these
and/or periods increments as a separate entity which must be completely mined and processed
before the rest is started. Because of this, Opti-Cut is unable to balance the
throughputs between increments.
For example, if increment A is all waste and increment B is all ore, Opti-Cut
will apply the mining throughput limit to A and leave the processing mill idle.
It will then apply the processing limit to B and leave the mining fleet
under-utilised.
The effect can be reduced by combining a collection of small increments into
larger increments, using the Compaction Program.
You should aim for the largest increment which would still allow you sufficient
day-to-day scheduling flexibility to enable you to maintain steady streams of
ore and waste.
Compacting If the Sequence Text File or Sequence Binary File contains a large number of
point grades point grades, as distinct from grade ranges, use the Compaction Program to
combine the point grades into small grade ranges.
This will have almost no discernible effect on the accuracy of the optimization.
However, it can reduce the size of the Sequence Binary File, and this will
greatly reduce the optimization time.
Note: both merging increments and compacting point grades can be done in
one run of the Compaction Program.
50
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Getting the Most out of the Package, Continued
Economics Text After the first run through, there are a number of different options in the
File options Economics Text File that you should experiment with.
In particular you should look at the following:
Using stockpiles.
Varying some of the major economic values, such as price, to see if the
cut-offs are sensitive to such changes.
Each trial will involve changing the Economics Text File, then re-running the:
Economics Input Program
Optimization Program, and,
Print Results Program.
You can run them individually, or use the Batch Processing Program to
automate the procedure.
Balancing the Check the actual rock and process values and compare them with the
project throughput limits to see how balanced the load is over the life of the project.
Are there any items you can change to achieve a better balance?
Will contract mining help in the first few years?
What effect do these activities have on the NPV?
51
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Getting the Most out of the Package, Continued
Sensitivity As with any results from an optimization process, you need to get a feel for the
analysis stability of the results with changing circumstances (economics, mining
schedule and throughput limits).
A small change in an input parameter or value that produces a large change in
the resultant NPV identifies that parameter or value as very significant when
assessing the risks associated with the project.
Conversely, a large change in an input parameter or value that produces a
small change in the resultant NPV identifies that parameter or value as a lower
risk attribute.
You should plan runs that include the best and worst circumstances that are
likely with the mine. It is obvious that changing prices and costs will affect the
NPV of the mine, but varying these parameters in multiple runs will give you a
feel for how much these parameters will affect NPV. The same is true for
throughput limits.
If you are using Four-D or Four-X to produce the mining sequence for
Opti-Cut, then you should get it to produce two Sequence Text Files. One
should be based on a best case mining sequence, and the other should be based
on a worst case mining sequence.
Finally, you should include at least one optimization by period and one by
interval (where all other aspects are kept constant) to see if there are any
sensitivities associated with holding cut-offs constant over a period or an
interval.
For more For more information about getting the most out of the package, see Part 4:
information Techniques, starting on page 136.
52
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Chapter 2: The Programs
Overview
In this chapter This chapter describes the programs in detail. It contains the following topics.
Acknowledge- The clip art included in this chapter is provided by permission of CorelDraw
ment Corporation, 1996. All rights reserved.
53
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Sequence Input Program (OCSE)
Files created
Print file - default file extension .prs.
Sequence
Text File
OCSE
Sequence
Binary File
Print File
54
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Sequence Input Program (OCSE), Continued
Process The Sequence Input Program reads and checks the Sequence Text File. It
reports any errors or inconsistencies:
on the screen, and,
in the print file.
If errors are reported, they should be corrected, and the Sequence Input
Program should be re-run.
If no errors are found, the Sequence Input Program creates the Sequence
Binary File.
Note: if the Sequence Binary File is re-created after an Economics Binary File
has been created, the Economics Binary File must also be re-created, even if
the Economics Text File is unchanged. Opti-Cut checks that this rule is
adhered to.
55
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Sequence Input Program (OCSE), Continued
Report The Sequence Input Program produces a summary report in the print file that
shows, for each increment, the:
tonnage by rock-type
minimum, average and maximum grade of each element present, and,
number of point grade groups.
This information can be useful in determining whether to compact the
Sequence Binary File with the Compaction Program (see page 60 for more
information).
Naming files
For guidelines on the naming of files, see page 48.
Default filenames and extensions
For more information about default filenames and extensions,
see pages 42 - 47.
Accepting/editing/overwriting defaults
For more information about:
Accepting default answers, see page 39.
Editing default answers, see page 40.
Overwriting files, see page 41.
File types
For more information about:
Sequence Text Files, see pages 42 and 83.
Sequence Binary Files, see page 43.
Print files, see page 46.
Tutorials and For practice in using the Sequence Input Program, see:
exercises
Tutorial 1 - A Simple Run Through of the Main Programs, starting on page
189.
Tutorial 2 - Four-D and Four-X Interfaces and Sequence Compaction,
starting on page 222.
56
Part 2: Programs in the Opti-Cut Package
28 April, 1998
List Details Program (OCLD)
Files created
Print file - default file extension .prl.
57
Part 2: Programs in the Opti-Cut Package
28 April, 1998
List Details Program (OCLD), Continued
Process After checking the validity of the Sequence Binary File, the List Details
Program prints details of the sequence, increments and groups.
Report The List Details report in the print file contains more detailed information than
is provided in the Sequence Input print file.
The print file created by the List Details Program is not required in the running
of optimizations but it has been included to allow the user to check all the
details in the Sequence Binary File.
58
Part 2: Programs in the Opti-Cut Package
28 April, 1998
List Details Program (OCLD), Continued
Naming files
For guidelines on the naming of files, see page 48.
Default filenames and extensions
For more information about default filenames and extensions,
see pages 42 - 47.
Accepting/editing/overwriting defaults
For more information about:
Accepting default answers, see page 39.
Editing default answers, see page 40.
Overwriting files, see page 41.
File types
For more information about:
Sequence Binary Files, see page 43.
Print files, see page 46.
59
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Compaction Program (OCCO)
Deciding As Opti-Cut can, if you wish, produce new cut-offs for the start of every
whether to use increment and period, it may be inconvenient to have increments which would
the Compaction take a month or less to mine. This is because, for operational reasons, you do
Program not want to change cut-offs too frequently. Also, throughputs can not be
balanced across increments, as is explained on page 50.
The Sequence Input Program print file provides details of the tonnage of each
increment, and you can decide whether to combine them.
The Sequence Input Program print file also gives the number of groups which
have point grades, and you can use this information to decide whether to
combine them into grade distributions. As a rule of thumb, if you have more
than, say, 2,000 point grade groups, you should combine them.
Compaction is especially recommended when using files created by Four-D
and Four-X. This is because Four-D and Four-X produce Opti-Cut files with
increments which may be inconveniently small. These files also contain many
groups with point grades. This is because each Four-D or Four-X parcel
becomes an Opti-Cut group.
60
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Compaction Program (OCCO), Continued
Files created
Print file - default file extension .prc.
Compacted Sequence Binary File - default file extension .sbi.
OR
Print File
Sequence
Binary File
Using a The question of whether to compact a Sequence Text File or Sequence Binary
Sequence Text File is particularly relevant when it comes to compacting point grades. This is
File or a because Sequence Binary Files contain summary point grade information that
Sequence Sequence Text Files do not.
Binary File
This means that if you are unsure about the grade ranges you want, you
should first create a Sequence Binary File so that the Sequence program can
provide the grade ranges for you.
On the other hand, if you know what point grades you want to compact into
grade ranges, you can use a Sequence Text File, without the intermediate step.
61
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Compaction Program (OCCO), Continued
62
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Compaction Program (OCCO), Continued
Procedure (continued)
information, press:
to accept the default [Y]
Prompt Action
Please enter the Type in the grade
grade
discrimination discrimination for
for each element each element.
Do not want to compact the grade
information, type:
N
What happens
The program will:
validate the Sequence file, and then,
create a compacted Sequence Binary File and a print file.
63
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Compaction Program (OCCO), Continued
Process: If you are combining small increments into larger ones, the Compaction
combining Program does this first. It places each new increment boundary at the nearest
increments existing increment boundary to the desired tonnage boundary.
This is illustrated in the following diagram.
Old
Desired
New
Note: the Compaction Program does not split increments to get closer to the
desired targets.
Process:
When combining point grades into grade ranges, the Compaction Program
combining point
grades
accumulates the tonnages and element quantities of the point grades into a
series of slots of the required grade width.
Those slots which contain any material are converted into groups with the
required grade range and average grade. This accumulation is done separately
for each type of rock within each new increment. Groups which already have
a grade range are unaltered.
Combining point grades into grade ranges cannot introduce an error in the
optimized cut-offs of more than half the width of each grade range. In
practice, the error will usually be a very small portion of that.
Output and Finally the new, compacted Sequence Binary File is created.
report
The Compaction Program also produces a report which is located in the
print file.
64
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Compaction Program (OCCO), Continued
Naming files
For guidelines on the naming of files, see page 48.
Default filenames and extensions
For more information about default filenames and extensions,
see pages 42 - 47.
Accepting/editing/overwriting defaults
For more information about:
Accepting default answers, see page 39.
Editing default answers, see page 40.
Overwriting files, see page 41.
File types
For more information about:
Sequence Text Files, see pages 42 and 83.
Sequence Binary Files, see page 43.
Print files, see page 46.
65
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Economics Input Program (OCEC)
Files created
Print file - default file extension .pre.
Sequence
Binary File Print File
66
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Economics Input Program (OCEC), Continued
Process The Economics Input Program checks the validity of the Sequence Binary File
and then reads and checks the Economics Text File.
It reports, on the screen and in the print file, any errors or inconsistencies.
If errors are reported, they should be corrected and Economics Input Program
should be re-run.
If no errors are found, the Economics Input Program creates an Economics
Binary File.
67
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Economics Input Program (OCEC), Continued
Report The print file contains a listing of the raw input data and a schedule of the
economic data by period. Any changes from period to period are highlighted
with the symbol !.
Naming files
For guidelines on the naming of files, see page 48.
Default filenames and extensions
For more information about default filenames and extensions,
see pages 42 - 47.
Accepting/editing/overwriting defaults
For more information about:
Accepting default answers, see page 39.
Editing default answers, see page 40.
Overwriting files, see page 41.
File types
For more information about:
Sequence Binary Files, see page 43.
Print files, see page 46.
Economics Text Files, see pages 43, 51 and 94.
Economics Binary Files, see page 44.
Tutorials and For practice in using the Economics Input Program, see:
exercises
Tutorial 1 - A Simple Run Through of the Main Programs, starting on page
189.
Tutorial 2 - Four-D and Four-X Interfaces and Sequence Compaction,
starting on page 222.
68
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Optimization Program (OCOP)
Files created
Print file - default file extension .pro.
Economics
Print File
Binary File
Print File
Note: the corresponding Sequence Binary File must be in your working directory.
69
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Optimization Program (OCOP), Continued
70
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Optimization Program (OCOP), Continued
Procedure (continued)
What happens
The program will:
Check the validity of the:
- Economics Binary File, and,
- Sequence Binary File.
Then:
If you have chosen to optimize by period:
- Find the marginal cut-off(s) for each period. These maximize the
cash flow.
- Find the optimized cut-offs for each period. These maximize the NPV.
If you have chosen not to optimize by period:
- Find the marginal cut-off(s) for each interval. These maximize the
cash flow.
- Find the optimized cut-offs for each interval. These maximize the
NPV.
It will then create a Result Binary File and a print file.
Note: to exit from the Optimization Program during a run, press the Escape
(ESC) key.
Period
A period is a time interval to which particular economics and throughput limits
apply. Periods are usually years or quarters.
Period lengths are determined by the Period Length Line (PL) in the
Economics Text File, see page 99, for more information.
If you choose not to optimize by period, Opti-Cut will assume you want to
optimize by interval. The term, interval, is explained below.
71
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Optimization Program (OCOP), Continued
Increment
Increments are defined by the Sequence file.
Usually, each increment:
contains different quantities of material, and,
takes a different amount of time to mine and process.
Interval
We use the term interval to describe time intervals which end wherever a
period or an increment ends.
Example
Periods
Increments
Intervals
Time
72
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Optimization Program (OCOP), Continued
Process Stages
The optimization has two stages:
1. The program calculates the marginal cut-offs.
This maximizes the cash flow as opposed to the NPV.
- Then -
2. It optimizes cut-offs to maximize NPV.
This provides a comparison between the NPV from the maximized cut-offs
and the cash flow from the marginal cut-offs.
Progress
While the program is performing the optimization, it displays a progress bar
which:
indicates that the program is still active, and,
gives an indication of the length of time it has taken for the current iteration.
Progress:..!...................................................................
The position of the ! counts the number of times the cursor has passed
along the line of dots.
73
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Optimization Program (OCOP), Continued
Process: NPV The Optimization Program calculates the NPVs for a number of
discount modes discount modes.
These modes are described below.
Mode Description
Mode=1 NPV is determined on the assumption that:
Period-based capital injections occur at the start of the period.
Increment-based capital injections occur at the start of the
increment.
Other cash flows occur continuously throughout the interval,
as though each days cash flow was discounted with the
fraction for that day.
Mode=2 NPV is determined on the assumption that:
All cash flows occur at the start of the period.
Mode=3 NPV is determined on the assumption that:
All cash flows occur at the end of the period.
Note: Mode=3 is the default mode for reporting.
Mode=4 NPV is determined on the assumption that:
All capital injections occur at the start of the period.
Other cash flows occur at the end of the period.
Mode=5 NPV is determined on the assumption that:
Period-based capital injections occur at the start of the period.
Increment-based capital injections occur at the start of the
increment.
Other cash flows occur at the end of the interval.
74
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Optimization Program (OCOP), Continued
Naming files
For guidelines on the naming of files, see page 48.
Default filenames and extensions
For more information about default filenames and extensions,
see pages 42 - 47.
Accepting/editing/overwriting defaults
For more information about:
Accepting default answers, see page 39.
Editing default answers, see page 40.
Overwriting files, see page 41.
File types
For more information about:
Sequence Binary Files, see page 43.
Print files, see page 46.
Economics Binary Files, see page 44.
Optimization techniques
For more information about:
How the optimization is achieved, see page 263.
75
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Print Results Program (OCPR)
Note: although the Print Results Program does not ask for them by name, it
uses the Sequence Binary File and the Economics Binary File, so they must
still be present in the working directory.
Spreadsheet Definition File - default file extension .ssd - if spreadsheet
output is required.
Files created
Print file - default file extension .prp.
Economics
Binary File
et
Sprea dshe e Spreadsheet
Definition Fil Output File
76
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Print Results Program (OCPR), Continued
77
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Print Results Program (OCPR), Continued
Procedure (continued)
78
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Print Results Program (OCPR), Continued
Procedure (continued)
- and -
if you have requested spreadsheet output, it will create a Spreadsheet
Output File.
79
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Print Results Program (OCPR), Continued
Process Using the cut-offs from the Result Binary File, the program simulates the life
of the mine, and prints a summary of the operation:
for each interval or period, and,
in total.
The Print Results Program gives details of the economic values, tonnages,
production and discounted cash flows. At the same time, it produces any
spreadsheet data that you have requested.
The run time of this program is very short, so that it can easily be re-run with
different Spreadsheet Definition Files or alternate reporting selections.
Re-optimization is not required.
Report A report, containing details of the Print Results Program run, is located in the
print file.
80
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Print Results Program (OCPR), Continued
Naming files
For guidelines on the naming of files, see page 48.
Default filenames and extensions
For more information about default filenames and extensions,
see pages 42 - 47.
Accepting/editing/overwriting defaults
For more information about:
Accepting default answers, see page 39.
Editing default answers, see page 40.
Overwriting files, see page 41.
File types
For more information about:
Print files, see page 46.
Result Binary Files, see page 44.
Spreadsheet Definition Files, see pages 44 and 117.
Spreadsheet Output Files, see pages 45 and 132.
Tutorials and For practice in using the Print Results program, see:
exercises
Tutorial 1 - A Simple Run Through of the Main Programs, starting on page
189.
Tutorial 2 - Four-D and Four-X Interfaces and Sequence Compaction,
starting on page 222.
Tutorial 3 - Using a Stockpile, starting on page 237.
81
Part 2: Programs in the Opti-Cut Package
28 April, 1998
Part 3: Detailed File Formats
Overview
Introduction This section details the following text files used by Opti-Cut:
Sequence Text Files.
Economics Text Files.
Spreadsheet Definition Files.
Spreadsheet Output Files.
Text file There are limits to the numbers of various types of items that can be included
limitations in these text files.
See page 268 for details of these limits.
82
Part 4: Techniques
28 April, 1998
Chapter 1: Sequence Text File
Overview
83
Part 4: Techniques
28 April, 1998
Background Information
Description Sequence Text Files (default file extension .stx) are text files that describe
the physical resource and the proposed mining sequence.
In other words, they describe the material to be mined, in the sequence in
which you plan to mine it.
The Compaction Program can compact the increments and/or point grades
in a Sequence Text File. See page 60 for more information.
This reduces:
- the size of the file, and,
- the time taken for an optimization.
84
Part 4: Techniques
28 April, 1998
The Way the Sequence Text File Describes the Physical
Resource
Lines in the The Sequence Text File is made up of a number of lines of text, each
Sequence Text describing certain aspects of the physical resource.
File.
In particular, they describe:
The increments in the physical resource, in the sequence in which they are to
be mined.
The groups in each increment.
Each group has:
- a rock-type,
- a tonnage, and,
- for each element in that rock-type, a grade range and an average grade or
just a single point grade.
The terms, sequence, increment and group are explained below.
Definition: Sequence
Sequence,
increment,
A sequence is defined as the material which is to be mined, in the order in
group which it is to be mined.
A sequence consists of one or more increments, each in turn consisting of a
number of groups.
The following diagram illustrates the relationship between a sequence, and a
series of increments and groups.
Increment 1 Groups
Increment 2
Sequence
Increment 3
85
Part 4: Techniques
28 April, 1998
The Way the Sequence Text File Describes the Physical
Resource, Continued
Increment
In this context, an increment is a particular section, phase or cut-back of the
mine.
It will usually contain sufficient tonnage to satisfy at least a few months'
production. Increments should appear in the sequence in which they will be
mined. Opti-Cut makes no attempt to modify this sequence.
If only a fraction of a particular increment is mined during a particular time
period, the same fraction of each part of it is assumed to be mined. This is not
how mining takes place in practice, but doing the optimization in this way has
no appreciable effect on the cut-offs.
Group
Each increment consists of a number of groups which, collectively, describe
the types of rock and grade distributions in the increment. Depending on the
amount of detail available about the grade distributions, there may be anything
from a handful, to tens of thousands of groups in an increment.
Each group has a rock-type, a tonnage and, for each element in that rock-type,
a grade range and an average grade or a point grade. Each group can also
carry positional cost adjustment factors for mining and processing costs.
86
Part 4: Techniques
28 April, 1998
Sequence Text File Layout
Order Line types must adhere to a certain order in the Sequence Text File.
The order is as follows:
Sequence Description Line.
One or more Element Lines.
One or more rock-type definitions, consisting of:
- A Rock-type Line.
- Zero or more Element Presence Lines.
One or more increments, consisting of:
87
Part 4: Techniques
28 April, 1998
Sequence Text File Layout, Continued
Example
88
Part 4: Techniques
28 April, 1998
Lines in Detail
Layout Definition
Sequence SEQ <Description> <Description>
Description Up to 56 characters to describe the sequence. The
Line description is optional.
(SEQ)
Example: SEQ Simple single element sequence - 1 increment
Layout Definition
Element Line EL <Element code> <Element code>
<Decimals-grade>
(EL) <Decimals-total> A code to identify an element.
<Decimals-grade>
The number of decimal places to use when displaying
grades of this element.
A maximum of 4 decimal places is allowed.
<Decimals-total>
The number of decimal places to use when displaying
totals of units of this element. Note that scaling is
allowed here.
Example: EL GOLD 2
Layout Definition
Rock-type Line RO <Rock-type code> <Rock-type code>
(RO) A code to identify a type of rock.
Example: RO WASTE
89
Part 4: Techniques
28 April, 1998
Lines in Detail, Continued
Layout Definition
Element ELP <Element code> <Element code>
Presence Line This element code represents an element that occurs in
(ELP) the type of rock identified by the previous Rock-type
Line.
(optional)
This must be a previously defined element code.
Example: ELP GOLD
Layout Definition
Increment IN <Description> <Description>
Description Up to 56 characters to describe the increment. The
Line description is optional.
(IN)
Example: IN 1 Top
Layout Definition
Group Header GR <Rock-type code> <Tonnage> <Rock-type code>
Line
<Mining CAF> <Processing CAF>
A rock-type code, defined above.
(GR) <Tonnage>
The total tonnage of the group.
<Mining CAF>
The ratio between the cost of mining at the position in
the mine of this group, and the cost at the Reference
Position.
<Processing CAF>
The ratio between the cost of processing at the position
in the mine of this group, and the cost at the Reference
Position.
Example: GR ORE 1000
90
Part 4: Techniques
28 April, 1998
Lines in Detail, Continued
Layout Definition
Element ELA <Element code> <Element code>
<Average grade>
Average The code of the element for the rock-type of this group.
(point grade) <Average grade>
Line The average grade of this element.
(ELA)
Example: ELA GOLD 3.7
Layout Definition
Element Range ELR <Element code>
<Element code>
Line <Minimum grade> The code of the element for the rock-type of this group.
<Average grade>
(ELR) <Maximum grade> <Minimum grade>
The minimum grade of this element.
<Average grade>
The average grade of this element.
<Maximum grade>
The maximum grade of this element.
If more than one element is involved, it is assumed that there is no significant
correlation between the grades of the different elements within the range of grades in
the group.
Example: ELR GOLD 0.0 0.5 1.0
91
Part 4: Techniques
28 April, 1998
Sequence Text File Guidelines and Examples
Rules and Please note the following rules when creating Sequence Text Files.
guidelines
Items on a line should be separated by one or more spaces.
Individual lines are limited to 128 characters, but you can end any line with
an ampersand (&) and continue it on the next line.
Codes can contain from 1 to 8 characters, starting with an alphabetic
character. Alphabetic case is not significant.
Numeric values can immediately be followed by:
- a k, indicating thousands, or,
- an m, indicating millions.
Example: 1200, 1.2k and 0.0012M all give the same value.
The alphabetic case of these letters is unimportant.
Comment lines starting with !, and blank lines, can appear anywhere in the
file.
In-line comments can be appended to any line. The comment starts with !
and any further information on the line is ignored.
SEQ <Description>
EL <Element code> <Decimals>
RO <Rock-type code>
ELP <Element code>
RO <Rock-type code>
IN <Description>
GR <Rock-type code> <Tonnage> <Mining CAF> <Processing CAF>
GR <Rock-type code> <Tonnage> <Mining CAF> <Processing CAF>
ELR <Element code> <Minimum grade> <Average grade> <Maximum grade>
GR <Rock-type code> <Tonnage> <Mining CAF> <Processing CAF>
ELR <Element code> <Minimum grade> <Average grade> <Maximum grade>
GR <Rock-type code> <Tonnage> <Mining CAF> <Processing CAF>
ELA <Element code> <Average grade>
92
Part 4: Techniques
28 April, 1998
Sequence Text File Guidelines and Examples, Continued
! Description
SEQ Simple single element sequence - 1 increment
! Product code and decimal places for display
EL GOLD 2
! Rock type information
RO ORE
ELP GOLD
RO WASTE ! waste has no elements
IN ! start of increment
GR WASTE 3000
GR ORE 1000
ELR GOLD 0.0 0.5 1.0
GR ORE 2000
ELR GOLD 1.0 1.6 2.0
GR ORE 100
ELA GOLD 3.7
This example uses the example structure above. Items in angle brackets have
been replaced with appropriate codes or values and comment lines (!) have
been added.
93
Part 4: Techniques
28 April, 1998
Chapter 2: Economics Text File
Overview
94
Part 4: Techniques
28 April, 1998
Background Information
Description Economics Text Files (default file extension .etx) are text files that carry
detailed information about an economic scenario and how the optimization is
to be done.
The programs The Economics Text File is used by the Economics Input Program to create an
that use the Economics Binary File.
Economics Text
File The Economics Text File must be converted into an Economics Binary File
before optimization. The Economics Input Program checks the file in detail
during the conversion.
Note: the Economics Input Program requests the name of the relevant
Sequence Binary File when creating an Economics Binary File. This is
because economic data, such as prices and costs, must be interpreted in
relation to the rock-types and elements described in a Sequence Binary File.
The resultant Economics Binary File contains a reference to the Sequence
Binary File.
95
Part 4: Techniques
28 April, 1998
Economics Text File Layout
Order Line types must adhere to a certain order in the Economics Text File.
The order is as follows:
Economics Line.
Zero or one Terminal Value Lines.
Zero or more Expression Variable Lines.
Period Length Line.
Discount Line.
- A Method/Rock-type Line.
- One or more Method/Rock-type/Product Lines.
- Zero or more Method/Rock-type/Cut-off Lines.
Zero or more Throughput Group Lines.
96
Part 4: Techniques
28 April, 1998
Economics Text File Layout, Continued
Values
Lines may also contain values.
The types of values that can occur in the Economics Text File are:
Constants.
Values which vary with period.
Expressions, containing constants and expression variables.
Expressions, containing constants, expression variables and element grades.
Expressions, containing constants, expression variables and quantities for an
interval.
These values are referred to as allowed value types.
See page 109, for more information.
97
Part 4: Techniques
28 April, 1998
Lines in Detail
Note also: Items in angle brackets < >, should be replaced by appropriate
codes or values. The angle brackets should not be included.
Layout Definition
Economics Line ECO <Description> <Description>
(ECO) A description of the economic scenario of up to 56
characters. This description is optional.
Example: ECO Minimum economic conditions - base case
Layout Definition
Terminal Value TV <Terminal Value> <Terminal Value>
Line If only part of a resource is described in the sequence,
(TV) the estimated value of the remainder of the resource
should be given, in todays dollars.
(optional)
Allowed value types: C.
Example: TV 50m
98
Part 4: Techniques
28 April, 1998
Lines in Detail, Continued
Layout Definition
Expression EV <Code for Variable> <Code for Variable>
<Value for Variable>
Variable Line A code for a value that you will use in an expression
later in this file.
(EV)
(optional)
Expression variables are useful for:
ensuring that the same number is used throughout the
file, and,
introducing variations with period into expressions.
<Value for Variable>
Allowed value types: C, P.
Example: EV YEAR 0 p2/1 p3/2 p4/3 p5/4
Layout Definition
Period Length PL <Number of Months> <Number of Months>
Line The number of months must be a whole number.
(PL) No decimal places.
Allowed value types: C, P, X.
Example: PL 12
Layout Definition
Time Costs TC <Time Unit> <Time Costs> <Time Unit>
Line A if time cost figures are per annum.
(TC) M if time cost figures are per month.
<Time Costs>
The costs which are time, rather than tonnage,
dependent.
Allowed value types: C, P, X.
Example: TC A 1.5m
99
Part 4: Techniques
28 April, 1998
Lines in Detail, Continued
Layout Definition
Capital CI <unit> <Period or <Unit>
P if the capital injection is at the start of a period.
Increment Number> <Amount>
Injection Line
(CI) I if the capital injection is at the start of an
(optional) increment.
<Period or Increment Number>
The number of the period or increment in which the
capital injection is to take place. Use 0 for
initial capital expenditure.
If there is more than one Capital Injection Line, they
must be in the order of increasing period or increment
number.
Note: you cannot have increment zero.
<Amount>
Allowed value types: C.
Example: CI 0 16m
Layout Definition
Inflation Line IN <Rate per Annum> <Rate per Annum>
(IN) The percentage inflation rate per annum.
(optional) This is used for reporting purposes only. Prices and
costs must still be given in constant dollars.
Allowed value types: C, P, X.
Example: IN 5
Layout Definition
Discount Line DI <Rate per Annum> <Rate per Annum>
(DI) The percentage discount rate per annum.
Allowed value types: C, P, X.
Example: DI 10
100
Part 4: Techniques
28 April, 1998
Lines in Detail, Continued
Layout Definition
Product Line PR <Element code> P <Element code>
<Price per Unit>
The code of an element which is a product.
(PR)
PR <Element code> S <Price per Unit>
<Sales Cost per Unit>
The price obtainable for a unit of this product.
Allowed value types: C, P, X.
<Sales Cost per Unit>
The cost of selling a unit of this product. Optional.
Allowed value types: C, P, X.
Example: PR GOLD P 445.00
Layout Definition
Element Line EL <Element code> <Decimals> <Element code>
The code of an element to which cut-offs are to apply.
(EL)
<Decimals>
The number of decimal places to use when displaying
grades of this element. A maximum of 4 decimal places
is allowed.
Allowed value types: C.
This also sets the discrimination - that is, the smallest
difference in grade which is significant for this element.
If this field is omitted, then the value in Element Line in
the Sequence Text File is used.
Example: EL GOLD 0.01
101
Part 4: Techniques
28 April, 1998
Lines in Detail, Continued
Layout Definition
Rock-type Line RO <Rock-type code> M <Mining <Rock-type code>
Cost>
Any rock-type code.
(RO) RO <Rock-type code> E
<Environmental Cost> <Mining Cost>
RO <Rock-type code> L The cost of mining a tonne of this type of rock if it is at
the Reference Position.
Allowed value types: C, P, X, G - ground.
<Environmental Cost>
The cost of rehabilitating a tonne of this type of rock if
it is not processed. Optional.
Allowed value types: C, P, X, G - waste grade.
L
L indicates that this type of rock is used in an
underground operation, where material that will not be
processed is left in the ground.
Mining costs for unprocessed material will therefore be
zero.
Example: RO ORE M 1.65
Layout Definition
Rock-type ROC <Element code> Y <Element code>
Element Cut-off or The code of an element.
Line This line identifies whether this element for this
ROC <Element code> N
(ROC) rock-type:
is (Y) (optional), or
is not (N)
included in the list of cut-offs.
If this line is omitted for this rock-type/element
combination, then this rock-type/element combination is
included in the cut-offs.
Example: ROC CU N
102
Part 4: Techniques
28 April, 1998
Lines in Detail, Continued
Layout Definition
Method/ MT <Method code> <Method code>
<Rock-type code> <Processing
Rock-type Line Cost> A code which identifies a particular processing method.
(MT) <Rock-type code>
Any rock-type code. This specifies that the particular
rock-type can be processed by this method.
<Processing Cost>
The cost of processing a tonne of this rock-type, by this
method.
Allowed value types: C, P, X, G - input grade.
Note: if more than one processing method is available
for a particular rock-type, processing methods must be
specified in the order in which they are to be used.
Example: MT MILL ORE 16.50
Layout Definition
Method/ MTP <Product code> R
<Recovery Percentage>
<Product code>
Rock-type/ The code for a product which is in the above rock-type.
Product Line MTP <Product code> N
<Non-linearity Threshold>
<Recovery Percentage>
(MTP) The percentage of this product which is recovered when
the current rock-type is processed, by the current
method.
Allowed value types: C, P, X, G - input grade.
<Non-linearity Threshold>
The recovery non-linearity threshold for this product,
when the current rock-type is processed by the current
method. Optional.
Allowed value types: C, P, X.
Example: MTP GOLD R 94.0
103
Part 4: Techniques
28 April, 1998
Lines in Detail, Continued
Layout Definition
Method/ MTC <Element code> I <Element code>
<Minimum Cut-off>
Rock-type/ A code for an element (already defined) pertaining to
Cut-off Line MTC <Element code> A the current rock-type.
<Maximum Cut-off>
<Minimum Cut-off>
(MTC)
The lowest allowable cut-off for this element when the
(optional) current rock-type is processed by the current method.
Allowed value types: C, P, X.
<Maximum Cut-off>
The highest allowable cut-off for this element when the
current rock-type is processed by the current method.
Allowed value types: C, P, X.
See pages 113, 172, 183, 184 for a discussion of
user-supplied cut-offs and of the pitfalls of not allowing
Opti-Cut to find its own cut-offs.
Example: MTC Gold I 30 P3/0
Layout Definition
Throughput TG <Throughput Group code> <Throughput Group code>
<Throughput Def.>
Group Line A code to identify a quantity which is to be limited
during each period.
(TG)
<Throughput Def.>
An expression involving quantities.
Provision value types: Q.
Note: the throughput group, ROCK, is already defined
in the program and does not need to be defined here.
Example: TG MILL OREA.Q/1.05 + OREB.Q
104
Part 4: Techniques
28 April, 1998
Lines in Detail, Continued
Layout Definition
Throughput TL <Code> <Time Unit> <Code>
<Throughput Limit>
Limit Line A code that identifies an item which is to be limited in
each period. This can be an element, rock-type,
(TL)
method, or Group code.
There is also a pre-defined code, ROCK, which is the
total of all material mined.
<Time Unit>
A if throughput limits are per annum.
M if throughput limits are per month.
<Throughput Limit>
The maximum that this particular throughput must not
exceed.
Allowed value types: C, P, X.
Example: TL ROCK A 1.4m
105
Part 4: Techniques
28 April, 1998
Lines in Detail, Continued
Layout Definition
Global Mining MF D <Mining Dilution Factor> <Mining Dilution Factor>
Factors Line MF R <Mining Recovery Factor> When ore is mined, it is common for it to be diluted by
MF S extra waste. This factor gives the increase in ore
(MF) <Mining Stockpile Factor> tonnage overall. It must be greater than, or equal to,
(optional)
MF SL 1.0.
<Global Stockpile Limit>
MF DPRS Allowed value types: C, P, X.
<decimal places Rock small>
<Mining Recovery Factor>
MF DPRL
<decimal places Rock large>
The fraction of the material mined as ore which is
MF DPPS
actually input to the processing mill. This must be less
<decimal places Product than or equal to 1.0.
small>
Allowed value types: C, P, X.
MF DPPL
<decimal places Product <Global Stockpile Limit>
large>
The limit of the sum of all stockpile tonnages.
MF DPVS <decimal places Value
small> Allowed value types: C, P, X.
MF DPVL Once this limit is reached, material that could have been
<decimal places Value large> added to a stockpile is discarded. If material is
consumed from the stockpile after this limit has been
reached, then more material up to the limit, can be
added.
<Mining Stockpile Factor>
Use:
0 where stockpile usage is included in the
rock throughput limit.
1 where stockpile usage is independent of the
rock limit.
Allowed value types: C.
<Decimal places>
These control the way the data is reported in the Print
Results Program. They do not scale the input data.
DPVS (small value)
This can have up to 4 decimal places.
DPRS, DPPS (small values)
These can have up to 8 decimal places.
Note: small values do not have a scaling factor.
DPRL, DPPL, DPVL (large values)
These can have up to 8 decimal places.
They can also have a scaling factor from -1 to -6. This
scales the output data by factors of ten, from 10 to
1,000,000.
Allowed value types: C.
Example: MF S 0
106
Part 4: Techniques
28 April, 1998
Lines in Detail, Continued
Layout Definition
Stockpile Line SP <Rock-type code> <Initial <Rock-type code>
Size> <Re-handling Cost>
The code for any type of rock which contains product.
(SP)
<Initial Size>
(optional)
The initial tonnage of this stockpile.
Allowed value types: C.
<Re-handling Cost>
The cost of re-handling stockpile material when it is
processed. Optional.
Allowed value types: C, P, X.
See page 173 for a detailed discussion of stockpiles.
Example: SP OXID 0 .5
107
Part 4: Techniques
28 April, 1998
Lines in Detail, Continued
Layout Definition
Stockpile Detail SPD <Product code> R
<Recovery Percentage>
<Product code>
Line SPD <Element code> I
Any product code applicable to the rock-type of this
stockpile.
(SPD)
<Minimum Grade>
SPD <Element code> A <Element code>
<Maximum Grade>
Any element code applicable to the rock-type of this
SPD <Element code> G
<Initial Grade>
stockpile.
<Recovery Percentage>
This defines an additional recovery loss, due to
degradation in the stockpile.
For example, if the milling recovery is 90% and the
stockpile recovery is 90%, then the resultant recovery
when stockpile material is processed is 81%.
A stockpile recovery percentage must be defined for
every relevant product.
Allowed value types: C, P, X.
<Minimum Grade>
Material for this element that has a grade below this
figure will not be placed in this stockpile.
Allowed value types: C, P, X.
<Maximum Grade>
Material for this element that has a grade equal to or
above this figure will not be placed in this stockpile.
Optional.
Allowed value types: C, P, X.
<Initial Grade>
The initial grade of this stockpile.
This is only relevant if the initial tonnage in the SP line
is not zero. Optional.
Allowed value types: C.
At least one element must have a minimum grade and
possibly a maximum grade, but it is not necessary to
specify grades for every element in a multi-element
situation.
Grade ranges for stockpiles of the same rock-type must
not overlap. The user should consider the practical
aspects of grade control, and how the material will be
marked and moved to the stockpile(s).
Example: SPD GOLD R 100
SPD GOLD I .025
108
Part 4: Techniques
28 April, 1998
Allowed Value Types and Functions
Introduction This section describes the allowed value types that can be used in an
Economics Text File.
It also describes the arithmetic signs and the various functions, that can be
used when creating an Economic Text File.
Allowed value There are five different ways values can be input into an Economics Text File.
types
These are referred to as allowed value types.
The allowed value types are described in the table below. For more
information about where the various allowed value types can be used in the
Economics Text File, see Lines in Detail on page 98.
109
Part 4: Techniques
28 April, 1998
Allowed Value Types and Functions, Continued
Arithmetic When creating an Economics Text File, the following arithmetic symbols can
symbols be used.
110
Part 4: Techniques
28 April, 1998
Allowed Value Types and Functions, Continued
Functions In addition, you can use certain functions in expressions in an Economics Text
File.
In each case, any argument of a function can be:
a constant, or,
an expression that may include functions to any depth.
Standard Seven standard functions may be used in Economics Text Files. They are
functions described below.
Part 4: Techniques
28 April, 1998
Allowed Value Types and Functions, Continued
Special Two special functions are also available for use in Economics Text Files.
functions These are described below.
Part 4: Techniques
28 April, 1998
Allowed Value Types and Functions, Continued
Problems with The flexibility provided by the use of functions can sometimes lead to
using functions problems.
If, for example, the Optimization Program is presented with two maxima from
which to choose, it can become unstable.
You should, therefore, avoid grade-dependent expressions which can cause the
cash-flow from a group to increase suddenly as the relevant cut-off increases.
For example, a processing cost based on R(GRADE, 20.0, 5, 10.0) would
decrease suddenly if the cut-off increased to the point where the feed grade for
a group was above 5.
113
Part 4: Techniques
28 April, 1998
Economics Text File Guidelines and Examples
Rules and Please note the following rules when creating or editing Economics Text Files.
guidelines
Items on a line should be separated by one or more spaces.
Individual lines are limited to 128 characters, but you can end any line with
an ampersand (&) and continue it on the next line.
Codes can contain from 1 to 8 characters, starting with an alphabetic
character. Alphabetic case is not significant.
Numeric values can immediately be followed by:
- a k, indicating thousands, or,
- an m, indicating millions.
For example: 1200, 1.2k and 0.0012M all give the same value.
The alphabetic case of these letters is unimportant.
Comment lines starting with !, and blank lines, can appear anywhere in the
file.
In-line comments can be appended to any line. The comment starts with !
and any further information on the line is ignored.
Example
ECO <Description>
PL <Number of months>
TC <Time Unit> <Time Costs>
CI <unit> <Period or Increment Number> <Amount>
CI <unit> <Period or Increment Number> <Amount>
DI <Rate per Annum>
PR <Element code> P <Price per unit>
EL <Element code> <Decimals>
RO <Rock-type code> <Mining Cost>
RO <Rock-type code> <Environmental Cost>
MT <method code> <Rock-type code> <Processing Cost>
MTP <Product code> R <Recovery Percentage>
TL <Code> <Time Unit> <Throughput Limit>
TL <Code> <Time Unit> <Throughput Limit>
114
Part 4: Techniques
28 April, 1998
Economics Text File Guidelines and Examples, Continued
! Description
ECO Minimum economic conditions - Base case
! Period length in months
PL 12
! Time costs per annum
TC A 1.5m
! Initial Capital and injection in period three
CI 0 16m
CI 3 2.5m
! Discount rate
DI 10
! Pricing
PR GOLD P 445.00
! Cut-off
EL GOLD 0.01
! Mining & processing costs
RO ORE M 1.65
RO WASTE M 1.65
MT MILL ORE 16.50
MTP GOLD R 94.0
! Throughput limits
TL ROCK A 1.4m
TL MILL A 250k
This example uses the example structure above. Items in angle brackets have
been replaced with appropriate codes or values and comment lines (!) have
been added.
115
Part 4: Techniques
28 April, 1998
Chapter 3: Spreadsheet Files
Overview
116
Part 4: Techniques
28 April, 1998
Section A: Spreadsheet Definition File
Overview
117
Part 4: Techniques
28 April, 1998
Background Information
Description Spreadsheet Definition Files (default file extension .ssd) are text files which
control the data that the Print Results Program outputs to Spreadsheet Output
Files.
How the The Spreadsheet Definition Files are created and modified using a text editor
Spreadsheet or a word processor in pure text mode.
Definition File is
created
The programs The Spreadsheet Definition File is used by the Print Results Program, which
that use the reads:
Spreadsheet
Definition File the Result Binary File, the Sequence and Economics Binary Files, and,
the Spreadsheet Definition File.
Output The Spreadsheet Definition File can specify the following tables of values as
output in the Spreadsheet Output File:
An interval table.
A period table.
A grand totals table.
See Spreadsheet Output File Layout and Format on page 134, for more
information.
118
Part 4: Techniques
28 April, 1998
Spreadsheet Definition File Layout
119
Part 4: Techniques
28 April, 1998
Spreadsheet Definition File Codes
Codes 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.
Keywords The following table lists the various keywords and shows any allowed
attributes for those keywords.
Refer to page 123 for a list of attributes and their meanings.
Note: items in angle brackets < >, should be replaced by appropriate
codes or values. The angle brackets should not be included.
Where items in angle brackets are used in combination, they must be
separated by a full stop (.).
Example: <method>.<type>.<element>
120
Part 4: Techniques
28 April, 1998
Spreadsheet Definition File Codes, Continued
Keywords (continued)
121
Part 4: Techniques
28 April, 1998
Spreadsheet Definition File Codes, Continued
Keywords (continued)
122
Part 4: Techniques
28 April, 1998
Spreadsheet Definition File Codes, Continued
Keywords (continued)
Attribute Description
/C Cash flow.
/CD Cash flow, discounted.
/CO Cut-off/cut-over.
/EN End number of increment.
/EP End percentage of increment used.
/FR Fraction.
/GF Grade of material from the stockpile to processing.
/GG Grade of material in the ground.
/GI Grade of material from the increment to processing.
/GM Grade of material mined.
/GR Grade of material rejected.
/GS Grade of material in the stockpile, at the end of the
period/interval.
/GT Grade of material to the stockpile.
/H Stockpile handling cost.
/HD Stockpile handling cost, discounted.
123
Part 4: Techniques
28 April, 1998
Spreadsheet Definition File Codes, Continued
Attributes (continued)
Attribute Description
/L Throughput or global stockpile limit.
/LM Length of period, in months.
/MA Maximum cut-off.
/MC Unit mining cost.
/MI Minimum cut-off.
/PC Processing cost at the Reference Position.
/PR Price per unit.
/R Total rehabilitation value.
/RC Rehabilitation cost.
/RD Total rehabilitation value, discounted.
/RP Processing recovery percentage.
/RT Processing recovery threshold.
/S Total sales cost.
/SC Sales cost per unit.
/SD Total sales cost, discounted.
/SN Start number of increment.
/SP Start percentage of increment used.
/SR Stockpile recovery percentage.
/TF Tonnes from the stockpile to processing.
/TG Tonnes in the ground.
/TI Tonnes from an increment to processing.
/TM Tonnes mined.
/TR Tonnes rejected from processing or stockpiling.
/TS Tonnes in the stockpile, at the end of a particular
interval or period.
/TT Tonnes input to the stockpile.
/UF Units of an element from the stockpile.
/UG Units of an element in the ground.
124
Part 4: Techniques
28 April, 1998
Spreadsheet Definition File Codes, Continued
Attributes (continued)
Attribute Description
/UI Units of an element from an increment to processing.
/UM Units of an element mined.
/UO Units of an element output from processing.
/UR Units of an element rejected.
/US Units of an element in the stockpile.
/UT Units of an element to the stockpile.
125
Part 4: Techniques
28 April, 1998
Spreadsheet Definition File Guidelines and Examples
Rules and Please note the following rules and guidelines when creating or editing a
guidelines Spreadsheet Definition File.
The data in Spreadsheet Definition Files is not in fixed field positions; only
its order is important.
Comment lines starting with !, and blank lines can appear anywhere in the
file. There can also be in-line comments where !text is appended to a valid
line.
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. See page 127 for an example.
The maximum length of a line in the Spreadsheet Definition File is 80
characters.
The maximum number of codes that can appear in an interval, period or
grand total table is set when the program is compiled.
See page 268 for the current limits.
The user must ensure that enough values are output to identify the source of
the values.
For example, interval and period data will normally include PERIOD.
126
Part 4: Techniques
28 April, 1998
Spreadsheet Definition File Guidelines and Examples,
Continued
In this example:
Gra indicates that the codes which follow are for grand totals.
Rock/tg
- Rock refers to the total material mined - ore and waste, and,
- /tg indicates tonnes in the ground.
Mill/ti
- Mill refers to the processing method used, mill, and,
- /ti indicates tonnes from an increment to processing.
VALUE/CD
- VALUE refers to the cash flow, and,
- /CD indicates discounted cash flow.
MILL.GOLD/UO
- MILL refers to the processing method used, mill
- GOLD indicates the product/element type, gold, and,
- UO indicates the units of gold output from processing.
As you can see, codes can be in upper or lower case, or a mixture of the two.
The application The codes, listed above, give you access to almost every value you could
of spreadsheet want.
codes
If you find their sheer number confusing, you may find it helpful to refer to the
diagrams in the following topic.
127
Part 4: Techniques
28 April, 1998
The 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.
To STOCKPILES From
Stockpiles See Stockpile Details diagram Stockpiles
In this diagram:
128
Part 4: Techniques
28 April, 1998
The Application of Spreadsheet Codes, Continued
Increment This diagram shows all of the codes that can be used in relation to the
details increment stage of mining.
Grade <sp_n>.<e>/GT
Units <sp_n>.<e>/UT
To Stockpiles <e>/UT
Tonnage <sp_n>/TT
<t>/TT
STOCKPILE/L
Increment
GENERAL
Ave mining CAF AVMINCAF
Ave processing CAF AVPROCAF GRADE
Discount rate DISCOUNT <m>.<e>/GG
Increment details INCREMENT/EN/EP/SN/SP <m>.<t>.<e>/GG
Inflation rate INFLATION <t>.<e>/GG
Mine life LIFE
Mining dilution MINDIL To
Mining limit ROCK/L
Mining recovery MINREC Processes
Period length PERIOD
Period number PERIOD/LM
Resource usage % RESUSED
Stripping ratio STRIP TONNAGE
Terminal value TERMINAL <m>/TG
<m>.<t>/TG
<t>/TG
ROCK/TG
UNITS
<m>.<e>/UG
<m>.<t>.<e>/UG
<t>.<e>/UG
Grade <t>.<e>/GR
Rehab rate <t>/RC
Rejected Rehab cost <t>/R/RD LEGEND
Material Tonnage
ROCK/R/RD
<t>/TR
<e>
<m>
element / product
method
Units <t>.<e>/UR <sp_n> stockpile number "n"
<t> rock type
129
Part 4: Techniques
28 April, 1998
The Application of Spreadsheet Codes, Continued
Process details This diagram shows all of the codes that can be used in relation to the
processing stage of mining.
Process
Cut-offs <m>.<t>.<e>/CO/MA/MI
Process method limit <m>/L
Processing costs:total <m>/C/CD
<m>.<t>/C/CD
Processing costs:unit <m>.<t>/PC
Production limit <e>/L
Product price <e>/PR
Recovery <m>.<t>.<e>/RP/RT
Rock type limit <t>/L
Selling total cost <e>/S/SD
Selling unit cost <e>/SC
Cash <m>.<e>/C/CD
<m>.<t>.<e>/C/CD
<t>/C/CD
Product <t>.<e>/C/CD
Output VALUE/C/CD
IRR INTERNAL
Units <e>/UO
<m>.<e>/UO
<m>.<t>.<e>/UO LEGEND
<t>.<e>/UO <e> element / product
<m> method
<sp_n> stockpile number "n"
<t> rock type
130
Part 4: Techniques
28 April, 1998
The Application of Spreadsheet Codes, Continued
Stockpile details This diagram shows all of the codes that can be used in relation to the
stockpiling stage of mining.
Grade <sp_n>.<e>/GT
Tonnage <sp_n>/TT
From <t>/TT
Increments STOCKPILE/L
Units <sp_n>.<e>/UT
<e>/UT
Stockpile
Stockpiles are given a sequential number. The first
stockpile code is sp_1. A stockpile is comprised of a
single ore type but may be multi-element. It has a
minimum cut-off for at least one element and may have
an upper cut-off. Stockpile recovery can be varied over
time (<e>/SR).
Grade <sp_n>.<e>/GS
Tonnage <sp_n>/TS
Units <e>/US
<sp_n>.<e>/US
Grade <m>.<e>/GF
<m>.<t>.<e>/GF
To Processes <t>.<e>/GF
<sp_n>.<e>/GF
Tonnage <m>/TF
<m>.<t>/TF
<t>/TF
<sp_n>/TF
Units <e>/UF
<m>.<e>/UF
<m>.<t>.<e>/UF
<t>.<e>/UF
<sp_n>.<e>/UF
LEGEND
<e> element / product
<m> method
<sp_n> stockpile number "n"
<t> rock type
131
Part 4: Techniques
28 April, 1998
Section B: Spreadsheet Output File
Overview
132
Part 4: Techniques
28 April, 1998
Background Information
Description Spreadsheet Output Files (default file extension .sso) are text files that
contain output from the Print Results Program in a form suitable for
importation into most spreadsheet programs.
How the The Spreadsheet Output File is created by the Print Results Program, using:
Spreadsheet
a Result Binary File, and,
Output File is
created a Spreadsheet Definition File.
Using the The Spreadsheet Output File is used by the customer and input into a
Spreadsheet spreadsheet package.
Output File
This allows for further analysis and plotting of the optimization results.
133
Part 4: Techniques
28 April, 1998
Spreadsheet Output File Layout and Format
Format The format 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, 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 oc.ini
file from StoreSpread=Fixed to one of the two alternatives, above.
A detailed procedure is set out below.
134
Part 4: Techniques
28 April, 1998
Spreadsheet Output File Layout and Format, Continued
Changing the The following table describes the procedure for changing the format of the
format of the Spreadsheet Output File.
Spreadsheet
Output File
Step Action
1. Open and view the oc.ini file using a text editor or word processor.
2. Under the [System] section header, find the line that reads:
StoreSpread=Fixed
If you want to change the format to StoreSpread=Comma, then
edit the text to read:
StoreSpread=Comma
If you want to change the format to StoreSpread=Quote, then
edit the text to read:
StoreSpread=Quote
3. Save the oc.ini file and exit from the text editor or word processor.
135
Part 4: Techniques
28 April, 1998
Spreadsheet Output File Layout and Format, Continued
Intervals:
MILL
OXID MILL
GOLD Rock Mill VALUE GOLD
Period strip /CO /tg /ti /CD /UO
0 0 0 0 0 -18900000 0
1 1.65 0.052 1989903 750000 12150343 62794
2 1.57 0.049 1929552 750000 10826542 61840
3 1.51 0.047 43025 17118 220994 1394
3 1.42 0.047 1774025 732882 6991123 48315
4 1.36 0.044 1771249 750000 6398566 48877
5 1.32 0.042 440806 189946 1454767 12272
5 1.51 0.042 1405785 560054 4150637 35934
6 1.47 0.000 1854854 750000 4994737 47749
7 1.43 0.000 755280 311075 1853257 19599
7 3.02 0.000 1755699 436374 2161138 27540
8 3.02 0.000 2313021 575540 2588409 36296
8 0 0.000 30240 30240 240549 2204
Grand totals:
MILL
Rock Mill VALUE GOLD
Blank strip Blank /tg /ti /CD /UO
136
Part 4: Techniques
28 April, 1998
Part 4: Techniques
Overview
Introduction This part details certain information and techniques that can be used to refine
the optimization and to speed up the process.
In this part This part is divided into the following three chapters.
137
Part 4: Techniques
28 April, 1998
Chapter 1: Auxiliary Files and Computer Techniques
Overview
Introduction Project evaluation can take a lot of time and computer resources when you
consider the optimization, the economic sensitivity analysis and the iterative
nature of the problem.
You may wish to simplify data to improve the processing speed.
Indeed, often with simplified data little accuracy is lost, but substantial gains
can be made in reducing processing times. If it is easy to do another run to
test a theory, then you are more likely to do it, and you will have greater
confidence in the overall accuracy and stability of the final result.
Alternatively, you may wish to prepare sets of runs and leave them to run
unattended or overnight.
Opti-Cut provides several features that will help the user in these situations.
With these features, the user can create large runs if required.
This chapter deals with certain computer techniques that can be used to:
speed up the optimization process
enable you to create large runs, and,
run the programs unattended.
It also discusses the various auxiliary files that come with, or are created by,
the Opti-Cut package.
In this chapter
This chapter contains the following topics.
138
Part 4: Techniques
28 April, 1998
Auxiliary Files
Initialization The initialization file (the ini file) is a text file. The Opti-Cut initialization
File file is called oc.ini.
The initialization file is updated every time you run one of the Opti-Cut
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.
A copy of oc.ini must be present in your working directory whenever you run
any of the Opti-Cut programs.
You can have different copies of oc.ini for different disk directories.
Layout
The ini file is divided up into the following sections:
[Extensions]
This section identifies the default extensions for all file types used in
Opti-Cut. For more information about default file extensions, see pages
42 - 47.
[Filenames]
This section records the last file name 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
Opti-Cut process. For more information about filenames, see page 47.
[System]
This section is used to define the following system-wide variables:
- Version - Version is used to ensure that the initialization file has been
updated to include all of the items required by the current version of the
programs.
- Lines on page - this sets the number of lines to print per page.
- Discount mode - this sets the discount mode. Discount mode is used to
report the NPV of the optimization. See page 74 for more information
about discount modes.
- StoreSpread - StoreSpread sets the format of the output spreadsheet data.
See page 134 for more information.
- Currency - this sets the symbol to use for currency. The default is $.
Continued on next page
139
Part 4: Techniques
28 April, 1998
Auxiliary Files, Continued
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 oc.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 oc.lng is not present in your working directory, all output text will be
in English.
Oc??.ok file When a program starts a run, it first deletes any copy of the file oc??.ok
(where oc?? is the Command Line name). If the run completes successfully, it
writes a new copy of oc??.ok.
For example, if an ocse.ok file were in your Opti-Cut directory, it would
indicate that the Sequence Input Program has been run successfully.
The presence or absence of this file is particularly useful when running batch
files. See page 148 for more information.
140
Part 4: Techniques
28 April, 1998
Log Files
Introduction: Log files are files that contain abbreviated prompts and answers. They can be
what are used to re-run a program using the previously logged set of prompts and
log files? answers.
Although it is not necessary to do so, you will probably find it convenient to
use log files. As everything you type has been pre-recorded, log files can
significantly reduce the time and effort taken to re-run programs.
Example of a Here is an example of a log file for running the Optimization Program.
log file
PrintFile #octut1
EconomicsBinaryFile octut1
ResultBinaryFile #octut1
In this example:
The left hand column shows shortened versions of the screen prompts.
Default log file Opti-Cut has a different log file extension for each of the main programs.
extensions
Here is a list of default log file extensions.
141
Part 4: Techniques
28 April, 1998
Log Files, Continued
Using log files Log files are controlled by special logging commands which you enter in
response to any prompt. See below for more information.
!LOG Command
!END Command
142
Part 4: Techniques
28 April, 1998
Log Files, Continued
!USE Command
143
Part 4: Techniques
28 April, 1998
Log Files, Continued
!DEMO Command
!ASK Command
144
Part 4: Techniques
28 April, 1998
Log Files, Continued
Example: using If you type !LOG <filename> in response to any prompt, the program will
the !LOG start recording (or logging) your answers in <filename>.
command
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> Opti-Cut will add the
default extension for a log file for the program you are running.
For an example of a log file, see page 141.
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).
Note: when creating a log file with the !LOG command, any log file of the
same name will be overwritten.
145
Part 4: Techniques
28 April, 1998
Running the Programs in Batch Files
The Batch The Batch Processing Program (OC) controls the programs:
Processing
Sequence Input
Program
Economics Input
Optimization, and,
Print Results.
It automatically runs the programs in the required order.
Procedure
Start up the Batch Processing Program.
If you are using:
The Menu, choose the Batch Processing Program from the Menu.
You will be asked to enter the project or run name.
- Type in the project or run name in the space provided.
- Press the Enter key ().
The Command Line, type:
OC <project or run name>
146
Part 4: Techniques
28 April, 1998
Running the Programs in Batch Files, Continued
What happens
The program will check to see what stage the processing for this project or run
has reached.
If a Sequence Binary File has already been generated and its date and time
of creation is later than that of the Sequence Text File, then it will look for
the Economics Binary File.
If an Economics Binary File has already been generated and its time and date
of creation is later than that for the Sequence Binary File and the Economics
Text File, then the optimization will be performed.
If a Result Binary File is present and the time sequence for all the other files
is satisfied, then it will produce the printed report. It will only produce
spreadsheet output if a Spreadsheet Definition File is present with the same
run name.
The program checks to see that each program terminates without error, and
will only progress to the next stage if the oc??.ok file is present (see page 150
for more information about the oc??.ok file).
Note:
The Batch Processing Program requires that the Sequence and Economic
files have the same project or run name. It also requires that the Spreadsheet
Definition File, if used, has the same name.
The program works only if the user is using the default file extensions for the
above files. See pages 42 - 47 for more information about default file
extensions.
147
Part 4: Techniques
28 April, 1998
Running the Programs in Batch Files, Continued
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:
autooc??.log
where oc?? 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 autoocop.log exists in the current directory. This file
will automatically be used if the Optimization Program (OCOP) is run.
If you want to do a series of optimizations, you could set up a series of
individual log files and then copy the log files, in turn, to the autoocop.log file
before running the Optimization Program. Note that you would have to have
different print 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
rem ECONOMICS BINARY
rem the next two lines check that the files exist
IF NOT EXIST TST91.SBI GOTO SBIERROR
IF NOT EXIST TST91.ETX GOTO ETXERROR
IF NOT EXIST TST91.LOE GOTO LOEERROR
GOTO END
:SBIERROR
ECHO *** TST91.SBI IS MISSING
GOTO END
:ETXERROR
ECHO *** TST91.ETX IS MISSING
GOTO END
:LOEERROR
ECHO *** TST91.LOE IS MISSING
GOTO END
:PGMERROR
ECHO *** RUN STOPPED BECAUSE OF PROGRAM ERROR
GOTO END
:END
148
Part 4: Techniques
28 April, 1998
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, under
files DOS or UNIX.
To run a file as a redirected input file, at the Command Line type:
the program name
- followed by -
the < symbol
- then the -
filename
- and then press the Enter key.
Example
OCSE <inp
In this example, the Sequence Input Program (OCSE) would be run, using the
keyboard responses from the file inp.
@ECHO OFF
rem ECONOMICS BINARY
rem the next two lines check that the files exist
IF NOT EXIST TST91.SBI GOTO SBIERROR
IF NOT EXIST TST91.ETX GOTO ETXERROR
GOTO END
:SBIERROR
ECHO *** TST91.SBI IS MISSING
GOTO END
:ETXERROR
ECHO *** TST91.ETX IS MISSING
GOTO END
:PGMERROR
ECHO *** RUN STOPPED BECAUSE OF PROGRAM ERROR
GOTO END
:END
149
Part 4: Techniques
28 April, 1998
Running the Programs in Batch Files, Continued
Using the The oc??.ok file (where oc?? is the Command Line name) is a file that is
oc??.ok file to created by each program when a run is completed successfully. This file is
check the run deleted at 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.
150
Part 4: Techniques
28 April, 1998
Simplifying the Text Files to Improve the Speed of
Processing
Simplifying If you find that the Opti-Cut runs are taking too long, then it may pay you to
descriptions simplify the Sequence and Economics Text Files.
You can do this by reducing the number of cut-offs, reducing the number of
groups, and using simplified increment descriptions.
Do your initial runs and sensitivity analyses with the simplified data set and
then confirm the results on the more complicated data set.
151
Part 4: Techniques
28 April, 1998
Simplifying the Text Files to Improve the Speed of
Processing, Continued
Compaction You can use the Compaction Program to reduce the number of groups and/or
and bias the number of increments in the Sequence Text File.
Within a sequence, Opti-Cut mines an increment proportionally. It takes the
same amount from every group in the increment. This means that there is no
special significance to an individual group.
Where two or more groups share the same grade range, they can be
combined with no loss of accuracy but with a gain in speed.
Similarly, with point grades, if the total grade range is split into a series of
slots of specified minimum and maximum grade and the increment is
reclassified into these slots, then the grade information remains the same,
while the number of groups is reduced.
Four-D and Four-X output
With output from Four-D or Four-X, this reduction is significant.
Example
The following table shows the reduction in file size and processing time for
several levels of compaction of the fdtut Sequence file output. All are
compacted to 4 million tonne increments.
Grade spacing File size OCOP time First cut-off NPV result
None 552,960 6 min 42 sec 0.055 35,019,822
0.001 73,728 1 min 12 sec 0.054 35,024,667
0.010 14,336 13 sec 0.054 35,023,659
0.020 10,240 9 sec 0.054 35,042,876
0.050 6,144 3 sec 0.054 35,823,636
152
Part 4: Techniques
28 April, 1998
Chapter 2: Economic Factors
Overview
153
Part 4: Techniques
28 April, 1998
Constant Dollars
Where price Prices and costs only have to change if there are other factors apart from
and cost values inflation to be considered.
have to change
These might include:
changes to the scale of the operation and economies of scale,
changes to overheads or time costs, due to changes in staffing levels, or
forward selling considerations.
154
Part 4: Techniques
28 April, 1998
Prices
Introduction In general, prices may be fixed for a period of time due to a forward supply
contract, or they may rise or fall due to market forces.
This topic discusses various economic scenarios in relation to prices, and
provides example lines for the Economics Text File.
No real change Where there is no real change in price with time in todays dollars, you would
in price use the standard Product Line in the following format:
PR <Element code> P <Price per unit>
Example
Assuming the current price of gold is $420, you would use:
PR GOLD P 420
This line indicates that the product (PR) GOLD is $420 per unit.
Constant Where there is a constant contract price over a period of time, in todays
contract price dollars we would suffer a decrease in value over time. The values entered into
over a period of Opti-Cut must be decreased by a rate to allow for inflation.
time
For smooth or constant changes, it can be handy to define an expression in the
Economics Text File for the deflation factor, and then use this variable in the
expression for price.
You could insert an Expression Variable Line in the Economics Text File, such
as the following, to cover the duration of the project:
In this example:
At the beginning of the project (YEAR), the value of the item is 0.
During the second year (p2), the value of the item is 1.
During the third year (p3), the value of the item is 2.
During the fourth year (p4), the value of the item is 3.
During the fifth year (p5), the value of the item is 4.
and so on, up to pn.
155
Part 4: Techniques
28 April, 1998
Prices, Continued
You would then need make reference to this line in the Product Line.
Example
If the discount rate were 3%, this would allow the following Product Line:
PR GOLD P 420/(1.03)**YEAR
In this example, the price of the product, GOLD, is $420 divided by 1.03 to
the power of YEAR (as defined in the Expression Variable Line).
Thus,
At the beginning of the project, the price of GOLD would be $420.00.
That is, 420/(1.03)0.
During the second year, the price of GOLD would be $407.77.
That is, 420/(1.03)1.
During the third year, the price of GOLD would be $395.89.
That is, 420/(1.03)2.
During the fourth year, the price of GOLD would be $384.36.
That is, 420/(1.03)3.
During the fifth year, the price of GOLD would be $373.16.
That is, 420/(1.03)4.
and so on, up to pn.
156
Part 4: Techniques
28 April, 1998
Prices, Continued
Steadily If you feel that the price of your product will decrease each year due to market
decreasing price forces, then you can deflate the annual price to get todays dollars.
Example
If you feel that the price of your product will decrease by, say, 5% per annum,
using the same Expression Variable Line above, you would use the following
Product Line.
PR GOLD P 420/(1.05)**YEAR
In this example, the price of the product, GOLD, is $420 divided by 1.05 to
the power of YEAR (as defined in the Expression Variable Line).
At the beginning of the project, the price of GOLD would be $420.00.
That is, 420/(1.05)0.
During the second year, the price of GOLD would be $400.00.
That is, 420/(1.05)1.
During the third year, the price of GOLD would be $380.95.
That is, 420/(1.05)2.
During the fourth year, the price of GOLD would be $362.81.
That is, 420/(1.05)3.
During the fifth year, the price of GOLD would be $345.53.
That is, 420/(1.05)4.
and so on, up to pn.
157
Part 4: Techniques
28 April, 1998
Prices, Continued
Constant and In another situation, the price of a product might remain constant for a period
then declining of time, but then decline by a certain percentage, due to factors other than
time.
This information must appear in the Product Line.
Example
If you feel that the price will remain constant for, say, 5 years but then decline
by ten percent, you would use the following Product Line:
In this example, the price of the product, GOLD, is $420 until the sixth year
(P6) when it falls to $378 (that is $420-(10%)=378).
Note: when determining the price of the product, make sure you match the
grade units (e.g. grams per tonne, ounces per tonne, percentages, carats per
tonne, etc.) used in the Economics Text File with those in the Sequence Text
File.
158
Part 4: Techniques
28 April, 1998
Costs - General
Introduction When preparing for an Opti-Cut optimization, you must calculate the expected
mining, processing, rehabilitation and selling costs.
However, Opti-Cut 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.
Note: many users set up all their cost calculations in a computer spreadsheet.
This makes re-calculation much easier.
Cost adjustment Opti-Cut assumes that all costs are calculated for a particular position in the
factors mine. This position, called the Reference Position, is usually at the surface,
but it can be anywhere you like, provided you have it clearly in mind. The
concept of a Reference Position is very important in Opti-Cut.
Waste mining and processing costs should be worked out for the Reference
Position even if there is no appropriate material at that position (that is,
the Reference Position may consist entirely of barren material) but you should
still work out the processing cost as though the material to be processed is
there. These costs are stored in the Economics Text File.
Opti-Cut deals with any variation of these costs, such as the increase of mining
cost with depth, by the use of positional CAFs. There can be adjustment
factors for waste mining costs and for processing costs for each group in the
Sequence Text File. The CAFs for any material at the Reference Position
should be 1.00.
Four-D and Note: if you are a Four-D or Four-X user, costs for Opti-Cut are NOT
Four-X users calculated in the same way as they are for Four-D or Four-X.
See page 160 for more information.
159
Part 4: Techniques
28 April, 1998
Costs - Specific
160
Part 4: Techniques
28 April, 1998
Costs - Specific, Continued
Mining costs The mining cost is the cost of mining a unit of rock as if it were to be treated
as waste, regardless of whether in reality the rock will be processed or
stockpiled for later processing.
Note: if a group is to be processed or stockpiled, then the additional costs
associated with this are applied, using the processing cost and re-handling cost
values. See page 162 for more information.
Mining costs include:
Assaying and sampling.
Clearing the site and topsoil removal.
Dewatering the pit.
Drilling and blasting.
Ground support.
Loading and hauling.
Mine services, which include:
- Geological services.
- Grade control.
- In-pit supervision.
- Mine administration.
- Surveying.
Mobilising/demobilising.
Standby and miscellaneous machine hire maintenance.
Waste dump management.
161
Part 4: Techniques
28 April, 1998
Costs - Specific, Continued
Rehabilitation The rehabilitation cost is the cost per tonne of rehabilitating material of a
costs particular type of rock, after it has been dumped as waste.
Rehabilitation costs relate to the material that is mined but is not processed.
Rehabilitation costs include:
Waste dump rehabilitation.
Acid mine drainage measures.
Revegetation.
Although these costs are not directly proportional to tonnage, an amount per
tonne must be estimated in order for Opti-Cut to be able to handle this.
162
Part 4: Techniques
28 April, 1998
Costs - Specific, Continued
163
Part 4: Techniques
28 April, 1998
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 Opti-Cut.
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:
an unrecoverable initial capital expenditure, and,
a certain salvage value.
164
Part 4: Techniques
28 April, 1998
The Application of Costs, Continued
Salvage value
The mill may also have a certain salvage value ($6m).
The extent of the salvage value will depend on:
Whether there is an on-going program of maintenance and capital
replacement.
If we assume that there will be an on-going program of maintenance and
capital replacement that will keep the salvage value of the mill close to
$6m in today's dollars, then 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 treated as time costs and/or a series of capital injections.
Whether only essential maintenance will be done.
If only essential maintenance will be done, the salvage value of the mill will
progressively decline.
In this case, the expected rate of this decline should be treated as a
time cost.
Note: the rate of decline is not necessarily the same as the depreciation rate
that is used by accountants. In most cases the depreciation rate is set by
taxation considerations, and may reduce the book value to zero when the
salvage value is clearly not zero.
The interest on the salvage value is discussed in Bank loans for recoverable
costs on page 167.
165
Part 4: Techniques
28 April, 1998
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.
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.
Of course, these repayments will have to come from the cash flow of the mine.
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.
166
Part 4: Techniques
28 April, 1998
The Application of Costs, Continued
Bank loans for Although bank loan repayments themselves are not included, some of the
recoverable items that the loan was used to pay for may be included.
costs
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: Opti-Cut works throughout in todays currency, so the interest rate used
should not include an allowance for inflation.
Grade control It is often necessary to do grade control work on waste as well as ore. In this
costs case, grade control costs apply to waste costs too.
If only some of the waste 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 per tonne
of ore and load the cost of mining ore.
Terminal value Terminal value is the value, if we were to start mining today, of the resource
remaining when the current processing finishes.
If you are only optimizing a part of the resource then there should be a
terminal value applied to the remainder of the resource. This is entered in
todays dollars and ensures that the cut-offs will be the same as if the resource
was consumed to completion.
167
Part 4: Techniques
28 April, 1998
Cost Estimation Sheets
168
Part 4: Techniques
28 April, 1998
Cost Estimation Sheets, Continued
169
Part 4: Techniques
28 April, 1998
Cost Estimation Sheets, Continued
170
Part 4: Techniques
28 April, 1998
Chapter 3: Mining Factors
Overview
171
Part 4: Techniques
28 April, 1998
Iteration
Introduction It cannot be too strongly emphasised that the use of any optimizer is an
iterative process.
Mine
design
Mining
Sequence
Cut-offs
172
Part 4: Techniques
28 April, 1998
Stockpiles
Using stockpile In Opti-Cut, there are two different ways in which stockpile material can be
material used.
If there is at least a mining limit and a processing limit, then stockpile
material may be used to top up the processing stream and improve cash flow
when the project is mining limited.
At the end of the project resource, the stockpile material can be processed to
extend the life of the project and provide additional cash flow.
Note: a third situation where the processing of stockpile material may be
preferable to mined ore under certain circumstances, has not been
implemented.
Intermediate grade material is moved to a stockpile if the grade of the
element(s) is within the specified range for the stockpile.
There is no guarantee that it will all be used, since this relies on the economic
factors applicable in a later period. If the resource is finished but stockpile
material remains and the economics indicate it should not be processed, then
the simulation of the operation of the mine will terminate. This occurs even if,
in a later period, the price rises sufficiently to make processing profitable.
Sensible selection of a cut-off will maximize your chances of using it all. For
more information about the effects of stockpiles on cut-offs, see page 176.
It is envisaged that a stockpile could feed into more than one processing
method for a given ore type.
173
Part 4: Techniques
28 April, 1998
Stockpiles, Continued
The diagram below shows the possible ore movement between an increment,
the stockpile and the processes.
Rejected Processing
Method B
Processing
Method A
Decisions made
on cash flow
Product
174
Part 4: Techniques
28 April, 1998
Stockpiles, Continued
Multi-element The cut-off limits can be set for one or more elements. Material will be passed
stockpiles to the pile if it is not processed and falls within the limit boundaries.
When multiple elements are involved, stockpile cut-offs can be used for
elements which do not have cut-offs for processing discrimination.
Note: Opti-Cut does not handle stockpiles based on equivalent metal cut-offs.
This information should be added to the Economics Text File. See Lines in
Detail, starting on page 98, for more information.
With Opti-Cut, you do not have to have the same tolerance for each element.
One element may be closely controlled while another is only broadly
controlled.
Dealing with old If you want to use old stockpiles to feed an existing mill, you can give them
stockpiles another rock-type code in the Sequence Text File so that they do not receive
any material from existing pits.
The size and initial grade can be entered in the standard manner in the
Economics Text File.
As each stockpile can have its own handling charge, the costs of haulage can
be correctly allocated. Add an additional method/rock-type processing record
to cater for the processing of the material. The optimizer will then order the
stockpile usage in the most appropriate manner.
Costs associated Each stockpile can have an associated re-handling cost which is only applied as
with stockpiles the stockpile is used.
To allow for the effects of time on the stored material, there is a recovery
percentage allocated to each product in the stockpile. This percentage can vary
with time.
The stockpile recovery percentage and the process recovery percentage are
multiplied together.
If there is a re-handling cost, this information should be included in the
Stockpile Line, in the Economics Text File. See page 107 for more
information.
175
Part 4: Techniques
28 April, 1998
Stockpiles, Continued
176
Part 4: Techniques
28 April, 1998
Stockpiles, Continued
Stockpile cut-offs
When one element is involved, the lowest stockpile cut-off should be greater
than or equal to:
Where all the values are what you expect them to be when the stockpile
material is processed.
When more than one element is involved, the situation is more complicated. In
this situation, Opti-Cut can only use stockpile cut-offs which each apply
individually. Therefore, it is necessary to break the stockpiles into grade ranges
for one element and a series of stepped values for the other(s), in order to
approximate the sloping line of the processing cut-off, as shown below.
0.10
SP_3
0.08
Element 1
0.06
SP_2
0.04
SP_1
0.02
0.00
0.0 0.1 0.2 0.3 0.4 0.5
Element 2
Alternatively, you could use the cut-off for one element to separate the stock
into two or more piles, for example:
Where there are two stockpiles, give them a low/high structure.
177
Part 4: Techniques
28 April, 1998
Stockpiles, Continued
More than one If possible, it will pay to have more than one stockpile. For example, you can
stockpile define a low-grade stockpile and a high-grade stockpile.
Opti-Cut will always use the material from the stockpile that gives the greatest
return first.
Material that is available to be sent to the stockpiles can be controlled by the
parameters defining the rock-type and grade ranges for each stockpile.
There will be a practical limit to the number of stockpiles that can be handled
for a project, depending on the grade control techniques used. However, the
greater the number of different stockpiles, the higher in general, will be the
NPV.
Rehabilitation Rehabilitation costs are not an issue with stockpiles because if the material is
costs in the stockpile, it is assumed that it will be processed and not sent to waste.
178
Part 4: Techniques
28 April, 1998
Processing Throughput Factors
Introduction In Four-D and Four-X a processing throughput factor can be defined for each
rock-type. This can be used to show that some rock-types are easier to
process than others, and must therefore be counted differently when dealing
with processing limits.
In Opti-Cut the same effect can be produced by defining a throughput group
line and a throughput limit line in the Economics Text File.
The following examples show two different ways of setting processing
throughput factors.
Example 1 Assume that there are two ore types, OREA and OREB, and a process called
MILL.
A process throughput group and an appropriate throughput limit may be
defined as follows:
In this example:
In the Throughput Group Line: the material that is put through to the mill
will be OREA divided by 1.05 plus OREB.
In other words, this will ensure a throughput factor of 1.05 in relation to ore
type OREA.
In the Throughput Limit Line: the throughput of the mill is limited to
120,000 tonnes per month (M).
179
Part 4: Techniques
28 April, 1998
Processing Throughput Factors, Continued
Example 2 Where the throughput factor will change with time, you can create an
expression that changes with time, and apply it to the throughput group.
An Expression Variable Line may be added to the Economics Text File and the
Throughput Group Line modified, as follows:
By adding the Expression Variable Line and modifying the Throughput Group
Line to recognise the Expression Variable Line, OREA now has a throughput
factor of 1.05 for the first four periods and a factor of one for the remainder of
the project.
180
Part 4: Techniques
28 April, 1998
Pre-stripping
Example The following lines in the Economics Text File would allow for pre-stripping.
MT MILL ORE 5
MTC Gold I 30 P3/0
In this example:
MT refers to the method/rock-type line.
Gold is the element code. That is the element to be found in the rock-type,
ORE.
I 30 P3/0
- I refers to the minimum cut-off, which is 30, until period 3 (P3). After
that, there is no fixed minimum cut-off (0).
In other words, the rock-type, ORE, must have at least a cut-off of 30
(say, grams per tonne) for it to be processed in the first two years.
Thereafter, there is no fixed minimum and the economics determines
whether the material will be processed.
181
Part 4: Techniques
28 April, 1998
Processing Recovery (non linear recovery)
Introduction Opti-Cut has a facility whereby you can simulate non-linear recovery.
To do this, Opti-Cut can subtract a threshold grade from the actual grade of
the material before applying the recovery percentage.
The sort of effective recovery percentage curves that result from this are
illustrated below.
Effective
recovery
fraction
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%.
182
Part 4: Techniques
28 April, 1998
Cut-offs
Introduction Opti-Cut searches for the set of cut-offs which maximize the NPV of the
project.
For each interval or period, Opti-Cut tries different cut-offs, and the NPV
which results from them. It finally settles on the cut-off which gives the
highest such value.
If you supply a minimum or maximum cut-off, Opti-Cut restricts its cut-off
search range accordingly.
Multiple If there are multiple cut-offs, then a number of cut-offs are required for each
cut-offs period or interval, and Opti-Cut tries a set of cut-offs for each step of the
search.
More than one If more than one processing method is available for a particular type of rock,
processing each group of that type of rock is tested against each of the methods in turn,
method in the order in which they appear in the Economics Text File.
Any material in the group which is above the cut-off for a method is sent to
that method and removed from the group before the next method is checked.
Thus, the order in which methods are described in the Economics Text File
can be important. For example, for a mill and heap leach operation, it is
important to describe the mill first.
183
Part 4: Techniques
28 April, 1998
Cut-offs, Continued
The way When multiple cut-offs are in use, Opti-Cut selects material for processing in
multiple cut-offs the following way.
If the sum of the grades divided by the corresponding cut-offs is greater
than 1, then the material is processed.
This is the same as using an equivalent metal.
The following diagram illustrates this.
Element 1
Material
processed
Material
not
processed
Element 2
184
Part 4: Techniques
28 April, 1998
Part 5: Tutorials and Exercises
Overview
In this part This part contains four tutorials and four related exercises that are of
increasing complexity and difficulty.
185
Part 5: Tutorials and Exercises
28 April, 1998
Preparation
Introduction This topic contains some preliminary information that you may need to know
in order to run the tutorials and exercises.
Directory and The tutorials and exercises make use of a small set of demonstration data files
data files that are supplied with your software.
The instructions assume that you are working in the directory containing the
tutorial data files.
On a PC, this is usually directory C:\OC\TUTOR.
Please check this by using the DIR command on a PC under DOS, the ls
command under UNIX, or the appropriate action in one of the graphical
operating environments (e.g. Windows).
You should find at least the following files.
File Description
octut1.stx A Sequence Text File for a small mine. It contains details
of the material to be mined. The sequence represents a
small gold deposit.
octut1.etx An Economics Text File. It contains information about
the price and costs associated with the project in Tutorial
1.
fdtut.stx A Sequence Text File produced by Four-D. It is used in
Tutorial 2.
octut2.etx An Economics Text File. It contains information about
the price and costs associated with the project in Tutorial
2.
octut2.ssd A Spreadsheet Definition File. It is used in Tutorial 2.
octut4.stx A Sequence Text File for a two element
copper/molybdenum deposit. It is used in Tutorial 4.
octut4.etx An Economics Text File that contains information about
the price and costs associated with the project. It is used
in Tutorial 4.
186
Part 5: Tutorials and Exercises
28 April, 1998
Preparation, Continued
Viewing and Opti-Cut Programs output the reports of their runs to what are called print
printing files.
print files
You can view or print out a print file:
by loading it into a word processor or text editor
- or -
from the Command Line.
The following table shows how you can view or print out a print file from the
Command Line.
On a PC On UNIX
To view a print file, try: To view a print file, try:
EDIT <filename and extension> more <filename and extension>
- or - - or -
TYPE <filename and extension> | pg <filename and extension>
MORE
187
Part 5: Tutorials and Exercises
28 April, 1998
Preparation, Continued
Running the There are three ways that you can run the Opti-Cut programs:
programs
interactively
with the Batch Processing Program, or,
using logged commands.
Important to It is important to keep the all of the files that you generate in the tutorials
keep files and exercises. This is because some of them are used again in the tutorials
and exercises that follow.
188
Part 5: Tutorials and Exercises
28 April, 1998
Tutorial 1 - A Simple Run Through of the Main Programs
Overview
Introduction The object of this tutorial is to familiarise yourself with the general operation
of the programs.
In working through this tutorial you will carry out a straightforward
optimization, and will also use the Print Results Program to obtain a print of
the results of the optimization.
189
Part 5: Tutorials and Exercises
28 April, 1998
Step 1: Producing the Sequence Binary File with the
Sequence Input Program
Introduction The Sequence Text File (octut1.stx) you will use in this tutorial describes the
grade information for the mining of one ore type, containing gold, in one
increment.
You will use the Sequence Input Program to create a Sequence Binary File
from octut1.stx.
A Sequence Binary File contains the information from the Sequence Text File
in a form more suitable for optimization.
If an output file already exists, as a result of a previous run, the program will complain and ask for the file
name again. Enter the name again, but put a cross hatch (#) in front of it to indicate that you want to overwrite
the existing file. Alternatively you can just enter the cross hatch, which will have the same effect.
190
Part 5: Tutorials and Exercises
28 April, 1998
Step 1: Producing the Sequence Binary File with the
Sequence Input Program, Continued
The program then starts its run, which takes less than a second.
The screen report looks like this:
191
Part 5: Tutorials and Exercises
28 April, 1998
Step 1: Producing the Sequence Binary File with the
Sequence Input Program, Continued
Examining the Now examine the print file (octut1.prs) in detail by printing it out, or by
print file viewing it on the screen with a system utility, text editor or word processor.
See page 187 for guidelines on how to do this.
The print file should look like the following.
FILE INFORMATION
Increment summaries
******************************************************************************
Increment 1 1 Top
Average Mining Adj 1.000 Average Processing Adj 1.000
Number of groups 18 Number of point grades 1
------------------------------------------------------------------------------
| Total Minimum Average Maximum
Rock-Type Tonnage | Element Quantity Grade Grade Grade
--------- ------- | ------- -------- ----- ----- -----
ORE 5,499,360 | GOLD 392,895 0.0200 0.0714 0.1970
WASTE 5,921,600 |
Total: 11,420,960 |
******************************************************************************
Summary: Number of increments 1
Average Mining Adj 1.000 Average Processing Adj 1.000
Number of groups 18 Number of point grades 1
------------------------------------------------------------------------------
| Total Minimum Average Maximum
Rock-Type Tonnage | Element Quantity Grade Grade Grade
--------- ------- | ------- -------- ----- ----- -----
ORE 5,499,360 | GOLD 392,895 0.0200 0.0714 0.1970
WASTE 5,921,600 |
Total: 11,420,960 |
******************************************************************************
192
Part 5: Tutorials and Exercises
28 April, 1998
Step 2: Producing the Economics Binary File with the
Economics Input Program
Introduction The Economics Text File (octut1.etx) you will use in this tutorial covers a
very simple milling operation based on one mill and one element. Time costs,
processing costs and recoveries have all been specified. There are two
throughput limits specified, one limiting mill capacity and one limiting mining
capacity.
You will use the Economics Input Program to create an Economics Binary
File from octut1.etx.
An Economics Binary File contains the information from the Economics Text
File in a form more suitable for optimization.
Prompt Use
Print file name Call the print file octut1.pre
Sequence Binary File Accept the default [octut1.sbi]
offered by the system
Economics Text File Use the Economics Text File
provided, octut1.etx
Economics Binary File name Call the Economics Binary File
octut1.ebi
Again, you can simplify your responses to octut1, and let the system take care
of the filename extensions.
Note: you need to be aware of the extensions because the files are saved on
disk using the full filename.
If an output file already exists, as a result of a previous run, the program will complain and ask for the file
name again. Enter the name again, but put a cross hatch (#) in front of it to indicate that you want to overwrite
the existing file. Alternatively you can just enter the cross hatch, which will have the same effect.
193
Part 5: Tutorials and Exercises
28 April, 1998
Step 2: Producing the Economics Binary File with the
Economics Input Program, Continued
The program then starts its run, which takes only a second or two. The
following message will appear on the screen during the run.
194
Part 5: Tutorials and Exercises
28 April, 1998
Step 2: Producing the Economics Binary File with the
Economics Input Program, Continued
Examining the Now take the time to examine the print file (octut1.pre) in detail (see page
print file 187 for guidelines). The print file should look like the following.
Whittle Opti-Cut CREATE ECONOMIC DATA BASE Page 1
Rev 1.00
14:51 Licensed for use by <Your company name will appear here> 17-OCT-97
------------------------------------------------------------------------------
FILE INFORMATION
------------------------------------------------------------------------------
*****************************************************************************
Initial Capital 0
Terminal value 0 (resource fully consumed)
Cut-Off Mode 1
*****************************************************************************
Economic Parameters for period 1 to the end:
-----------------------------------------------------------------------------
Period length 12 months |
Time Costs 41,667 per month |
Discount 10.0 % per year | Mining recovery 1.000
Inflation 0.0 % per year | Mining dilution 1.000
-----------------------------------------------------------------------------
Price Sales Cost | Lv in Mining Environmental
Product Per unit Per unit | Rock-typ Gnd Cost/Tonne Cost/Tonne
-------- -------- -------- | -------- - ---------- ----------
GOLD 370.00 0.00 | ORE F 1.25 0.00
| WASTE F 1.25 0.00
-----------------------------------------------------------------------------
Proc. Rock- Processing Percent Threshold Minimum Maximum
Method Type Cost/Tonne Element Recovery Linearity Cut-off Cut-off
-------- -------- ---------- ------- -------- --------- ------- -------
MILL ORE 8.00 GOLD 90.0 N/A N/A N/A
-----------------------------------------------------------------------------
Throughput limit ROCK 250,000 per month 3,000,000 per year
Throughput limit MILL.Q 41,667 per month 500,000 per year
*****************************************************************************
195
Part 5: Tutorials and Exercises
28 April, 1998
Step 2: Producing the Economics Binary File with the
Economics Input Program, Continued
196
Part 5: Tutorials and Exercises
28 April, 1998
Step 3: Doing the Optimization with the Optimization
Program
Introduction Now that the Sequence and Economics Text Files have been converted to
binary files, the optimization can be performed.
Prompt Use
Print file name Call the print file octut1.pro
Economics Binary File Use the default [octut1.ebi]
offered by the system
Result Binary File name Call the Result Binary File
octut1.rbi
Do you want to optimize by period? Use the default [Y]
Note: although the Optimization Program does not ask for it by name, it uses
the Sequence Binary File octut1.sbi, so it must still be present in the working
directory. The name is recorded in the Economics Binary File.
If an output file already exists, as a result of a previous run, the program will complain and ask for the file
name again. Enter the name again, but put a cross hatch (#) in front of it to indicate that you want to overwrite
the existing file. Alternatively you can just enter the cross hatch, which will have the same effect.
197
Part 5: Tutorials and Exercises
28 April, 1998
Step 3: Doing the Optimization with the Optimization
Program, Continued
The program goes through the entire resource to calculate the initial NPV.
It shows the amount of an increment used in each period, and the cut-off used.
The cut-offs shown are the marginal, unoptimized, cut-offs.
The NPVs for the different discount modes are shown. Discount modes are
explained on page 74.
The program then shows the progress of the optimization on the screen, giving
the NPVs achieved at the end of each iteration.
The optimization print file contains a report of the processing done which is
identical to the screen display.
The report also contains the names of the input and output files.
On the following pages there is a copy of the print file, octut1.pro.
198
Part 5: Tutorials and Exercises
28 April, 1998
Step 3: Doing the Optimization with the Optimization
Program, Continued
FILE INFORMATION
Optimization by period
199
Part 5: Tutorials and Exercises
28 April, 1998
Step 3: Doing the Optimization with the Optimization
Program, Continued
200
Part 5: Tutorials and Exercises
28 April, 1998
Step 4: Producing the Report using the Print Results
Program
Introduction The Print Results Program must now be run to get details of the mining and
processing operations.
Note: the program may be run repeatedly, without having to re-run the
optimization. In this way you can modify the type of report you require and
add or modify spreadsheet output to suit your needs.
Prompt Use
Print file name Call the print file octut1.prp
Result Binary File Accept the default [octut1.rbi]
offered by the system
A report can be produced for Accept the default [Y] for an
marginal (economic) cut-offs or Opti-Cut report
Opti-Cut optimized cut-offs.
A report entry can be produced for Accept the default [Y] for interval
each interval in the period or for the reporting
period total.
Spreadsheet output can be produced. Type N
Note: although the Print Results Program does not ask for them by name, it
uses the Sequence Binary File (octut1.sbi) and the Economics Binary File
(octut.ebi), so they must still be present in the working directory.
201
Part 5: Tutorials and Exercises
28 April, 1998
Step 4: Producing the Report using the Print Results
Program, Continued
The user is then offered a chance to change the number of decimal places or
scale the output for reporting purposes.
The report display formats do not need to be changed for this run, so accept
the default answer, N, in response to the question, Do you want to modify
any of these values?.
Examining the The detailed report is output to the print file, octut1.prp.
print file
If possible, please print this report out, as it contains a very wide range of
information that we will now discuss in detail. For information about how to
print out a print file from the Command Line, refer to page 187.
202
Part 5: Tutorials and Exercises
28 April, 1998
Step 4: Producing the Report using the Print Results
Program, Continued
FILE INFORMATION
Economic values change during the life of the project. All changes
will be highlighted at the start of the period to which they apply.
*****************************************************************************
Initial Capital 0
Terminal value 0 (resource fully consumed)
Cut-Off Mode 1
*****************************************************************************
Economic Parameters for period 1 to the end:
-----------------------------------------------------------------------------
Period length 12 months |
Time Costs 41,667 per month |
Discount 10.0 % per year | Mining recovery 1.000
Inflation 0.0 % per year | Mining dilution 1.000
-----------------------------------------------------------------------------
Price Sales Cost | Lv in Mining Environmental
Product Per unit Per unit | Rock-typ Gnd Cost/Tonne Cost/Tonne
-------- -------- -------- | -------- - ---------- ----------
GOLD 370.00 0.00 | ORE F 1.25 0.00
| WASTE F 1.25 0.00
-----------------------------------------------------------------------------
Proc. Rock- Processing Percent Threshold Minimum Maximum
Method Type Cost/Tonne Element Recovery Linearity Cut-off Cut-off
-------- -------- ---------- ------- -------- --------- ------- -------
MILL ORE 8.00 GOLD 90.0 N/A N/A N/A
-----------------------------------------------------------------------------
Throughput limit ROCK 250,000 per month 3,000,000 per year
Throughput limit MILL.Q 41,667 per month 500,000 per year
*****************************************************************************
Discount Mode 3
All cash flows at the end of the period.
*****************************************************************************
203
Part 5: Tutorials and Exercises
28 April, 1998
Step 4: Producing the Report using the Print Results
Program, Continued
Note that any throughput limits are shown both per month and per year.
The output also contains summaries of the products, rock-types, processing
details, throughput limits (and stockpiles if they are used).
Detailed The remainder of the print file consists of detailed information about the
information processing for each interval.
The first interval is shown below.
In this case, the interval is also a period, but this may not always be the case.
For more information about periods and intervals, see page 71.
204
Part 5: Tutorials and Exercises
28 April, 1998
Step 4: Producing the Report using the Print Results
Program, Continued
First line
The first line for a typical interval is explained below.
In this line:
205
Part 5: Tutorials and Exercises
28 April, 1998
Step 4: Producing the Report using the Print Results
Program, Continued
Second line
The second line contains processing-method/rock-type information. It is
explained below.
If more than one processing-method/rock-type is used, then more than one of
these lines will be displayed.
In this line:
206
Part 5: Tutorials and Exercises
28 April, 1998
Step 4: Producing the Report using the Print Results
Program, Continued
Third line
The third line provides details of element production. It is explained below.
In this line:
207
Part 5: Tutorials and Exercises
28 April, 1998
Step 4: Producing the Report using the Print Results
Program, Continued
Other lines
The output can include details about:
selling costs
capital expenditure
time costs, and,
stockpile additions and deductions.
This information will be located after the element production details, and may
occupy several lines.
This example, however, only contains time cost information. This information
is located in the fourth line, and is explained below.
208
Part 5: Tutorials and Exercises
28 April, 1998
Step 4: Producing the Report using the Print Results
Program, Continued
Totals lines
The printout for each interval ends with totals information.
In these lines:
The number of days in this interval. In this case, there were 365
days in this interval.
- Item limiting production. During this interval, production was
limited by the MILL process. It is possible to be limited by more
than one item.
and Resource/increment usage with the starting and finishing
percentage used.
The net cash flow associated with this interval. In this case,
6,959,255.
The discounted cash flow. In this case, 6,326,596.
209
Part 5: Tutorials and Exercises
28 April, 1998
Step 4: Producing the Report using the Print Results
Program, Continued
Grand totals
At the end of the report, the grand total figures appear, together with the mine
life in years.
The grand total of the discounted cash flows, given at the bottom right of the
printout, is the Net Present Value of the mine.
Note that this is the same as the NPV for discount mode 3 (the default mode)
on page 200.
Note: the internal rate of return is only shown if an initial capital expenditure
is specified in the Economics Text File.
Comparison After the grand totals information, there is a section that compares the
between cut-off Opti-Cut results to those of a standard marginal cut-off evaluation.
scenarios
In this case the additional discounted cash flow (or NPV) is 808,829, which
represents a 2.0% improvement on operating with marginal cut-offs.
To look at the marginal cut-offs more fully, you can re-run the Print Results
Program and print out the marginal cut-off scenario. This is explored in the
following topic.
210
Part 5: Tutorials and Exercises
28 April, 1998
Step 5: Re-running the Print Results Program to obtain the
Marginal Cut-off Scenario
Introduction To see how the Opti-Cut results compare with the marginal cut-off scenario,
you can re-run the Print Results Program and print out the marginal cut-off
scenario.
Prompt Use
Print file name octut1a
Result Binary File Accept the default [octut1.rbi]
Opti-Cut report Type N (you will get the marginal cut-off
results)
Interval entries Accept the default [Y] (as before)
Spreadsheet output Type N (as before)
Comparison The cut-offs and the discounted cash flows, for both scenarios, could be
plotted against time, using a spreadsheet program.
To do this easily, you would have needed to request spreadsheet output in
both runs of the Print Results Program (in step 4 and above). However, to
keep this tutorial as simple as possible, we got you to request no spreadsheet
output. Instead, we have plotted the information for you.
Spreadsheet output is explored in Tutorial 2 - Four-D and Four-X Interfaces
and Sequence Compaction, starting on page 222.
211
Part 5: Tutorials and Exercises
28 April, 1998
Step 5: Re-running the Print Results Program to obtain the
Marginal Cut-off Scenario, Continued
.05
.04
Cut-off
.03
.02
.01
.00
1 3 5 7 9 11
Period
The slight irregularities in the optimized cut-off curve are caused by the round
of the cut-offs to 3 decimal places.
212
Part 5: Tutorials and Exercises
28 April, 1998
Step 5: Re-running the Print Results Program to obtain the
Marginal Cut-off Scenario, Continued
The following graph compares discounted cash flows for optimized cut-offs
and discounted cash flows for marginal cut-offs.
6
Cash flows (millions)
0
1 3 5 7 9 11
Period
As can be seen, the Opti-Cut cash flows (shown in millions) are higher for the
first 9 years and then fall off.
The net result in this case is a 2.0% improvement.
213
Part 5: Tutorials and Exercises
28 April, 1998
File Summary
Introduction The following diagrams give a summary of the files used by each of the
programs in this tutorial.
214
Part 5: Tutorials and Exercises
28 April, 1998
What you have Learnt
Important to Although you have now completed this tutorial, it is important to keep the
keep files files that you generated, including the print files, because some of them are
used again in the tutorials and exercises that follow.
215
Part 5: Tutorials and Exercises
28 April, 1998
Exercise 1 - Automating the Process
Overview
Introduction Tutorial 1 took you through the individual steps involved in an optimization.
The programs are broken up in this way because it allows you to change, say,
the economics or the spreadsheet codes and only repeat a part of the
calculations.
This exercise aims to show you how to automate the process, using the Batch
Processing Program.
The Batch Processing Program (OC) controls the following programs:
Sequence Input
Economics Input
Optimization, and,
Print Results.
It automatically runs the programs in their required order. The Batch
Processing Program is discussed in detail, on page 146.
Let us assume that you want to see the effect of a change in the time costs for
the project. To do this, you merely have to change the time costs information
in the Economics Text File and re-run the programs.
216
Part 5: Tutorials and Exercises
28 April, 1998
Step 1: Copying and Editing the Text Files
Copying the If you are unsure about how to copy the files, refer to the following table.
files
Step On a PC On UNIX
1. At the Command Line, type: At the Command Line, type:
copy octut1.stx exer1.stx cp octut1.stx exer1.stx
Editing the Now you need to edit the Economics Text File, exer1.etx, and change the
Economics Text time costs, in the line starting with TC, from 500K to 1M.
File
Note: the programs allow you to use K for thousand and M for million.
Follow the steps in the table below to edit exer1.etx.
Step Action
1. Open and view exer1.etx using a text editor or word processor in
pure text mode.
2. The ninth line in the file is the time costs (TC) line.
Edit the text to read:
TC A 1M
3. Save exer1.etx and exit from the text editor or word processor.
217
Part 5: Tutorials and Exercises
28 April, 1998
Step 2: Using the Batch Processing Program
Introduction To run through all the programs required to get a final printed report we can
use the Batch Processing Program.
oc exer1
The batch procedure requires that all of the files have the same name and use
the default extensions.
218
Part 5: Tutorials and Exercises
28 April, 1998
Step 2: Using the Batch Processing Program, Continued
The grand totals information and the comparison between the marginal cut-
offs and the Opti-Cut cut-offs are shown below.
Comparing The output, in exer1.prp, shows a slightly different set of cut-offs from those
output: in Tutorial 1. It also shows an improvement in profit above marginal cut-off
Exercise 1 and evaluation of 875,981. This is a 2.4% improvement.
Tutorial 1
In both cases, Opti-Cut has elevated the cut-offs in the early years, and they
move down to the marginal cut-off towards the end of the project.
The marginal cut-off for octut1 is 0.027 and for exer1 is 0.030. This
information can be found in the Optimization Program print files octut1.pro
and exer1.pro.
219
Part 5: Tutorials and Exercises
28 April, 1998
File Summary
Introduction The following diagram gives a summary of the files used by each program in
this exercise.
Because all four programs were run, there will be new output as shown.
exer1.stx exer1.prs
exer1.etx exer1.sbi
Batch Processing exer1.pre
(exer1.sbi) Program exer1.ebi
(exer1.ebi) (OC) exer1.pro
(exer1.rbi) exer1.rbi
exer1.prp
220
Part 5: Tutorials and Exercises
28 April, 1998
What you have Learnt
Files
- General information, see page 42.
- Sequence Text Files, see page 83.
- Economics Text Files, see page 94.
- Print files, see page 46.
- Viewing or printing a print file, see page 187.
Other
- Cut-offs, see page 183.
221
Part 5: Tutorials and Exercises
28 April, 1998
Tutorial 2 - Four-D and Four-X Interfaces and Sequence
Compaction
Overview
Unless you have already done so, we strongly suggest that you read
through the whole Manual before working through the remainder of
these tutorials and exercises. If you do not, you may find them hard to
follow.
Introduction The Whittle Four-D and Four-X programs can automatically provide you with
a Sequence Text File based on a single economic scenario.
fdtut.stx (provided) is the name of a Four-D sequence output.
222
Part 5: Tutorials and Exercises
28 April, 1998
Step 1: Producing the Initial Sequence Binary File with the
Sequence Input Program
Introduction First you have to convert fdtut.stx to a Sequence Binary File, thus ensuring
that it is properly checked and validated.
Prompt Use
Print file name fdtut
Sequence Text File fdtut
Sequence Binary File fdtut
name
The program then starts its run, which takes less than a minute to complete.
223
Part 5: Tutorials and Exercises
28 April, 1998
Step 1: Producing the Initial Sequence Binary File with the
Sequence Input Program, Continued
******************************************************************************
Summary: Number of increments 181
Average Mining Adj 1.000 Average Processing Adj 1.000
Number of groups 5779 Number of point grades 5779
------------------------------------------------------------------------------
| Total Minimum Average Maximum
Rock-Type Tonnage | Element Quantity Grade Grade Grade
--------- ------- | ------- -------- ----- ----- -----
WTHR 4,767,840 | GOLD 0 0.000 0.000 0.000
OXID 640,320 | GOLD 64,675 0.037 0.101 0.229
SULF 5,501,520 | GOLD 391,923 0.020 0.071 0.220
WASTE 5,153,760 |
Total: 16,063,440 |
******************************************************************************
224
Part 5: Tutorials and Exercises
28 April, 1998
Step 2: Producing the Compacted Sequence Binary File
with the Compaction Program
Introduction Because the Four-D file is generated block by block, it is better to compact it
to provide a time-efficient sequence description for Opti-Cut.
Prompt Use
Print file name octut2
1. Sequence Text File Accept the default [2]
2. Sequence Binary File
Sequence Binary File name Accept the default [fdtut.sbi]
New Sequence Binary File octut2
name
Prompt Use
Compact the increment Accept the default [Y]
information?
Desired increment tonnage 4m (m is million)
Compact the grade Accept the default [Y]
information?
225
Part 5: Tutorials and Exercises
28 April, 1998
Step 2: Producing the Compacted Sequence Binary File
with the Compaction Program, Continued
The computer system reviews the grade range for each element and offers a
suitable tolerance based on the grade discrimination specified in the Sequence
file (defined as the number of decimal places in the EL line).
However, because of the high number of point grades, and the fact that the
Compaction Program uses a grade range and a weighted average to define
grouped items, you can use a coarser discrimination without actually losing
very much information. Use the following grade discrimination.
Prompt Use
Grade discrimination 0.01
The original Sequence Binary File is checked and then reorganised into the
increment and grade ranges specified. The new file is written out.
226
Part 5: Tutorials and Exercises
28 April, 1998
Step 3: Producing the Economics Binary File using a Log
File
Procedure Start the Economics Input Program. However, as we want to use a log file,
enter a logging command instead of a print file name as the first response.
Use the following information in response to the prompts.
Prompt Use
Print file name !LOG octut2.loe
This can be shortened to: !L octut2
This tells the program to start logging your responses and to ask for the name
of the print file again.
Now, type in the following information in response to the prompts.
Prompt Use
Print file name #octut2
Sequence Binary File name Accept the default [octut2.sbi]
Economics Text File name octut2
Economics Binary File name #octut2
227
Part 5: Tutorials and Exercises
28 April, 1998
Step 3: Producing the Economics Binary File using a Log
File, Continued
Examining the The log file, octut2.loe, contains a list of abbreviated prompts and your
log file responses.
PrintFile #octut2
SequenceBinaryFile octut2
EconomicsTextFile octut2
EconomicsBinaryFile #octut2
The run can be repeated exactly, by starting up the Economics Input Program
and then entering !use octut2.loe. Again, this can be shortened to !u
octut2.
Indeed, if you want to re-run the same log file that you ran with a program the
last time, even if you have edited it in between, !u is sufficient, because
Opti-Cut remembers log filenames as well.
This makes it very easy to re-run programs.
228
Part 5: Tutorials and Exercises
28 April, 1998
Step 4: Running the Optimization using a Log File
Introduction Again we can use the logging to allow faster repeat runs, or to set up log files
for an overnight run.
!L octut2 tells the program to start logging your responses and to ask for
the name of the print file again.
Note: the default log file extension for optimization is loo.
Then use the following information in response to the prompts.
Prompt Use
Print file name #octut2
Economics Binary File name Accept the default [octut2.ebi]
Result Binary File name #octut2
Optimize by period? Accept the default [Y]
229
Part 5: Tutorials and Exercises
28 April, 1998
Step 5: Running the Print Results Program with a Log File
and Spreadsheet Output
Introduction Opti-Cut provides a reasonable report of the results. However, many users
want to plot results or know more detailed information about ore, process and
production details than can be included in a fixed report layout.
Many of these extra values are calculated within the Print Results Program and
are available in a Spreadsheet Output File, in formats that are suitable for input
to most spreadsheet programs.
There are two files involved in this:
The Spreadsheet Definition File.
The Spreadsheet Output File.
The The Spreadsheet Definition File is a small text file that lists the particular items
Spreadsheet that you want to output.
Definition File
The Spreadsheet Definition File used in this tutorial is called octut2.ssd.
230
Part 5: Tutorials and Exercises
28 April, 1998
Step 5: Running the Print Results Program with a Log File
and Spreadsheet Output, Continued
In this file:
Lines beginning with ! are comment lines. Any further information on the
line is ignored by the program.
Int indicates that the remaining codes on the line refer to interval amounts.
Mill/TI indicates that we want to output the total tonnes input to the
process.
Value/cd indicates that we want to output the NPV of the project cash
flows.
Mill.gold/uo indicates that we want to output the gold production from
the mill.
The items in the GRA lines are similar but apply to grand totals rather than
intervals.
The item, Blank, has the effect of leaving a blank column in the output.
This can be useful to maintain continuity between interval, period and grand
total data.
As you can see, the codes can be in upper case and/or lower case, or a mixture
of both.
There are many other codes that we could have used. See page 120 for details
of these codes.
231
Part 5: Tutorials and Exercises
28 April, 1998
Step 5: Running the Print Results Program with a Log File
and Spreadsheet Output, Continued
Procedure Start the Print Results Program and enter the logging command instead of a
print file name, as you did in steps 3 and 4.
The default log file extension for the Print Results Program is lop.
Then use the following information in response to the prompts.
Prompt Use
Print file name #octut2
Result Binary File name Accept the default [octut2.rbi]
Opti-Cut report Accept the default [Y]
Interval entries Accept the default [Y]
Spreadsheet output Accept the default [Y]
Spreadsheet Definition File octut2
name
Spreadsheet Output File name #octut2
Modify number of decimal Accept the default [N]
places?
232
Part 5: Tutorials and Exercises
28 April, 1998
Step 5: Running the Print Results Program with a Log File
and Spreadsheet Output, Continued
Examining the Now take the time to examine the Spreadsheet Output File, octut2.sso.
spreadsheet
output
The Spreadsheet Output File (octut2.sso) should look like the following.
Intervals:
MILL
OXID MILL
GOLD Rock Mill VALUE GOLD
Period strip /CO /tg /ti /CD /UO
0 0 0 0 0 -18900000 0
1 1.65 0.052 1989903 750000 12150343 62794
2 1.57 0.049 1929552 750000 10826542 61840
3 1.51 0.047 43025 17118 220994 1394
3 1.42 0.047 1774025 732882 6991123 48315
4 1.36 0.044 1771249 750000 6398566 48877
5 1.32 0.042 440806 189946 1454767 12272
5 1.51 0.042 1405785 560054 4150637 35934
6 1.47 0.000 1854854 750000 4994737 47749
7 1.43 0.000 755280 311075 1853257 19599
7 3.02 0.000 1755699 436374 2161138 27540
8 3.02 0.000 2313021 575540 2588409 36296
8 0 0.000 30240 30240 240549 2204
Grand totals:
MILL
Rock Mill VALUE GOLD
Blank strip Blank /tg /ti /CD /UO
The spreadsheet file shows the Sequence and Economics descriptions and then
prints details for each of the intervals.
Note the use of the BLANK spreadsheet code to maintain column alignment
when there is not an equivalent grand total code.
Note also that we could have chosen to report by period rather than by interval
(period/increment combination).
233
Part 5: Tutorials and Exercises
28 April, 1998
What you have Learnt
234
Part 5: Tutorials and Exercises
28 April, 1998
Exercise 2 - Varying the Compaction
Exercise 2a For the purposes of this exercise, compact the increments, but do not compact
the point grades.
First copy octut2.etx to exer2a.etx.
Then run the Compaction Program using:
fdtut.sbi as the input Sequence Binary File, and,
exer2a.sbi as the name for the output, compacted Sequence Binary File.
Next, use the Batch Processing Program to run through the remaining
programs to get a final printed report.
Exercise 2b For the purposes of this exercise, compact the increments, and use a
compaction width of 0.05 for the point grades.
First copy octut2.etx to exer2b.etx.
Then run the Compaction Program using:
fdtut.sbi as the input Sequence Binary File, and,
exer2b.sbi as the name for the output, compacted Sequence Binary File.
Next, use the Batch Processing Program to run through the remaining
programs to get a final printed report.
235
Part 5: Tutorials and Exercises
28 April, 1998
Exercise 2 - Re-running Tutorial 2 and Varying the
Compaction, Continued
Examining the Examine the print files from Exercise 2a and 2b to find the optimization times
print files and the cut-off and NPV results.
Using these, together with the results from Tutorial 2, draw your own
conclusions about compaction.
236
Part 5: Tutorials and Exercises
28 April, 1998
Tutorial 3 - Using a Stockpile
Overview
Introduction Having successfully compacted the Sequence file, run the optimization and
produced the report the next question is, will a stockpile improve this project?
237
Part 5: Tutorials and Exercises
28 April, 1998
Step 1: Copying and Editing Files
Introduction To find out whether a stockpile will improve this project you need to add
stockpile information to the Economics Text File.
Stockpile The mine in this project contains two types of rock from which we want to
information extract the product, GOLD, namely,
Oxide ore (rock-type code OXID), and,
Sulphide ore (rock-type code SULF).
Each type of rock should be assigned a stockpile. The Opti-Cut cut-offs for
these types of rock vary from approximately 0.052 to 0.026. This would
suggest that stockpiling intermediate grades above, say, 0.025 could be
beneficial.
238
Part 5: Tutorials and Exercises
28 April, 1998
Step 1: Copying and Editing Files, Continued
Add the following lines to end of the Economics Text File (octut3.etx) to add
an OXID stockpile and a SULF stockpile.
MF S 0
SP OXID 0 .5
SPD GOLD R 100
SPD GOLD I .025
SP SULF 0 .5
SPD GOLD R 100
SPD GOLD I .025
In this example:
MF S 0
- MF S refers to the Global Mining Stockpile Factors Line.
- 0 indicates that in this case, stockpile usage is included in the rock
throughput limit.
SP OXID 0 .5, and SP SULF 0 .5
- SP refers to the Stockpile Line.
- 0 indicates that there is no initial stockpile, in relation to both OXID
and SULF.
- .5 indicates that the re-handling costs are set at 50 cents per tonne, in
relation to both OXID and SULF.
SPD GOLD R 100
- SPD refers to the Stockpile Detail Line.
- GOLD R 100 indicates that the product, GOLD, will not be adversely
affected by exposure, and so 100 percent recovery (R) is possible. That is,
the mill recovery, when processing material from the stockpile, is the same
as if it was material directly from the mine.
SPD GOLD I .025
- SPD refers to the Stockpile Detail Line.
- GOLD I .025 indicates that minimum cut-off for the element, GOLD,
is set at 0.025.
Since there is no other stockpile for this ore type, there is no need to set the
maximum cut-off.
239
Part 5: Tutorials and Exercises
28 April, 1998
Step 2: Using the Batch Processing Program
Introduction To run all the programs required to get a final printed report we can use the
Batch Processing Program.
Procedure Start the Batch Processing Program, using the filename octut3.
If necessary, refer to page 218 for instructions.
The programs will take several minutes to run.
Examining the The results are located in the print file, octut3.prp.
print file
The grand totals information and the comparison between the NPV for the
marginal cut-offs and the Opti-Cut cut-offs (located at the end of octut3.prp)
are shown below.
Tutorial 3 Results
240
Part 5: Tutorials and Exercises
28 April, 1998
Step 2: Using the Batch Processing Program, Continued
Tutorial 2 Results
241
Part 5: Tutorials and Exercises
28 April, 1998
Step 3: Doing a Cash Flow Analysis
Introduction The cut-offs and discounted cash flows can be plotted for the Opti-Cut results
as well as for marginal cut-off results.
Procedure Re-run the Print Results Program, sending the output to octut3a, to obtain the
marginal cut-off results.
Plot the results from octut3 and octut3a using a spreadsheet program.
Sulphide ore A comparison between optimized cut-offs and marginal cut-offs for sulphide
cut-offs ore is shown below.
.07
.06
.05
Cut-offs
.04
.03
.02
.01
.00
1 3 5 7 9
Period
242
Part 5: Tutorials and Exercises
28 April, 1998
Step 3: Doing a Cash Flow Analysis, Continued
Annual rock A plot of the annual rock tonnages (in millions) shows the peak usage for both
tonnages the optimized and marginal cut-off scenarios.
3.0
Rock tonnage (millions)
2.5
2.0
1.5
1.0
0.5
0.0
1 2 3 4 5 6 7 8 9
Period
As can be seen, there has been spare rock capacity in the first five years of the
project.
If this could have been used to perform some pre-stripping for period 6, then
the rock limit could have been avoided, with consequent better grades through
the mill and an increased cash flow.
Exercise 3, below, will explore ways of achieving this.
243
Part 5: Tutorials and Exercises
28 April, 1998
Step 3: Doing a Cash Flow Analysis, Continued
Discounted cash A comparison of the discounted cash flows for optimized cut-offs and
flow marginal cut-offs is shown below.
12
10
8
6
4
2
0
0 2 4 6 8 10
Period
The Opti-Cut stockpile scenario has created a mine life of a similar length to
the marginal cut-off scenario.
However, this graph clearly shows that the higher cash flows at the start of the
project have more than compensated for the reduction in cash flows at the end
of the project.
244
Part 5: Tutorials and Exercises
28 April, 1998
What you have Learnt
What you have In this tutorial you have learnt how to apply a simple stockpile simulation and
learnt see if there is an increased NPV.
In this tutorial re-handling costs were included. However, in a practical
situation the increase in NPV has to be weighed against the availability of a
stockpile area and costs of providing the facility.
Files
- Copying files, see page 217.
- General information, see page 42.
- Economics Text Files, see page 94.
- Print files, see page 46.
- Viewing or printing a print file, see page 187.
Other
- Stockpiles, see page 173.
- NPV, see page 262.
245
Part 5: Tutorials and Exercises
28 April, 1998
Exercise 3 - Adjusting Throughput
Overview
Introduction In Tutorial 3 we found that the project was limited by the mining throughput
limit in period 6.
Two methods of lessening the impact of the mining throughput limit are
explored below.
246
Part 5: Tutorials and Exercises
28 April, 1998
Exercise 3a - Making Stockpile Usage Independent of Rock
Limit
Introduction It was mentioned that the stockpile may, or may not, impact on the mining
throughput limit.
If the stockpile is independent of this limit, then additional stockpile material
may be used in periods 6 and 7, when the plant is rock limited.
Procedure
Copy:
- octut3.sbi to exer3a.sbi, and,
- octut3.etx to exer3a.etx.
Edit the Economics Text File (exer3a.etx) and change the mining factor
stockpile code from MF S 0 to MF S 1.
Note:
- MF S 0 is used for the case where the stockpile usage is included in
the rock throughput limit.
- MF S 1 is used for the case where stockpile usage is independent of
the rock limit.
Run the Batch Processing Program.
Is there much advantage to be gained here? If you run this example you will
find that the stockpile is used to make up the mill capacity.
This gives a further 0.2% improvement in NPV.
247
Part 5: Tutorials and Exercises
28 April, 1998
Exercise 3b - Altering the Mining Throughput Limit
Introduction The rock throughput limit was not exceeded in the first 5 years of operation
and there may have been spare truck capacity to do pre-stripping during this
time.
Rather than create a new Sequence file that reflects this pre-stripping, you can
alter the mining throughput limits to cope with this, if you feel it applies to
your situation.
Procedure Copy:
- octut3.sbi to exer3b.sbi, and,
- octut3.etx to exer3b.etx.
Edit the Economics Text File (exer3b.etx) and change the rock
throughput limit to:
TL ROCK A 3M P6/4M
Where: TL is the Throughput Limit Line.
ROCK is the total amount of material mined.
A indicates that throughput limits are per annum.
3M 6/4M indicates that the throughput limit is 3 million until
period 6 (year 6) when it becomes 4 million, and
remains at 4 million thereafter.
248
Part 5: Tutorials and Exercises
28 April, 1998
Exercise 3b - Altering the Mining Throughput Limit, Continued
Examining the Examine the print files (exer3a.prp and exer3b.prp) and compare the results
print files of the two alternatives.
Files
- Copying files, see page 217.
- General information, see page 42.
- Economics Text Files, see page 94.
- Print files, see page 46.
- Viewing or printing a print file, see page 187.
Other
- Stockpiles, see page 173.
- NPV, see page 262.
- Processing throughput factors, see page 179.
249
Part 5: Tutorials and Exercises
28 April, 1998
Tutorial 4 - Multi-element Deposits
Overview
Introduction Until now, all examples have been based on single element deposits. One of
the things that Opti-Cut handles very well is multi-element deposits.
Background Data can be entered into the Sequence Text File in a variety of ways to
simulate real situations.
One typical situation, at the initial evaluation stage, is to take tabulated drilling
information.
The following table shows the tonnage and average copper and molybdenum
grades at various grade intervals.
Molybdenum (%)
Copper (%) * 0.00-0.025 0.025-0.050 0.050-0.075 0.075-0.100 0.100+
0.00-0.10 T 3,530,882
C
M
0.10-0.20 T 393,047 319,877 228,856 135,482 57,983
C .1255 .1648 .1583 .1886 .1408
M .0166 .0323 .0607 .0881 .1157
0.20-0.30 T 681,207 494,463 310,102 215,195 27,485
C .2501 .2589 .2530 .2291 .2561
M .0115 .0290 .0639 .0900 .1222
0.30-0.40 T 1,192,161 621,113 408,209 134,212 30,440
C .3413 .3239 .3617 .3565 .3698
M .0126 .0419 .0604 .0906 .1402
0.40-0.50 T 543,456 247,007 77,359 57,327 30,894
C .4529 .4574 .4578 .4669 .4558
M .0062 .0358 .0563 .0877 .1150
0.50-0.60 T 481,906 306,961 202,690 105,853 86,051
C .5516 .5650 .5453 .5614 .5738
M .0124 .0384 .0679 .0849 .1520
0.60-0.70 T 371,244 275,364 230,834 88,653 91,176
C .6476 .6303 .6547 .6521 .6387
M .0133 .0294 .0638 .0851 .1231
0.70+ T 2,511,126
C 1.0241
M .0592
250
Part 5: Tutorials and Exercises
28 April, 1998
Overview, Continued
This data can be entered into the Sequence file using a group for each cell and
using either ranged or point grades as appropriate. The file octut4.stx
contains this information.
The file octut4.etx contains the economic scenario. In particular, it contains
information about:
the mining, treatment and marketing costs
plant capacity
product recovery
copper and molybdenum prices, and,
fixed costs.
Note: because the grades have been entered as percentage grades, the prices
and selling costs have been divided by 100 to bring them into line.
It would probably be clearer to enter actual physical grades and use actual
prices.
The point is that, as long as the units are consistent, Opti-Cut can handle them.
251
Part 5: Tutorials and Exercises
28 April, 1998
Procedure and Discussion
Procedure Run the Batch Processing Program either from the Menu or from the
Command Line. Use the project name octut4.
252
Part 5: Tutorials and Exercises
28 April, 1998
Procedure and Discussion, Continued
If we have material containing only copper, then in the first period, if the
grade is greater than 0.623%, it would go to the MILL.
Similarly, material containing only molybdenum with a grade greater than
0.15% would be accepted.
Material containing both elements can be treated on an equivalent metal
basis and be accepted or rejected, based on either the copper or molybdenum
cut-off.
253
Part 5: Tutorials and Exercises
28 April, 1998
Procedure and Discussion, Continued
Cu
Cuequiv = Cugrade + Mograde x co
Moco
Moco
Moequiv = Mograde + Cugrade x
Cuco
254
Part 5: Tutorials and Exercises
28 April, 1998
Procedure and Discussion, Continued
Molybdenum
0.15
Copper 0.623
Files
- General information, see page 42.
- Sequence Text Files, see page 83.
- Economics Text Files, see page 94.
- Print files, see page 46.
- Viewing or printing a print file, see page 187.
Other
- NPV, see page 262.
255
Part 5: Tutorials and Exercises
28 April, 1998
Exercise 4 - Multi-element Stockpiles
Overview
Introduction In Tutorial 4, the first pass through the data showed that cut-off grade
optimization achieved a satisfactory improvement in NPV, however, the mine
life was shortened.
This may or may not present a problem, depending on other opportunities and
uses for the plant and/or infrastructure.
It is, however, worthwhile investigating what would happen with one or more
stockpiles.
256
Part 5: Tutorials and Exercises
28 April, 1998
Exercise 4a: Single Stockpile
Introduction Let us start with the simplest case of a single stockpile containing all material
above the marginal cut-off of the principal element.
Editing the Upon examining the print report (octut4.prp), it can be seen that the copper
Economics Text cut-off varies from 0.62 to 0.36. This would suggest that stockpiling
File intermediate grades above, say, 0.40 could be beneficial.
To add a stockpile, add the following lines to the Economics Text File,
exer4a.etx.
MF S 0
SP ORE 0 .15
SPD CU R 100
SPD MO R 100
SPD CU I .40
257
Part 5: Tutorials and Exercises
28 April, 1998
Exercise 4a: Single Stockpile, Continued
258
Part 5: Tutorials and Exercises
28 April, 1998
Exercise 4b: Multiple Stockpiles
Introduction Now we will look at the second alternative, namely where the copper cut-off
grade is used to separate the stock into two or three piles, giving a low/high or
low/medium/high structure.
Editing the Edit the Economics Text File by adding the following lines.
Economics Text
File
MF S 0
SP ORE 0 .15
SPD CU R 100
SPD MO R 100
SPD CU I .40
SPD CU A .50
SP ORE 0 .15
SPD CU R 100
SPD MO R 100
SPD CU I .50
SPD CU A .60
SP ORE 0 .15
SPD CU R 100
SPD MO R 100
SPD CU I .60
259
Part 5: Tutorials and Exercises
28 April, 1998
Exercise 4c: Using Both Elements to Control Stockpiles
Editing the Edit the Economics Text File by adding the following lines.
Economics Text
File
MF S 0
SP ORE 0 .15
SPD CU R 100
SPD MO R 100
SPD CU I .35
SP ORE 0 .15
SPD CU R 100
SPD MO R 100
SPD CU I .20
SPD CU A .35
SPD MO I .02
SP ORE 0 .15
SPD CU R 100
SPD MO R 100
SPD CU I .00
SPD CU A .20
SPD MO I .06
The following diagram illustrates the relationship between the lowest mill cut-
off without stockpiles (the sloping line) and the proposed stockpile limits.
0.10
0.087 SP_3
0.08
Molybdenum
0.06
SP_2
0.04
SP_1
0.02
0.00
0.0 0.1 0.2 0.3 0.3640.4 0.5
Copper
260
Part 5: Tutorials and Exercises
28 April, 1998
Exercise 4c: Using Both Elements to Control Stockpiles,
Continued
Files
- Copying files, see page 217.
- General information, see page 42.
- Economics Text Files, see page 94.
- Print files, see page 46.
- Viewing or printing a print file, see page 187.
Other
- Stockpiles, see page 173.
261
Part 5: Tutorials and Exercises
28 April, 1998
Appendices
Overview
262
Glossary
28 April, 1998
Appendix A: NPV, Discount Rate and Inflation
NPV Opti-Cut searches for an optimal resource usage based on an initial NPV
(Net Present Value) and then iterates the solution to find the overall best NPV.
Calculating NPV
A projects NPV is found by deducting the initial cash outlay from the present
value of all future net cash inflows.
The present value of a future net cash inflow is obtained by discounting at the
required discount rate.
Thus, NPV is given by:
n
NPV = Rt C
t =1 (1+ k )
t
Where C = the initial (or capital) cash outlay for the project.
Rt = annual net cash inflows generated by the project,
in period t.
n = the life of the project.
k = the discount rate.
This formula assumes that all cash flows occur at the end of the year. See
Discount modes on page 74.
Discount rate
The discount rate should include two factors:
the real money rate
- and -
a factor for risk.
When deciding on a discount rate for the calculation of NPV, do not include
an allowance for inflation.
In financial terms, you should use the real rather than the notional discount
rate.
Inflation The inflation rate factor is only used to inflate cash flows to expected future
dollars at the reporting stage (that is, when the Print Results Program is run).
All costs must be entered in todays dollars (see page 154 for more
information).
263
Glossary
28 April, 1998
Appendix B: How the Optimization is Achieved
Overview
264
Glossary
28 April, 1998
Special Costs
Introduction In his book, The Economic Definition of Ore: Cut-off Grades in Theory and
Practice, Lane explains that there are four types of costs:
1. Cash costs which are proportional to quantities mined and processed.
Example: fuel costs.
2. Cash costs which are proportional to time. Example: site maintenance
costs.
3. A pseudo cost which we call the delay cost.
4. A pseudo cost which we call the change cost.
The two pseudo costs behave like time costs. That is, they are proportional to
the time taken, rather than to the amount mined or processed. These costs are
called pseudo costs because they never appear in any accounts. Nonetheless,
they have an important influence on cut-offs.
Delay costs Delay costs occur when the mining of the remaining resource is delayed,
causing the NPV to be reduced.
Example
Consider a scenario where we have a resource consisting of ten million tonnes
of ore and waste.
We have fixed the way that we are going to exploit the last nine million tonnes
of the resource, and hence the consequent cash flows in today's dollars.
However, we are considering two different methods of exploiting the first
million tonnes, namely:
Method A.
Method B.
If Method B takes six months longer than Method A, then, in addition to
having a different cash flow from A, it will also delay all the cash flows from
the exploitation of the last nine million tonnes by an extra six months.
That is, the exploitation of the last nine million tonnes starts six months later if
we choose Method B.
If the discount rate is 12 percent (1 percent per month), the Net Present Value
of the last nine million tonnes will be decreased by about six percent (because
of the 6 month delay).
There is therefore an effective cost of one percent of the NPV of the last nine
million tonnes for every month that we spend exploiting the first million
tonnes.
Since the delay cost depends on the time taken rather than on the tonnes
exploited, it is a type of time cost and it is called the delay cost.
If we wish to maximize the NPV of our project, we must allow for the
delay cost when making decisions, even though it never appears in any
accounts.
266
Glossary
28 April, 1998
Special Costs, Continued
Change costs Change costs arise when delay causes mining to occur when economic
conditions are different, thus changing the cash flow.
Example
Cash flows are higher if we exploit our resource when the price of the product
is high. Conversely, cash flows are lower if we exploit our resource when the
price of the product is low.
Thus, using the previous example, if we delay the exploitation of the last nine
million tonnes to a period of lower prices, we reduce the cash flows for the
nine million tonnes, and hence the NPV of this nine million tonnes.
Since this effect will generally get bigger with increasing delay, we again treat
it a type of time cost, and we call it the change cost.
It is different from all other time costs because, if the price of the product
increases with time, it can be negative. That is, it can be advantageous to
delay part of the project.
Note: if the economic circumstances are constant, the change cost is zero.
Mill limited If the project is mill limited, both the delay and the change costs should be
project added to the processing cost when calculating the cut-off.
Consequently:
The delay cost, which is always positive, increases the cut-off.
The change cost can increase or decrease the cut-off, depending on whether
the economic circumstances are deteriorating or improving, respectively.
As the resource is used up, the NPV of the remainder of the resource tends to
fall, and is zero when no further resource remains.
Since both the delay and the change costs are dependent on the remaining
NPV, they too tend to fall.
In general, therefore, optimized cut-offs start high and progressively decrease
throughout the life of the project.
267
Glossary
28 April, 1998
The Steps Involved in Optimization
Introduction Simultaneously optimizing the cut-offs for an entire project that spans a
number of years, while taking into account the complications of multiple rock-
types, processing methods and products, is a formidable task which is
impractical with present day computers.
Lane has shown that it is possible to break the problem down, by optimizing
each year separately within a larger optimization loop. While we do not use
Lanes algorithm, the principle of breaking the problem into a number of
smaller problems has been retained.
A simplified description of what we do, in a whole run on a project with one
element, is as follows.
The process We first calculate the marginal cut-off for each increment, taking into account
any economic circumstances which change with time, and store these cut-offs
as a reference set.
We then search for a new cut-off for the first increment which maximizes the
NPV of the whole project. While we are doing this, we keep the cut-offs for
the other increments constant. As we vary the cut-off for the first increment,
the time taken to mine it varies, and this changes the time at which we start
mining the remaining increments. Thus, due allowance is automatically made
for the delay cost and any change cost.
Having found the best cut-off for the first increment, we do a similar search for
the best cut-off for the second increment. We continue this procedure until we
have dealt with all the increments.
Since, by changing the cut-offs for the later increments we have changed their
NPVs and thus any delay and change costs associated with them, the cut-off
for the first increment is no longer optimal. Consequently, we have to go back
to the beginning and optimize the first increment again.
This iterative approach is continued until no further increase in NPV can be
obtained. Three or four passes, in which we optimize the cut-off for each
increment, are usually sufficient.
In reality, we may be finding cut-offs for several elements, and for each period
or for each interval (a period/increment intersection), but the principle is the
same.
The approach hinges on our ability to calculate the NPV of the whole project
very quickly, and we have put a lot of software development work into that
aspect.
Kenneth F. Lane, The Economic Definition of Ore: Cut-off Grades in Theory and Practice, Mining Journal
Books Limited, London, 1988.
268
Glossary
28 April, 1998
Appendix C: Program Limits
Item Limit
Number of elements and products 10
Number of cut-offs 100
Number of rock-types 30
Number of processing methods 30
Number of processing-method/rock-types 30
Number of expressions 20
Number of intervals or periods 999
Number of throughput limit groups 10
Number of throughput limits 10
Number of stockpiles 20
Number of spreadsheet codes in a line 50
269
Glossary
28 April, 1998
Appendix D: Error Messages
Overview
Introduction A package such as Opti-Cut 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 Opti-Cut fall into three broad categories.
messages
These are:
data checks
problem traps, and,
system error messages.
270
Glossary
28 April, 1998
Data Checks
Introduction Opti-Cut never assumes that the data that it is given is correct, and it does
whatever checks it can as soon as it can.
The Sequence and Economics Text Files are checked for consistency and
completeness. Any errors that Opti-Cut detects are reported on the screen and
in the print file.
Error messages Data check error messages, produced by Opti-Cut, 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 them here.
Note: there is a limit to the power of data checking. If you inadvertently give
it wrong data that could still be valid, Opti-Cut cannot detect the error.
271
Glossary
28 April, 1998
Problem Traps
Introduction The programming of Opti-Cut is defensive to the point that it does not even
trust itself to do the right thing!
There are nearly three 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.
272
Glossary
28 April, 1998
System Error Messages
Introduction Opti-Cut, like all application packages, uses the facilities of the computer
operating system when:
starting up
creating input and 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 Opti-Cut code the
opportunity to take any action. Consequently their error message is all you
get.
Since Opti-Cut 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.
273
Glossary
28 April, 1998
System Error Messages, Continued
On a PC, another confusing error arises with the message Unable to open
file. This is usually caused by the Files= line in the CONFIG.SYS file
being omitted or set to too low a number.
274
Glossary
28 April, 1998
Appendix E: 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 it implemented.
Please photocopy this page and fax to Whittle Programming on one of the
following facsimile numbers:
Name:
Company:
Suggestion:
275
Glossary
28 April, 1998
Glossary
Binary file A disk file containing information that is purely for computer use, and that
cannot be displayed on the screen, printed, or edited as text.
Cash flow The net cash income generated by the operation of a mine or some component
of it.
Change cost The change in project value caused by delaying the start of exploitation into a
period where the economic parameters are different.
This pseudo cost affects the optimization.
See page 267 for more information.
276
Glossary
28 April, 1998
Glossary, Continued
Constant 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 position in the pit.
factors Opti-Cut deals with this by using positional cost adjustment factors (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, at the Reference Position.
The cost of mining this type of rock as waste in any other position is obtained
by multiplying the cost of mining the same rock at the Reference Position by
the positional mining CAF for the group in question.
Cost of This is the difference between the total cost of blasting, loading, hauling and
processing processing a tonne of a particular type of rock as ore, and the total cost of
blasting, loading and hauling the same type of rock as waste, both at the
Reference Position.
The cost of processing this type of rock at any other position is obtained by
multiplying the cost of processing the same rock at the Reference Position by
the positional processing CAF for the group in question.
Cut-over A grade above which material is processed by one method and below which it
is processed by another method.
Delay cost The change in project value caused by the extra discounting of all cash flows
when the exploitation of a project is delayed. This pseudo cost affects the
optimization.
See page 266 for more information.
277
Glossary
28 April, 1998
Glossary, Continued
Discount mode The Optimization Program calculates the NPVs for a number of
discount modes.
These modes are described below.
Mode Description
Mode=1 NPV is determined on the assumption that:
Period-based capital injections occur at the start of the period.
Increment-based capital injections occur at the start of the
increment.
Other cash flows occur continuously throughout the interval, as
though each days cash flow was discounted with the fraction
for that day.
Mode=2 NPV is determined on the assumption that:
All cash flows occur at the start of the period.
Mode=3 NPV is determined on the assumption that:
All cash flows occur at the end of the period.
Note: Mode=3 is the default mode for reporting.
Mode=4 NPV is determined on the assumption that:
All capital injections occur at the start of the period.
Other cash flows occur at the end of the period.
Mode=5 NPV is determined on the assumption that:
Period-based capital injections occur at the start of the period.
Increment-based capital injections occur at the start of the
increment.
Other cash flows occur at the end of the interval.
278
Glossary
28 April, 1998
Glossary, Continued
Discounted cash A dollar that we get today is more valuable to us than a dollar that we expect
flow 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).
For more information about NPV, discount rate and inflation, see page 262.
Economic A set of economic values and process definitions which may change over time,
scenario that constitutes one possible economic environment for this project.
Economics A binary file which carries the information from the Economics Text File in a
Binary File form more suitable for optimization.
Economics Text A text file that carries detailed information about the economic scenario and
File how the optimization is to be done.
Element A substance in the mineralised material which is of interest to the study, and
for which grades are available.
279
Glossary
28 April, 1998
Glossary, Continued
Generalised This may be used to prepare the mining sequence file for Opti-Cut and,
Mining Package probably, to complete the details of the design after the final optimization.
Grade range When material is assumed to be of different grades within a certain range, we
call this a grade range.
Contrast with Point grade, below.
280
Glossary
28 April, 1998
Glossary, Continued
Group A section of an increment which is all of one type of rock and which has
particular grade characteristics. A group has a tonnage, and grade information
for each element in the rock-type. The grade information can, in each case, be
either in the form of an average grade or a range consisting of minimum,
average and maximum grades.
If more than one element is involved, grade ranges should be sufficiently
narrow for it to be assumed that there is no correlation between the grades of
different elements within the group.
Multiple groups of the same rock-type can be used to represent any grade
distribution to arbitrary accuracy.
Each group carries mining and processing CAFs.
Handling costs Material handling costs should be included in the cost of mining and may be
included specifically for stockpile re-handling costs.
Head grade The grade of the ore input into the mill.
Increment A section of a sequence which can be assumed to be mined as a unit. That is,
in any time period a given fraction of everything in an increment will be mined.
Increments are defined by the Sequence file. Usually, each increment:
contains different quantities of material, and,
Initial capital The amount spent before the first day of operation of the mine. This amount is
expenditure not discounted.
281
Glossary
28 April, 1998
Glossary, Continued
Initialization A small text file that is used to retain a record of the most recently used
File filenames and extensions, so that the programs can offer sensible default
filenames. It also contains license, and other information. This file is named
oc.ini.
For more information, see page 139.
Internal rate of The discount rate (percentage) at which the NPV of the project is zero.
return (IRR)
Interval Tonnages and grades are reported at the end of each period or at the end of
each period and each resource increment. We use the term interval to describe
time intervals which end wherever a period or an increment ends.
The following diagram shows the relationship between periods, increments and
intervals.
Periods
Increments
Intervals
Time
Language File 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 oc.lng.
See page 140 for more information.
Log file A text file of abbreviated prompts and responses that can be used to re-run a
program.
See page 141 for more information
Marginal cut-off A cut-off which maximizes cash flow from the mine, having regard to mill
costs and time costs but not to delay and change costs.
Continued on next page
282
Glossary
28 April, 1998
Glossary, Continued
Maximum A cut-off specified by the user. The Optimization Program will not raise a
cut-off grade cut-off or cut-over above this limit.
Minimum A cut-off specified by the user. The Optimization Program will not lower the
cut-off grade cut-off or cut-over below this limit.
Mining dilution When mining ore, it is common to inadvertently mine some waste also.
Opti-Cut can apply an overall dilution factor that increases the tonnage of each
group processed, but leaves the element content of the group unchanged.
Example
A 5% dilution would require a mining dilution factor of 1.05. This factor
affects Cut-offs and Cut-overs.
Mining Dilution
Dilution
Waste
Ore
Mining Not all the ore that you intend to process actually reaches the processing mill.
recovery
If, for example, 5% is lost, then the mining recovery factor is 0.95. Both the
tonnage and the element content of each group processed are multiplied by
this factor.
Mining recovery affects optimized cut-offs and cut-overs only indirectly.
283
Glossary
28 April, 1998
Glossary, Continued
Period A time interval to which particular economics and throughput limits apply.
The user defines the length of a period.
For more information about the relationship between intervals, increments and
periods see Interval, above.
Point grade When material is assumed to be entirely of one grade, we call this a
point grade.
Contrast with Grade range, above.
Positional CAFs Opti-Cut 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 group. 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 at the Reference Position, is
multiplied by the positional mining CAF of each group to obtain the mining
cost at that position
Processing costs are obtained in a similar manner by using the positional
processing CAF.
284
Glossary
28 April, 1998
Glossary, Continued
Price The amount obtained for one unit of a particular product. There is a separate
price for each product.
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.
Opti-Cut has a different print file extension for each of the main programs.
See page 46 for a list of print files and default file extensions.
Processing A grade that is subtracted from the grade before the processing recovery
recovery percentage is applied.
threshold
See page 182 for a detailed explanation.
Project life The time span of the project or the model scenario, measured in years.
Pure text mode Operation of a word processor in a mode which causes it to store the file in
pure ASCII without any formatting controls.
Reference A particular position in the mine, chosen by the user, for which all mining and
Position processing costs are calculated.
If the costs are different in other parts of the mine, this is handled by positional
CAFs for mining and/or processing in each group.
Rehabilitation The cost, per tonne, of rehabilitating material of a particular type of rock after
cost it has been dumped as waste.
285
Glossary
28 April, 1998
Glossary, Continued
Reject material Mineralised material that could be processed, but is not, due to the current
cut-offs.
Replacement From time to time, in the operation of a mine, it is necessary to refurbish major
capital pieces of equipment, and this often involves expenditure that is well in excess
expenditure of normal maintenance costs. We refer to this as replacement
capital expenditure.
These items are discounted. See Discount mode, above.
Scaling factors Scaling factors are input as a negative value from one to six. This means a
scaling by a factor of from 10 to 1,000,000.
Selling cost The costs associated with selling a unit of a product. There is a separate selling
cost for each product.
286
Glossary
28 April, 1998
Glossary, Continued
Increment 1 Groups
Increment 2
Sequence
Increment 3
Sequence A binary file which carries the information from the Sequence Text File in a
Binary File form more suitable for optimization.
Sequence Text A text file that describes the physical resource and proposed mining sequence.
File
For more information, see page 83.
Spreadsheet A small text file that lists the items which are to be output to a Spreadsheet
Definition File Output File during a run of the Print Results Program.
Spreadsheet A small text file containing columns of selected values created from a run of
Output File the Print Results Program.
The items that are to be included are listed in a Spreadsheet Definition File.
Stockpile An accumulation of ore set aside for later processing. A rock-type and one or
more grade ranges are specified for each stockpile.
287
Glossary
28 April, 1998
Glossary, Continued
Stockpile feed The amount of stockpile material which is fed to a processing plant.
Stockpile This is the percentage of the element that can be recovered. It is there to allow
recovery for the effects of stockpile degradation over time due to exposure to wind, air
and rain.
When material from a stockpile is processed, the recovery used is the product
of the stockpile recovery and the processing recovery.
Stripping ratio The ratio of the tonnes not processed (including any sent to stockpiles) to the
tonnes processed.
Text file A file containing alphanumeric characters that can be displayed on the screen,
printed, and edited as text.
When we refer to a text file, we refer to a file in ASCII format.
See ASCII, above, for more information.
Terminal Value The value, if we were to start mining it today, of the resource remaining when
the current processing finishes.
This will be zero if the entire resource is included in the sequence.
288
Glossary
28 April, 1998
Glossary, Continued
Time costs Costs that continue during mining, regardless of the amount mined, processed
or sold. These are often called overheads or G&A (General and
Administration) costs.
Units The units used for quantities of rock, elements, and currency are arbitrary, but
only one unit is allowed for each. Different elements can have different units.
Note: although the program and Manual refer to Tonnes throughout, Tons or
Short Tons can be used, provided they are used everywhere.
Waste Material that contains no product, or so little that it is not worth processing.
289
Glossary
28 April, 1998
Index
Page numbers in bold type contain extensive and/or highly relevant topic information.
A
Abbreviations used.......................................................................................................................................................... 21
Allowed value types ...................................................................................................................................................... 109
Argument...............................................................................................................................................................111, 276
Arithmetic symbols ....................................................................................................................................................... 110
Autolog facility ............................................................................................................................................................. 148
B
Batch operation ............................................................................................................................................................. 146
Batch Processing Program
reference ......................................................................................................................................33, 146, 187, 218, 220
Blank
spreadsheet code ...................................................................................................................................................... 120
Bold type, use of ............................................................................................................................................................. 16
C
.csv as a Spreadsheet Output File extension................................................................................................................... 135
Cant read error message............................................................................................................................................... 274
CAF.......................................................................................................................................... see Cost adjustment factors
Capital injection
position in file.......................................................................................................................................................... 100
reference ....................................................................................................................................... 74, 96, 115, 165, 278
spreadsheet code ...................................................................................................................................................... 120
Capital replacement
position in file.......................................................................................................................................................... 100
reference .................................................................................................................................................................. 165
spreadsheet code ...................................................................................................................................................... 120
Change cost.................................................................................................................................................... 267, 268, 276
Comma delimited format............................................................................................................................................... 134
Command line................................................................................................................................................................. 37
Command Line names................................................................................................................................................17, 37
Comment lines ................................................................................................................................................................ 92
290
Index
28 April, 1998
Compaction
reference ....................................................................................................................................... 50, 60, 152, 225, 235
Constants
definition ................................................................................................................................................................. 277
reference ........................................................................................................................ 92, 98, 109, 110, 111, 114, 279
Cost adjustment factor
positional mining
position in file....................................................................................................................................................... 90
reference ............................................................................................................................................................. 162
spreadsheet code ................................................................................................................................................. 120
positional processing
position in file....................................................................................................................................................... 90
spreadsheet code ................................................................................................................................................. 120
reference ...........................................................................................................................................................159, 277
Cost of mining
definition ................................................................................................................................................................. 277
position in file.......................................................................................................................................................... 102
reference .............................................................................................................. 90, 161, 162, 167, 168, 205, 277, 281
spreadsheet code ...................................................................................................................................................... 124
Cost of processing
position in file.......................................................................................................................................................... 103
reference ..............................................................................................................................90, 159, 162, 169, 206, 277
spreadsheet code ...................................................................................................................................................... 124
Costs
stockpile reference ................................................................................................................................................... 175
Cut-off
multiple cut-offs....................................................................................................................................................... 184
reference ................................................................................................................ 49, 96, 183, 198, 207, 210, 219, 283
spreadsheet code ...................................................................................................................................................... 123
stockpile reference ................................................................................................................................................... 176
Cut-off grade
Maximum and Minimum
definition ............................................................................................................................................................ 283
position in file..................................................................................................................................................... 104
reference ......................................................................................................................................................121, 252
Cut-over
definition ................................................................................................................................................................. 277
reference .................................................................................................................................................................. 283
spreadsheet code ...................................................................................................................................................... 123
D
Data checks................................................................................................................................................................... 271
Default answers .........................................................................................................................................................39, 40
Delay cost .............................................................................................................................................. 266, 267, 268, 277
Dilution ................................................................................................................................................ see Mining dilution
Discount mode ................................................................................................................................................. 74, 139, 200
Discount rate
position in file.......................................................................................................................................................... 100
reference ..................................................................................................................................................... 96, 115, 282
spreadsheet code ...................................................................................................................................................... 120
Discounted cash flow
definition ................................................................................................................................................................. 279
reference .................................................................................................................................................................... 80
spreadsheet code ...................................................................................................................................................... 123
E
.ebi .............................................................................................................................................see Economics Binary File
.etx ................................................................................................................................................see Economics Text File
Economics Binary File
creation...................................................................................................................................................................... 66
definition ................................................................................................................................................................. 279
reference ............................................................................................................................44, 66, 69, 95, 189, 193, 227
291
Index
28 April, 1998
Economics description
position in file............................................................................................................................................................ 98
Economics Input Program................................................................................................................................................ 66
Economics Text File
conversion.................................................................................................................................................................. 66
definition ................................................................................................................................................................. 279
example ................................................................................................................................................................... 114
format ........................................................................................................................................................................ 96
functions .................................................................................................................................................................. 109
reference............................................................................................................................43, 51, 66, 95, 155, 217, 238
Economics Text File line types
CI - Capital Injection Line ......................................................................................................................... 100, 114, 115
DI - Discount Rate Line............................................................................................................................. 100, 114, 115
ECO - Economics Line................................................................................................................................ 98, 114, 115
EL - Element Line..................................................................................................................................... 101, 114, 115
EV - Expression Variable Line.................................................................................................................... 99, 155, 180
IN - Inflation Line .................................................................................................................................................... 100
MF - Global Mining Factors Line............................................................................... 106, 176, 239, 247, 257, 259, 260
MT - Method/Rock-type Line............................................................................................................ 103, 114, 115, 181
MTC - Method/Rock-type/Cut-off Line .............................................................................................................104, 181
MTP - Method/Rock-type/Product Line ..................................................................................................... 103, 114, 115
PL - Period Length Line .............................................................................................................................. 99, 114, 115
PR - Product Line............................................................................................................... 101, 114, 115, 155, 156, 158
RO - Rock-type Line ................................................................................................................................. 102, 114, 115
ROC - Rock-type Element Cut-off Line .................................................................................................................... 102
SP - Stockpile Line ............................................................................................................ 107, 108, 239, 257, 259, 260
SPD - Stockpile Detail Line .......................................................................................................108, 239, 257, 259, 260
TC - Time Costs Line.......................................................................................................................... 99, 114, 115, 217
TG - Throughput Group Line..................................................................................................................... 104, 179, 180
TL - Throughput Limit Line .......................................................................................................105, 114, 115, 179, 248
TV - Terminal Value Line.......................................................................................................................................... 98
Error messages.............................................................................................................................................................. 270
Expression Variable
position in file............................................................................................................................................................ 99
reference ............................................................................................................................................. 96, 155, 180, 269
spreadsheet code ...................................................................................................................................................... 120
Expressions
definition ................................................................................................................................................................. 279
reference ....................................................................................................................................... 97, 98, 109, 111, 269
Extensions ............................................................................................................................................. see File extensions
F
File types ........................................................................................................................................................................ 42
Filenames and extensions................................................................................................................................................ 47
Fixed delimited format.................................................................................................................................................. 134
Four-D
definition ................................................................................................................................................................. 279
interface..................................................................................................................................................................... 28
reference ....................................................................................................................................... 52, 60, 152, 160, 222
Four-X
definition ................................................................................................................................................................. 280
interface..................................................................................................................................................................... 28
reference ....................................................................................................................................... 52, 60, 152, 160, 222
Functions ...................................................................................................................................................................... 111
G
.G grade .................................................................................................................................................................109, 112
Glossary........................................................................................................................................................................ 276
Grade discrimination
definition ................................................................................................................................................................. 280
reference .................................................................................................................................................................... 63
292
Index
28 April, 1998
H
Handling costs .............................................................................................................................................................. 281
Hardware and software requirements............................................................................................................................... 25
I
Increments
combining .................................................................................................................................................................. 64
reference .................................................................................................................................................................... 72
Inflation
position in file.......................................................................................................................................................... 100
reference ........................................................................................................................................... 155, 167, 263, 281
spreadsheet code ...................................................................................................................................................... 121
Initial capital........................................................................................................................................see Capital injection
Initialization File
reference ..................................................................................................................................................... 47, 139, 282
Installation ...................................................................................................................................................................... 26
Internal rate of return
definition ................................................................................................................................................................. 282
reference .................................................................................................................................................................. 210
spreadsheet code ...................................................................................................................................................... 121
Interval
definition ................................................................................................................................................................. 282
reference ....................................................................................................................................... 71, 72, 119, 134, 269
spreadsheet use ........................................................................................................................................................ 126
Italics, use of................................................................................................................................................................... 15
K
k (thousands) .....................................................................................................................................................21, 92, 217
Keyboard prompts and answers ....................................................................................................................................... 38
Keyboard special keys..................................................................................................................................................... 40
L
.loc...................................................................................................................................................................see Log files
.loe ..................................................................................................................................................................see Log files
.lol ...................................................................................................................................................................see Log files
.loo ..................................................................................................................................................................see Log files
.lop ..................................................................................................................................................................see Log files
.los...................................................................................................................................................................see Log files
Lane, Kenneth F.......................................................................................................................................................22, 265
Language file ................................................................................................................................................................ 282
reference .................................................................................................................................................................. 140
License entitlement ....................................................................................................................................................... 282
License file ............................................................................................................................................................187, 282
Life of project
spreadsheet code ...................................................................................................................................................... 121
Lines per page............................................................................................................................................................... 139
Log file
commands................................................................................................................................................................ 142
definition ................................................................................................................................................................. 141
example ................................................................................................................................................................... 141
extensions ................................................................................................................................................................ 141
in batch mode........................................................................................................................................................... 148
reference .................................................................................................................................................................. 141
M
m (millions) .......................................................................................................................................................21, 92, 217
Maximum cut-off grade............................................................................................................................. see Cut-off grade
293
Index
28 April, 1998
Menu
Files submenu............................................................................................................................................................ 35
Options submenu ....................................................................................................................................................... 36
Selection submenu ..................................................................................................................................................... 35
Minimum cut-off grade ............................................................................................................................. see Cut-off grade
Mining dilution
definition ................................................................................................................................................................. 283
position in file.......................................................................................................................................................... 106
spreadsheet code ...................................................................................................................................................... 121
Mining recovery
definition ................................................................................................................................................................. 283
position in file.......................................................................................................................................................... 106
spreadsheet code ...................................................................................................................................................... 121
N
Naming files ................................................................................................................................................................... 48
Net present value ...................................................................................................................................................see NPV
Non-linear recovery....................................................................................................................................................... 182
NPV - net present value .............................................................................................................................................51, 74
reference .................................................................................................................... 198, 263, 266, 267, 268, 279, 288
O
Out of disk space error message .................................................................................................................................... 274
Oc??.ok file......................................................................................................................................................... see ok file
OCCO........................................................................................................................................... see Compaction Program
OCEC .................................................................................................................................... see Economics Input Program
OCLD............................................................................................................................................see List Details Program
OCOP ......................................................................................................................................... see Optimization Program
OCPR ..........................................................................................................................................see Print Results Program
OCSE ...................................................................................................................................... see Sequence Input Program
ok file ....................................................................................................................................................................140, 150
Optimization Program ..................................................................................................................................................... 69
Overwriting files ............................................................................................................................................................. 41
P
.prc ................................................................................................................................................................ see Print files
.pre ................................................................................................................................................................ see Print files
.prl................................................................................................................................................................. see Print files
.pro ................................................................................................................................................................ see Print files
.prp ................................................................................................................................................................ see Print files
.prs ................................................................................................................................................................ see Print files
Period
definition ................................................................................................................................................................. 284
position in file............................................................................................................................................................ 99
reference ............................................................................................................................50, 60, 71, 74, 119, 124, 134
spreadsheet use ........................................................................................................................................................ 126
pn/ ............................................................................................................................................................................... 155
Point grades
definition ................................................................................................................................................................. 284
reference ......................................................................................................................................... 50, 60, 91, 152, 280
Positional mining factors .......................................................................................................... see Cost adjustment factors
Positional processing factors..................................................................................................... see Cost adjustment factors
Pre-stripping .................................................................................................................................................. 181, 243, 248
Print files ........................................................................................................................................................................ 46
Problem traps................................................................................................................................................................ 272
Processing cost.................................................................................................................................. see Cost of processing
Processing method
more than one .......................................................................................................................................................... 183
position in file.......................................................................................................................................................... 103
reference ...........................................................................................................................................................121, 285
reference ...........................................................................................................................................................206, 269
spreadsheet code ...................................................................................................................................................... 124
294
Index
28 April, 1998
Processing method threshold
position in file.......................................................................................................................................................... 103
Processing recovery fraction .......................................................................................................................................... 182
reference .................................................................................................................................................................. 182
Processing recovery percentage
position in file.......................................................................................................................................................... 103
Processing throughput factors ........................................................................................................................................ 179
Product
position in file.......................................................................................................................................................... 101
reference ..............................................................................................................................96, 155, 157, 158, 207, 269
Program Enhancement................................................................................................................................................... 275
PROGRAM ERROR ? IN ?????? ................................................................................................................................... 272
Program limits .............................................................................................................................................................. 269
Program names ............................................................................................................................................................... 17
Programs
accessing.................................................................................................................................................................... 34
exiting ....................................................................................................................................................................... 41
functions .................................................................................................................................................................... 32
reference .................................................................................................................................................................... 53
Prompts and answers.................................................................................................... see Keyboard prompts and answers
Q
.Q quantity ............................................................................................................................................. 104, 110, 179, 180
Quote delimited format ................................................................................................................................................. 134
R
.rbi.................................................................................................................................................... see Result Binary File
Recovery.........................................................................................................................see Mining or Processing recovery
Reference position
definition ................................................................................................................................................................. 285
reference ..............................................................................................................................90, 102, 159, 162, 277, 284
Rehabilitation
definition ................................................................................................................................................................. 285
reference ........................................................................................................................................... 159, 162, 169, 178
spreadsheet code ...................................................................................................................................................... 124
Rejected material
spreadsheet code ...................................................................................................................................................... 123
Replacement capital ........................................................................................................................see Capital replacement
Result Binary File
definition ................................................................................................................................................................. 286
reference .........................................................................................................................................................44, 69, 76
Rock
spreadsheet code ...................................................................................................................................................... 122
Rock-type
position in file.....................................................................................................................................................89, 102
S
.sbi................................................................................................................................................see Sequence Binary File
.ssd ..................................................................................................................................... see Spreadsheet Definition File
.sso .......................................................................................................................................... see Spreadsheet Output File
.stx...................................................................................................................................................see Sequence Text File
scaling factors ................................................................................................................................................................. 80
Selecting from a list of items ........................................................................................................................................... 39
Selling cost
definition ................................................................................................................................................................. 286
position in file.......................................................................................................................................................... 101
reference ........................................................................................................................................... 159, 163, 170, 208
spreadsheet code ...................................................................................................................................................... 122
Sensitivity analysis...................................................................................................................................................52, 151
295
Index
28 April, 1998
Sequence Binary File
creation...................................................................................................................................................................... 55
definition ................................................................................................................................................................. 287
reference .........................................................................................................................................................43, 61, 95
Sequence compaction .................................................................................................................................. see Compaction
Sequence Input Program.......................................................................................................................................54, 57, 76
Sequence Text File
format ........................................................................................................................................................................ 87
reference ............................................................................................................................................. 42, 52, 61, 84, 85
Sequence Text File line types
EL - Element Line................................................................................................................................... 89, 92, 93, 226
ELA - Element Average Line...........................................................................................................................91, 92, 93
ELP - Element Presence Line ..........................................................................................................................90, 92, 93
ELR - Element Range Line..............................................................................................................................91, 92, 93
GR - Group Header Line .................................................................................................................................90, 92, 93
IN - Increment Description Line ......................................................................................................................90, 92, 93
RO - Rock-type Line .......................................................................................................................................89, 92, 93
SEQ - Sequence Description Line....................................................................................................................89, 92, 93
Special keys .................................................................................................................................................................... 40
Spreadsheet Definition File
attributes.................................................................................................................................................................. 123
/C - cash flow................................................................................................................ 120, 121, 122, 123, 129, 130
/CD - cash flow, discounted............................................................................120, 121, 122, 123, 127, 129, 130, 231
/CO - cut-off/cut-over ................................................................................................................... 121, 123, 130, 231
/EN - end number of increment ............................................................................................................ 121, 123, 129
/EP - end percentage of increment used ................................................................................................ 121, 123, 129
/FR - fraction ...............................................................................................................................................122, 123
/GF - grade of material from the stockpile .............................................................................121, 122, 123, 130, 131
/GG - grade of material in the ground ........................................................................................... 121, 122, 123, 129
/GI - grade of material from the increment (to processing) ............................................................ 121, 122, 123, 130
/GM - grade of material mined ............................................................................................................. 122, 123, 129
/GR - grade of material rejected ........................................................................................................... 122, 123, 129
/GS - grade of material in the stockpile at the end of the period/interval ............................................... 122, 123, 131
/GT - grade of material to the stockpile ........................................................................................ 122, 123, 129, 131
/H - stockpile handling cost ..........................................................................................................................122, 123
/HD - stockpile handling cost, discounted .....................................................................................................122, 123
/L - throughput limit.............................................................................................. 120, 121, 122, 124, 129, 130, 131
/LM - length of period, in months......................................................................................................... 122, 124, 129
/MA - maximum cut-off ....................................................................................................................... 121, 124, 130
/MC - unit mining cost ......................................................................................................................... 122, 124, 129
/MI - minimum cut-off.......................................................................................................................... 121, 124, 130
/PC - processing cost at the reference position ...................................................................................... 121, 124, 130
/PR - price per unit............................................................................................................................... 120, 124, 130
/R - total rehabilitation ......................................................................................................................... 122, 124, 129
/RC - rehabilitation cost ....................................................................................................................... 122, 124, 129
/RD - total rehabilitation value, discounted........................................................................................... 122, 124, 129
/RP - processing recovery percentage.................................................................................................... 121, 124, 130
/RT - processing recovery threshold...................................................................................................... 121, 124, 130
/S - total sales cost ............................................................................................................................... 120, 124, 130
/SC - sales cost per unit........................................................................................................................ 120, 124, 130
/SD - total sales cost, discounted .......................................................................................................... 120, 124, 130
/SN - start number of increment ........................................................................................................... 121, 124, 129
/SP - start percentage of increment used ............................................................................................... 121, 124, 129
/SR - stockpile recovery........................................................................................................................ 120, 124, 131
/TF - tonnes from the stockpile (to processing) ......................................................................121, 122, 124, 130, 131
/TG - tonnes in the ground............................................................................................. 121, 122, 124, 127, 129, 231
/TI - tonnes from the increment (to processing).............................................................. 121, 122, 124, 127, 130, 231
/TM - tonnes mined.............................................................................................................................. 122, 124, 129
/TR - tonnes rejected (from processing or stockpiling ........................................................................... 122, 124, 129
/TS - tonnes in the stockpile, at the end of a particular interval or period .............................................. 122, 124, 131
/TT - tonnes input to the stockpile ................................................................................................ 122, 124, 129, 131
/UF - units of an element from the stockpile .................................................................. 120, 121, 122, 124, 130, 131
/UG - units of an element in the ground.................................................................................120, 121, 122, 124, 129
/UI - units of an element from the increment to processing.....................................................120, 121, 122, 125, 130
/UM - units of an element mined .......................................................................................................... 122, 125, 129
296
Index
28 April, 1998
/UO - units of an element output from processing .................................................. 120, 121, 122, 125, 127, 130, 231
/UR - units of an element rejected ........................................................................................................ 122, 125, 129
/US - units of an element in the stockpile ............................................................................................. 120, 122, 125
/UT - units of an element to the stockpile ..............................................................................120, 122, 125, 129, 131
codes................................................................................................................................................. 119, 120, 123, 128
definition ................................................................................................................................................................. 287
format ...................................................................................................................................................................... 119
keywords.................................................................................................................................................................. 120
<element>.................................................................................................................................... 120, 129, 130, 131
<expression>....................................................................................................................................................... 120
<method>.............................................................................................................. 121, 127, 129, 130, 131, 230, 231
<method>.<element> .................................................................................................... 121, 127, 129, 130, 131, 230
<method>.<type>......................................................................................................................... 121, 129, 130, 131
<method>.<type>.<element>......................................................................................... 121, 129, 130, 131, 230, 231
<type> ......................................................................................................................................... 122, 129, 130, 131
<type>.<element> ........................................................................................................................ 122, 129, 130, 131
AVMINCAF ................................................................................................................................................120, 129
AVPROCAF ................................................................................................................................................120, 129
Blank ................................................................................................................................................... 120, 230, 231
CAPEXINI...................................................................................................................................................120, 129
CAPEXREP.................................................................................................................................................120, 129
DISCOUNT .................................................................................................................................................120, 129
INCREMENT ..............................................................................................................................................121, 129
INFLATION.................................................................................................................................................121, 129
INTERNAL..................................................................................................................................................121, 130
LIFE ............................................................................................................................................................121, 129
MINDIL.......................................................................................................................................................121, 129
MINREC......................................................................................................................................................121, 129
PERIOD....................................................................................................................................... 122, 129, 230, 231
RESUSED ...................................................................................................................................................122, 129
ROCK...................................................................................................................................122, 127, 129, 230, 231
SELLCOST..................................................................................................................................................122, 129
SP_<n>........................................................................................................................................ 122, 129, 130, 131
SP_<n>.<element>....................................................................................................................... 122, 129, 130, 131
STOCKPILE ........................................................................................................................................ 122, 129, 131
STRIP.......................................................................................................................................... 122, 129, 230, 231
TERMINAL.................................................................................................................................................122, 129
TIMECOST .................................................................................................................................................122, 129
VALUE.................................................................................................................................123, 127, 130, 230, 231
WASTE .......................................................................................................................................................123, 129
line types
GRA .................................................................................................................................................... 119, 127, 231
INT..............................................................................................................................................................119, 231
PER .................................................................................................................................................................... 119
reference ............................................................................................................................................... 44, 80, 118, 230
Spreadsheet Output File
creation...................................................................................................................................................................... 76
definition ................................................................................................................................................................. 287
example ................................................................................................................................................................... 136
format ...................................................................................................................................................................... 134
reference ......................................................................................................................................45, 118, 133, 230, 287
Stockpiles
cut-offs..................................................................................................................................................................... 177
definition ................................................................................................................................................................. 287
grades ...............................................................................................................................................................108, 174
Mining factor ........................................................................................................................................................... 106
multi-element........................................................................................................................................................... 175
old175
position in file.......................................................................................................................................................... 107
recovery percentage.................................................................................................................................................. 108
reference ................................................................................................................................51, 96, 131, 173, 269, 288
re-handling costs ...................................................................................................................................................... 107
rock-type code.......................................................................................................................................................... 107
spreadsheet codes..............................................................................................................................................122, 123
tutorial ...................................................................................................................................................... 237, 250, 256
297
Index
28 April, 1998
Stripping ratio
definition ................................................................................................................................................................. 288
Spreadsheet code...................................................................................................................................................... 122
System error messages .................................................................................................................................................. 273
T
Terminal Value
definition ................................................................................................................................................................. 288
position in file............................................................................................................................................................ 98
reference .............................................................................................................................................................96, 167
Termination of optimization ............................................................................................................................................ 74
Three-D
definition ................................................................................................................................................................. 288
reference ...................................................................................................................................................................... 9
Throughput factor...............................................................................................................see Processing throughput factor
Throughput Group
position in file.......................................................................................................................................................... 104
reference ......................................................................................................................................96, 124, 269, 284, 289
Throughput limit
definition ................................................................................................................................................................. 289
exercise.................................................................................................................................................................... 246
position in file.......................................................................................................................................................... 105
reference ..................................................................................................................................51, 71, 96, 179, 269, 284
Time costs
definition ................................................................................................................................................................. 289
position in file............................................................................................................................................................ 99
reference ...................................................................................................................... 96, 160, 163, 166, 167, 170, 265
spreadsheet code ...................................................................................................................................................... 122
Tutorials and exercises.................................................................................................................................................. 185
U
Unable to open file error message.................................................................................................................................. 274
Unable to write file error message ................................................................................................................................. 274
Underlining, use of.......................................................................................................................................................... 16
Units
definition ................................................................................................................................................................. 289
reference ...........................................................................................................................................................158, 251
spreadsheet code ...................................................................................................................................................... 124
Using the package ........................................................................................................................................................... 31
V
Value
spreadsheet code ...................................................................................................................................................... 123
298
Index
28 April, 1998