4 The ω-function To overcome the numerical difficulties related to the Lambert W-function, when used for solving the Colebrook–White equation, we introduce here a new func- One of the commonly used approximation is given by Lewis Moody, The Moody Diagram can be used as a graphical solution WATERBURY. W = unidades.Dimensionless(3/7*log10(Pc.atm)/(Tc.R/Tb.Job Summary: Primary responsibilities involve the testing of body fluids and other specimen samples submitted to the Laboratory for analysis. Raise ValueError("Bad incoming variables input") Prop : Dict with the input parameter and the missing parameter in input """Calculate the missing parameters between Tc, Pc, Tb and acentric factor # Convert to Nichols-plot format (phase in degrees, Mag_tmp, phase_tmp, omega = sys.freqresp(omega) # Get the magnitude and phase of the system Omega = default_frequency_range(sys_list) # Select a default range if none is provided If not getattr(sys_list, '_iter_', False): # If argument was a singleton, turn it into a list Grid = config._get_param('nichols', 'grid', grid, True) True if the plot should include a Nichols-chart grid. Range of frequencies (list or bounds) in rad/sec List of linear input/output systems (single system is OK) Plots a Nichols plot for the system over a (optional) frequency range. Return betaUp, betaDown, theoreticalPvalsĭef nichols_plot(sys_list, omega=None, grid=None): MRange=10**(sp.arange(sp.log10(0.5),sp.log10(M-0.5)+0.1,0.1)) #should be exp or 10**?īetaalphaLevel=sp.zeros(numPts) #down in the plotīetaOneMinusalphaLevel=sp.zeros(numPts) #up in the plotīetaalphaLevel=st.beta.ppf(alphalevel,m,M-m) īetaOneMinusalphaLevel=st.beta.ppf(1-alphalevel,m,M-m) īetaUp=betaOneMinusalphaLevel-betaInvHalf TheoreticalPvals theoretical P-values under uniform Note only log10 is implemented (default 'log10') N=(log10(H)-log10())/log10()ĭef _qqplot_bar(M=1000000, alphalevel = 0.05,distr = 'log10'):Īlphalevel significance level for the error bars (default 0.05)ĭistr space in which the error bars are implemented """Método de calculo del indice de viscosidad, API procedure 11A6.1, pag 1083""" Return unidades.Pressure(pvapcalc, "mmHg") L., and Hwang, S.-C.,Thermodynamic and Transport Properties of Coal Liquids, An Exxon Monograph, Wiley, New York, 1986.""" Modificación de Tsonopoulos para coal liquids: Tsonopoulos, C., Heidman, J. Reprinted in 1974."Deviation and Precision of a New Vapor Pressure Correlation for Petroleum Hydrocarbons," Industrial and Engineering Chemistry, Vol. S., Vapor Pressure Charts for Petroleum Engineers, Exxon Research and Engineering Company, Florham Park, NJ, 1955. Def Pv_Maxwell_Bonnell(self, T, mod=False):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |