Class TemperatureUnit
java.lang.Object
neqsim.util.unit.BaseUnit
neqsim.util.unit.TemperatureUnit
- All Implemented Interfaces:
Serializable, ThermodynamicConstantsInterface, Unit
TemperatureUnit class.
- Version:
- $Id: $Id
- Author:
- esol
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerialization version UID.Fields inherited from interface ThermodynamicConstantsInterface
atm, avagadroNumber, boltzmannConstant, electronCharge, faradayConstant, gravity, molarMassAir, normalStateTemperature, pi, planckConstant, R, referencePressure, referenceTemperature, standardStateTemperature, vacumPermittivity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetConversionFactor(String name) Get conversion factor for temperature unit conversions to Kelvin.doubleConvert value from a specified unit to a specified unit.doubleGet process value in specified unit.Methods inherited from class BaseUnit
getSIvalue
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
-
Constructor Details
-
TemperatureUnit
-
-
Method Details
-
getConversionFactor
Get conversion factor for temperature unit conversions to Kelvin. Note: This is primarily for understanding scale, not for direct conversions including offsets.- Parameters:
name- aStringobject representing the temperature unit- Returns:
- a double representing the conversion factor relative to Kelvin
-
getValue
Convert value from a specified unit to a specified unit.
-
getValue
Get process value in specified unit.
Convert a given temperature value from Kelvin to a specified unit.
-