Class SeparatorInstrumentDesign
java.lang.Object
neqsim.process.instrumentdesign.InstrumentDesign
neqsim.process.instrumentdesign.separator.SeparatorInstrumentDesign
- All Implemented Interfaces:
Serializable
Instrument design for separators.
Determines the required instrumentation for a separator vessel following typical oil and gas practice. A separator typically requires:
- Pressure: 2x PT (voted/redundant), 1x PSH (high pressure switch, SIL-rated)
- Temperature: 1x TT (process temperature)
- Level: 2x LT (voted/redundant), 1x LSH (high level switch), 1x LSLL (low-low level switch, SIL-rated)
- Control outputs: 1x LCV (level control valve), 1x PCV (pressure control valve)
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerialization version UID.private booleanWhether this is a three-phase separator (adds water level instruments). -
Constructor Summary
ConstructorsConstructorDescriptionSeparatorInstrumentDesign(ProcessEquipmentInterface processEquipment) Constructor for SeparatorInstrumentDesign. -
Method Summary
Modifier and TypeMethodDescriptionvoidRun the instrument design calculation.private doubleGet maximum operating pressure from mechanical design or default.private doubleGet maximum operating temperature from mechanical design or default.booleanCheck if this is a three-phase separator.voidsetThreePhase(boolean threePhase) Set whether this is a three-phase separator.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:
-
threePhase
private boolean threePhaseWhether this is a three-phase separator (adds water level instruments).
-
-
Constructor Details
-
SeparatorInstrumentDesign
Constructor for SeparatorInstrumentDesign.- Parameters:
processEquipment- the separator 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
-
getMaxPressure
private double getMaxPressure()Get maximum operating pressure from mechanical design or default.- Returns:
- maximum pressure in bara
-
getMaxTemperature
private double getMaxTemperature()Get maximum operating temperature from mechanical design or default.- Returns:
- maximum temperature in degC
-
isThreePhase
public boolean isThreePhase()Check if this is a three-phase separator.- Returns:
- true if three-phase
-
setThreePhase
public void setThreePhase(boolean threePhase) Set whether this is a three-phase separator.- Parameters:
threePhase- true for three-phase
-