systemcurve | R Documentation |
Creates a system curve for a piping system using the static head and a coefficient.
systemcurve(hs = NULL, K = NULL, units = c("SI", "Eng"))
hs |
Numeric value of the static head [ |
K |
Numeric value of the coefficient in the equation |
units |
character vector that contains the system of units [options are
|
Returns an object of class systemcurve
consisting of a list including:
curve - a function defining the system curve
eqn - a character vector of the equation for the curve
units - the units system passed to the function
Ed Maurer
#Input in Eng units. Coefficient can be calculated manually or using
#other package functions for friction loss in a pipe system using \eqn{Q=1}
ans <- darcyweisbach(Q = 1,D = 20/12, L = 3884, ks = 0.0005, nu = 1.23e-5, units = "Eng")
systemcurve(hs = 30, K = ans$hf, units = "Eng")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.