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 Summary
Modifier and TypeMethodDescriptioncreate(ProcessBasis basis) Create a process system from this template using the given process basis.Get a description of the process template.String[]Get the expected outputs from this process template.getName()Get the template name.String[]Get the required equipment types for this template.booleanisApplicable(SystemInterface fluid) Check if this template is applicable for the given fluid.
-
Method Details
-
getName
-
getDescription
-
create
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
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
-