Class TwoPhasePipeLine

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

public class TwoPhasePipeLine extends Pipeline

TwoPhasePipeLine class.

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

    • serialVersionUID

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

    • TwoPhasePipeLine

      public TwoPhasePipeLine(String name)
      Constructor for TwoPhasePipeLine.
      Parameters:
      name - name of pipeline
    • TwoPhasePipeLine

      public TwoPhasePipeLine(String name, StreamInterface inStream)

      Constructor for TwoPhasePipeLine.

      Parameters:
      name - a String object
      inStream - a Stream object
  • Method Details

    • createSystem

      public void createSystem()

      createSystem.

    • run

      public void run(UUID id)

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

      Specified by:
      run in interface SimulationInterface
      Overrides:
      run in class Pipeline
      Parameters:
      id - UUID