Class PropertyGenerator

java.lang.Object
neqsim.util.generator.PropertyGenerator

public class PropertyGenerator extends Object

PropertyGenerator class.

Version:
$Id: $Id
Author:
asmund
  • Field Details

    • temperatures

      double[] temperatures
    • pressures

      double[] pressures
    • fluid

    • properties

      HashMap<String,double[]> properties
  • Constructor Details

    • PropertyGenerator

      public PropertyGenerator(SystemInterface fluid, double[] temperatures, double[] pressures)

      Constructor for PropertyGenerator.

      Parameters:
      fluid - a SystemInterface object
      temperatures - an array of type double
      pressures - an array of type double
  • Method Details

    • calculate

      public HashMap<String,double[]> calculate()

      calculate.

      Returns:
      a HashMap object
    • getValue

      public double getValue(String propertyName)

      getValue.

      Parameters:
      propertyName - a String object
      Returns:
      a double