public class SpecHeatMixRuleIdeal extends SpecHeatModel
Constructor and Description |
---|
SpecHeatMixRuleIdeal() |
Modifier and Type | Method and Description |
---|---|
double |
applyMixRule() |
double |
applyMixRuleIntH() |
double |
applyMixRuleIntS() |
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[] |
getMolX() |
void |
init(ChemicalSpecies[] species,
double[] x)
Initialization method to be used when computing specific heat from chemical
species equations.
|
void |
init(double[] aCp,
double[] x)
Initialization method to be used when computing specific heat from a
previously computed set of specific heats.
|
void |
setMolX(double[] molX) |
getFixCp, setFixCp
getConvAdd, getConvFact, getDescription, getFixedValue, getInputRanges, getLabel, getOutputRanges, getPar, getStatus, setConvAdd, setConvFact, setDescription, setFixedValue, setLabel, setPar, setParameterByIndex, toStringSummary
public void init(ChemicalSpecies[] species, double[] x)
public void init(double[] aCp, double[] x)
init
in class SpecHeatModel
aCp
- vector with equation parametersx
- the applicability temperature range of the equationpublic double evalCp(double t)
SpecHeatModel
evalCp
in class SpecHeatModel
t
- temperaturepublic double evalCpIntH(double t0, double t)
SpecHeatModel
evalCpIntH
in class SpecHeatModel
t0
- Lower temperature limitt
- Upper temperature limitpublic double evalCpIntS(double t0, double t)
evalCpIntS
in class SpecHeatModel
public double applyMixRule()
applyMixRule
in class PropertyEquation
public double applyMixRuleIntH()
public double applyMixRuleIntS()
public void setMolX(double[] molX)
public double[] getMolX()