File Information

Script File - 1

(Block > Manipulation > Execute Script option)
*     Script for calculating a dollar field
*     for optimisation
*     Mining cost is related to rock hardness
*
if (hardness gt 5 and hardness lt 10) then
      mining_cost = 20.0
else
      mining_cost = 35.0
endif
*
*     Production Costs
*
recovery = 0.9
gold_price = 25.3
*
*     Dollar value
*
dollar = (gold_price * recovery - mining_cost) * volume * density