polykin.thermo.eos¤
This module implements equations of state (EOS) for gas and liquid mixtures.
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. Unit = K.
TYPE:
|
Tc
|
Critical temperatures of all components. Unit = K.
TYPE:
|
Pc
|
Critical pressures of all components. Unit = Pa.
TYPE:
|
Zc
|
Critical compressibility factors of all components.
TYPE:
|
w
|
Acentric factors of all components.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
FloatSquareMatrix
|
Matrix of interaction virial coefficients \(B_{ij}\). Unit = m³/mol. |
Source code in src/polykin/thermo/eos/virial.py
286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 | |