public abstract class SpecHeatModel extends PropertyEquation
Constructor and Description |
---|
SpecHeatModel() |
Modifier and Type | Method and Description |
---|---|
abstract double |
evalCp(double t)
returns specific heat at constant pressure as function of T
|
double |
evalCpIntH(double t0,
double t)
Estimates the integral int_T0^T(Cp dT) / (T - T0), that can be used to
simplify enthalpy calculations.
|
double |
evalCpIntS(double t0,
double t) |
double |
getFixCp() |
void |
init(double[] params,
double[] range)
Initialization or re-initialization of a specific heat equation
|
void |
setFixCp(double fixCp) |
applyMixRule, getConvAdd, getConvFact, getDescription, getFixedValue, getInputRanges, getLabel, getOutputRanges, getPar, getStatus, setConvAdd, setConvFact, setDescription, setFixedValue, setLabel, setPar, setParameterByIndex, toStringSummary
public void init(double[] params, double[] range)
params
- vector with equation parametersrange
- the applicability temperature range of the equationpublic double getFixCp()
public void setFixCp(double fixCp)
public abstract double evalCp(double t)
t
- temperaturepublic double evalCpIntH(double t0, double t) throws java.lang.ArithmeticException
t0
- Lower temperature limitt
- Upper temperature limitjava.lang.ArithmeticException
public double evalCpIntS(double t0, double t) throws java.lang.ArithmeticException
java.lang.ArithmeticException