Class RateUnit

java.lang.Object
neqsim.util.unit.BaseUnit
neqsim.util.unit.RateUnit
All Implemented Interfaces:
Serializable, ThermodynamicConstantsInterface, Unit

public class RateUnit extends BaseUnit

RateUnit class.

Version:
$Id: $Id
Author:
esol
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version UID.
      See Also:
    • logger

      static org.apache.logging.log4j.Logger logger
      Logger object for class.
    • molarmass

      double molarmass
    • stddens

      double stddens
    • boilp

      double boilp
  • Constructor Details

    • RateUnit

      public RateUnit(double value, String name, double molarmass, double stddens, double boilp)

      Constructor for RateUnit.

      Parameters:
      value - a double
      name - a String object
      molarmass - a double
      stddens - a double
      boilp - a double
  • Method Details

    • getConversionFactor

      public double getConversionFactor(String name)

      getConversionFactor.

      Parameters:
      name - a String object
      Returns:
      a double
    • getSIvalue

      public double getSIvalue()

      getSIvalue.

      Specified by:
      getSIvalue in interface Unit
      Overrides:
      getSIvalue in class BaseUnit
      Returns:
      a double
    • getValue

      public double getValue(String tounit)

      Get process value in specified unit.

      Specified by:
      getValue in interface Unit
      Overrides:
      getValue in class BaseUnit
      Parameters:
      tounit - Unit to get process value in.
      Returns:
      Value converted to the specified unit.