21.12.2012 Views

WellCAD Basics - Advanced Logic Technology

WellCAD Basics - Advanced Logic Technology

WellCAD Basics - Advanced Logic Technology

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

498 - APPENDIX C<br />

www.alt.lu<br />

TVD(T, unit) Returns True Vertical Depth<br />

derived from tilt (T) in units (1<br />

= metre, 0.3048 = feet)<br />

<strong>Logic</strong>al functions:<br />

If(A,B,C) If A is true then take B else take<br />

C.<br />

TVD({Tilt}, 0.3048)<br />

If({DEPTH}>=100,{GR},<br />

NULL)<br />

AND(A,B) Returns true if A and B are true. AND({C1}>5, {P1AZ}> 90<br />

)<br />

OR(A,B) Returns true if A or B is true. OR({C1}>5, {C2}>5)<br />

NOT(A) Returns true if A is false and<br />

vice versa.<br />

NOT({C1}5,FALSE)<br />

TRUE Returns the logical value True. AND({C1}>5,TRUE)<br />

Statistical functions, which apply to the entire log:<br />

Ave Average value of log Ave ({GR})<br />

StdDev Standard deviation of log StdDev ({GR})<br />

Min Minimum value of log Min ({GR})<br />

Min2( , ) Returns the minimum of both<br />

arguments<br />

Min (75, {GR})<br />

Max Maximum value of log Max ({GR})<br />

Max2( , ) Returns the maximum of both<br />

arguments<br />

Max (75, {GR})<br />

All the above items can be combined in a complex multi-level formula.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!