sandlerchemeq.component¶
- class Component[source]¶
Bases:
CompoundA chemical component with thermochemical and system properties based on the Compound class of sandlerprops.
- classmethod from_compound(compound, **kwargs)[source]¶
Create a Component instance from a Compound instance
- Parameters:
compound (Compound) – An instance of the Compound class
- Returns:
component – An instance of the Component class
- Return type:
- Cp_polynomial_as_tex()[source]¶
Returns a LaTeX-formatted string for the compound’s heat capacity polynomial
- Returns:
retstr – LaTeX formatted heat capacity polynomial string
- Return type:
- CpInt_polynomial_as_tex()[source]¶
Returns a LaTeX-formatted string for the integral of the compound’s heat capacity polynomial
- Returns:
retstr – LaTeX formatted integral of heat capacity polynomial string
- Return type:
- __eq__(other)[source]¶
Compounds are equal if their empirical formulas are identical
- Parameters:
other (Compound)
- __init__(No=0, Formula='', Name='', Molwt=<factory>, Tfp=<factory>, Tb=<factory>, Tc=<factory>, Pc=<factory>, Vc=<factory>, Zc=0.0, Omega=0.0, Dipm=<factory>, CpA=0.0, CpB=0.0, CpC=0.0, CpD=0.0, dHf=<factory>, dGf=<factory>, Eq=0, VpA=0.0, VpB=0.0, VpC=0.0, VpD=0.0, Tmin=<factory>, Tmax=<factory>, Lden=0.0, Tden=<factory>, charge=0, atomset=<factory>, atomdict=<factory>, metadata=<factory>, T=<factory>, P=<factory>, Tref=<factory>)¶
- Parameters:
No (int)
Formula (str)
Name (str)
Molwt (Quantity)
Tfp (Quantity)
Tb (Quantity)
Tc (Quantity)
Pc (Quantity)
Vc (Quantity)
Zc (float)
Omega (float)
Dipm (Quantity)
CpA (float)
CpB (float)
CpC (float)
CpD (float)
dHf (Quantity)
dGf (Quantity)
Eq (int)
VpA (float)
VpB (float)
VpC (float)
VpD (float)
Tmin (Quantity)
Tmax (Quantity)
Lden (float)
Tden (Quantity)
charge (int)
atomset (set)
atomdict (dict)
metadata (dict)
T (Quantity)
P (Quantity)
Tref (Quantity)
- Return type:
None