Permittivity/Dielectric Constant (thermo.permittivity)¶
This module contains implementations of TDependentProperty
representing liquid permittivity. A variety of estimation
and data methods are available as included in the chemicals library.
For reporting bugs, adding feature requests, or submitting pull requests, please use the GitHub issue tracker.
Pure Liquid Permittivity¶
- class thermo.permittivity.PermittivityLiquid(CASRN='', extrapolation='linear', **kwargs)[source]¶
Bases:
TDependentPropertyClass for dealing with liquid permittivity as a function of temperature. Consists of one temperature-dependent simple expression, one constant value source, and IAPWS.
- Parameters:
- CASRN
str,optional The CAS number of the chemical
- load_databool,
optional If False, do not load property coefficients from data sources in files [-]
- extrapolation
strorNone None to not extrapolate; see
TDependentPropertyfor a full list of all options, [-]- method
strorNone,optional If specified, use this method by default and do not use the ranked sorting; an exception is raised if this is not a valid method for the provided inputs, [-]
- CASRN
- Attributes:
Methods
calculate(T, method)Method to calculate permittivity of a liquid at temperature T with a given method.
test_method_validity(T, method)Method to test the validity of a specified method for a given temperature.
Notes
To iterate over all methods, use the list stored in
permittivity_methods.- CRC:
Simple polynomials for calculating permittivity over a specified temperature range only. The full expression is:
Not all chemicals use all terms; in fact, few do. Data is available for 759 liquids, from [1].
- CRC_CONSTANT:
Constant permittivity values at specified temperatures only. Data is from [1], and is available for 1303 liquids.
- IAPWS_PERMITTIVITY:
The IAPWS model for water permittivity as a liquid.
References
- property Tmax¶
Maximum temperature (K) at which the current method can calculate the property.
- property Tmin¶
Minimum temperature (K) at which the current method can calculate the property.
- calculate(T, method)[source]¶
Method to calculate permittivity of a liquid at temperature T with a given method.
This method has no exception handling; see
T_dependent_propertyfor that.
- name = 'liquid relative permittivity'¶
- property_max = 1000.0¶
Maximum valid of permittivity; highest in the data available is ~240.
- property_min = 1.0¶
Relative permittivity must always be larger than 1; nothing is better than a vacuum.
- ranked_methods = ['IAPWS_PERMITTIVITY', 'CRC', 'CRC_CONSTANT']¶
Default rankings of the available methods.
- test_method_validity(T, method)¶
Method to test the validity of a specified method for a given temperature. Demo function for testing only; must be implemented according to the methods available for each individual method. Include the interpolation check here.
- units = '-'¶
- thermo.permittivity.permittivity_methods = ['CRC', 'CRC_CONSTANT', 'IAPWS_PERMITTIVITY']¶
Holds all methods available for the
PermittivityLiquidclass, for use in iterating over them.