Class GORfitter

All Implemented Interfaces:
Serializable, Runnable, ProcessEquipmentInterface, TwoPortInterface, SimulationInterface, NamedInterface

public class GORfitter extends TwoPortEquipment

GORfitter class.

Version:
$Id: $Id
Author:
asmund
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.
    • pressure

      double pressure
    • temperature

      double temperature
    • referenceConditions

      private String referenceConditions
    • fitAsGVF

      private boolean fitAsGVF
    • GOR

      private double GOR
    • GVF

      private double GVF
    • unitT

      String unitT
    • unitP

      String unitP
  • Constructor Details

  • Method Details

    • getGFV

      public double getGFV()

      getGFV.

      Returns:
      a double
    • setInletStream

      public void setInletStream(StreamInterface inletStream)
      Set inlet Stream of twoport.

      Setter for the field inletStream.

      Specified by:
      setInletStream in interface TwoPortInterface
      Overrides:
      setInletStream in class TwoPortEquipment
      Parameters:
      inletStream - value to set
    • getPressure

      public double getPressure()

      Getter for the field pressure.

      Specified by:
      getPressure in interface ProcessEquipmentInterface
      Overrides:
      getPressure in class ProcessEquipmentBaseClass
      Returns:
      Pressure in bara
    • setPressure

      public void setPressure(double pressure, String unitP)

      Setter for the field pressure.

      Parameters:
      pressure - a double
      unitP - a String object
    • getTemperature

      public double getTemperature()

      Getter for the field temperature.

      Specified by:
      getTemperature in interface ProcessEquipmentInterface
      Overrides:
      getTemperature in class ProcessEquipmentBaseClass
      Returns:
      a double
    • setTemperature

      public void setTemperature(double temperature, String unitT)

      Setter for the field temperature.

      Parameters:
      temperature - a double
      unitT - a String object
    • run

      public void run(UUID id)

      In this method all thermodynamic and unit operations will be calculated in a steady state calculation.

      Parameters:
      id - UUID
    • getGOR

      public double getGOR()

      getGOR.

      Returns:
      a double
    • setGOR

      public void setGOR(double gOR)

      setGOR.

      Parameters:
      gOR - a double
    • setGVF

      public void setGVF(double gvf)

      setGVF.

      Parameters:
      gvf - a double
    • getReferenceConditions

      public String getReferenceConditions()

      Getter for the field referenceConditions.

      Returns:
      the referenceConditions
    • setReferenceConditions

      public void setReferenceConditions(String referenceConditions)

      Setter for the field referenceConditions.

      Parameters:
      referenceConditions - the referenceConditions to set
    • isFitAsGVF

      public boolean isFitAsGVF()

      isFitAsGVF.

      Returns:
      the fitAsGVF
    • setFitAsGVF

      public void setFitAsGVF(boolean fitAsGVF)

      Setter for the field fitAsGVF.

      Parameters:
      fitAsGVF - the fitAsGVF to set