History of Water Script
Webb - all rights reserved - ©2004
spacer


modified by Russ Webb on  2004-04-22 20:47:20

Author - William A. Gode-von Aesch
Email: godefax@bigfoot.com
Webpage:

Summary: Water & Wastewater Unit Conversions

Instructions: This is a very simple conversion utility based upon the same idea and concept as the "Convert" script.  I simply changed the conversion factors to suit my needs.  Due credit should go to the Author of "Convert" who is unfortunately unknown
to me.

The "Water" script converts the following units:

cfs<->AFD (cubic feet per second <-> acre-feet per day)
cfs<->AFH (cubic feet per second <-> acre-feet per hour)
cfs<->gpm (cubic feet per second <-> gallons per minute)
gal<->AF (gallons <-> acre-feet)
cfs<->MGD (gallons <-> millions of gallons per day)
cf<->AF (cubic feet <-> acre-feet)

Code:

RPN.2+2 \ Water
"Water"
"[cfs:\Converts acre-feet per day\to cubic feet per
second"#'1.98347107438'/;
"AFD]:\Converts cubic feet per second\to acre-feet per
day"#'1.98347107438'*;
"[cfs:\Converts acre-feet per hour\to cubic feet per
second"#'0.08264462810'/;
"AFH]:\Converts cubic feet per second\to acre-feet per
hour"#'0.08264462810'*;
~
"[cfs:\Converts gallons per minute\to cubic feet per second"#'448.05'/;
"gpm]:\Converts cubic feet per second\to gallons per minute"#'448.05'*;
"[gal:\Converts acre-feet to gallons"#'325850.58'*;
"AF]:\Converts gallons to acre-feet"#'325850.58'/;
~
"[cfs:\Converts millions of gallons per\day to cubic feet per
second"#'0.6463152'/;
"MGD]:\Converts cubic feet per second\to millions of gallons per
day"#'0.6463152'*;
"[cf:\Converts acre-feet to\cubic feet "#'43560'*;
"AF]:\Converts cubic feet to\acre-feet"#'43560'/;