Home : Products : Hach WIMS : Hach WIMS Client : Documentation : Function Reference : Math Toolbox Functions : DDFN
Q10552 - INFO: DDFN

DDFN Tommorow - Today = Todays Flow

Calculates the difference between today's value and tomorrow's value for an existing variable, VX.

SYNTAX:

DDFN(Vx, Optional Rollover)

NOTES:

If the next day's value is not present, the program searches up to 7 days to find the next value for VX to determine the difference. If no future entry is found within 7 days, no calculation will be done. The optional Rollover specifies the Rollover point.  If the optional parameter is not specified, the system assumes the rollover point is at the next power of 10. The system assumes rollover occurs if tomorrow's value is less than today's value and makes the appropriate entry. This function should be used when data collected on one day requires the next day's data for calculation.

A day is defined as 7:00 a.m. to 7:00 a.m. The meter for influent flow (V1) is read every day at 7:00 a.m. In order to get the flow for today, the difference between today's reading and tomorrow's reading must be calculated (Tommorow - Today = Today's Flow).

EXAMPLES:

Example 1:

V43 = DDFN(V41)

Calculates the daily difference of values stored in variable 41, and records them as variable 43. Consider the following example.

NOTE: No data will be calculated until an entry for the next day is recorded.

Example 2: 

V43 = DDFN(V42,990)

Calculates daily difference of values stored in variable 42, and records them as variable 44.  Meter rollsover at 990. Consider the following example illustrating rollover and lookback.

NOTE:  The DDFN function can be used with Daily Detail variables (Hourly, 15 minute...) to calculate a daily result.  The DDFN function will use the first Daily Detail reading found for tomorrow minus the first Daily Detail reading found for the day.

 

 

 

Related Articles
Q10553 - INFO: DDIF

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 10/23/2007 11:06 AM.
Last Modified on 2/14/2011 12:02 PM.
Last Modified by Scott Dorner.
Article has been viewed 7153 times.
Rated 8 out of 10 based on 6 votes.
Print Article
Email Article