sandlercubics package

class sandlercubics.IdealGasEOS(*args, **kwargs)[source]

Bases: CubicEOS

Ideal gas class derived from CubicEOS

property Hvap: Quantity

Enthalpy of vaporization is undefined for ideal gas

property Pvap: Quantity

Vapor pressure is undefined for ideal gas

property Svap: Quantity

Entropy of vaporization is undefined for ideal gas

property Tsat: Quantity

Saturation temperature is undefined for ideal gas

property cubic_coeff: ndarray

cubic coefficients for ideal gas

description: str = 'Ideal Gas Equation of State'
name: str = 'Ideal Gas Equation of State'

Name of the thermodynamic state

class sandlercubics.PengRobinsonEOS(*args, **kwargs)[source]

Bases: CubicEOS

Pure-component Peng-Robinson equation of state

property alpha: float

alpha parameter for Peng-Robinson EOS

property cubic_coeff: ndarray

cubic coefficients for Peng-Robinson EOS

description: str = 'Peng-Robinson Equation of State'
property kappa: float

kappa parameter for Peng-Robinson EOS

property lrfrac: float

Helper property for logarithmic fraction term in Peng-Robinson EOS

name: str = 'Peng-Robinson Equation of State'

Name of the thermodynamic state

class sandlercubics.SoaveRedlichKwongEOS(*args, **kwargs)[source]

Bases: CubicEOS

Pure-component Soave-Redlich-Kwong equation of state (Eq. 6.4-1 in Sandler 5th ed)

property alpha

alpha parameter for Soave-Redlich-Kwong EOS

property cubic_coeff

cubic coefficients for Soave-Redlich-Kwong EOS

description: str = 'Soave-Redlich-Kwong Equation of State'
property kappa

kappa parameter for Soave-Redlich-Kwong EOS

property lrfrac: ndarray

helper function for ln fugacity, enthalpy, and entropy departures

name: str = 'Soave-Redlich-Kwong Equation of State'

Name of the thermodynamic state

class sandlercubics.VanDerWaalsEOS(*args, **kwargs)[source]

Bases: CubicEOS

Generalized van der Waals equation of state, in which ‘a’ and ‘b’ are calculated from critical constants

property cubic_coeff

cubic coefficients for Van der Waals EOS

description: str = 'Van der Waals Equation of State'
name: str = 'Van der Waals Equation of State'

Name of the thermodynamic state

Submodules