700-Series Programs
The 700-series programs consist of two sets of programs for pit
design and reserve calculations.
Pit Optimization - Sequential Technique for Reserve
and Incremental Planning Using Pit Design
Polygons
This series of programs is used for detailed mine design and
planning. Reserves are calculated on the basis of partial blocks
from pit outlines obtained from geometric expansion or manual
designs. Programs in this series are numbered from M705V1 to
M712V1.
This series of programs is geometrically oriented and optimizing
considerations are not included. The purpose of these programs
is to:
Represent working designs that are modifications of Pit
Optimization economic designs
Reduce outlines of short term production scheduling units
into tons and grade
Include detailed design features, such as ramps, variable
pit slopes and physical restrictions
Pit outlines are either stored in an ASCII pit outlines file or in a
VBM file. This series of programs is also the major link to the
scheduling programs in MineSight
.
Pit Optimization - Dynamic Interactive Pit Planning
Evaluation Routine
This series of programs is used to generate a first pass economic
mine design using either a floating cone or the Lerchs-
Grossmann techniques. Reserves can be calculated on the basis
of whole blocks. Programs in this series are numbered from
M717TS to M729V1.
Optimized pits are calculated for one grade item or equivalent
grade item using a condensed model derived from the complete
mine model.
MINE PLANNING OPERATIONS
Economic pit limits of the condensed model are derived using:
Original topography or pit surface
Mine modeling and mill cutoff grades
Variable mining and processing costs
Net value of product
Varying pit slopes
Pit reserves can be calculated from the condensed model, or
whole block partials from Pit Optimization can be passed to
pit design polygons for more detailed reserves.
Program Summaries
M705V1Calculate Block Partials from Pit Outlines
This program computes the percentage of each block that is
within each bench of a pit outline. These percentages are used
for reserve calculations with M711V1.
M708V1User Interface for Reserve Calculations
This program accesses a user-coded Fortran subroutine for the
calculation of special mine model reserves reports. The program
uses block partials generated from mine designs.
M710V1Set up or List the Reserve Summary File Logic
This program creates and lists the reserve logic for the Material
Summary File using a run file.
M711V1Calculate 3-D Mine Model Reserves
This program calculates reserves from the 3-D mine model using
partial blocks generated from pit outlines. The Material
Summary File is created.
M712V1Reserve Summary Report Generation
This program retrieves information from the Material Summary
file (File 18) and generates a report from user specifications.
Reports can be made for sequential pits or entire pits and
MineSight
Proprietary Software: Mintec, inc. M705V1-CALC BLOCK PARTIALS FROM PIT OUTLINES
Revised: 8-June-01 Page 705-1
PROGRAM SUMMARY
M705V1 computes the percentage of each block that is within
each bench of a pit outline. These percentages (or partials) are
used for reserves calculations.
PROGRAM FLOW DIAGRAM
RUN FILE:
INPUT: CALCS:
OUTPUT:
M705V1 CALCULATE BLOCK PARTIALS FROM PIT
OUTLINES
REQUIREMENTS AND CONSIDERATIONS
M705V1 calculates block partials from an M649V1 input format
file.
M705V1 generates an ASCII output partials file formatted for
input to reserve programs M708V1 and M711V1.
IOP1 determines the accuracy of partials calculations by
specifying the number of passes per row for computing
intersections with the bench outline. The increments are summed
to give the total percent of the block within the pit. Accuracy
and run time are increased as the number of increments is
increased.
IOP2 and IOP3 identify the output set of partials with primary
and secondary labels. These numbers are output on the bench
header line of the output file.
PAR1 and PAR2 are X and Y constants added to the pit outline
coordinate points, respectively, before partial blocks are
computed. This implies a shifting of the computed partials.
- Partials ident and offset
- Precision of calculations
as number of increments
per row
- PCF
- Pit Outlines file
or
-M649V1 input file
- Compute percentage of
block within pit outline for
all benches in Pit
Outlines file
- Computes optional
midpoint of closed VBM
feature.
- ASCII file of partials
- Printer Output file
- Optional Midpoint file
MineSight
M705V1-CALC BLOCK PARTIALS FROM PIT OUTLINES Proprietary Software: Mintec, inc.
Page 705-2 Revised: 8-June-01
MineSight
Proprietary Software: Mintec, inc. M705V1-CALC BLOCK PARTIALS FROM PIT OUTLINES
Revised: 8-June-01 Page 705-3
RUN FILE OPERATION
1. NAMES LINE (must be the first line entered)
MEDS-705V1 10=filename 21=filename 22=filename;
MEDS-705V1 3=filename
where
MEDS-705V1 (must be the first 10 columns)
10= the name of the PROJECT CONTROL FILE
21= the name of the Pit Outlines File (M649V1) input file
22= the name of the Output File of Partials
3= the name of the PRINTER OUTPUT FILE
29= the name of the Midpoint File.
2. RUN INFORMATION LINE (max. of 80 columns)
A single line of text that will be printed at the top of each page of printer output from the run.
3. RUN OPTIONS (in any order & free-field format)
USR = USER INITIALS (e.g., ABC)
IOP1 = NUMBER OF INCREMENTS PER BLOCK (default=4)
IOP2 = PHASE OR SEQUENCE NUMBER (label on header line)
IOP3 = SUBPHASE OR SUBSEQUENCE NUMBER (label on header line)
IOP4 = 0 FILE IS IN PIT FORMAT
= 1 FILE IS IN M649V1 FORMAT
IOP5 = 0 DO NOT MAKE AUXILIARY MIDPOINT FILE 29
= 1 MAKE AUXILIARY MIDPOINT FILE 29
NOTE: To use IOP5 = 1, you must use an input file in M649V1 Format (IOP4 = 1).
IOP6 = 1 OUTPUT FILE WITH M659V1-STYLE HEADER # LINE
PAR1 = X-CONSTANT
PAR2 = Y-CONSTANT
END
M705V1 CALCULATE BLOCK PARTIALS FROM PIT OUTLINES
MineSight
M705V1-CALC BLOCK PARTIALS FROM PIT OUTLINES Proprietary Software: Mintec, inc.
Page 705-4 Revised: 8-June-01
SAMPLE RUN FILE #1
MEDS-705V1 10=SAMP10.DAT 21=DAT649.OA 22=DAT705.OA
MEDS-705V1 3=RPT705.LA
** COMPUTE BLOCK PARTIALS FOR STRIPPER PIT **
USR = ABC
COM
COM COMPUTE PARTIAL BLOCKS FOR PIT USING DEFAULTS FOR ALL
COM OPTIONS AND PARAMETERS.
COM
IOP1 = 0 / INCREMENTS PER ROW (default = 4)
PAR1 = 0 0 / X & Y CONSTANTS
END
FORMAT OF OUTPUT FROM M705V1
IZ IOP2 X1 X2 Y1 Y2 IOP3 Bench header line
where
IZ = Bench reference numberI
OP2 = Phase or sequence number
X1 = Minimum column for bench
X2 = Maximum column for bench
Y1 = Minimum row for bench
Y2 = Maximum row for bench
IOP3 = Subphase or subsequence number
IZ IY IX1 P1 IX2 P2 Partials lines (repeated multiple times)
where
IZ = Bench reference number
IY = Row number
IX1 = First column number
P1 = Partial for IX1
IX2 = Last column number
P2 = Partial for IX2
-1 End of bench line
NOTE: On any given partials line, columns between IX1 and IX2 are 100% within pit.
MineSight
Proprietary Software: Mintec, inc. M705V1-CALC BLOCK PARTIALS FROM PIT OUTLINES
Revised: 8-June-01 Page 705-5
SAMPLE OUTPUT FROM M705V1
22 10 21 31 21 30 2 Bench header line
22 21 21 100 31 0
22 22 21 100 31 0
22 23 21 100 31 0
22 24 21 100 31 0
22 25 21 100 31 0 Partials lines
22 26 21 100 31 0
22 27 21 100 31 0
22 28 21 100 31 0
22 29 21 100 31 0
22 30 21 100 31 0
-1 End of bench line
21 10 20 32 20 31 2 Next bench header line
HOW TO DEBUG AN M705V1 RUN
1. ** INPUT ELEVATION DOES NOT MATCH PCF **
OUTLINE WILL BE DISCARDED.
implies that the bench range of the pit design is outside the limits in the PCF being used. Either substitute the PCF with
the correct one or run M101V1 to modify bench elevations to correct this problem.
2 Check the MineSight
M705V1-CALC BLOCK PARTIALS FROM PIT OUTLINES Proprietary Software: Mintec, inc.
Page 705-6 Revised: 8-June-01
MineSight
Proprietary Software: Mintec, inc. M708V1 - USER INTERFACE FOR RESERVE CALCULATIONS
Revised: 11-August-09 Page 708-1
PROGRAM SUMMARY
Program M708V1 is used to produce customized reserves
reports. M708V1 provides read-only access to your model files.
allowing you to manipulate the values via a FORTRAN
subroutine. The program acts as an interface between your file
and your subroutine.
PROGRAM FLOW DIAGRAM
RUN FILE:
INPUT: CALCS:
OUTPUT:
M708V1 USER INTERFACE FOR
RESERVE CALCULATIONS
REQUIREMENTS AND CONSIDERATIONS
Mintec provides M708V1 object modules which need to be linked
with your compiled subroutine to produce an executable
program. There are three M708V1 object modules capable of
accessing different numbers of items:
M708V1 object module can access at most 12 items and links
with a user subroutine named USR708.
M708B2 object module can access up to 99 items and links with
a user subroutine U99708.
M708E1 object module can access up to 500 items and links with
a user subroutine USE708.
The reserves can be calculated from block partials (IOP4=0) or
for an entire area (IOP4=1). Block partials can come from
programs M639V1, M659V1, M705V1, or M728V1. An area
is specified by a set of lines in an external input file.
The reserves can be stored in an ASCII output file (File 19).
Traditionally, M708V1 has used the integer MTX array to
retrieve data from the MINESIGHT
M708V1 - USER INTERFACE FOR RESERVE CALCULATIONS Proprietary Software: Mintec, inc.
Page 708-2 Revised: 11-August-09
USER SUBROUTINE
The user subroutine is called by the main routine a number of
times. A call is always made for initialization. If IOP3=1, the
subroutine is called for each row and after each bench. If IOP3=2,
the subroutine is called for each row, after each bench and at
the end of the run.
A number of arguments are passed from the main routine
(M708V1) to the user-coded subroutine.
NTRY = -1 Initialization (always done)
= 0 Process row data (if IOP3=1,2)
= 1 End of level (if IOP3=1,2)
= 2 End of run (if IOP3=2)
IZ = Bench number
ZMID = Elevation of bench midpoint
IROW = Row number
YROW = Northing of row midpoint
MCOL = First column to process
NCOL = Last column to process
MTX = Array of integer values read from the file
or
RMX = Array of real values read from the file
The dimension of MTX/RMX is 1000 columns X the maximum
number of items. If you use the 12 itemmaximum, your subroutine
should be named USR708, linked with module M708V1, and the
RMX array should be dimensioned to RMX(1000, 12). For the 99
item maximum, your subroutine must be named U99708, linked
with M708B1, and the RMX array should be dimensioned to
RMX(1000, 99). For the 500 itemmaximum, your subroutine must
be named USE708, linked with module M708E1, and the RMX
array should be dimensioned to RMX(1000, 500).
The MTX/RMX array in the subroutine is an integer two-
dimensional array that contains the selected data items for each
block in a row (up to 1000 blocks). The order of the data items
corresponds to the order of items on the GET line in the run file.
For example, if the GET line is
GET15=TCU-1 MO-1 ROCK
then the MTX/RMX array will have:
TCU-1 in MTX(NX,1) or RMX (NX,1)
where NX =column number
MO-1 in MTX(NX,2) or RMX (NX,2)
ROCK in MTX(NX,3) or RMX (NX,3)
The MTX/RMX array of File 15 items is passed to your
subroutine. The partials value for each block on a row is passed
through the PRTL array in common block /PRT/.
IMPORTANT NOTE: Common blocks used for itemand system
information are different for USE708, U99708 and USE708 (they
are named differently as well).
Please refer to the Technical 600 section for more information
about how to write MINESIGHT
user subroutines.
MineSight
Proprietary Software: Mintec, inc. M708V1 - USER INTERFACE FOR RESERVE CALCS
Revised: 8-June-01 Page 708-3
RUN FILE OPERATION
1. NAMES LINE (must be the first line entered)
MEDS-708V1 10=filename 15(or 14 or 13)=filename 30 = filename;
MEDS-708V1 19=filename 3=filename 31 = filename
where
MEDS-M708V1 (must be the first 10 columns)
10 = the name of the PROJECT CONTROL FILE
15 = the name of the MINE MODEL FILE -OR-
14 = the name of the GSM SUMMARY FILE -OR-
13 = the name of the 2-D SURFACE FILE
19 = the name of the RESERVES OUTPUT FILE (if IOP9=1)
3 = the name of the PRINTER OUTPUT FILE
30 = the name of the INPUT PARTIALS FILE, SET BELOW
31 = the name of the PARTIALS WORK FILE, SET BELOW
NOTE: The block partials or area input file is listed after the END line.
2. RUN INFORMATION LINE (max. of 80 columns)
A single line of text that will be printed at the top of each page of printer output from the run.
3. RUN OPTIONS (in any order & free-field format)
USR = USER INITIALS (e.g. ABC)
IOP1 = 0 PRECISION OF PARTIALS BASED ON FIRST NON-ZERO PARTIAL
= 1 PARTIALS ARE NUMBERS FROM 0 TO 100
= 2 PARTIALS ARE NUMBERS FROM 0 TO 1
IOP3 = GOVERN CALLING USER SUBROUTINE
= 1 CALL SUBROUTINE BY ROW & AFTER EACH BENCH
= 2 CALL SUBROUTINE BY ROW, BENCH & END-OF-RUN
IOP4 = TYPE OF RUN
= 0 SUMMARIZE FROM BLOCK PARTIALS INPUT
= 1 SUMMARIZE BY ENTIRE AREA (GEOLOGIC RESERVES)
IOP5 = FIRST MATRIX COLUMN TO ACCESS (default=1)
IOP6 = LAST MATRIX COLUMN TO ACCESS (default=NX)
IOP7 = FIRST MATRIX ROW TO ACCESS (default=1)
IOP8 = LAST MATRIX ROW TO ACCESS (default=NY)
M708V1 - USER INTERFACE FOR RESERVE CALCS
MineSight
M708V1 - USER INTERFACE FOR RESERVE CALCS Proprietary Software: Mintec, inc.
Page 708-4 Revised: 8-June-01
IOP9 = 0 DO NOT STORE RESERVES IN AN ASCII FILE
= 1 STORE RESERVES IN AN ASCII FILE
NOTE: If IOP9=1, specify File 19 on Names Line.
IOP10 = 0 OMIT THE SYMBOL MAP
= 1 PRINT SYMBOL MAP OF PARTIALS
IOP1140 = USER SPECIFIED IN USER SUBROUTINE
PAR140 = USER SPECIFIED IN USER SUBROUTINE
GET15 = FILE 15 ITEMS TO RETRIEVE
CMD = USE REAL
NOTE: This option will cause the main M708V1 program to use the RMX array instead of MTX. Your user
subroutine must be coded accordingly.
END
4. PARTIALS FILENAME
If IOP4=0, enter the name of the partials input file (e.g., DAT705.OA).
If IOP4=1, enter the name of the area input file (e.g., DAT708.IA - see sample). This file must contain one line per bench to be
summarized:
iz iseq icol1 icol2 irow1 irow2
where
iz = bench
iseq = sequence number (normally zero)
icol1 = first columni
col2 = last column
irow1 = first row
irow2 = last row
MineSight
Proprietary Software: Mintec, inc. M708V1 - USER INTERFACE FOR RESERVE CALCS
Revised: 8-June-01 Page 708-5
M708V1 SAMPLE RUN FILE #1
MEDS-708V1 10=SAMP10.DAT 15=SAMP15.DAT 19=OUT708.A 3=RPT708.LA
USR = ABC
IOP3 = 2 / ALSO CALL USR708 AFTER EACH BENCH AND AT END
IOP4 = 1 / SUMMARIZE GEOLOGIC REASERVES
IOP9 = 1 / USE AN EXTERNAL FILE
GET15 = TCU-1 MO-1 CODE / 2 GRADES AND 1 ORE TYPE ITEMS
COM====== THE FOLLOWING IOPS AND PARS ARE SPECIFIC FOR THIS USR708
IOP11 = 1 / FIRST CUTOFF TO PRINT
IOP12 = 6 / LAST CUTOFF TO PRINT
IOP13 = 2 / NUMBER OF GRADES
IOP20 = 2 / NUMBER OF ORE TYPES
PAR1 = .2 / CLASS INTERVAL FOR RESERVES DETERMINATION
PAR2 = 1. / MAXIMUM CUTOFF GRADE
PAR3 = 12. / TONNAGE FACTOR
END
DAT705.OA
M708V1 SAMPLE RUN FILE #2
MEDS-708V1 10=SAMP10.DAT 15=SAMP15.DAT 19=OUT708.A
USR = ABC
IOP3 = 2 / ALSO CALL USR708 AFTER EACH BENCH AND AT END
IOP4 = 1 / SUMMARIZE GEOLOGIC REASERVES
IOP9 = 1 / USE AN EXTERNAL FILE
GET15 = TCU-1 MO-1 CODE / 2 GRADES AND 1 ORE TYPE ITEMS
COM====== THE FOLLOWING IOPS AND PARS ARE SPECIFIC FOR THIS USR708
IOP11 = 1 / FIRST CUTOFF TO PRINT
IOP12 = 6 / LAST CUTOFF TO PRINT
IOP13 = 2 / NUMBER OF GRADES
IOP20 = 2 / NUMBER OF ORE TYPES
PAR1 = .2 / CLASS INTERVAL FOR RESERVES DETERMINATION
PAR2 = 1. / MAXIMUM CUTOFF GRADE
PAR3 = 12. / TONNAGE FACTOR
CMD = USE REAL
END
DAT705.OA
MineSight
M708V1 - USER INTERFACE FOR RESERVE CALCS Proprietary Software: Mintec, inc.
Page 708-6 Revised: 8-June-01
SAMPLE AREA INPUT FILE - DAT705.OA
This file (output from M705 and is input for M708), is for benches 11 and 12, columns 150 and rows 150.
11 1 1 50 1 50
12 1 1 50 1 50
MineSight
Proprietary Software: Mintec, inc. M708V1 - USER INTERFACE FOR RESERVE CALCS
Revised: 8-June-01 Page 708-7
M708V1 SAMPLE SUBROUTINE #1
SUBROUTINE USR708 ( NTRY, IZ, NSEQ, IROW, YROW, MCOL, NCOL, MTX )
C=======================================================================
C
C Compute geologic reserves
C
C=======================================================================
PARAMETER ( MXBOX=20, MXITM=5, MXLIN=50 )
C
CHARACTER AITM(MXITM)*5
C
DIMENSION MTX(1000,12), IDUM(5), GRAD(MXITM),
1 BLK(MXBOX), TG(MXBOX,MXITM), AV(MXBOX,MXITM),
2 TOTN(MXBOX), TBLK(MXBOX), IPCF(512)
C
COMMON / ITM / ITM(3,99), NIC(5,40), ITEMS, NICNO, LWRD(99),
1 NBIT(99), LBIT(99), VMIN(99), CODE(99), ROND(99),
2 VFCT(99), MAXV(99), RDAT(99), IDAT(99)
COMMON / SYS / XDUM1(100), IOP(40), PAR(40), XDUM2(104),
1 ICR, IPR, LCR, LPR, XDUM3(5), IOLEV, XDUM4(89)
COMMON / F10 / PCF(512), XDUM5(142)
COMMON / PRT / KNW(1000), KNE(1000), PRTL(1000)
COMMON /M708 / GP(20,5), TON(20), WASTN
C
EQUIVALENCE ( PCF(1), IPCF(1) )
C
DATA EPSLON / .0001 /
C
C Limit J2 by J1 below and J3 above
C
LIMIT( J1, J2, J3 ) = MIN0( MAX0( J1, J2 ), J3 )
C
IF ( NTRY ) 100, 200, 300
C
C..................................................... NTRY=-1
100 CONTINUE
NLIN = MXLIN
KERR = 0
KUT1 = IOP(11)
KUT2 = IOP(12)
IOMIT = IPCF(489)
C
IF ( KUT1 .EQ. 0 ) KUT1 = 1
IF ( KUT2 .EQ. 0 ) KUT2 = 5
C
C cutoffs
C
CLASS = PAR(1)
CUTMX = PAR(2)
KMX = CUTMX/CLASS + 1.0049
MineSight
M708V1 - USER INTERFACE FOR RESERVE CALCS Proprietary Software: Mintec, inc.
Page 708-8 Revised: 8-June-01
C tonnage factor
C
IF ( PAR(3) .GT. 0. ) THEN
FACTR = PCF(23) * PCF(27) * PCF(31) / PAR(3)
ELSE
WRITE ( IPR, 110 )
WRITE ( LPR, 110 )
110 FORMAT( /, ?M708V1: ERROR. You MUST have a PAR3 ,
1 (tonnage factor) in your run file. )
KERR = KERR + 1
END IF
C
C number of grade items
C
IF ( IOP(13) .GT. 0 ) THEN
NGRADS = MIN0( MXITM, IOP(13) )
ELSE
WRITE ( IPR, 120 )
WRITE ( LPR, 120 )
120 FORMAT( /, ?M708V1: ERROR. You MUST have some grade , 1
items (IOP13). )
KERR = KERR + 1
END IF
C
C ore code items
C
LORE = NGRADS + 1
NORE = MAX0( 1, IOP(20) )
IF ( KMX*NORE .GT. MXBOX ) THEN
WRITE ( IPR, 130 ) MXBOX
WRITE ( LPR, 130 ) MXBOX
130 FORMAT( /, ?M708V1: ERROR. The number of cutoffs times ,
1 the number of, /, 10X, ore codes exceeds the ,
2 maximum:, I3 )
KERR = KERR + 1
END IF
C
C set up the item labels
C
DO 140 I = 1, NGRADS
CALL NEWSMR ( 1, 1, ITM(2,I), 5, IDUM )
WRITE( AITM(I), ( 5A1 ) ) IDUM
140 CONTINUE
C
WRITE ( LPR, 150 )
150 FORMAT( //, 10X, Begin USER 708 Program )
WRITE ( IPR, 160 ) KMX, NORE, CLASS, CUTMX, FACTR
160 FORMAT( //, 10X, M708V1 Initialization, //,
1 10X, Number of cutoffs , I6, /,
2 10X, Number of ore types , I6, /,
3 10X, Reserve increment , F9.2, /,
4 10X, Maximum cutoff , F9.2, /,
5 10X, Quantity per block , F9.2 )
C
GOTO 900
C
MineSight
Proprietary Software: Mintec, inc. M708V1 - USER INTERFACE FOR RESERVE CALCS
Revised: 8-June-01 Page 708-9
C..................................................... NTRY = 0
200 CONTINUE
DO 250 IC = MCOL, NCOL
C
C make sure the retrieved data is well-defined
DO 205 IQ = 1, LORE
IF ( MTX(IC,IQ) .EQ. IOMIT ) GOTO 250
205 CONTINUE
C
C controlling value
GRADE = FLOAT( MTX(IC,1) ) * CODE(1)
KUT = MIN0( INT( GRADE/CLASS + 1.0049 ), KMX )
C
C KORE is the ore type at location NGRADS+1 in MTX
KORE = MTX( IC, LORE )
KORE = LIMIT( 1, KORE, NORE )
C
C reserve class index
C
KLASS = KMX*( KORE-1 ) + KUT
C
C grades
C
DO 210 IG = 1, NGRADS
GRAD(IG) = FLOAT( MTX(IC,IG) ) * CODE(IG)
210 CONTINUE
C
IF ( PRTL(IC) .GE. .001 ) THEN
TONAGE = FACTR * PRTL(IC)
KLASS = MAX0( 1, KLASS )
C
C accumulate tons and weighted grade
DO 220 IG = 1, NGRADS
GP(KLASS,IG) = GP(KLASS,IG) + TONAGE*GRAD(IG)
220 CONTINUE
TON(KLASS) = TON(KLASS) + TONAGE
BLK(KLASS) = BLK(KLASS) + PRTL(IC)
END IF
C
250 CONTINUE
GOTO 900
MineSight
M708V1 - USER INTERFACE FOR RESERVE CALCS Proprietary Software: Mintec, inc.
Page 708-10 Revised: 8-June-01
C
C..................................................... NTRY = 1
300 CONTINUE
IF ( NTRY .EQ. 2 ) GOTO 400
C
C accululate and output resources by cutoff interval
C
DO 350 IW = 1, NORE
KLASS = KMX * ( IW-1 )
DO 340 I = 1, KMX
J = KLASS + KMX - I + 1
C
IF ( J .LT. KMX ) THEN
K = J + 1
DO 310 IG = 1, NGRADS
GP(J,IG) = GP(J,IG) + GP(K,IG)
310 CONTINUE
TON(J) = TON(J) + TON(K)
BLK(J) = BLK(J) + BLK(K)
END IF
C
DO 320 IG = 1, NGRADS
TG(J,IG) = TG(J,IG) + GP(J,IG)
AV(J,IG) = 0.
320 CONTINUE
TOTN(J) = TOTN(J) + TON(J)
TBLK(J) = TBLK(J) + BLK(J)
C
IF ( BLK(J) .GE. .001 ) THEN
DO 330 IG = 1, NGRADS
IF ( TON(J) .GT. 0. ) THEN
AV(J,IG) = GP(J,IG) / TON(J)
ELSE
AV(J,IG) = 0.
END IF
330 CONTINUE
END IF
C
340 CONTINUE
350 CONTINUE
MineSight
Proprietary Software: Mintec, inc. M708V1 - USER INTERFACE FOR RESERVE CALCS
Revised: 8-June-01 Page 708-11
C
C output the results
DO 390 IW = 1, NORE
KLASS = KMX * ( IW-1 )
DO 380 IK = KUT1, KUT2
J = KLASS + IK
CUTOFF = FLOAT( IK-1 ) * CLASS
C
IF ( ABS( TON(J) ).GT.EPSLON .OR. IK.LE.KUT1 ) THEN
NLIN = NLIN + 1
IF ( NLIN .GT. MXLIN ) THEN
C new page
NLIN = 0
WRITE ( 19, 360 ) CHAR(12),
1 ( AITM(IG), IG=1,NGRADS )
360 FORMAT( A, /, 5X, Bench Ore Cutoff ,
1 Tonnage, 5( 3X, A5 ) )
END IF
WRITE ( 19, 370 ) IZ, IW, CUTOFF, TON(J),
1 ( AV(J,IG), IG=1,NGRADS )
370 FORMAT( 5X, 2I5, F8.3, F12.0, 5F8.3 )
END IF
380 CONTINUE
WRITE ( 19, ( 1X ) )
C
390 CONTINUE
GOTO 900
C
MineSight
M708V1 - USER INTERFACE FOR RESERVE CALCS Proprietary Software: Mintec, inc.
Page 708-12 Revised: 8-June-01
C..................................................... NTRY = 2
400 CONTINUE
WRITE ( 19, 410 ) CHAR(12), ( AITM(IG), IG=1,NGRADS )
410 FORMAT( A, /, 5X, Summary for Entire Run, //, 7X,
1 Ore Cutoff Tonnage, 5( 3X, A5 ) )
WRITE ( 19, ( 1X ) )
C
DO 450 IW = 1, NORE
KLASS = KMX * ( IW-1 )
DO 440 IK = KUT1, KUT2
J = KLASS + IK
CUTOFF = FLOAT( IK-1 ) * CLASS
C
IF ( ABS( TBLK(J) ) .GT. EPSLON ) THEN
DO 420 IG = 1, NGRADS
IF ( TOTN(J) .GT. 0. ) THEN
AV(J,IG) = TG(J,IG) / TOTN(J)
ELSE
AV(J,IG) = 0.
END IF
420 CONTINUE
WRITE ( 19, 430 ) IW, CUTOFF, TOTN(J),
1 ( AV(J,IG), IG=1,NGRADS )
430 FORMAT( 5X, I5, F8.3, F12.0, 5F8.3 )
END IF
C
440 CONTINUE
WRITE ( 19, ( 1X ) )
C
450 CONTINUE
GOTO 900
C
C..................................................... EXIT
900 CONTINUE
RETURN
END
MineSight
Proprietary Software: Mintec, inc. M708V1 - USER INTERFACE FOR RESERVE CALCS
Revised: 8-June-01 Page 708-13
M708V1 SAMPLE SUBROUTINE #2
SUBROUTINE USR708 ( NTRY, IZ, NSEQ, IROW, YROW, MCOL, NCOL, RMX )
C=======================================================================
C
C Compute geologic reserves
C
C=======================================================================
PARAMETER ( MXBOX=20, MXITM=5, MXLIN=50 )
C
CHARACTER AITM(MXITM)*5
C
DIMENSION RMX(1000,12), IDUM(5), GRAD(MXITM),
1 BLK(MXBOX), TG(MXBOX,MXITM), AV(MXBOX,MXITM),
2 TOTN(MXBOX), TBLK(MXBOX), IPCF(512)
C
COMMON / ITM / ITM(3,99), NIC(5,40), ITEMS, NICNO, LWRD(99),
1 NBIT(99), LBIT(99), VMIN(99), CODE(99), ROND(99),
2 VFCT(99), MAXV(99), RDAT(99), IDAT(99)
COMMON / SYS / XDUM1(100), IOP(40), PAR(40), XDUM2(104),
1 ICR, IPR, LCR, LPR, XDUM3(5), IOLEV, XDUM4(89)
COMMON / F10 / PCF(512), XDUM5(142)
COMMON / PRT / KNW(1000), KNE(1000), PRTL(1000)
COMMON /M708 / GP(20,5), TON(20), WASTN
C
EQUIVALENCE ( PCF(1), IPCF(1) )
C
DATA EPSLON / .0001 /
C
C Limit J2 by J1 below and J3 above
C
LIMIT( J1, J2, J3 ) = MIN0( MAX0( J1, J2 ), J3 )
C
IF ( NTRY ) 100, 200, 300
C
C..................................................... NTRY=-1
100 CONTINUE
NLIN = MXLIN
KERR = 0
KUT1 = IOP(11)
KUT2 = IOP(12)
OMIT = PCF(490)
C
IF ( KUT1 .EQ. 0 ) KUT1 = 1
IF ( KUT2 .EQ. 0 ) KUT2 = 5
C
C cutoffs
C
CLASS = PAR(1)
CUTMX = PAR(2)
KMX = CUTMX/CLASS + 1.0049
C tonnage factor
MineSight
M708V1 - USER INTERFACE FOR RESERVE CALCS Proprietary Software: Mintec, inc.
Page 708-14 Revised: 8-June-01
C
IF ( PAR(3) .GT. 0. ) THEN
FACTR = PCF(23) * PCF(27) * PCF(31) / PAR(3)
ELSE
WRITE ( IPR, 110 )
WRITE ( LPR, 110 )
110 FORMAT( /, ?M708V1: ERROR. You MUST have a PAR3 ,
1 (tonnage factor) in your runfile. )
KERR = KERR + 1
END IF
C
C number of grade items
C
IF ( IOP(13) .GT. 0 ) THEN
NGRADS = MIN0( MXITM, IOP(13) )
ELSE
WRITE ( IPR, 120 )
WRITE ( LPR, 120 )
120 FORMAT( /, ?M708V1: ERROR. You MUST have some grade ,
1 items (IOP13). )
KERR = KERR + 1
END IF
C
C ore code items
C
LORE = NGRADS + 1
NORE = MAX0( 1, IOP(20) )
IF ( KMX*NORE .GT. MXBOX ) THEN
WRITE ( IPR, 130 ) MXBOX
WRITE ( LPR, 130 ) MXBOX
130 FORMAT( /, ?M708V1: ERROR. The number of cutoffs times ,
1 the number of, /, 10X, ore codes exceeds the ,
2 maximum:, I3 )
KERR = KERR + 1
END IF
C
C set up the item labels
C
DO 140 I = 1, NGRADS
CALL NEWSMR ( 1, 1, ITM(2,I), 5, IDUM )
WRITE( AITM(I), ( 5A1 ) ) IDUM
140 CONTINUE
C
WRITE ( LPR, 150 )
150 FORMAT( //, 10X, Begin USER 708 Program )
WRITE ( IPR, 160 ) KMX, NORE, CLASS, CUTMX, FACTR
160 FORMAT( //, 10X, M708V1 Initialization, //,
1 10X, Number of cutoffs , I6, /,
2 10X, Number of ore types , I6, /,
3 10X, Reserve increment , F9.2, /,
4 10X, Maximum cutoff , F9.2, /,
5 10X, Quantity per block , F9.2 )
C
GOTO 900
C
MineSight
Proprietary Software: Mintec, inc. M708V1 - USER INTERFACE FOR RESERVE CALCS
Revised: 8-June-01 Page 708-15
C..................................................... NTRY = 0
200 CONTINUE
DO 250 IC = MCOL, NCOL
C
C make sure the retrieved data is well-defined
DO 205 IQ = 1, LORE
IF ( RMX(IC,IQ) .EQ. OMIT ) GOTO 250
205 CONTINUE
C
C controlling value
GRADE = RMX(IC,1)
KUT = MIN0( INT( GRADE/CLASS + 1.0049 ), KMX )
C
C KORE is the ore type at location NGRADS+1 in MTX
KORE = NINT (RMX (IC, LORE ))
KORE = LIMIT( 1, KORE, NORE )
C
C reserve class index
C
KLASS = KMX*( KORE-1 ) + KUT
C
C grades
C
DO 210 IG = 1, NGRADS
GRAD(IG) = RMX(IC,IG)
210 CONTINUE
C
IF ( PRTL(IC) .GE. .001 ) THEN
TONAGE = FACTR * PRTL(IC)
KLASS = MAX0( 1, KLASS )
C
C accumulate tons and weighted grade
DO 220 IG = 1, NGRADS
GP(KLASS,IG) = GP(KLASS,IG) + TONAGE*GRAD(IG)
220 CONTINUE
TON(KLASS) = TON(KLASS) + TONAGE
BLK(KLASS) = BLK(KLASS) + PRTL(IC)
END IF
C
250 CONTINUE
GOTO 900
MineSight
M708V1 - USER INTERFACE FOR RESERVE CALCS Proprietary Software: Mintec, inc.
Page 708-16 Revised: 8-June-01
C
C..................................................... NTRY = 1
300 CONTINUE
IF ( NTRY .EQ. 2 ) GOTO 400
C
C accumulate and output resources by cutoff interval
C
DO 350 IW = 1, NORE
KLASS = KMX * ( IW-1 )
DO 340 I = 1, KMX
J = KLASS + KMX - I + 1
C
IF ( J .LT. KMX ) THEN
K = J + 1
DO 310 IG = 1, NGRADS
GP(J,IG) = GP(J,IG) + GP(K,IG)
310 CONTINUE
TON(J) = TON(J) + TON(K)
BLK(J) = BLK(J) + BLK(K)
END IF
C
DO 320 IG = 1, NGRADS
TG(J,IG) = TG(J,IG) + GP(J,IG)
AV(J,IG) = 0.
320 CONTINUE
TOTN(J) = TOTN(J) + TON(J)
TBLK(J) = TBLK(J) + BLK(J)
C
IF ( BLK(J) .GE. .001 ) THEN
DO 330 IG = 1, NGRADS
IF ( TON(J) .GT. 0. ) THEN
AV(J,IG) = GP(J,IG) / TON(J)
ELSE
AV(J,IG) = 0.
END IF
330 CONTINUE
END IF
C
340 CONTINUE
350 CONTINUE
C
MineSight
Proprietary Software: Mintec, inc. M708V1 - USER INTERFACE FOR RESERVE CALCS
Revised: 8-June-01 Page 708-17
C output the results
DO 390 IW = 1, NORE
KLASS = KMX * ( IW-1 )
DO 380 IK = KUT1, KUT2
J = KLASS + IK
CUTOFF = FLOAT( IK-1 ) * CLASS
C
IF ( ABS( TON(J) ).GT.EPSLON .OR. IK.LE.KUT1 ) THEN
NLIN = NLIN + 1
IF ( NLIN .GT. MXLIN ) THEN
C new page
NLIN = 0
WRITE ( 19, 360 ) CHAR(12),
1 ( AITM(IG), IG=1,NGRADS )
360 FORMAT( A, /, 5X, Bench Ore Cutoff ,
1 Tonnage, 5( 3X, A5 ) )
END IF
WRITE ( 19, 370 ) IZ, IW, CUTOFF, TON(J),
1 ( AV(J,IG), IG=1,NGRADS )
370 FORMAT( 5X, 2I5, F8.3, F12.0, 5F8.3 )
END IF
380 CONTINUE
WRITE ( 19, ( 1X ) )
C
390 CONTINUE
GOTO 900
C
MineSight
M708V1 - USER INTERFACE FOR RESERVE CALCS Proprietary Software: Mintec, inc.
Page 708-18 Revised: 8-June-01
C..................................................... NTRY = 2
400 CONTINUE
WRITE ( 19, 410 ) CHAR(12), ( AITM(IG), IG=1,NGRADS )
410 FORMAT( A, /, 5X, Summary for Entire Run, //, 7X,
1 Ore Cutoff Tonnage, 5( 3X, A5 ) )
WRITE ( 19, ( 1X ) )
C
DO 450 IW = 1, NORE
KLASS = KMX * ( IW-1 )
DO 440 IK = KUT1, KUT2
J = KLASS + IK
CUTOFF = FLOAT( IK-1 ) * CLASS
C
IF ( ABS( TBLK(J) ) .GT. EPSLON ) THEN
DO 420 IG = 1, NGRADS
IF ( TOTN(J) .GT. 0. ) THEN
AV(J,IG) = TG(J,IG) / TOTN(J)
ELSE
AV(J,IG) = 0.
END IF
420 CONTINUE
WRITE ( 19, 430 ) IW, CUTOFF, TOTN(J),
1 ( AV(J,IG), IG=1,NGRADS )
430 FORMAT( 5X, I5, F8.3, F12.0, 5F8.3 )
END IF
C
440 CONTINUE
WRITE ( 19, ( 1X ) )
C
450 CONTINUE
GOTO 900
C
C..................................................... EXIT
900 CONTINUE
RETURN
END
MineSight
Proprietary Software: Mintec, inc. M708V1 - USER INTERFACE FOR RESERVE CALCS
Revised: 8-June-01 Page 708-19
HOW TO DEBUG AN M708V1 RUN
1. ** ERROR READING PARTIALS HEADER
will appear if there is something wrong with the partials file. Check the M705V1 documentation to see the required format.
2. ** M708V1 ERROR ** LEVEL INPUT= xxx .GT.NZ
will appear if you attempt to access a bench that is outside the PCF range.
3. As with M612V1, the user routine should be checked on a subset of the data to verify that your calculations are being performed
correctly.
4. Check the MineSight
M708V1 - USER INTERFACE FOR RESERVE CALCS Proprietary Software: Mintec, inc.
Page 708-20 Revised: 8-June-01
MineSight
Proprietary Software: Mintec, inc. M710V1-SET UP/LIST RESERVE SUMMARY FILE LOGIC
Revised: 8-June-01 Page 710-1
PROGRAM SUMMARY
M710V1 creates and lists the reserve logic for MineSight
File
18, the Material Summary File. This includes the material class
logic, grade cutoff information, and the File 15 items to use in
the reserve summary.
PROGRAM FLOW DIAGRAM
RUN FILE:
INPUT: CALCS:
OUTPUT:
M710V1 SET UP OR LIST THE RESERVE SUMMARY
FILE LOGIC
REQUIREMENTS AND CONSIDERATIONS
The Material Summary File created here is used to calculate
and report reserves with programs M711V1 and M712V1. There
may be several different sets of reserve descriptors, but each
distinct set will be contained in a different Material Summary
File. Multiple File 18s can be set up for each File 15.
Up to six different File 15 items can be used to set up the reserve
descriptors for File 18. The first two items are the ore and area
codes and together they determine the material class logic. The
third item is a list of metal grades to be summarized, and the
fourth item is the topography percent stored in the model. The
fifth item is an optional tonnage factor and the sixth item is an
optional fraction item. The use of each of these items is described
below.
Ore and Area CodesMaterial Class Logic
The material class is the unit of reserve classification used within
M711V1. It represents a single type of material for production
purposes, such as heap leach, refractory, or dual process material.
Separate material classes would normally be used for overburden
waste with different physical or mining characteristics.
Material classes are defined by a unique combination of values
obtained from one or two items stored in the 3D mine model
(File 15). M710V1 refers to these items as ore and area codes,
however they can be any two File 15 items.
When material classes are defined, ore and area codes form a
table with ore code on the horizontal axis and area code on the
vertical axis. A material class is assigned to every element of
the table with the maximum possible number of material classes
being 20. If the number of area codes multiplied by the number
of ore codes exceeds 20, some elements will have to be assigned
to the same material class. You may also want to assign the
same material class to elements which are processed in the same
way, even though you have not exceeded the maximum. The
following tables indicate some ways of assigning material
classes.
- File 15 items to use
- Material class definition
- Cutoff grades
- Tonnage factors
- Formats File 18 to store
quantity and quality
information from File 15
items, grade cutoff
information and
classification specification
- PCF
- File 15
- File 18
- Updated File 18
- Printer Output file
MineSight
M710V1-SET UP/LIST RESERVE SUMMARY FILE LOGIC Proprietary Software: Mintec, inc.
Page 710-2 Revised: 8-June-01
Each material class is identified by a 10-character label (e.g.,
WASTE, LEACHOX, PRIMESULF). These labels are
specified in the Material Class Definitions at the end of the run
file
The ore and area codes (IOP1 & IOP3) must be integer values
(i.e., precision of 1.0) in the range of 1 to 20. If the File 15 items
to be used have codes outside this range, a default value for
each item is used (IOP2 & IOP4). Alternatively, the values may
be reduced in File 15 using a usercoded M612V1 subroutine.
Both the ore code and the area code are optional, defaulting to 1
if not specified.
Grade
Each material class used in ore calculations will normally have
multiple cutoff grades. This facilitates looking at different mine
cutoffs or at a variable cutoff strategy in detailed mine planning.
The cutoff grade logic is based on only one grade item, but this
grade item can be different for each material class. To use more
than one grade item, set IOP5=1, list the additional items on
ITM#=label GRADE lines and assign them to material classes
with Material Class Definition lines. The maximum number of
cutoff intervals is 10; the first interval always starts at 0.0.
Topography - optional
A topography percent item is optional, but it should usually be
entered. This File 15 item must contain the percent of the block
beneath the surface. Generally, it is loaded into the 3D model
with M633V1.
1 = 3 P O I ; 6 = 1 P O I > s e d o C e r O
1 2 3 4 5 6 . . .
1 A E R A 1 2 3 4 5 6 . . .
1 = 3 P O I ; 0 1 = 1 P O I > s e d o C e r O
1 2 3 4 5 6 7 8 9 0 1 . . .
1 A E R A 1 2 2 2 3 3 3 3 3 4 . . .
3 = 3 P O I ; 6 = 1 P O I > s e d o C e r O
1 2 3 4 5 6
1 A E R A 1 2 3 4 5 6
2 A E R A 7 8 9 0 1 1 1 2 1
3 A E R A 3 1 4 1 5 1 6 1 7 1 8 1
3 = 3 P O I ; 0 1 = 1 P O I > s e d o C e r O
1 2 3 4 5 6 7 8 9 0 1
1 A E R A 1 2 2 2 3 3 3 3 3 4
2 A E R A 5 6 6 6 7 7 7 7 7 8
3 A E R A 9 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 2 1
For multiple areas:
complex ore/area codes to simpler material classes
For multiple areas - standard logic:
ore/area codes & material class correspond 1:1
For a single area:
complex ore code to simpler material class
For a single area - standard logic:
ore code & material class correspond 1:1
For multiple areas:
complex ore code to simpler material classes
3 = 3 P O I ; 0 1 = 1 P O I > s e d o C e r O
1 2 3 4 5 6 7 8 9 0 1
1 A E R A 1 2 2 2 3 3 3 3 3 4
2 A E R A 1 2 2 2 3 3 3 3 3 4
3 A E R A 1 2 2 2 3 3 3 3 3 4
. e d o c a e r a e h t g n i r o n g i o t t n e l a v i u q e s i e v o b a e h T
MineSight
Proprietary Software: Mintec, inc. M710V1-SET UP/LIST RESERVE SUMMARY FILE LOGIC
Revised: 8-June-01 Page 710-3
Tonnage Factor - optional
Each ore type will normally have the same general density,
regardless of whether it is ore, waste or stockpile material. If
the block density varies substantially due to metal content, this
must be taken into account. The tonnage calculations in the
reserves routine (M711V1) are based on either a tonnage factor
or specific gravity. There are two ways to specify these factors:
Define a unique tonnage factor or specific gravity for
each ore code (Use PAR1-20).
Store a tonnage factor or specific gravity in each block
in File 15 prior to running M710V1 (Use ITM# = label
TFACT).
Tonnage factor units are cubic units/ton and are assumed if
Imperial units were specified during PCF initialization. Specific
gravity is assumed if metric units were specified.
Ore Percentage - optional
An ore percentage item will subdivide 3-D blocks into ore and
waste for reserve computations. This item must be stored in the
model as a percentage of the block that is ore. The remainder of
the block is assumed to be waste which means that the grades
are set to 0.0.
MineSight
M710V1-SET UP/LIST RESERVE SUMMARY FILE LOGIC Proprietary Software: Mintec, inc.
Page 710-4 Revised: 8-June-01
MineSight
M710V1-SET UP/LIST RESERVE SUMMARY FILE LOGIC Proprietary Software: Mintec, inc.
Page 710-6 Revised: 8-June-01
PAR1-20 TONNAGE FACTOR (or SPECIFIC GRAVITY) FOR ORE CODES 1 TO IOP1
WITH A 1:1 CORRESPONDENCE AS:
These PARs must be specified even if a TFACT item is also specified. They are used as the defaults
if TFACT is not set.
END
4. REQUIRED MATERIAL CLASS DEFINITIONS (in free-field format)
CLASSES
class cutoff1 cutoff2 . . . cutoffn repeated for each material class
END
where
CLASSES = Required sentinel
class = 10 character label of material class
cutoff1 = 1st cutoff
cutoff2 = 2nd cutoff
. . . . . .
. . . . . .
cutoffn = nth cutoff(Max of 10 cutoffs)
END = end class definition input
NOTE: Material classes do not have to have the same number of cutoffs. To repeat the cutoffs of the previous
class, use a 1 as the first cutoff.
5. OPTIONAL MATERIAL CLASS GRADE DEFINITIONS (if IOP5=1)
GRADES
class# grade repeated for each material class to use a grade other than the default
0
where
GRADES = Required sentinel
class# = number of the material class from the above list
grade = label of the File 15 grade item to use
0 = end grade definition input
NOTE: Only the classes which use an alternate grade item need to be listed here. Any classes not listed will
default to the first grade item.
e d o C e r O 1 2 3 4 5 . . . 1 P O I
R A P 1 2 3 4 5 . . . 1 P O I
G S / F T # # # # # . . . #
MineSight
M710V1-SET UP/LIST RESERVE SUMMARY FILE LOGIC Proprietary Software: Mintec, inc.
Page 710-8 Revised: 8-June-01
M710V1 SAMPLE RUN FILE #1
MEDS-710V1 10=METL10.DAT 15=METL15.DAT 18=METL18.YYY 3=RPT710.LY
** F I L E = M E T L 1 8 . Y Y Y
USR = ABC
RUN = CONT
ITM1 = ORTYP ORE/ values range 1 to 8
ITM2 = TOPO TOPO
ITM3 = TOTCU GRADE
ITM4 = MOLY GRADE
ITM5 = EQUIV GRADE
IOP1 = 5 5 / MAX. ORE CODE & DEFAULT
IOP3 = 1 1 / MAX. AREA CODE & DEFAULT
IOP5 = 1 / 1=READ CONTROLLING GRADE; 0=USE 1ST GRADE FOR ALL
IOP6 = 1 / 1=READ CLASS LOGIC for ORTYP 1-8
PAR1 = 12.5 12.5 12.5 12.5 12.5/TF (or SG) for IOP1=5 ore codes
I-O = 1 /
END
CLASSES /REQUIRED Material Class Definitions
ORETYPE#1 0.3 0.4 0.5 0.6
ORETYPE#2 -1 / Copy last set of cutoffs
ORETYPE#3 -1
ORETYPE#4 0.0
ORETYPE#5 0.0 0.3
END / End class parameters
GRADES /IF IOP5=1 Material Class Grade Definitions
1 TOTCU
2 TOTCU
3 TOTCU
4 TOTCU
5 EQUIV
0 / End class control grade
LOGIC /IF IOP6=1 Material Classification Logic by Area
1 1 2 3 4 5 /Only 1 line because IOP3=1 with 5 classes (IOP1=5)
0 / End ORTYP class logic
MineSight
M710V1-SET UP/LIST RESERVE SUMMARY FILE LOGIC Proprietary Software: Mintec, inc.
Page 710-10 Revised: 8-June-01
HOW TO DEBUG AN M710V1 RUN
1. 18 = XXXXXX.XXX : RESERVE NAME EXISTS IN THE PCF # ??
* * DESCRIPTORS WILL BE REPLACED * *
will occur if the file 18 requested is already in the PCF. The program will continue to set up the new descriptors unless
the file 18 is physically on the disk. If the file is on disk, you can either use a new file 18 name or delete the file from
disk and rerun the program.
2. * * * READ ERROR - - NO RECORD # ?????
will occur if the specified file 18 is on the disk but it doesnt contain any valid reserve records. The file 18 will only be
listed if it contains records. To set up new descriptors, either use a new file 18 name or deleted the file from the disk and
rerun the program.
3. ITEM = AAAAA DOES NOT MATCH A FILE 15 ITEM
will occur if the specified item is not a valid label for the file 15 specified. Correct the item label and rerun.
4. * * NO ORE ITEM LABEL WAS ENTERED * *
will occur if there is no ORE type specified. One ore type will be assumed with a default value of 1. If the omission was
an error, modify the run file and restart the program.
5. * * YOU MUST ENTER AT LEAST 1 GRADE ITEM * *
will occur when no GRADE items were specified. At least one grade item is required.
6. TF/SG MUST BE SET FOR ALL ORE CODES
will occur if a TF/SG has not been set for all IOP1 ore codes.
7. * * * THE MAXIMUM NUMBER OF MATERIAL CLASSES HAS BEEN REACHED
* * THE EXTRA LINES OF MATERIAL CLASSES WILL BE IGNORED
* PLEASE CHECK MineSight
M710V1-SET UP/LIST RESERVE SUMMARY FILE LOGIC Proprietary Software: Mintec, inc.
Page 710-12 Revised: 8-June-01
MineSight
format)
15= the name of the MINE MODEL FILE (in ASCII or regular MineSight
format)
21= the name of the PRIMARY SURFACE FILE (S-file)
22= the name of the CONDENSED MINE MODEL FILE (B-file)
3= the name of the PRINTER OUTPUT FILE
2. RUN INFORMATION LINE (max. of 80 columns)
A single line of text that will be printed at the top of each page of printer output from the run.
3. RUN OPTIONS (in any order & free-field format)
USR = USER INITIALS (e.g., ABC)
Use only one of the following CMDs (one is required):
CMD = CONDENSE MODEL Create Pit Optimization model
CMD = LIST MODEL List selected portions of model
CMD = UPDATE B-FILE Input new values for the B-file
CMD = CONDENSE FROM S-FILE TOPO Read existing pit S-file
IOP1 = FIRST COLUMN OF MODEL TO ACCESS (default=1)
IOP2 = LAST COLUMN OF MODEL TO ACCESS (default=NX)
IOP3 = FIRST ROW OF MODEL TO ACCESS (default=1)
IOP4 = LAST ROW OF MODEL TO ACCESS (default=NY)
IOP5 = FIRST BENCH OF MODEL TO ACCESS (default=1)
IOP6 = LAST BENCH OF MODEL TO ACCESS (default=NZ)
IOP12 = 0 REGULAR MineSight
FILES 15 & 13
USR = ABC
CMD = CONDENSE MODEL
IOP1 = 1 50 / COLUMNS DEFAULT TO NX
IOP3 = 1 50 / ROWS DEFAULT TO NY
IOP5 = 1 40 / BENCHES DEFAULT TO NZ
PAR1 = 0.1 / MIN GRADE OF TCU-1 TO CONDENSE
PAR2 = 2.0 / MAX GRADE OF TCU-1 TO CONDENSE
PAR3 = 0.0 / CONSTANT TO BE ADDED TO B-FILE ITEM
ITM1 = TOPOG TOPO / FILE 13 LABEL FOR TOPO
ITM2 = TCU-1 GRADE / FILE 15 GRADE LABEL
IOP12 = 0 / 1=READ ASCII FILE ; 0=READ MineSight
FILES
I-O = 1 / LIST SUMMARY OF RUN
END
MineSight
FILES
COM / PAR4 IS USED ONLY WHEN IOP12=1
PAR4 = .01 / PRECISION OF MODEL ITEM. DEFAULT = 1
FMT1 = (4I4,8I8) / GRADE READ IN FORMAT; DEFAULT: FMT1 = (4I4,8I8)
FMT2 = (3I4,8F8.1) / TOPO READ IN FORMAT; DEFAULT: FMT2 = (3I4,8F8.1)
I-O = 1 / LIST SUMMARY OF RUN
END
MineSight
Proprietary Software: Mintec, inc. M718V2-CREATE THE $ PIT OPTIMIZATION MODEL BY USER SUB
Revised: 17-July-01 Page 718-11
PROGRAM SUMMARY
M718V2 reads the 3-D Mine Model File and the 2-D Surface
File and condenses them, creating the Pit Optimization B-file
and S-file. A user-supplied subroutine calculates the block
economic values.
PROGRAM FLOW DIAGRAM
RUN FILE:
INPUT: CALCS:
OUTPUT:
M718V2 CREATE A NET VALUE PIT OPTIMIZATION MODEL FROM THE
BLOCK MODEL WITH A USER SUBROUTINE
REQUIREMENTS AND CONSIDERATIONS
Run M717TS or V1 prior to running M718V2 to set up PCF
descriptors for the DIPPER files.
Either MineSight
M718V2-CREATE THE $ PIT OPTIMIZATION MODEL BY USER SUB Proprietary Software: Mintec, inc.
Page 718-12 Revised: 17-July-01
For the model values in ASCII File 15, pick a standard format
for the coding form, such as:
Variable Columns Description
IBEN 1-4 Bench Number
IROW 5-8 Row Number
IX1 9-12 First Column of Values
IX2 13-16 Last Column of Values
IN1 17-24 Integer Value of IX1
IN2 25-32 Integer Value of IX1+1
.
.
.
IN8 73-80 Integer Value of IX1+7
A maximum of 8 values per line is allowed. The format to specify
the above input data is:
FMT1 = (4I4,8I8)
This file must be sorted first by descending Northing (by row),
then from top to bottom (by bench), and finally from West to
East (by column).
For the topography in the ASCII File 13, pick a standard format
for the coding form, such as:
Variable Columns Description
IROW 1-4 Row Number within the Model
IX1 5-8 First Column of Values
IX2 9-12 Last Column of Values
IN1 3-20 Elevation of Block IX1
IN2 21-28 Elevation of Block IX1+1
.
.
.
IN8 69-76 Elevation of Block IX1+7
A maximum of 8 elevations per line is allowed.
The format to specify the above input data is:
FMT2 = (3I4,8F8.1)
This file must be sorted by descending Northing by rows
(IROW). For each row, sort by ascending column numbers (IX1).
Subroutine USR718 is called for every block specified by IOP1
through IOP6. There are 4 items in the argument list:
VALUE The computed dollar value for the block.
This value must be assigned by your user
subroutine.
IX,IY,IZ The column, row, and bench number of the
current block. These values should NOT be
modified by your user subroutine.
The values for block model items selected via the ITM command
are returned in array RDAT in common block ITM. An items
location in ITM is given by LOCDAT in common block USR.
For example,
Run file: ITM1 = TOPOG TOPO
ITM2 = TCU-2 GRADE
ITM3 = TCU-1 USER
ITM4 = CODE CODE
Program: RDAT(LOCDAT(1) ) has the block model
value for TCU-2
RDAT(LOCDAT(2) ) has the block model
value for TCU-1
RDAT(LOCDAT(3)) has the block model
value for CODE
Note that File 13 item in TOPOG can not be accessed through
the RDAT array.
For additional examples of information available in common
blocks, see MineSight
user subroutines.
MineSight
Proprietary Software: Mintec, inc. M718V2-CREATE A NET VALUE PIT OPTIMIZATION MODEL BY USER SUB
Revised: 17-July-01 Page 718-13
RUN FILE OPERATION
1. NAMES LINE (must be the first line entered)
MEDS-718V2 10=filename 13=filename 15=filename;
MEDS-718V2 21=filename 22=filename 3=filename
where
MEDS-718V2 (must be the first 10 columns)
10= the name of the PROJECT CONTROL FILE
13= the name of the 2-D SURFACE FILE(in ASCII or regular MineSight
format)
15= the name of the MINE MODEL FILE(in ASCII or regular MineSight
format)
21= the name of the PRIMARY SURFACE FILE(S-file)
22= the name of the CONDENSED MINE MODEL FILE(B-file)
3= the name of the PRINTER OUTPUT FILE
2. RUN INFORMATION LINE (max. of 80 columns)
A single line of text that will be printed at the top of each page of printer output from the run.
3. RUN OPTIONS (in any order & free-field format)
USR = USER INITIALS (e.g., ABC)
Use only one of the following CMDs (one is required):
CMD = CONDENSE MODEL Create Pit Optimization model
CMD = UPDATE B-FILE Input new values for the B-file
CMD = CONDENSE FROM S-FILE TOPO Read existing pit S-file
IOP1 = FIRST COLUMN OF MODEL TO ACCESS (default=1)
IOP2 = LAST COLUMN OF MODEL TO ACCESS (default=NX)
IOP3 = FIRST ROW OF MODEL TO ACCESS (default=1)
IOP4 = LAST ROW OF MODEL TO ACCESS (default=NY)
IOP5 = FIRST BENCH OF MODEL TO ACCESS (default=1)
IOP6 = LAST BENCH OF MODEL TO ACCESS (default=NZ)
IOP12 = 0 REGULAR MineSight
M718V2-CREATE A NET VALUE PIT OPTIMIZATION MODEL BY USER SUB Proprietary Software: Mintec, inc.
Page 718-14 Revised:17-July-01
PAR1 = MINIMUM BLOCK VALUE TO CONDENSE
PAR2 = MAXIMUM BLOCK VALUE TO CONDENSE
NOTE: PAR1 and PAR2 are evaluated before PAR3. PAR1 and PAR2 may be negative for DOLLAR values.
PAR3 = CONSTANT TO BE ADDED TO FILE 15 ITEM BEFORE THE ITEM IS CONDENSED
NOTE: If a constant has not been added to the File 15 item by M612RP/V1/V2, it may be added here for $/
BLK or $/TON models. If you use this PAR, you must put in the opposite value in PAR15 in M720V1/V3.
PAR4 = PRECISION OF MODEL ITEM IN ASCII FILE 15 (default = 1)
NOTE: IOP15 through IOP19 and PAR5 through PAR40 are available to user.
ITMn = label-13 TOPO Surface topography item in File 13; required
ITMn = label-15 GRADE File 15 item to condense; required
ITMn = label-15 USER optional file 15 items to access
ITMn = label-15 CODE optional File 15 item to use for selecting block types to condense
ITMn = label-15 OVBDN# optional File 15 item used to determine overburden blocks which have the
numerical value #;up to 3 values are allowed, all on this line
NOTE: The total number of ITMs can not exceed 40.
If ITMn with CODE is used, include the following:
CMD = USE CODES v1 v2 v3 ... v20
NOTE: More than one USE CODES command may be entered. The vs are numerical values between 1 and
99 (i.e., to use codes 3 and 4, use CMD = USE CODES 3 4)
FMT1 = MODEL DATA INPUT FORMAT (FOR FILE 15)
IZ, IY, IX1, IX2, 8*GRADE FIELDS IN INTEGER FORM (default: FMT1 = (4I4, 8I8))
FMT2 = TOPO DATA INPUT FORMAT (FOR FILE 13)
IZ, IX1, IX2, [8]*TOPO FIELDS IN REAL FORM (default: FMT2 = (3I4, 8F8.1)
I-O = 1 Produces a terminal list by row
= 2 Produces a list of each column in the print file
Optional data selection by RANGE, OMIT or TABLE
ITMn = label-15 RANGE min-value max-value
ITMn = label-15 OMIT min-value max-value
ITMn = label-15 TABLE IOPm IOPn
END
MineSight
Proprietary Software: Mintec, inc. M718V2-CREATE A NET VALUE PIT OPTIMIZATION MODEL BY USER SUB
Revised: 17-July-01 Page 718-15
USER SUBROUTINE - USR718
C
C**********************************************************************
C * SUBROUTINE FOR USER CALCULATION OF B-FILE ITEM *
C USR718 * M-E-D-S-Y-S-T-E-M R-E-L-E-A-S-E 10.4 *
C * COPYRIGHT 1974-1993 MINTEC INC., TUCSON, AZ. *
C**********************************************************************
C
SUBROUTINE USR718
& (VALUE, IX, IY, IZ)
C
C
C 03-AUG-93: CALCULATE $-VALUE FOR GOLD PROJECT
C THE COMMENTED SEGMENTS FOR TONNAGE FACTOR CALCULATION
C ARE INTENDED AS AN EXAMPLE FOR MORE COMPLEX CASES.
C
C DEFINITION OF MAJOR VARIABLES
C
C VALUE = $-VALUE TO BE STORED IN DIPPER MODEL B-FILE
C THE VALUE MAY BE ANY ONE OF THE FOLLOWING FOUR:
C GROSS VALUE PER BLOCK
C GROSS VALUE PER TON
C NET VALUE PER BLOCK
C NET VALUE PER TON
C DEPENDING ON IOP17.
C UPON INPUT, VALUE IS NOT DEFINED.
C UPON RETURN, THE VALUE SHOULD BE CALCULATED.
C
C IX,IY,IZ= COL,ROW,BENCH#.
C THUS, THE ITEMS OF EVERY BLOCK MAY BE RETRIEVED.
C THE VALUE IS CALCULATED BASED ON THE VALUES OF THE ITEMS
C OF THE BLOCK.
C UPON INPUT, THE IX,IY,IZ ARE DEFINED.
C UPON RETURN, THE IX,IY,IZ SHOULD BE THE SAME AS THE INPUT.
C
C BLKVOL= BLOCK VOLUME
C BLKTON= BLOCK TON
C IOP15 = USER SUBROUTINE DEBUG OPTION
C 0 = NO; 1 = YES
C IOP16 = DEBUG ROW NUMBER
C IOP17 = OPTION FOR WHETHER TO CALCULATE $ PER BLOCK
C OR $ PER TON.
C 0 = CALCULATE GROSS $ PER BLOCK
C 1 = CALCULATE GROSS $ PER TON
C 2 = CALCULATE NET $ PER BLOCK
C 3 = CALCULATE NET $ PER TON
C PAR3 = CONSTANT TO BE ADDED TO B-FILE ITEM
C PAR5 = CUTOFF FOR GOLD TO BE TREATED AS MILL FEED.
C PAR11 = PRICE; PRICE OF GOLD ($350/OZ)
C PAR12 = FCOST; MINING & PROCESSING COST OF GOLD ($21.0/TON-FEED)
C PAR13 = WCOST; MINING COST OF WASTE ($2.25/TON)
C PAR14 = OTNFC; default FEED TONNAGE FACTOR (11.5 CUBIC-FEET/TON)
C PAR15 = WTNFC; default WAST TONNAGE FACTOR (12.5 CUBIC-FEET/TON)
C
MineSight
M718V2-CREATE A NET VALUE PIT OPTIMIZATION MODEL BY USER SUB Proprietary Software: Mintec, inc.
Page 718-16 Revised:17-July-01
C
DIMENSION ZTOE(400)
C
COMMON
& /SYS/ NAMES(80), RNID(20), IOP(40), PAR(40), KFMTS(80),
& DAY( 4), LALF(20), ICR, IPR, LCR, LPR, LINE,LLIM,
& IHS, NCMD, IRTYPE , IOLEV , RUNUMB , USER,LBTS,
& IPDP, IHEAD(8) , NPAGE , NDOCL , LDOC(15,5)
& /F10/ PCF( 512), IAB10(20), I10,NW10, FLB(2,40), XF10(40)
& /F15/ K15NM(10), KFL15(20), IAB15(20), I15,NW15, MODELT ,
& K15TYP(8), XMIN,XMAX, DX , NX , YMIN,YMAX, DY , NY ,
& MODEL(5), ZMIN,ZMAX, DZ , NZ , HX , HY ,
& MTXI,MTOP, LMX1,LMX2, LTP1,LTP2
C
COMMON
& /ITM/ ITM(3,99), NIC(5,40), ITEMS , NICNO , LWRD( 99),
& NBIT( 99), LBIT( 99), VMIN( 99), CODE( 99), ROND( 99),
& VMAX( 99), MAXV( 99), RDAT( 99), IDAT( 99)
C
EQUIVALENCE
& (ZTOE,PCF(51))
C
COMMON
& /USR/ LOCDAT(40), NDAT
C
DATA NTRY / 0 /
C
C LOCDAT(N) = LOCATION OF NTH GRADE AND USER ITM IN RUNFILE.
C THIS INCLUDES THE GRADE, CODE, OVBDN, AND USER ITEMS, BUT NOT
C THE TOPOG ITEM.
C THE TOTAL NUMBER OF ITEMS USED IN M718V2 RUN IS LIMITED TO 10.
C
C FOR THIS SAMPLE: #1 #2 #3 #4 #5
C IE, IN RUNFILE) - - -
C GOLD ROCK
C
C ... INITIALIZATION
IF (NTRY .GT. 0) GOTO 100
LOC01 = LOCDAT(1)
OMIT = PCF(490)
IX2 = IOP(2)
IY1 = IOP(3)
IZ2 = IOP(6)
IDBG = IOP(15)
IROW = IOP(16)
IRUN = IOP(17)
VALMIN = 1.0E+15
VALMAX = -1.0E+15
SUMTON = 0
SOMTON = 0
SWMTON = 0
EPSL = 0.0005
NTRY = 1
C
C -
MineSight
Proprietary Software: Mintec, inc. M718V2-CREATE A NET VALUE PIT OPTIMIZATION MODEL BY USER SUB
Revised: 17-July-01 Page 718-17
C ... INPUT PARAMETERS:
CUTOF = PAR( 5)
PRICE = PAR(11)
FCOST = PAR(12)
WCOST = PAR(13)
OTNFC = PAR(14)
WTNFC = PAR(15)
C CRCK1 = PAR(26)
C CRCK2 = PAR(27)
C OTNF1 = PAR(31)
C OTNF2 = PAR(32)
C WTNF1 = PAR(36)
C WTNF2 = PAR(37)
C
C ... ASSIGN default TONNAGE FACTORS
IF ( OTNFC .LT. 0 ) OTNFC = 11.5
IF ( WTNFC .LT. 0 ) WTNFC = 12.5
C
C ... CALCULATE BLOCK VOLUME
DZ = PCF(50+IZ-1) - PCF(50+IZ)
BLKVOL = DX * DY * DZ
C
C ... CALCULATE ECONOMIC MILL CUTOFF
C ... ASSUMING BLOCKS WITH GOLD BELOW CUTOFF WOULD USE WASTE MINING COST
ECMIL = ( FCOST - WCOST ) / PRICE
C
C
C ... DO BLOCK BY BLOCK CALCULATIONS
100 CONTINUE
C
C ... RETRIEVE BLOCK ITEMS
GOLD = RDAT(LOC01)
C
C ... SET MISSING AND UNDEFINED TO 0 VALUE
IF ((GOLD .EQ. OMIT) .OR. (GOLD .LT. 0.0)) GOLD=0.0
IF ((ROCK .EQ. OMIT) .OR. (ROCK .LT. 0.0)) ROCK=0.0
C
IF ( IDBG .GT. 0 .AND. IY .EQ. IROW ) THEN
WRITE(LPR,175) GOLD, ROCK
WRITE(IPR,175) GOLD, ROCK
ENDIF
175 FORMAT(/23X,INPUT: GOLD,ROCK= ,F8.3, F6.0)
C
C ... THIS SEGMENT OF CODES IS AN EXAMPLE FOR MORE COMPLEX CASE
C ... ASSIGN DEFAULTS
C OTNFC = PAR(14)
C WTNFC = PAR(15)
C
C IF ( OTNFC .LT. 0 ) OTNFC = 11.5
C IF ( WTNFC .LT. 0 ) WTNFC = 12.5
C
C IF ( ABS(ROCK - CRCK1) .LT. EPSL ) THEN
C OTNFC = OTNF1
C WTNFC = WTNF1
C ELSE IF ( ABS(ROCK - CRCK2) .LT. EPSL ) THEN
C OTNFC = OTNF2
C WTNFC = WTNF2
MineSight
M718V2-CREATE A NET VALUE PIT OPTIMIZATION MODEL BY USER SUB Proprietary Software: Mintec, inc.
Page 718-18 Revised:17-July-01
C ENDIF
C
C ... COMPUTE BLOCK TONNAGE
DZ = PCF(50+IZ-1) - PCF(50+IZ)
BLKVOL = DX * DY * DZ
BLKTNO = BLKVOL / OTNFC
BLKTNW = BLKVOL / WTNFC
C
C *******************
C ... COMPUTE BLOCK VALUE
C *******************
GROSS = PRICE*BLKTNO*GOLD
COSTF = FCOST*BLKTNO
COSTW = WCOST*BLKTNW
C
BLKTON = BLKTNW
IF ( GOLD .GE. CUTOF ) BLKTON = BLKTNO
VALUE = GROSS
IF ( IRUN .EQ. 1 ) VALUE = GROSS / BLKTON
IF ( IRUN .EQ. 2 ) VALUE = GROSS - COSTF
IF ( IRUN .EQ. 3 ) VALUE = (GROSS - COSTF) / BLKTON
IF ( IRUN .EQ. 1 .OR. IRUN .EQ. 3 ) THEN
IF ( VALUE .LT. -WCOST ) VALUE = -WCOST
ELSE IF ( IRUN .EQ. 0 .OR. IRUN .EQ. 2 ) THEN
IF ( VALUE .LT. -COSTW ) VALUE = -COSTW
ENDIF
C
IF (VALMIN .GT. VALUE) VALMIN = VALUE
IF (VALMAX .LT. VALUE) VALMAX = VALUE
C
C ... SUMMARIZE TONNAGES
SUMTON = SUMTON + BLKTON
IF ( GOLD .GE. CUTOF ) THEN
SOTON = SOTON + BLKTON
ELSE
SWTON = SWTON + BLKTON
ENDIF
C
C ... DEBUG
IF ( IDBG .GT. 0 .AND. IY .EQ. IROW ) THEN
WRITE(IPR,910) IZ,IY,IX, VALUE, BLKTON,
& GROSS, COSTF, COSTW
WRITE(LPR,910) IZ,IY,IX, VALUE, BLKTON,
& GROSS, COSTF, COSTW
910 FORMAT( IZ,IY,IX =,3I4, NET VALUE = ,F11.2,
/23X, BLOCK TONS= ,F11.2,
& /23X, BLOCK GROSS= ,F11.2,
& /23X, BLOCK COSTF= ,F11.2,
& /23X, BLOCK COSTW= ,F11.2)
ENDIF
C
C ... SUMMARY STATISTICS
IF (IY.EQ.IY1.AND.IZ.EQ.IZ2.AND.IX.EQ.IX2) THEN
WRITE(LPR,920) VALMIN,VALMAX,ECMIL,SUMTON,SOTON,SWTON
WRITE(IPR,920) VALMIN,VALMAX,ECMIL,SUMTON,SOTON,SWTON
ENDIF
MineSight
Proprietary Software: Mintec, inc. M718V2-CREATE A NET VALUE PIT OPTIMIZATION MODEL BY USER SUB
Revised: 17-July-01 Page 718-19
920 FORMAT(/5X, MINIMUM VALUE= ,F15.2,
& /5X, MAXIMUM VALUE= ,F15.2,
& /5X, ECON. MILL CUTOFF= ,F15.4,
& /5X, TOTAL TONS= ,F15.0,
& /5X, FEED TONS= ,F15.0,
& /5X, WASTE TONS= ,F15.0/)
C
RETURN
END
MineSight
M718V2-CREATE A NET VALUE PIT OPTIMIZATION MODEL BY USER SUB Proprietary Software: Mintec, inc.
Page 718-20 Revised:17-July-01
M718V2 SAMPLE RUN FILE #1
MEDS-718V2 10=GOLD10.DAT 15=GOLD15.DAT 13=GOLD13.DAT;
MEDS-718V2 21=GOLDDP.pb$ 22=GOLDDP.Bb$ 3=RPT718.LA2
* CONDENSE MINE MODEL FOR NET $ PER BLOCK PIT OPTIMIZATION *
USR = ABC
CMD = CONDENSE MODEL
IOP1 = 1 0 / COLUMNS DEFAULT TO NX
IOP3 = 1 0 / ROWS DEFAULT TO NY
IOP5 = 1 0 / BENCHES DEFAULT TO NZ
IOP15 = 0 / 0=NO DEBUG; 1=YES
IOP16 = 0 / DEBUG ROW NUMBER
IOP17 = 2 / OPTION FOR ITEM CALCULATION
COM / 0 = CALCULATE GROSS $ PER BLOCK
COM / 1 = CALCULATE GROSS $ PER TON
COM / 2 = CALCULATE NET $ PER BLOCK
COM / 3 = CALCULATE NET $ PER TON
PAR1 = -2501 / MIN REAL $ PER BLOCK VALUE TO BE STORED IN B-FILE
PAR2 = 150000 / MAX REAL $ PER BLOCK VALUE TO BE STORED IN B-FILE
PAR3 = 2500 / CONSTANT TO ADD TO THE DIPPER ITEM
PAR5 = 0.055 / CUTOFF GRADE FOR GOLD TO BE FEED
PAR11 = 350 / GOLD PRICE $350/OZ
PAR12 = 21 / FEED MINING AND PROCESSING COST $21/TON-FEED
PAR13 = 2.25 / WASTE MINING COST $2.25/TON
PAR14 = 11.5 / FEED TONNAGE FACTOR 11.5 CUBIC-FEET/TON
PAR15 = 12.5 / WASTE TONNAGE FACTOR 12.5 CUBIC-FEET/TON
ITM1 = TOPOG TOPO / FILE 13 LABEL FOR TOPO
ITM2 = GOLD GRADE / FILE 15 GRADE LABEL
I-O = 1 / LIST SUMMARY OF RUN
END
MineSight
Proprietary Software: Mintec, inc. M718V2-CREATE A NET VALUE PIT OPTIMIZATION MODEL BY USER SUB
Revised: 17-July-01 Page 718-21
M718V2 SAMPLE RUN FILE #2
MEDS-718V2 10=GOLD10.DAT 15=GOLD15.DAT 13=GOLD13.DAT;
MEDS-718V2 21=GOLDDP.P$T 22=GOLDDP.B$T 3=RPT718.LB2
* CONDENSE MINE MODEL FOR NET $ PER TON PIT OPTIMIZATION *
USR = ABC
CMD = CONDENSE MODEL
IOP1 = 1 0 / COLUMNS DEFAULT TO NX
IOP3 = 40 41 / ROWS DEFAULT TO NY
IOP5 = 10 13 / BENCHES DEFAULT TO NZ
IOP15 = 1 / 0=NO DEBUG; 1=YES
IOP16 = 40 / DEBUG ROW NUMBER
IOP17 = 3 / OPTION FOR ITEM CALCULATION
COM / 0 = CALCULATE GROSS $ PER BLOCK
COM / 1 = CALCULATE GROSS $ PER TON
COM / 2 = CALCULATE NET $ PER BLOCK
COM / 3 = CALCULATE NET $ PER TON
PAR1 = -2.30 / MIN $ PER TON VALUE TO BE STORED IN B-FILE
PAR2 = 150 / MAX $ PER TON VALUE TO BE STORED IN B-FILE
PAR3 = 2.3 / CONSTANT TO ADD TO THE DIPPER ITEM
PAR5 = 0.055 / CUTOFF GRADE FOR GOLD TO BE FEED
PAR11 = 350 / GOLD PRICE $350/OZ
PAR12 = 21 / FEED MINING AND PROCESSING COST $21/TON-FEED
PAR13 = 2.25 / WASTE MINING COST $2.25/TON
PAR14 = 11.5 / FEED TONNAGE FACTOR 11.5 CUBIC-FEET/TON
PAR15 = 12.5 / WASTE TONNAGE FACTOR 12.5 CUBIC-FEET/TON
ITM1 = TOPOG TOPO / FILE 13 LABEL FOR TOPO
ITM2 = GOLD GRADE / FILE 15 GRADE LABEL
I-O = 3 / LIST SUMMARY OF RUN
END
MineSight
M718V2-CREATE A NET VALUE PIT OPTIMIZATION MODEL BY USER SUB Proprietary Software: Mintec, inc.
Page 718-22 Revised:17-July-01
M718V2 SAMPLE RUN FILE #3
MEDS-718V2 10=MSOP10.DAT 15=MSOP15.DAT 13=MSOP13.DAT;
MEDS-718V2 21=MSOPDP.T00 22=MSOPDP.TMP 3=RPT718.LT
* CONDENSE MINE MODEL FOR PIT OPTIMIZATION *
USR = ABC
IOP1 = 1 0 /COLUMS DEFAULT TO NX
IOP3 = 1 0 /ROWS DEFAULT TO NY
IOP5 = 1 /1ST BENCH
IOP6 = 64 /LAST BENCH DEFAULT TO NZ = 64
PAR1 = -19399 /MIN VALUE
PAR2 = 738300 /MAX VALUE
ITM1 = TOPOG TOPO /FILE 13 LABEL FOR TOPO
ITM2 = EQCU GRADE /FILE 15 GRADE LABEL
ITM3 = ORE CODE /SELECT BLOCKS BY ORE CODES
CMD = USE CODES 1 2 /PROVEN AND PROBABLE
I-O = 1 /LIST SUMMARY OF RUN
END
MineSight
Proprietary Software: Mintec, inc. M718V2-CREATE A NET VALUE PIT OPTIMIZATION MODEL BY USER SUB
Revised: 15-Nov-07 Page 718-23
HOW TO DEBUG AN M718V2 RUN
1. ERROR - IY, IX, TOPO, DIFF, IBEN, MOUNT = xxx
will occur if any internal program counter exceeds the number of benches to be condensed.
2. NO ITEM WAS ENTERED FOR xxx
will appear if you do not specify an item for TOPO, GRADE, CODE or OVERBURDEN.
3. THE SIZE OF THE B-ARRAY HAS BEEN EXCEEDED. THIS RUN HAS BEEN TERMINATED TO
PREVENT M718V2 FROM OVERWRITING STORAGE.
REDUCE THE B-ARRAY STORAGE REQUIREMENTS BY INCREASING THE MINIMUM GRADE OR BY
DECREASING THE ROW/COLUMN RANGE OR BY LIMITING # OF BENCHES IN M717TS PIT
OPTIMIZATION SET SETUP.
The big series program allows a maximum of 5,000,000 words in the B-file, and the huge series program allows a
maximum of 25,000,000. This will not normally impose a limit unless you are condensing a very large model. If you get
this error, either decrease the size of the area to be condensed or increase the minimum value to be condensed.
4. Test M718V2 on a small portion of the model and plot the condensed model with M722. Compare the condensed values
with the original 3-D model to ensure that the condensing operation is functioning correctly.
5. ?M718V2 WARNING: FILE 15 VALUE EXCEEDED MAXIMUM LIMIT
VALUE = NNNNNNN.NNN LIMIT = -10.000
Your Vmax - Vmin/precision in M717TS/V1 was greater than 65,535. Check your M717TS/V1 runfile and rerun
M717TS/V1.
6. ?M718V2 WARNING: NEGATIVE B-FILE ENTRY.
VALUE = -10.0000
Your Vmax - Vmin / Precision in M717TS/V1 was greater than 65,535. Check your M717TS/V1 runfile and rerun
M717TS/V1.
7. Check the MineSight
M718V2-CREATE A NET VALUE PIT OPTIMIZATION MODEL BY USER SUB Proprietary Software: Mintec, inc.
Page 718-24 Revised:17-July-01
MineSight
Proprietary Software: Mintec, inc. M720V4 ECONOMIC PIT LIMITS (Complex Slopes)
Revised: 17-May-07 Page 720-45
PROGRAM SUMMARY
M720V4 is an extension of the M720V3 Pit Optimization
(Lerchs-Grossmann) program. It uses cost data, prices,
recoveries, a condensed block model, and a set of pre-determined
pit slopes to generate economic pit limits. This version can
handle azimuth, as well as vertical slope changes, at the expense
of run time.
PROGRAM FLOW DIAGRAM
RUN FILE:
INPUT: CALCS:
OUTPUT:
M720V4 ECONOMIC PIT LIMITS (Complex Slopes)
REQUIREMENTS AND CONSIDERATIONS
M720V4 performs the same calculations as M720V3 (Lerchs-
Grossman pit designs ) but with more complex slopes. The cone
template for M720V3 has only to be calculated once per run,
but M720V4 allows recalculation of the cone template for each
base block. This requires a lot of compute time, so M720V4
could be at least 10 times slower than M720V3.
Complex variable slopes are defined in a Slope Definition Data
file (file 30 on the Names Line). Although the program will use
slopes defined by IOP12 as in M720V3, this option should not
be used in M720V4.
The method of defining slopes is based upon elevation grids
(such as read by M630V1) and block code matrices (such as
generated by M656V1) between the grids.
Elevation grids are specified in bottom-up order. The slope
matrix associated with each elevation grid (surface) defines
slopes for the blocks above it and below any previous elevation
grid. For example, an elevation grid specified for bench 10 would
effect benches 1 through 9, a subsequent elevation grid (for
bench 20) would effect benches 10 through 19.
Each block is defined by a code which has a specific slope. The
grids and block sizes are based upon the block model limits
specified in the PCF.
The calculation method used by M720V4 to generate the
geometry of a cone is:
1. From the base block center, rays are generated for azimuths
from 0 to 360 degrees. The number of rays depends upon
the ray increment in degrees (PAR16). This increment should
be 10 and 45 degrees (Slope Rays).
2. On each of these rays there are points spaced at a specified
distance apart (PAR17 ). A maximum of 50 points are al-
lowed. For each of these points the elevation is computed
based upon the elevation of the last point pit slope at the
previous point. The slope is based upon the grids and matri-
ces entered.
3. The cone grid is computed for each grid point by calculat-
ing the azimuth of a ray from the center of the block to the
grid point. The elevation of the grid point is then computed
by interpolation from the adjacent slope rays .
Continued on next page.
- Cost data, prices
- Area specifications
- Pit slopes
- Read condensed model
- Evaluate branches,
nodes, and mine
profitable blocks
- Generate economic pits
from profitable blocks
- Additional S-file(s)
- Printer Output File
- PCF
- S-File
- B-File
- Slope File
MineSight
M720V4 ECONOMIC PIT LIMITS (Complex Slopes) Proprietary Software: Mintec, inc.
Page 720-46 Revised: 17-May-07
NOTES:
1. Please refer to M720V3 for further explanations of the Lerchs-
Grossmann calculations. M720V4 uses all of M720V3 logic.
2. The slope definition related to file 30 is expressed in re-
blocked model dimensions, when re-blocking is used.
3. M720V4 measures all blocks at their centers. There are no
options like IOP14 in M720V3. The radius of the base block is
set to 0.0001.
4. M720V4 also does not have an option analogous to IOP12
in M720V3.
MineSight
Proprietary Software: Mintec, inc. M720V4 ECONOMIC PIT LIMITS (Complex Slopes)
Revised: 17-J uly-01 Page 720-47
M720V4 ECONOMIC PIT LIMITS (Complex Slopes)
RUN FILE OPERATION
1. NAMES LINE (must be the first line entered)
MEDS-720V4 10=filename 22=filename 21=filename;
MEDS-720V4 3=filename 30=filename 31=filename 32=filename;
MEDS-720V4 33=filename
where
MEDS-720V4 (must be the first 10 columns)
10 = the name of the PROJ ECT CONTROL FILE
22 = the name of the CONDENSED MINE MODEL FILE
21 = the name of the PRIMARY SURFACE FILE
30 = the name of the SLOPE DEFINITION DATA FILE
31 = the name of the ORIGINAL PIT DESIGN NET DOLLAR VALUE VIRTUAL MODEL OUTPUT FILE (optional)
32 = the name of the REBLOCKED PIT DESIGN NET DOLLAR VALUE VIRTUAL MODEL OUTPUT FILE
(optional)
33 = the name of the SLOPE CODE OUTPUT FILE
3 = the name of the PRINTER OUTPUT FILE
NOTE: The output format for files 31 and 32 is in M610V1 input-ready format: (4I5,20(1X,I11). The output
format for file 33 is also in M610V1 input-ready format: (4I5, 20I4).
If multiple phases are specified in one run, the output will be for phase 1 setup only.
2. RUN INFORMATION LINE (max. of 80 columns)
A single line of text that will be printed at the top of each page of printer output from the run.
3. RUN OPTIONS (in any order & free-field format)
USR = USER INITIALS (e.g., ABC)
IOP1 = INCREMENT BETWEEN COLUMNS DURING SEARCH (Ignored in this version)
IOP2 = INCREMENT BETWEEN ROWS DURING SEARCH (ignored in this version)
IOP3 = INCREMENT BETWEEN BENCHES DURING SEARCH (default=2)
IOP4 = NUMBER OF TIMES TO REPEAT SEARCH FOR EACH AREA (ignored in this version)
IOP5 = OPTIONAL SET #OF CONSTANTS BELOW (ignored in this version)
IOP7 = MAX CHANGE IN IX BEFORE RECALCULATION OF CONE TEMPLATE
IOP8 = MAX CHANGE IN IY BEFORE RECALCULATION OF CONE TEMPLATE
IOP9 = MAX CHANGE IN IZ BEFORE RECALCULATION OF CONE TEMPLATE
NOTE: Since the base block selection order is by IX on each row (IY) on each bench (IZ), IOP7 is usually the
critical parameter. Setting this to 2 could reduce the number of cones calculated by one half.
MineSight
M720V4 ECONOMIC PIT LIMITS (Complex Slopes) Proprietary Software: Mintec, inc.
Page 720-48 Revised: 17-J uly-01
IOP11 = 1 READ VARIABLE COSTS
IOP15 = 0 LIMIT MINING WITHIN MODEL BOUNDARY
= 1 DO NOT LIMIT MINING WITHIN MODEL BOUNDARY
IOP16 = 0 REGULAR RUN
= 1 REPORT RESERVES BETWEEN FILE 21 AND FILE s-filename2 ONLY
IOP17 = 0 REGULAR RUN
= 1 LIST NET DOLLAR VALUE MODEL WITHOUT PIT DESIGN
NOTE: IOP21IOP26 control the debug output of the model. The default values are 0. A value >0 for IOP21
will cause the debug output to be generated. The output generated is only for the blocks inside the virtual full
model. The parameters in IOP21IOP26 always refer to the original block model. The re-blocked values will
be listed based on IOP21, IOP22, IOP24, IOP25 adjusted according to IOP31 and IOP32.
IOP21 = FC FIRST COLUMN OF MODEL TO PRINT
IOP22 = LC LAST COLUMN OF MODEL TO PRINT
IOP23 = C COLUMN INCREMENT (print every C column)
IOP24 = FR FIRST ROW OF MODEL TO PRINT
IOP25 = LR LAST ROW OF MODEL TO PRINT
IOP26 = R ROW INCREMENT (print every R row)
IOP31 = NUMBER OF BLOCKS TO BE COMBINED INTO ONE IN EASTING (default =1)
IOP32 = NUMBER OF BLOCKS TO BE COMBINED INTO ONE IN NORTHING (default =1)
IOP33 = NUMBER OF BENCHES TO BE COMBINED INTO ONE (default =1)
PAR1 = MILL CUTOFF DATA VALUE (used in economic calculations, default =economic mill cutoff)
PAR2 = MINE CUTOFF DATA VALUE (base block cutoff used in cone searching, default =economic mine cutoff)
PAR3 = MINING COST/UNIT OF WASTE MATERIAL
PAR4 = TOTAL OPERATING COST/UNIT OF ORE (mining and milling cost)
NOTE: Enter a 0 if $/ton or $/block is used.
PAR5 = NET VALUE PER UNIT OF PRODUCT
NOTE: Enter a 0 if $/ton or $/block is used.
PAR6 = MINIMUM PIT SLOPE (required)
NOTE: PAR6 must be specified. The MINIMUM PIT SLOPE parameter is used to calculate the limits of the
cone array, therefore a value must be provided.
PAR9 = OPTIONAL ORE TONNAGE FACTOR (or metric sp-gravity)
PAR10 = OPTIONAL WASTE TONNAGE FACTOR (or metric sp-gravity)
PAR11 = OPTIONAL OVERBURDEN TONNAGE FACTOR (or metric sp-gravity)
NOTE: PAR9 -11 will override M717TS settings. Setting PAR11 different from PAR10 will trigger the OVBDN
calculations.
PAR12=POUNDS PER TON (default =2000 short tons)
NOTE: For long tons use 2240; for metric tonnes use 2204.6.
MineSight
Proprietary Software: Mintec, inc. M720V4 ECONOMIC PIT LIMITS (Complex Slopes)
Revised: 17-J uly-01 Page 720-49
PAR14 = COST PER UNIT OF OPTIONAL OVERBURDEN WASTE CATEGORY (if set by M717TS; default=PAR3)
PAR15 = CONSTANT TO BE ADDED TO THE B-FILE ENTRIES
NOTE: Used in $/BLK and $/TON calculations, if PAR3 was used to add a constant in M718V1 or if a constant
was added by an M612 program.
PAR16 = INCREMENT BETWEEN SLOPE RAYS (in degrees, 10-45; default =30)
PAR17 = DISTANCE BETWEEN POINTS COMPUTED ON EACH SLOPE RAY (estimated minimum value =block size,
however the depth of the pit/PAR17 should be less than 50), (default =30).
PAR21 = LOW GRADE MATERIAL CUTOFF DATA VALUE
PAR22 = LOW GRADE MATERIAL PROCESSING COST
PAR23 = PRICE (INCLUDING RECOVERY) OF LOW GRADE MATERIAL
NOTE: The low grade material cutoff data value or economic low grade material cutoff data value based on
PAR22 and PAR23 (if economic cutoff is to be used) should be lower than PAR1.
ALF1 = 4-CHARACTER LABEL FOR DOCUMENTATION (default=ORE)
ITMn = BLOCK VALUE IS label
where label is one of the following:
GRADE
OUNCES or GRAMS
NET$$ or GRO$$
$-TON (NET $/TON)
%ORE or %FEED
NOTE: GRO$$ assumes a constant waste cost within a same bench or the whole model. The stripping cost is
defined by PAR3. NET$$ will handle a variable waste cost if this cost is condensed into a B-file. If every block
underneath the topo is condensed in the B-file, the stripping cost PAR3 can be set to 0. Otherwise, a non-zero
PAR3 is still needed.
ITMn = FEED UNITS ARE type
ITMn = WASTE UNITS ARE type
where type is one of the following:
TON, TONS or TONNE
YARDS, METERS, VOLUME
RUN = RESET
NOTE: Cumulative mining totals in the S-file will be reset to zero. This would be used if different S-files are
created with different cutoffs.
END
MineSight
M720V4 ECONOMIC PIT LIMITS (Complex Slopes) Proprietary Software: Mintec, inc.
Page 720-50 Revised: 17-J uly-01
4. VARIABLE COSTS BY BENCH (if IOP11=1)
The variable cost for each bench is the new cost to replace PAR3, PAR4 and PAR14 for each applicable bench. These costs are
entered as a separate line for each appropriate set of benches, as:
bench#1 bench#2 feed-cost waste-cost ovbdn-cost leach-cost
A blank line specifies end of input.
5. AREA SPECIFICATION LINES
jop1 jop2 jop3 iz1 iz2 ix1 ix2 iy1 iy2 S-filename1 S-filename2 S-filename3.
where
jop1 = 0 FOR ECONOMIC CONE CALCULATIONS
= 1 FORCE MINING REGARDLESS OF VALUE (ignored in this version)
= -1 READ IN NEW ECONOMIC PARS ON SUBSEQUENT LINE
jop2 = -1 EXAMINE ALL CONES WITH BASE BLOCKS GREATER THAN PAR2
= n EXAMINE CONES COVERED BY EXACTLY n BLOCKS OF MATERIAL (ignored in this version)
jop3 = 0 USED WHEN J OP2 =1
= 1 EXAMINE BASE BLOCKS WITH J OP2=n OR LESS BLOCKS OF COVER FROM THE CURRENT
PIT (ignored in this version)
For base of cone:
iz1 iz2 = RANGE OF BENCH NUMBERS TO SEARCH
ix1 ix2 = RANGE OF COLUMNS TO SEARCH FOR BASE OF CONE
iy1 iy2 = RANGE OF ROWS TO SEARCH
S-filename1=Filename of new surface file to be created when all cones have been searched
S-filename2=optional shell surface to limit mining
S-filename3=optional initial surface
All of the numeric parameters above must appear on one line. Also, there may be multiple Area Specification Lines in the run with or
without S-filename.
Because free field format is used, entries must be made for jop1, jop2 and jop3, even if they will be ignored.
NOTE: When there is no s-filename2 but there is an s-filename3, enter dummy for s-filename2. S-filename3
can be a pit from another Pit Optimization set. The program automatically updates the surface specified by File
21 with the pit surface defined by s-filename3 and outputs to s-filename3. Be careful to back up the s-files
before execution.
6. NEW ECONOMIC PARAMETER LINE (If jop1 =1)
PAR1 PAR2 PAR3 PAR4 PAR5 PAR21 PAR22 PAR23 PAR14
where:
PAR1 PAR5, PAR21 PAR23, PAR14 are defined the same as before
NOTE: This line immediately follows the area specification line to which it refers. Other area specification lines
can follow the parameters.
MineSight
Proprietary Software: Mintec, inc. M720V4 ECONOMIC PIT LIMITS (Complex Slopes)
Revised: 17-J uly-01 Page 720-51
SLOPE DEFINITION DATA FILE
The Slope Definition Data file defines the complex variable slopes for model blocks. The definition is based on one or more elevation
grids, a matrix of block codes associated with each grid, and a mapping of slopes to the block codes.
An elevation grid may be a constant elevation or be representative of a gridded surface. Elevation grids must be specified in a bottom-
up manner. For example, the highest elevation corresponds to the lowest surface reference number (4400>1, 4000>2, 3600
>3). Refer to File: VARSLP.CTL on page 720-55. The block codes associated with each grid apply to blocks above the grid elevation
and below any previously defined elevation grid.
A type code is used to indicate the type and format of information in the Slope Definition Data file. The Slope Definition Data file is
read in a very specific format.
Each type code line in the file reserves columns 1-10 for a label and column 15 for the type code. Information following column 15
in the type code line and following lines is dependent on the type code.
Note: The model dimensions in slope definition file must agree with re-blocked model dimensions. For example if NX =150, new
NX =75. The new NX should be the number of columns for all files included in slope definition limit.
SLOPE DEFINITION LIMIT
Number of Grades 4
Block Slope Codes 99
TYPE CODE 1 - Read Grid Definition
Label (columns 1-10)
TYPE CODE =1 (column 15)
Grid number (column 20). Grids are numbered top-down from 1 to n.
Constant elevation for grid (columns 21-25).
Use 0 if elevation grid filename is entered on next line.
Default block code for grid (columns 29-30). This code is assigned to
blocks not defined with type code 2 or 4.
LABEL 1 NXXXXX J J
FILENAME
Filename of gridded elevations or a -1 for a constant elevation (columns 1-10).
Format of gridded elevations is (3I4, 10F8.1) as in program M630V1.
Continued on next page.
MineSight
M720V4 ECONOMIC PIT LIMITS (Complex Slopes) Proprietary Software: Mintec, inc.
Page 720-52 Revised: 17-J uly-01
TYPE CODE 2 - Read Block Codes for a Grid
Label (columns 1-10)
TYPE CODE =2 (column 15)
Grid number (column 20). Grids are numbered top-down from 1 to n.
LABEL 2 N
FILENAME
Filename of block codes (columns 1-10). Codes are assigned to blocks above grid.
Format of block codes is (5X, 3I5, 20F4.0). Use program M667V1 to create file.
TYPE CODE 3 - Read Block Codes and Corresponding Slopes
Label (columns 1-10)
TYPE CODE =3 (column 15)
LABEL 3
BLOCK CODE SLOPE
BLOCK CODE SLOPE
.
.
.
BLOCK CODE SLOPE
0 (OR -1)
Continued on next page.
A series of lines specify each block code and the slope (must be in degrees)
that corresponds to the bloc code. Codes and slopes are entered free format
with one code and slope per line. End input with a 0 or -1 entry on a line.
MineSight
Proprietary Software: Mintec, inc. M720V4 ECONOMIC PIT LIMITS (Complex Slopes)
Revised: 17-J uly-01 Page 720-53
TYPE CODE 4 - Read Grid Elevation and Block Code for an Area
Label (columns 1-10)
TYPE CODE =4 (column 15)
Grid number (column 20). Grids are numbered top-down from 1 to n.
LABEL 4 N
IY1 IY2 IX1 IX2 ELEVATION CODE
.
.
.
IY1 IY2 IX1 IX2 ELEVATION CODE
0 (or -1)
NOTE: Each elevation grid is generally defined by either type code 1 and 2 entries or a type code 4 entry. A type code 3 entry is
required to define the slopes associated with block codes for all elevation grids. Example Slope Definition Data files VARSLP.CTL
and VARSLP.INP and files associated with them follow.
A series of lines specifies the row (IY1 to IY2) and column (IX1 to IX2)
limits, the elevation and the block code for each area. Input for one area
per line is entererd free format. End input with a 0 or -1 entry on a line.
MineSight
M720V4 ECONOMIC PIT LIMITS (Complex Slopes) Proprietary Software: Mintec, inc.
Page 720-54 Revised: 17-J uly-01
M720V4 SAMPLE RUN FILE #1
Complex slope runfile: Bedrock surface defines the bottom of alluvium ( file BEDRCK.SRF ). Within the alluvium there are two
slopes defined by codes 1 and 2 ( file ALLUV.DAT ). Below the alluvium in bed rock there are two slope codes 3 and 4 (file
ROCK.DAT ).
MEDS-720V4 10=GOLD10.DAT 22=GOLDDP.BLK 21=GOLDDP.P01;
MEDS-720V4 3=RPT720.LO5 30=VARSLP.CTL
* LERCHS-GROSSMANN PIT DESIGN * $250-$500 PRICE *
USR =ABC
IOP1 =1 1 60 / INCREMENT BETWEEN COL, ROWS ,LEV IN SEARCH
IOP4 =1 / TIMES TO REPEAT SEARCH OVER AREA
IOP5 =1 / SET #OF ASSUMPTIONS BELOW
IOP12 =0 / 1=USE VARIABLE SLOPES
PAR1 =.105 / MILL CUT OFF GRADE
PAR2 =.105 / MINE CUT-OFF GRADE ( ONLY USED IN SEARCH)
PAR3 =2.25 / MINING COST PER TON OF WASTE MATERIAL
PAR4 =21.00 / MINING & PROCESSING COST PER TON OF ORE
PAR5 =200. / NET $/OZ ( 80% REC X $250/OZ AU )
PAR6 =42.0 / MINIMUM PIT SLOPE =42 DEG.
ITM1 = BLOCK VALUE IS OUNCES /
ITM2 = FEED UNITS ARE TONS /
ITM3 = WASTE UNITS ARE TONS /
END
0 -1 0 1 60 30 110 10 70 GOLDDP.T25
-1 -1 0 1 60 30 110 10 70 GOLDDP.T30
.0875 .0875 2.25 21 240 0 0 0
-1 -1 0 01 60 30 110 10 70 GOLDDP.T35
.075 .075 2.25 21 280 0 0 0
-1 -1 0 01 60 30 110 10 70 GOLDDP.T40
.0656 .0656 2.25 21 320 0 0 0
-1 -1 0 01 60 30 110 10 70 GOLDDP.T45
.052 .052 2.25 21 360 0 0 0
-1 -1 0 01 60 30 110 10 70 GOLDDP.T50
.047 .047 2.25 21 400 0 0 0
MineSight
Proprietary Software: Mintec, inc. M720V4 ECONOMIC PIT LIMITS (Complex Slopes)
Revised: 17-J uly-01 Page 720-55
File: VARSLP.CTL
SURFACE-1 1 2 3600 3 / ID, type1, surface ref#1, const. elev.=3600, def cd=3
-1 / No elevation matrix file
CODE-1 2 2 / ID, type2, surface ref#1
ROCK.DAT / Code matrix for surface ref#2
SURFACE-2 1 1 0 2 / ID, type1, surface ref#2, no const. elev., def cd=2
BEDRCK.SRF / Elevation matrix file for surface ref#2
CODE-2 2 1 / ID, type2, surface ref#2
ALLUV.DAT / Slope code matrix for surface ref#2
SLOPES-1 3 / ID label, type3
1 30 / Code =1 >Slope =30
2 30 / Code =2 >Slope =30
3 44 / Code =3 >Slope =44
4 38 / Code =4 >Slope =38
-1
NOTE: The first (top) surface is defined by a matrix of elevations in file BEDRCK.SRF. Codes for blocks above
the first surface are defined by a matrix of slope codes in file ALLUV.DAT. The default slope code is 2 for any
matrix location (rowi, columni) not defined in ALLUV.DAT.
The second (bottom) surface is a constant elevation of 3600. Slope codes for blocks above the second surface
but below the first surface are defined by a matrix of slope codes in file ROCK.DAT. The default slope code is 3
for any matrix location (rowi, columni) not defined in ROCK.DAT
The slopes corresponding to slope codes 1, 2, 3 and 4 are 30, 30, 44 and 38 respectively.
SECTION VIEW
Surface Topography
Elev. 3600
Bedrock Surface
30
o
44
o
38
o
30
o
PIT LIMITS
Zone number
1
3
2
4
P s e u d o
Bench #1
P s e u d o
Bench #2
MineSight
M720V4 ECONOMIC PIT LIMITS (Complex Slopes) Proprietary Software: Mintec, inc.
Page 720-56 Revised: 17-J uly-01
File: BEDRCK.SRF
217 1 8 44600 44600 44600 44600 44600 44600 44600 44600
217 9 16 44600 44600 44600 44600 44600 44600 44600 44600
217 17 24 44600 44600 44600 44600 44600 44600 44600 44600
217 25 32 44600 44600 44600 44600 44600 44600 44600 44600
217 33 40 44600 44600 44600 44600 44600 44600 44600 44600
217 41 48 40000 40000 40000 40000 40000 40000 40000 40000
217 49 56 40000 40000 40000 40000 40000 40000 40000 40000
217 57 64 40000 40000 40000 40000 40000 40000 40000 40000
217 65 72 40000 40000 40000 40000 40000 40000 40000 40000
217 73 80 40000 40000 40000 40000 40000 40000 40000 40000
217 81 88 40000 40000 40000 40000 40000 40000 40000 40000
217 89 96 40000 40000 40000 40000 40000 40000 40000 40000
217 97104 40000 40000 40000 40000 40000 40000 40000 40000
217 105112 40000 40000 40000 40000 40000 40000 40000 40000
217 113120 40000 40000 40000 40000 40000 40000 40000 40000
217 121128 40000 40000 40000 40000 40000 40000 40000 40000
217 129136 40000 40000 40000 40000 40000 40000 40000 40000
217 137144 40000 40000 40000 40000 40000 40000 40000 40000
217 45152 40000 40000 40000 40000 40000 40000 40000 40000
217 153160 40000 40000 40000 40000 40000 40000 40000 40000
217 161168 40000 40000 40000 40000 40000 40000 40000 40000
217 169176 40000 40000 40000 40000 40000 40000 40000 40000
217 177184 40000 40000 40000 40000 40000 40000 40000 40000
.
.
.
.
.
.
.
.
.
NOTE: This portion of the file shows elevations for row 217 ranging from 4000.0 to 4460.0 feet.
MineSight
Proprietary Software: Mintec, inc. M720V4 ECONOMIC PIT LIMITS (Complex Slopes)
Revised: 17-J uly-01 Page 720-57
File: ALLUV.DAT
1
1 1 1 20 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 21 40 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 41 60 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 61 80 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 8 100 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 101 120 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 121 140 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 141 160 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 161 180 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 181 200 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 201 220 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 221 240 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 241 260 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 261 280 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 281 300 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 301 320 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 321 340 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 341 350 2 2 2 2 2 2 2 2 2 2
1 2 1 20 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 2 21 40 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 2 41 60 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 2 61 80 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
.
.
.
.
.
.
.
NOTE: This portion of the file shows slope codes are all 2 for row 1 and part of row 2.
MineSight
M720V4 ECONOMIC PIT LIMITS (Complex Slopes) Proprietary Software: Mintec, inc.
Page 720-58 Revised: 17-J uly-01
File: ROCK.DAT
1
1 1 1 20 4 4 4 4 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1 21 40 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1 41 60 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1 61 80 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1 81100 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1101120 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1121140 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1141160 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1161180 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1181200 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1201220 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1221240 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1241260 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1261280 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1281300 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1301320 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1321340 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 1341350 3 3 3 3 3 3 3 3 3 3
1 2 1 20 4 4 4 4 4 4 4 4 4 4 4 4 4 3 3 3 3 3 3 3
1 2 21 40 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 2 41 60 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 2 61 80 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
.
.
.
.
.
.
NOTE: This portion of the file shows slope codes of 4 or 3 for row 1 and part of row 2.
MineSight
Proprietary Software: Mintec, inc. M720V4 ECONOMIC PIT LIMITS (Complex Slopes)
Revised: 17-J uly-01 Page 720-59
M720V4 SAMPLE RUN FILE #2
SIMPLE RUNFILE: SLOPE 1 ABOVE 4200 AND SLOPE 2 BELOW 4200
MEDS-720V4 10=GOLD10.DAT 21=GOLDDP.P00 22=GOLDDP.BLK;
MEDS-720V4 3=RPT720.LB 30=VARSLP.INP
** $300 / OUNCE PIT OPTIMIZATION FLOATING CONE ANALYSIS **
USR =ABC /
IOP1 = 1 1 2 / INCREMENT BETWEEN COL, ROWS ,LEV IN SEARCH
IOP4 = 1 / TIMES TO REPEAT SEARCH OVER AREA
IOP5 = 1 / SET #OF ASSUMPTIONS BELOW
IOP12 = 0 / 0=SINGLE PAR6 SLOPE; 1=VARIABLE SLOPES
PAR1 = 0 / MILL CUT OFF GRADE
PAR2 = 0 / MINE CUT-OFF GRADE (BASE BLOCK FOR CONE EVALUATION)
PAR3 = 1.00 / MINING COST PER UNIT OF WASTE MATERIAL
PAR4 = 2.50 / TOTAL OPERATING COST PER UNIT OF ORE
PAR5 = 300 / NET VALUE PER UNIT OF PRODUCT ($/#OR $/OZ)
PAR6 = 40 / MINIMUM PIT SLOPE (TANGENT IF ; DEGREES IF 10)
ITM1 = BLOCK VALUE IS OUNCES/
ITM2 = FEED UNITS ARE TONS/
ITM3 = WASTE UNITS ARE TONS/
IOP7 =1 1 1 /
PAR16 =30 / RAY AZIMUTH INCREMENT
PAR17 =100 / RAY DISTANCE INCREMENT
END
0 -1 0045045170210075275 GOLDDP.X11
0 -1 0060060160200075275 GOLDDP.X11
MineSight
M720V4 ECONOMIC PIT LIMITS (Complex Slopes) Proprietary Software: Mintec, inc.
Page 720-60 Revised: 17-J uly-01
File: VARSLP.INP
SURFACE-11 1 4200 1 / ID, type1, surface ref#1, const. elev.=4200, def cd=1
-1 / No elevation matrix file
SURFACE-2 1 2 3400 2 / ID, type1, surface ref#2, const. elev.=3400, def cd=2
-1 / No elevation matrix file
SLOPES 3 / ID label, type3
1 35 / Code =1 >Slope =35
2 45 / Code =2 >Slope =45
-1 / End of code/slope definitions
NOTE: The first (top) surface is a constant elevation 4200. Codes for blocks above the first surface are all
defaulted to code 1.
The second (bottom) surface is a constant elevation of 3400. Codes for blocks above the second surface are all
defaulted to code 2.
The corresponding to codes 1 and 2 are 35 and 45 respectively.
MineSight
Proprietary Software: Mintec, inc. M720V4 ECONOMIC PIT LIMITS (Complex Slopes)
Revised: 17-J uly-01 Page 720-61
M720V4 SAMPLE RUN FILE #3
MEDS-720V4 10=GOLD10.DAT 22=GOLDDP.BLK 21=GOLDDP.P01;
MEDS-720V4 3=RPT720.LT2 30=VARSLP.DA4
* LERCHS-GROSSMANN PIT DESIGN WITH MODEL RE-BLOCKED *
USR =ABC
IOP1 = 1 1 2 / INCREMENT BETWEEN COL, ROWS ,LEV IN SEARCH
IOP4 = 1 / TIMES TO REPEAT SEARCH OVER AREA
IOP5 = 1 / SET #OF ASSUMPTIONS BELOW
IOP31 = 2 2 1 / RE-BLOCKING
PAR1 = .0 / MILL CUT OFF GRADE
PAR2 = .0 / MINE CUT-OFF GRADE ( ONLY USED IN SEARCH)
PAR3 = 2.25 / MINING COST PER TON OF WASTE MATERIAL
PAR4 = 21.00 / MINING & PROCESSING COST PER TON OF ORE
PAR5 = 400. / NET $/OZ ( 80% REC X $500/OZ AU )
PAR6 = 50.0 / MINIMUM PIT SLOPE =50 DEG.
COM PAR6 IS NEEDED FOR SETTING UP THE CONE SEARCH BOUNDARY
ITM1 =BLOCK VALUE IS OUNCES /
ITM2 =FEED UNITS ARE TONS /
ITM3 =WASTE UNITS ARE TONS /
END
0 -1 0 1 60 30 110 10 70 GOLDDP.460
File: VARSLP.DA4
SURFACE-11 1 3200 1 / LABEL TYPE GRID ELEV CODE
-1 / SKIP SURFACE FILE
AREA-1 4 1 / LABEL TYPE GRID
1 80 1 120 3200 2 / IY1 IY2 IX1 IX2 ELEV CODE
-1 / ENDING AREA INPUT SLOPES
SLOPES-1 3 / LABEL TYPE
1 50 / CODE SLOPE
2 50 / CODE SLOPE
-1 / ENDING SLOPE INPUT
MineSight
M720V4 ECONOMIC PIT LIMITS (Complex Slopes) Proprietary Software: Mintec, inc.
Page 720-62 Revised: 17-J uly-01
HOW TO DEBUG AN M720V4 RUN
1. CONE ARRAY EXCEEDED @ IZ, IHX = nnn DEFAULT = 199
M720V4 WILL CONTINUE
HOWEVER THE USER MUST CHECK THE PIT DESIGN CAREFULLY FOR STEEP SLOPES
IHX is calculated as (IZ * DZ / SLOPE +BASE) / DX
IZ =Number of current bench
DZ =Bench height
SLOPE =Wall Slope (PAR6)
BASE =0.0001
DX =Dimension of block in X-direction
This error will occur if IHX>199. As message implies, check design carefully. It may be ok even if this message appears.
2. Same error as above except IHY not IHX.
3. Plot maps (symbol or plotter) of the B-file before any Pit Optimization runs as well as maps of the B-file and S-file after
the Pit Optimization runs. Check that the pit design looks reasonable and that no potentially profitable areas have been
overlooked.
4. Check the MineSight
SAMPLE PROJECT
** LIST CONDENSED BLOCK MODEL **
START OF ROW # 25
IX KT KO KL S1 S2: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20
11 8 23 30 2928 2930: 21 25 33 34 34 35 35 35
12 8 21 40 2930 2935: 20 22 25 29 35 36 37 38 38 39 41 49 50 50 51 51 52 52 52 52
13 8 18 41 2935 2941: 21 23 23 24 25 28 31 35 36 37 37 37 38 40 49 50 50 51 51 52
52 52 52 0
14 8 18 41 2941 2947: 23 25 25 26 28 31 33 37 38 39 40 39 41 43 53 50 50 51 51 52
52 52 52 0
15 8 17 40 2947 2953: 22 26 27 28 29 30 33 35 38 39 39 40 40 42 45 58 58 59 60 61
62 62 59 58
START OF ROW # 26
IX KT KO KL S1 S2: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20
11 8 23 42 2687 2692: 20 25 36 37 38 39 39 40 43 49 50 50 51 51 52 52 52 52 0 0
12 8 24 43 2692 2697: 24 36 37 38 39 39 40 42 49 50 50 51 51 52 52 52 52 0 0 0
13 8 23 42 2697 2702: 20 25 36 37 38 39 39 40 42 49 50 50 51 51 52 52 52 52 0 0
14 8 20 43 2702 2708: 20 20 22 25 31 40 41 42 41 40 41 43 49 50 50 51 51 52 52 52
52 0 0 0
15 8 17 40 2708 2714: 21 23 24 25 26 27 31 35 41 42 43 44 43 46 49 55 56 56 58 56
54 52 52 52
*** CURRENT LOGIN SESSION: SRU = 2 TTY = 0HR 0MIN
HOW TO DEBUG AN M724V1 RUN
1. Check the MineSight
Proprietary Software: Mintec, inc. M727 V1 LIST RESERVES FOR PIT OUTLINES
Revised: 19-July-01 Page 727-1
- Name of S-files
- List S-file data - PCF
- S-file
- Printer Output File
RUN FILE:
OUTPUT:
CALCS:
INPUT:
M727V1 LIST RESERVES FOR PIT OUTLINES
PROGRAM SUMMARY
M727V1 is used to list the results from M720 which are stored
in Pit Optimization S-files.
PROGRAM FLOW DIAGRAM
REQUIREMENTS AND CONSIDERATIONS
The M727V1 report is an abbreviated version of the M720 report
file. For each pair of S-files the following data is listed:
Number of base blocks examined
Number of base blocks mined
Number of waste blocks mined
Number of ore blocks mined
Average value per ore block
Average grade per ore block
Ore tons mined
Waste tons mined
Stripping ratio
Both incremental and cummulative figures are given.
The initial S--file is input on the Names Line; all other S--files
are input after the END line in order of increasing pit size.
MineSight
M727 V1 LIST RESERVES FOR PIT OUTLINES Proprietary Software: Mintec, inc.
Page 727-2 Revised: 19-July-01
MineSight
Proprietary Software: Mintec, inc. M727V1LIST RESERVES FOR INTERMEDIATE & FINAL PIT OUTLINES
Revised: 19-July-01 Page 727-3
M727V1LIST RESERVES FOR INTERMEDIATE & FINAL PIT OUTLINES
RUN FILE OPERATION
1. NAMES LINE (must be the first line entered)
MEDS-727V1 10=filename22=filename 21=filename;
MEDS-727V1 3=filename
where
MEDS-727V1 (must be the first 10 columns)
10= the name of the PROJECT CONTROL FILE
22= the name of the CONDENSED MINE MODEL FILE
21= the name of the PRIMARY PIT SURFACE FILE
3= the name of the PRINTER OUTPUT FILE
NOTE: Additional S-files are listed after the END line.
2. RUN INFORMATION LINE (max. of 80 columns)
A single line of text that will be printed at the top of each page of printer output from the run.
3. RUN OPTIONS (in any order & free-field format)
USR = USER INITIALS (e.g. ABC)
CMD = USE DIPPER#n
where n = the appropriate Pit Optimization Set
NOTE: This line is not necessary if File 22 is listed on the Names Line.
END
4. S-FILE NAME LINES
filenamewhere
filename = Filename of S-file to summarize.
The file name should be in first 20 columns. At least one file must be specified. Multiple S-file Name Lines can be used.
MineSight
M727V1LIST RESERVES FOR INTERMEDIATE & FINAL PIT OUTLINES Proprietary Software: Mintec, inc.
Page 727-4 Revised: 19-July-01
M727V1 SAMPLE RUN FILE #1
MEDS-727V1 10=SAMP10.DAT 21=SAMPDP.TOP 3=RPT727.LA
** SUMMARIZE S-FILES; USE THE PIT OPRTIMIZATION SET NUMBER **
USR = ABC
CMD = USE DIPPER#n
END
SAMPDP.P01
SAMPDP.P02
SAMPDP.P03
SAMPDP.P04
M727V1 SAMPLE RUN FILE #2
MEDS-727V1 10=SAMP10.DAT 22=SAMPDP.BLK 21=SAMPDP.TOP;
MEDS-727V1 3=RPT727.LA
** SUMMARIZE S-FILES; USE THE B-FILE
USR = ABC
END
SAMPDP.P01
SAMPDP.P02
SAMPDP.P03
SAMPDP.P04
HOW TO DEBUG AN M727V1 RUN
1. Erroneous results will occur if the RUN=RESET option was used to generate any of the S-files after the initial S-file was
listed on the Names Line.
2. Check the MineSight
Proprietary Software: Mintec, inc. M728V1CALC. BLOCK PARTIALS FROM OPTIMIZED PITS
Revised: 7-January-02 Page 728-1
- First and last benches
- Calculate block partials
between two S-files
- PCF
-S-files
- B-file
- ASCII file of partials
- Printer Output File
RUN FILE:
OUTPUT:
CALCS:
INPUT:
M728V1 CALCULATE BLOCK PARTIALS FROM OPTIMIZED PITS
PROGRAM SUMMARY
M728V1 generates block partials between two Optimized Pit
designs. The partials are all 0 or 100 percent as Pit Optimization
works on a whole block basis. The block partials are output to
an ASCII file and can be used for reserves calculations in
M711V1.
PROGRAM FLOW DIAGRAM
REQUIREMENTS AND CONSIDERATIONS
M728V1 computes block partials for Pit Optimization--files (or
surface files). Since Pit Optimization is a full block evaluation
method, the computed partials are not partial blocks in the truest
sense but are instead the full blocks mined inside the Optimized
pit.
Specify the name of the file to receive the output partials as File
19 on the NAMES LINE. You can also limit the benches for
computation by specifying IOP3 and IOP4.
The output partials file is an ASCII file that can be used for
computation of reserves from the 3-D mine model using
M711V1 or M708V1.
Generally, partials are calculated for the entire pit (i.e., between
topo and the pit). The reserves summary program (M712V1) is
used to calculate the incremental reserves between pits.
Note that when using M711V1 and partials computed using
M728V1, the TOPO item in File 13 should not be used.
MineSight
M728V1CALC. BLOCK PARTIALS FROM OPTIMIZED PITS Proprietary Software: Mintec, inc.
Page 728-2 Revised: 7-January-02
MineSight
Proprietary Software: Mintec, inc. M728V1CALC. BLOCK PARTIALS FROM OPTIMIZED PITS
Revised: 7-January-02 Page 728-3
M728V1CALCULATE BLOCK PARTIALS OPTIMIZED DIPPER PITS
RUN FILE OPERATION
1. NAMES LINE (must be the first line entered)
MEDS-728V1 10=filename 21=filename 20=filename;
MEDS-728V1 19=filename 3=filename 22=filename where
MEDS-728V1 (must be the first 10 columns)
10= the name of the PROJECT CONTROL FILE
21= the name of the PRIMARY PIT SURFACE FILE
20= the name of the LOWER PIT SURFACE FILE (larger pit)
19= the name of the PARTIALS OUTPUT FILE
3= the name of the PRINTER OUTPUT FILE
22= the name of the PIT OPTIMIZATION BLOCK FILE (B-file)
2. RUN INFORMATION LINE (max. of 80 columns)
A single line of text that will be printed at the top of each page of printer output from the run.
3. RUN OPTIONS (in any order & free-field format)
USR = USER INITIALS (e.g. ABC)
IOP3 = FIRST BENCH FOR WHICH PARTIALS ARE TO BE COMPUTED
IOP4 = LAST BENCH FOR WHICH PARTIALS ARE TO BE COMPUTED
IOP5 = FIRST COLUMN TO ACCESS(default=PCF values)
IOP6 = LAST COLUMN TO ACCESS(default=PCF values)
IOP7 = FIRST ROW TO ACCESS(default=PCF values)
IOP8 = LAST ROW TO ACCESS(default=PCF values)
END
MineSight
M728V1CALC. BLOCK PARTIALS FROM OPTIMIZED PITS Proprietary Software: Mintec, inc.
Page 728-4 Revised: 7-January-02
M728V1 SAMPLE RUN FILE #1
MEDS-728V1 10=SAMP10.DAT 21=SAMPDP.TOP 20=SAMPDP.P01;
MEDS-728V1 19=DAT728.OA 3=RPT728.LA 22=SAMPDP.BLK
** COMPUTE PARTIALS FOR PIT # 1 **
USR = ABC
IOP3 = 1 15 / FIRST & LAST BENCHES
IOP5 = 1 30 / FIRST & LAST COLUMNS
IOP7 = 1 30 / FIRST& LAST ROWS
END
M728V1 SAMPLE RUN FILE #2
MEDS-728V1 10=SAMP10.DAT 21=SAMPDP.TOP 20=SAMPDP.P02;
MEDS-728V1 19=DAT728.OB 3=RPT728.LB 22=SAMP.BLK
** COMPUTE PARTIALS FOR PIT # 2 **
USR = ABC
IOP3 = 1 20 / FIRST & LAST BENCHES
END
FORMAT OF OUTPUT FROM M728V1
IZ SEQ1 X1 X2 Y1 Y2 Larger pit Smaller pit Bench header line
where
IZ = Bench reference number
SEQ1 = Phase or sequence number
X1 = Minimum column for bench
X2 = Maximum column for bench
Y1 = Minimum row for bench
Y2 = Maximum row for bench
Larger pit file name
Smaller pit file name
IZ IY IX1 P1 IX2 P2 Partials lines (repeated multiple times)
where
IZ = Bench reference number
IY = Row number
IX1 = First column number
P1 = Partial for
IX2 = Last column number
P2 = Partial for IX2
-1 End of bench line
NOTE: On any given partials line, columns between IX1 and IX2 are 100% within pit.
MineSight
Proprietary Software: Mintec, inc. M728V1CALC. BLOCK PARTIALS FROM OPTIMIZED PITS
Revised: 7-January-02 Page 728-5
M728V1 SAMPLE OUTPUT FILE
This is an exerpt from the output produced by Sample File #1. It shows the partials for benches 38.
3 0 1 30 1 30 METLDP.P01 - METLDP.P00 Bench 3 header lineNo partials
-1
4 0 1 30 1 30 METLDP.P01 - METLDP.P00 Bench 4 header lineNo partials
-1
5 0 1 30 1 30 METLDP.P01 - METLDP.P00 Bench 5 header lineNo partials
-1
6 0 1 30 1 30 METLDP.P01 - METLDP.P00 Bench 6 header line
6 23 27 1.0000 29 1.0000
6 24 27 1.0000 29 1.0000
6 25 26 1.0000 29 1.0000 Partials lines
6 26 25 1.0000 29 1.0000
6 27 25 1.0000 29 1.0000
6 28 24 1.0000 29 1.0000
6 29 24 1.0000 29 1.0000
6 30 23 1.0000 29 1.0000
-1 End of bench line
7 0 1 30 1 30 METLDP.P01 - METLDP.P00 Bench 7 header line
7 18 29 1.0000 29 1.0000
7 19 27 1.0000 29 1.0000
7 20 26 1.0000 29 1.0000
7 21 24 1.0000 29 1.0000 Partials lines
7 22 23 1.0000 29 1.0000
7 23 21 1.0000 29 1.0000
7 24 20 1.0000 29 1.0000
7 25 19 1.0000 29 1.0000
7 26 17 1.0000 29 1.0000
7 27 12 1.0000 29 1.0000
7 28 13 1.0000 29 1.0000
7 29 13 1.0000 29 1.0000
7 30 13 1.0000 29 1.0000
-1 End of bench line
8 0 1 30 1 30 METLDP.P01 - METLDP.P00 Bench 8 header line
8 16 19 1.0000 29 1.0000
8 17 17 1.0000 29 1.0000
8 18 16 1.0000 29 1.0000
8 19 15 1.0000 29 1.0000 Partials lines
8 20 14 1.0000 29 1.0000
8 21 14 1.0000 29 1.0000
8 22 13 1.0000 29 1.0000
8 23 13 1.0000 29 1.0000
8 24 13 1.0000 29 1.0000
8 25 13 1.0000 29 1.0000
8 26 13 1.0000 29 1.0000
8 27 13 1.0000 29 1.0000
8 28 13 1.0000 29 1.0000
8 29 13 1.0000 29 1.0000
8 30 14 1.0000 29 1.0000
-1 End of bench line
MineSight
M728V1CALC. BLOCK PARTIALS FROM OPTIMIZED PITS Proprietary Software: Mintec, inc.
Page 728-6 Revised: 7-January-02
HOW TO DEBUG AN M728V1 RUN
1. Make sure that the S-files are correctly identified on the Names Line. The initial pit is usually topography
and is File 21 on the Names Line. This larger pit is File 20 on the Names Line.
2. Check the MineSight
M729V1EDIT SURFACE FILES OR ADD MINING RESTRICTIONS Proprietary Software: Mintec, inc.
Page 729-4 Revised: 19-July-01
IOP4 = 1 OUTPUT FULL S-FILE (FILE 21) TO ASCII FILE OR FILE 13
= 0 OMIT OUTPUT OF S-FILE
= 1 OUTPUT DIFFERENCE BETWEEN TWO PITS TO FILE 13 OR ASCII FILE
= 2 OUTPUT PIT HALFWAY BETWEEN FILE 21 AND FILE 20
= 3 ADD FILE 21 AND FILE 20 AND OUTPUT TO FILE 20 TO ASCII FILE
= 4 RESTRICT PIT IN FILE 20 BY FILE 21 AND OUTPUT TO FILE 20
NOTE: If IOP4=3 or 4, preserve the original File 20 by copying it to a new name before running the program.
If IOP4=1, File 21 and 20 must be input such that File 20 is the larger pit.
If IOP4 is non-zero, IOP1 & IOP2 must equal zero.
IOP5 = FIRST COLUMN OF RUN (Default=PCF values)
IOP6 = LAST COLUMN OF RUN (Default=PCF values)
IOP7 = FIRST ROW OF RUN (Default=PCF values)
IOP8 = LAST ROW OF RUN (Default=PCF values)
IOP11 = 0 READ DATA FROM RUN FILE (Topo Update Lines)
= 1 READ DATA FROM ASCII FILE (File 30 on Names Line)
IOP12 = COLUMN OFFSET FOR OUTPUT OF SURFACE (to File 19 only)
IOP13 = ROW OFFSET FOR OUTPUT OF SURFACE (to File 19 only)
UPD13 = label-13 (used in conjunction with IOP4)
where label-13 is a File 13 topography item
IOP14 = OPTIONAL # OF BENCHES (OFFSET) TO BE ADDED TO FILE 20 WHEN IOP4=3
CMD = USE DIPPER#n
where n = the appropriate Pit Optimization Set
NOTE: This line is not necessary if File 22 is listed on the Names Line.
FMT1 = OPTIONAL INPUT FORMAT (If IOP1=1; Default = 1X,3I3,10F7.1)
= OPTIONAL OUTPUT FORMAT (If IOP4=-1 or IOP4=1 and File 19 is specified)
Example: FMT1 = (3I3, 10F7.0)
NOTE: If you specify an input format, you must have exactly 10 elevations specified on all Topo Update
Lines. If no input format is specified then a free field format is assumed and you can specify from 1 to
10 elevations.
MineSight
/
Proprietary Software: Mintec, inc. M729V1EDIT SURFACE FILES OR ADD MINING RESTRICTIONS
Revised: 19-July-01 Page 729-5
END
4. TOPO UPDATE LINES (If IOP1=1)
IY IX1 IX2 topo1 topo2 ... topon
where
IY = Row number
IX1 = First column of values
IX2 = Last column of values
topo1 = Actual elevations for IX1 through IX2 (max=10)
.
.
topon
End topo input with a blank line.
5. MINING RESTRICTION LINES (If IOP2=1)
IY1 IY2 IX1 IX2
where
IY1 = First row of File 21 to be restricted
IY2 = Last row of File 21 to be restricted
IX1 = First column of File 21 to be restricted
IX2 = Last column of File 21 to be restricted
End restrictions with a blank line.
MineSight
M729V1EDIT SURFACE FILES OR ADD MINING RESTRICTIONS Proprietary Software: Mintec, inc.
Page 729-6 Revised: 19-July-01
M729V1 SAMPLE RUN FILE #1
MEDS-729V1 10=SAMP10.DAT 21=SAMPDP.TOP 20=SAMPDP.TP1;
MEDS-729V1 3=RPT729.LA
** ADD NEW TOPO; WRITE IT TO A NEW FILE NAME **
USR = ABC
CMD = USE -DIPPER-#2
IOP1 = 1 / TOPO UPDATES
IOP2 = 0 / NO MINING RESTRICTION
IOP4 = 0 / NOT USED WHEN IOP1 OR IOP2 = 1
END
40 1 10 4400 4400 4375 4370 4350 4378 4390 4410 4430 4450
39 1 10 4400 4400 4375 4370 4350 4378 4390 4410 4430 4450
M729V1 SAMPLE RUN FILE #2
MEDS-729V1 10=SAMP10.DAT 21=SAMPDP.TP1 20=SAMPDP.TP1;
MEDS-729V1 22=SAMPDP.BLK 3=RPT729.LB
** RESTRICT SURFACE FILE; OVERWRITE THE OLD FILE WITH NEW DATA **
USR = ABC
IOP1 = 0 / NO TOPO UPDATES
IOP2 = 1 / ADD MINING RESTRICTION
IOP3 = 0 / RESTRICT SURFACE REGARDLESS
IOP4 = 0 / NOT USED WHEN IOP1 OR IOP2 = 1
END
41 50 1 19
M729V1 SAMPLE RUN FILE #3
MEDS-729V1 10=SAMP10.DAT 13=SAMP13.DAT 3=RPT729.LC;
MEDS-729V1 21=SAMPDP.TOP 20=SAMPDP.P04
** WRITE PIT TOE ELEVATIONS TO FILE 13 ITEM SOILZ **
USR = ABC
CMD = USE -DIPPER-#1
IOP4 = 1 / STORE PIT SAMPDP.P01
IOP10 = 0 / ROW FOR DEBUG
UPD13 = SOILZ
END
Topo update line
Mining restriction line
MineSight
/
Proprietary Software: Mintec, inc. M729V1EDIT SURFACE FILES OR ADD MINING RESTRICTIONS
Revised: 19-July-01 Page 729-7
M729V1 SAMPLE RUN FILE #4
MEDS-729V1 10=SAMP10.DAT 3=RPT729.LD 21=SAMPDP.TOP;
MEDS-729V1 20=SAMPDP.P01 19=DAT729.OD
** DUMP THE DIFFERENCE BETWEEN THE TOPO AND PIT P01 TO ASCII FILE 19 **
USR = ABC
CMD = USE -DIPPER-#1
IOP1 = 0 / TOPO UPDATES
IOP2 = 0 / NO MINING RESTRICTION
IOP4 = 1 / OUTPUT PIT DIFFERENCE
END
HOW TO DEBUG AN M729V1 RUN
1. ERROR IN INPUT DATA * xxx xxx
will appear if the row and/or column specifications for mining restriction areas or topo update areas exceed PCF values or if the
minimum exceeds the maximum.
2. Check the MINESIGHT
M729V1EDIT SURFACE FILES OR ADD MINING RESTRICTIONS Proprietary Software: Mintec, inc.
Page 729-8 Revised: 19-July-01
MineSight
using a series
of programs called Pit Optimization which is a dynamic
interactive pit planner and evaluator. Optimized pits are created
by either a floating cone method or using the Luchs-Grossmann
technique which can rapidly generate a series of pits based on
economic criteria.
Economic pit design is only one step in the overall mine planning
process (reserves, production scheduling, financial analysis, and
operations analysis), normally as an intermediate phase of
reserve determination. Economic designs usually form the basis
for more detailed designs and ultimate pit limits.
Ultimate pit limits are based on a simplified set of economics,
conditions and calculation procedure. The economic parameters
have been reduced to include:
Cost to mine waste
Cost to mine, process and handle feed
Net value of recovered product
A single block value (equivalent grade, $ value, etc.) is derived
from the full mineral inventory and stored in a condensed 3-D
mine model.
This condensed 3-D mine model incorporates packing
techniques to allow an entire mineral inventory to be stored in
memory during program execution. This packing reduces the
amount of computer time used, allowing you to test many pit
alternatives.
Pit Optimization calculations are made on a whole block basis,
where a block is either entirely inside or entirely outside of a
given pit. Volume calculations for an entire pit will be quite
accurate, regardless of the pit slope or block dimensions.
However, volume calculations for a few benches on a limited
area will be less accurate.
Simplifying assumptions have been made in Pit Optimization
which will obscure details of a project such as ore types, property
owner, etc., in order to promote economy and ease of use. These
details may be incorporated or summarized by using the other
MineSight
600-Series programs
An equivalent value representing two or more grade
values
A dollar value representing grades and mining criteria
If an equivalent or dollar value is used, the preferred procedure
is to store this value as an item in the 3-D mine model.
Pit Optimization File Sizes
The size of the Pit Optimization S-file is NX * NY +20 where
NX =the number of columns in the mine model
NY =the number of rows in the mine model
The size of the Pit Optimization B-file is determined by the number
of blocks that are condensed and the number of blocks that will
pack into one word. The number of blocks that are condensed is
determined by the minimum grade to condense. In a vertical
column, all blocks between the first bench above the minimum
grade and the last bench above the minimum grade will be
condensed. If the overburden surface is being stored as well, all
blocks from the bottom of the overburden to the last bench
above the minimum grade will be condensed. This will increase
the size of the condensed B-file. The number of blocks that will
pack into one word is determined by the item minimum, maximum
and precision entered in M717TS.
The size of the S- and B- files created and processed by dipper
programs depends on what series of dipper programs you are
using.
MineSight