Class ThermodynamicModelTest
java.lang.Object
neqsim.thermo.ThermodynamicModelTest
- All Implemented Interfaces:
Serializable, ThermodynamicConstantsInterface
ThermodynamicModelTest class.
- Version:
- $Id: $Id
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static org.apache.logging.log4j.LoggerLogger object for class.private doubleprivate static final longSerialization version UID.(package private) SystemInterfaceFields inherited from interface ThermodynamicConstantsInterface
atm, avagadroNumber, boltzmannConstant, electronCharge, faradayConstant, gravity, molarMassAir, normalStateTemperature, pi, planckConstant, R, referencePressure, referenceTemperature, standardStateTemperature, vacumPermittivity -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for ThermodynamicModelTest.Constructor for ThermodynamicModelTest. -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckFugacityCoefficients.booleancheckFugacityCoefficientsDn.booleancheckFugacityCoefficientsDn2.booleancheckFugacityCoefficientsDP.booleancheckFugacityCoefficientsDT.booleancheckNumerically.voidrunTest()runTest.voidsetMaxError(double maxErr) Setter for propertymaxError.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
logger
static org.apache.logging.log4j.Logger loggerLogger object for class. -
system
SystemInterface system -
maxError
private double maxError
-
-
Constructor Details
-
ThermodynamicModelTest
public ThermodynamicModelTest()Constructor for ThermodynamicModelTest.
-
ThermodynamicModelTest
Constructor for ThermodynamicModelTest.
- Parameters:
system- aSystemInterfaceobject
-
-
Method Details
-
runTest
public void runTest()runTest.
-
checkFugacityCoefficients
public boolean checkFugacityCoefficients()checkFugacityCoefficients.
- Returns:
- a boolean
-
checkFugacityCoefficientsDn
public boolean checkFugacityCoefficientsDn()checkFugacityCoefficientsDn.
- Returns:
- a boolean
-
checkFugacityCoefficientsDn2
public boolean checkFugacityCoefficientsDn2()checkFugacityCoefficientsDn2.
- Returns:
- a boolean
-
checkFugacityCoefficientsDP
public boolean checkFugacityCoefficientsDP()checkFugacityCoefficientsDP.
- Returns:
- a boolean
-
checkFugacityCoefficientsDT
public boolean checkFugacityCoefficientsDT()checkFugacityCoefficientsDT.
- Returns:
- a boolean
-
checkNumerically
public boolean checkNumerically()checkNumerically.
- Returns:
- a boolean
-
setMaxError
public void setMaxError(double maxErr) Setter for propertymaxError.- Parameters:
maxErr- before test will report failed Set maximum allowed error in model check
-