Class Setter

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

public class Setter extends ProcessEquipmentBaseClass

Setter class.

Author:
esol
See Also:
  • Field Details

  • Constructor Details

    • Setter

      @Deprecated public Setter()
      Deprecated.

      Constructor for Setter.

    • Setter

      public Setter(String name)

      Constructor for Setter.

      Parameters:
      name - a String object
  • Method Details

    • addTargetEquipment

      public void addTargetEquipment(ProcessEquipmentInterface equipment)
      Add a single target equipment to the list.
      Parameters:
      equipment - a ProcessEquipmentInterface object
    • addTargetEquipment

      public void addTargetEquipment(List<ProcessEquipmentInterface> equipmentList)
      Add a list of target equipment to the list.
      Parameters:
      equipmentList - a List of ProcessEquipmentInterface objects
    • addParameter

      public void addParameter(String type, String unit, double value)
      Add a parameter to the list of parameters.
      Parameters:
      type - a String object representing the type
      unit - a String object representing the unit
      value - a
      invalid reference
      double
      representing the value
    • getParameters

      public List<Map<String,Object>> getParameters()
      Get the list of parameters.
      Returns:
      a List of parameters
    • 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
    • main

      public static void main(String[] args)

      main.

      Parameters:
      args - an array of String objects