def Laliberte_density(T, ws, CASRNs):
rho_w = Laliberte_density_w(T)<EOL>w_w = <NUM_LIT:1> - sum(ws)<EOL>rho = w_w/rho_w<EOL>for i in range(len(CASRNs)):<EOL><INDENT>d = _Laliberte_Density_ParametersDict[CASRNs[i]]<EOL>rho_i = Laliberte_density_i(T, w_w, d["<STR_LIT>"], d["<STR_LIT>"], d["<STR_LIT>"], d["<STR_LIT>"], d["<STR_LIT>"])<EOL>rho = rho + ws[i]/rho_i<EOL><DEDENT>return <NUM_LIT:1.>/rho<EOL>
r'''Calculate the density of an aqueous electrolyte mixture using the form proposed by [1]_.
    Parameters are loaded by the function as needed. Units are Kelvin and Pa*s.

    .. math::
        \rho_m = \left(\frac{w_w}{\rho_w} + \sum_i \frac{w_i}{\rho_{app_i}}\right)^{-1}

    Parameters
    ----------
    T : float
        Temperature of fluid [K]
    ws : array
        Weight fractions of fluid components other than water
    CASRNs : array
        CAS numbers of the fluid components other than water

    Returns
    -------
    rho_i : float
        Solution density, [kg/m^3]

    Notes
    -----
    Temperature range check is not used here.

    Examples
    --------
    >>> Laliberte_density(273.15, [0.0037838838], ['7647-14-5'])
    1002.6250120185854

    References
    ----------
    .. [1] Laliberte, Marc. "A Model for Calculating the Heat Capacity of
       Aqueous Solutions, with Updated Density and Viscosity Data." Journal of
       Chemical & Engineering Data 54, no. 6 (June 11, 2009): 1725-60.
       doi:10.1021/je8008123