public class DataFitModelWilson extends DataFitModel
| Modifier and Type | Field and Description |
|---|---|
VaporPressureAntoine[] |
antoine |
ChemicalSpecies[] |
cs |
dataX, dataY, modelY, rse| Constructor and Description |
|---|
DataFitModelWilson() |
| Modifier and Type | Method and Description |
|---|---|
double |
evalFunction(double[] x) |
VleSolverGamma |
getModelEqn() |
double |
getT() |
void |
init(double[] dataX,
double[] dataY,
double[] params0,
boolean[] isActiveParameter) |
void |
setLiqX12(double x1)
Set liquid mole fraction x1 for component 1 and x2 = 1 - x1 for component 2s
|
void |
setT(double t) |
extractActiveParameters, getNoActiveParams, getNoPoints, getParams, getRmse, setNoActiveParams, updateActiveParameterspublic ChemicalSpecies[] cs
public VaporPressureAntoine[] antoine
public void init(double[] dataX,
double[] dataY,
double[] params0,
boolean[] isActiveParameter)
init in class DataFitModeldataX - Experimental abscissadataY - Experimental ordinateparams0 - First guess for model parameters and fixed parametersisActiveParameter - Number of parameters to be optimizedpublic double evalFunction(double[] x)
public double getT()
public void setT(double t)
public VleSolverGamma getModelEqn()
public void setLiqX12(double x1)
x1 - mole fraction of component 1