feos.eos.estimator.DataSet¶
- class feos.eos.estimator.DataSet¶
A collection of experimental data that can be used to compute cost functions and make predictions using an equation of state.
Methods
__init__
()binary_phase_diagram
(specification, ...[, ...])Create a DataSet with experimental data for binary phase diagrams using the distance residual.
binary_vle_chemical_potential
(temperature, ...)Create a DataSet with experimental data for binary phase equilibria using the chemical potential residual.
binary_vle_pressure
(temperature, pressure, ...)Create a DataSet with experimental data for binary phase equilibria using the pressure residual.
cost
(eos, loss)Compute the cost function for each input value.
diffusion
(target, temperature, pressure[, phase])Create a DataSet with experimental data for diffusion coefficient.
equilibrium_liquid_density
(target, temperature)Create a DataSet with experimental data for liquid density for a vapor liquid equilibrium.
liquid_density
(target, temperature, pressure)Create a DataSet with experimental data for liquid density.
Return the mean absolute relative difference.
predict
(eos)Return the property of interest for each data point of the input as computed by the equation of state.
relative_difference
(eos)Return the relative difference between experimental data and prediction of the equation of state.
thermal_conductivity
(target, temperature, ...)Create a DataSet with experimental data for thermal conductivity.
vapor_pressure
(target, temperature, extrapolate)Create a DataSet with experimental data for vapor pressure.
viscosity
(target, temperature, pressure[, phase])Create a DataSet with experimental data for viscosity.
Attributes
datapoints
Return number of stored data points.
target
Return target as
SIArray1
.