However, when I need to formalize a calculation, I mostly use Mathcad (sometimes Excel). Make sure that the XML SDK option is checked.
MATHCAD POLYROOTS UNITS NOT COMPATIBLE INSTALL
When you install the msxml file, go through the installation wizard and click on modify. 3) After download, I opened the PreReq folder and clicked on all of the files shown to install. I extracted all of the files into the new file folder with a short name. For the quick what-if calculations I routinely do, the calculator is faster and more practical than Mathcad. It is the de-bugged version of Mathcad 14.0. I programmed a HW solver into my HP-41CV calculator nearly 40 years ago, then ported it to the HP-42S, which I used for 29 years until I replaced it with a SwissMicros DM42 several years ago. * "a lot" means almost every day over a career that now exceeds 40 years. I won't bore you with this version of the derivation. So, here I must also include conversion factors for feet to inches and for cubic feet per second to gallons per minute. When I use HW outside of Mathcad (which is most of the time), it gets even more complicated because I use d in inches and Q in gallons per minute. The key with empirical equations is to help Mathcad by manually dealing with the unbalanced units. Alternatively, you could attach the units to the roughness coefficient, C. However, the units are still unbalanced, so I make k = (0.432223)((ft^0.37)/s) to take care of this problem. For my purposes HW works best when combined with the Continuity Equation, Q = (A)(V) = ((pi)(d^2)/4)(V), and Hydraulic Slope, S = HL/L, to produce this form: Q = (k)(C)(d^2.63)((HL/L)^0.54). Your equation looks to be empirical and mismatched units are the norm for empirical equations.īecause I deal a lot with water system hydraulics, I use the Hazen-Williams Equation a lot.* The typical published form is V = (1.318)(C)(Rh^0.63)(S^0.54).