beautypg.com

Campbell Scientific CR10X Measurement and Control System User Manual

Page 263

background image

APPENDIX F. DYNAGAGE SAP-FLOW (P67)

F-3

Appendix A

Instruction P67 Processing

Loc = input location assuming input locations 1,
2, 3, and 4 are used.

Par = Instruction P67 parameter.

Pin = (Loc 4)*(Loc 4)/(Par 3)

Qv = (((Loc 3)-(Loc 2))/(4.0*(Par 6)))*(Par

4)*(Par 5)

Qr = (Loc 1)*(Par 2)

Qf = Pin - Qv - Qr

Kshapp = (Pin - Qv)/(Loc 1)

dT = ((Loc 2+Loc 3)/2.0)*25.0

Sapflow = Qf/(dT*4.186)

If Par 7 µ 0.0 then go to XXXXXX

If Qf < (0.2*Pin) and If dT < Par 7, then Sapflow

= 0.0

If Qf < (0.2*Pin) and If Qf < 0.0, then Sapflow =

- 0.00001

XXXXXX

If Par 8 µ 0.0 then go to YYYYYY

Fmax = (Par 8)*(Par 4)

If Sapflow > Fmax, the Sapflow = Fmax

YYYYYY

Sapflow = (Sapflow*(Par 11))+(Par 12)

Transfer to Input Locations beginning with
Parameter 10, either short output or long output,
depending on Parameter 9.