Class PipelineInstrumentDesign
java.lang.Object
neqsim.process.instrumentdesign.InstrumentDesign
neqsim.process.instrumentdesign.pipeline.PipelineInstrumentDesign
- All Implemented Interfaces:
Serializable
Instrument design for pipelines.
Determines the required instrumentation for a pipeline segment. A pipeline typically requires:
- Pressure: inlet PT, outlet PT
- Temperature: inlet TT, outlet TT
- Flow: inlet FT (custody transfer or operational metering)
- Pig detection: pig signaller at inlet and outlet
- Safety: PSHH (overpressure), PSLL (low pressure / leak detection)
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanWhether leak detection instrumentation is included.private booleanWhether pig detection instruments are included.private static final longSerialization version UID. -
Constructor Summary
ConstructorsConstructorDescriptionPipelineInstrumentDesign(ProcessEquipmentInterface processEquipment) Constructor for PipelineInstrumentDesign. -
Method Summary
Modifier and TypeMethodDescriptionvoidRun the instrument design calculation.booleanCheck if leak detection is included.booleanCheck if pig detection is included.voidsetIncludeLeakDetection(boolean includeLeakDetection) Set whether leak detection is included.voidsetIncludePigDetection(boolean includePigDetection) Set whether pig detection is included.Methods inherited from class InstrumentDesign
getDefaultSilLevel, getEstimatedCostUSD, getHazardousAreaZone, getInstrumentList, getInstrumentStandard, getProcessEquipment, getProtectionConcept, getTotalIOCount, isIncludeSafetyInstruments, readDesignSpecifications, setDefaultSilLevel, setHazardousAreaZone, setIncludeSafetyInstruments, setInstrumentStandard, setProtectionConcept, toJson
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
includePigDetection
private boolean includePigDetectionWhether pig detection instruments are included. -
includeLeakDetection
private boolean includeLeakDetectionWhether leak detection instrumentation is included.
-
-
Constructor Details
-
PipelineInstrumentDesign
Constructor for PipelineInstrumentDesign.- Parameters:
processEquipment- the pipeline equipment
-
-
Method Details
-
calcDesign
public void calcDesign()Run the instrument design calculation.Determines the required instruments based on the equipment type and process conditions. Subclasses override this to add equipment-specific instruments.
- Overrides:
calcDesignin classInstrumentDesign
-
isIncludePigDetection
public boolean isIncludePigDetection()Check if pig detection is included.- Returns:
- true if included
-
setIncludePigDetection
public void setIncludePigDetection(boolean includePigDetection) Set whether pig detection is included.- Parameters:
includePigDetection- true to include
-
isIncludeLeakDetection
public boolean isIncludeLeakDetection()Check if leak detection is included.- Returns:
- true if included
-
setIncludeLeakDetection
public void setIncludeLeakDetection(boolean includeLeakDetection) Set whether leak detection is included.- Parameters:
includeLeakDetection- true to include
-