Class ProcessSystemState.FluidState

java.lang.Object
neqsim.process.processmodel.lifecycle.ProcessSystemState.FluidState
All Implemented Interfaces:
Serializable
Enclosing class:
ProcessSystemState

public static class ProcessSystemState.FluidState extends Object implements Serializable
Represents the thermodynamic state of a fluid.
Version:
1.0
Author:
ESOL
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • temperature

      private double temperature
    • pressure

      private double pressure
    • numberOfPhases

      private int numberOfPhases
    • composition

      private Map<String,Double> composition
    • thermoModelClass

      private String thermoModelClass
  • Constructor Details

    • FluidState

      public FluidState()
      Default constructor.
  • Method Details

    • fromFluid

      public static ProcessSystemState.FluidState fromFluid(SystemInterface fluid)
      Creates a FluidState from a SystemInterface.
      Parameters:
      fluid - the fluid to capture
      Returns:
      a new FluidState
    • getTemperature

      public double getTemperature()
    • getPressure

      public double getPressure()
    • getNumberOfPhases

      public int getNumberOfPhases()
    • getComposition

      public Map<String,Double> getComposition()
    • getThermoModelClass

      public String getThermoModelClass()