5. Input¶
Helper classes for inputting parameters
-
class
realgas.input.
IdealMixture
(**kwargs)[source]¶ - Parameters
num_components (int) – number of components
dippr_nos (typing.Optional[typing.Union[str, None]]) – dippr numbers of components
compound_names (typing.Optional[typing.Union[str, None]]) – names of components
cas_numbers (typing.Optional[typing.Union[str, None]]) – cas registry numbers
-
class
realgas.input.
RealMixture
(**kwargs)[source]¶ - Parameters
MWs (typing.Optional[typing.List[float]]) – molecular weights of component sin g/mol
P_cs (typing.Optional[typing.List[float]]) – critical pressures of componets in Pa
T_cs (typing.Optional[typing.List[float]]) – critical temperatures of pure components in K
V_cs (typing.Optional[typing.List[float]]) – critical molar volumes of pure components in m**3/mol
ws (typing.Optional[typing.List[float]]) – accentric factors of components
k_ij (typing.Union[float, typing.List[float]], defaults to 0) – equation of state mixing rule in calculation of critical temperautre, see Equation (35). When \(i=j\) and for chemical similar species, \(k_{ij}=0\). Otherwise, it is a small (usually) positive number evaluated from minimal \(PVT\) data or, in the absence of data, set equal to zero.