Interface ProcessTemplate

All Known Implementing Classes:
CO2CaptureTemplate, DehydrationTemplate, GasCompressionTemplate, ThreeStageSeparationTemplate

public interface ProcessTemplate
Interface for process templates that define standard configurations.

Process templates encapsulate common process configurations (e.g., three-stage separation, compression trains, fractionation systems) with standardized equipment sizing rules and operating limits.

Example implementation:

public class ThreeStageSeparationTemplate implements ProcessTemplate {
  @Override
  public ProcessSystem create(ProcessBasis basis) {
    ProcessSystem process = new ProcessSystem();
    // Create HP, MP, LP separators with auto-sizing
    // ...
    return process;
  }
}
Version:
1.0
Author:
NeqSim Development Team
  • Method Details

    • getName

      String getName()
      Get the template name.
      Returns:
      template name
    • getDescription

      String getDescription()
      Get a description of the process template.
      Returns:
      template description
    • create

      ProcessSystem create(ProcessBasis basis)
      Create a process system from this template using the given process basis.
      Parameters:
      basis - the process basis containing feed conditions and constraints
      Returns:
      a configured ProcessSystem
    • isApplicable

      boolean isApplicable(SystemInterface fluid)
      Check if this template is applicable for the given fluid.
      Parameters:
      fluid - the fluid to check
      Returns:
      true if template is applicable
    • getRequiredEquipmentTypes

      String[] getRequiredEquipmentTypes()
      Get the required equipment types for this template.
      Returns:
      array of equipment type names
    • getExpectedOutputs

      String[] getExpectedOutputs()
      Get the expected outputs from this process template.
      Returns:
      array of output stream names/types