polykin.properties.pvt¤
B_mixture ¤
B_mixture(
T: float,
Tc: FloatVector,
Pc: FloatVector,
Zc: FloatVector,
w: FloatVector,
) -> FloatSquareMatrix
Calculate the matrix of interaction virial coefficients using the mixing rules of Prausnitz.
The calculation of the individual coefficients is handled by
B_pure.
References
- RC Reid, JM Prausniz, and BE Poling. The properties of gases & liquids 4th edition, 1986, p. 80.
| PARAMETER | DESCRIPTION |
|---|---|
T
|
Temperature [K].
TYPE:
|
Tc
|
Critical temperatures of all components [K].
TYPE:
|
Pc
|
Critical pressures of all components [Pa].
TYPE:
|
Zc
|
Critical compressibility factors of all components.
TYPE:
|
w
|
Acentric factors of all components.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
FloatSquareMatrix(N, N)
|
Matrix of interaction virial coefficients \(B_{ij}\) [m³/mol]. |
Source code in src/polykin/properties/pvt/virial.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |