Process Help

TDIN - create a Datamine block model from a Whittle THREE-D results file

 

Process Name

Menu Path

Link to Command Table

TDIN

Data ribbon | Transfer | Whittle | Input THREE-D

Click here

 

Introduction

Processes TDOUT and TDIN provide the interface between your application and the standalone Whittle THREE-D program for pit Optimization.

How to use

Process TDOUT takes a Datamine model and creates two ascii output files, which can be read by THREE-D. When THREE-D is run an output results file is created. Process TDIN reads this results file, and the associated parameter file, and creates a Datamine model. This is illustrated in Figure 1.

Your application creates external economic and parameter files, and reads external result and parameter files.

                                        Figure 1 THREE-D Interface

 The THREE-D results file has a record per block with the following information:

  • Block index

  • Block value

  • Phase number

The model origin and cell structure is defined by the THREE-D parameter file. The additional fields created in the output model are PHASE for the Phase Number, and VALUE for the block value.

Note that THREE-D block indexes are calculated differently to the DATAMINE IJK cell index. If (I,J,K) are the block (or cell) indices from the model origin, and (NX,NY,NZ) are the number of blocks (or cells) in the (X,Y,Z) directions respectively:

    THREE-D:        Block index     =     I + (J-1)*NX + (K-1)*NX*NY

    DATAMINE:       IJK             =     (K-1) + (J-1)*NZ + (I-1)*NZ*NY

The process will read fixed format or comma separated results file formats.


Files, Fields and Parameters

Input Files

Name

Description

I/O Status

Required

Type

Output Files

Name

I/O Status

Required

Type

Description

OUT

Output

Yes

Block Model

Output model file.


Notes

No additional notes.


Example

!TDIN &OUT(MODEL2)

Enter THREE-D parameter file name:

>SYSFILE>run1.mpa

Enter THREE-D results file name:

>SYSFILE>model2.eco

>>> 6000 RECORDS PROCESSED : TIME 14:12:12 <<<
6250 blocks read and then written to model file.

>>> 6250 RECORDS IN FILE MODEL2 <<<