Class BlockConfig
java.lang.Object
neqsim.process.fielddevelopment.facility.BlockConfig
- All Implemented Interfaces:
Serializable
Configuration for a single facility block.
Captures the parameters needed to configure a specific block type within a facility.
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockConfigco2Amine(double co2SpecPercent) Creates a CO2 amine removal block.static BlockConfigco2Membrane(double co2SpecPercent) Creates a CO2 membrane removal block.static BlockConfigcompression(int stages) Creates a compression block with specified stages.static BlockConfigcompression(int stages, double outletPressure) Creates a compression block with specified stages and outlet pressure.doublegetDoubleParameter(String key, double defaultValue) intgetIntParameter(String key, int defaultValue) getName()<T> TgetParameter(String key, T defaultValue) getType()static BlockConfiginletSeparation(double pressure, double temperature) Creates an inlet separation block.static BlockConfigCreates a block configuration with default parameters.static BlockConfigCreates a block configuration with a custom name.static BlockConfigCreates a block configuration with parameters.static BlockConfigoilStabilization(int stages, double rvp) Creates an oil stabilization block.static BlockConfigtegDehydration(double waterSpecPpm) Creates a TEG dehydration block with specified water spec.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
type
-
name
-
parameters
-
-
Constructor Details
-
BlockConfig
-
-
Method Details
-
of
Creates a block configuration with default parameters.- Parameters:
type- block type- Returns:
- block configuration
-
of
Creates a block configuration with a custom name.- Parameters:
type- block typename- custom name- Returns:
- block configuration
-
of
Creates a block configuration with parameters.- Parameters:
type- block typeparameters- configuration parameters- Returns:
- block configuration
-
compression
Creates a compression block with specified stages.- Parameters:
stages- number of compression stages- Returns:
- compression block config
-
compression
Creates a compression block with specified stages and outlet pressure.- Parameters:
stages- number of compression stagesoutletPressure- target outlet pressure in bara- Returns:
- compression block config
-
tegDehydration
Creates a TEG dehydration block with specified water spec.- Parameters:
waterSpecPpm- target water content in ppm- Returns:
- TEG block config
-
co2Membrane
Creates a CO2 membrane removal block.- Parameters:
co2SpecPercent- target CO2 content in %- Returns:
- membrane block config
-
co2Amine
Creates a CO2 amine removal block.- Parameters:
co2SpecPercent- target CO2 content in %- Returns:
- amine block config
-
inletSeparation
Creates an inlet separation block.- Parameters:
pressure- separation pressure in baratemperature- separation temperature in degC- Returns:
- inlet sep block config
-
oilStabilization
Creates an oil stabilization block.- Parameters:
stages- number of flash stagesrvp- target RVP in bara- Returns:
- stabilization block config
-
getType
-
getName
-
getParameters
-
getParameter
-
getIntParameter
-
getDoubleParameter
-
toString
-