Class PLET
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.equipment.ProcessEquipmentBaseClass
neqsim.process.equipment.TwoPortEquipment
neqsim.process.equipment.subsea.PLET
- All Implemented Interfaces:
Serializable, Runnable, ProcessEquipmentInterface, TwoPortInterface, SimulationInterface, NamedInterface
Pipeline End Termination (PLET) equipment class.
A PLET is a subsea structure located at the end of a flowline or pipeline that provides:
- Connection interface for flowlines, jumpers, or risers
- Isolation valve functionality
- Tie-in capability for future expansions
- Pigging facilities (pig launcher/receiver)
Design Standards
- API RP 17G - Recommended Practice for Completion/Workover Risers
- API RP 17N - Recommended Practice for Subsea Production System Reliability
- DNV-ST-F101 - Submarine Pipeline Systems
- NORSOK U-001 - Subsea Production Systems
Usage Example
// Create PLET at flowline termination
PLET plet = new PLET("PLET-1", flowlineOutletStream);
plet.setWaterDepth(350.0);
plet.setDesignPressure(150.0);
plet.setDesignTemperature(80.0);
plet.setConnectionType(PLET.ConnectionType.VERTICAL_HUB);
plet.setHasIsolationValve(true);
plet.setHasPiggingFacility(true);
plet.run();
// Get mechanical design
PLETMechanicalDesign design = (PLETMechanicalDesign) plet.getMechanicalDesign();
design.calcDesign();
String json = design.toJson();
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumConnection type for PLET interfaces.static enumPLET structure type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringValve actuator type (ROV, hydraulic).private PLET.ConnectionTypeConnection type.private doubleDesign pressure in bara.private doubleDesign temperature in Celsius.private doubleDry weight in tonnes.private booleanWhether PLET is configured for future tie-in.private booleanWhether PLET has isolation valve.private booleanWhether PLET has pigging facilities.private ThrottlingValveInternal isolation valve.private PLETMechanicalDesignMechanical design instance.private doubleNominal bore size in inches.private intNumber of connection hubs.private StringPig launcher/receiver type.private static final longSerialization version UID.private intNumber of spare hubs for future connections.private doubleStructure height in meters.private doubleStructure length in meters.private PLET.StructureTypeStructure type.private doubleStructure width in meters.private doubleSubmerged weight in tonnes.private StringValve type (ball, gate).private doubleWater depth in meters.Fields inherited from class TwoPortEquipment
inStream, outStreamFields inherited from class ProcessEquipmentBaseClass
conditionAnalysisMessage, energyStream, hasController, isSolved, properties, reportFields inherited from class SimulationBaseClass
calcIdentifier, calculateSteadyState, timeFields inherited from class NamedBaseClass
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate doubleCalculate pressure drop through PLET.voidClose the isolation valve.Get actuator type.Get connection type.doubleGet design pressure.doubleGet design temperature.doubleGet dry weight.Get the internal isolation valve.doubleGet isolation valve opening percentage.Get amechanicalDesignfor the equipment.doubleGet nominal bore size.intGet number of hubs.Get pigging type.intGet spare hubs.doubleGet structure height.doubleGet structure length.Get structure type.doubleGet structure width.doubleGet submerged weight.Get valve type.doubleGet water depth.booleanCheck if has future tie-in capability.booleanCheck if has isolation valve.booleanCheck if has pigging facility.private voidInitialize the internal isolation valve.voidInitialize mechanical design.voidOpen the isolation valve.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.voidsetActuatorType(String actuatorType) Set actuator type.voidsetConnectionType(PLET.ConnectionType connectionType) Set connection type.voidsetDesignPressure(double designPressure) Set design pressure.voidsetDesignTemperature(double designTemperature) Set design temperature.voidsetDryWeight(double dryWeight) Set dry weight.voidsetHasFutureTieIn(boolean hasFutureTieIn) Set whether has future tie-in capability.voidsetHasIsolationValve(boolean hasIsolationValve) Set whether has isolation valve.voidsetHasPiggingFacility(boolean hasPiggingFacility) Set whether has pigging facility.voidsetIsolationValveOpening(double percentOpen) Set isolation valve opening percentage.voidsetNominalBoreInches(double nominalBoreInches) Set nominal bore size.voidsetNumberOfHubs(int numberOfHubs) Set number of hubs.voidsetPiggingType(String piggingType) Set pigging type.voidsetSpareHubs(int spareHubs) Set spare hubs.voidsetStructureHeight(double structureHeight) Set structure height.voidsetStructureLength(double structureLength) Set structure length.voidsetStructureType(PLET.StructureType structureType) Set structure type.voidsetStructureWidth(double structureWidth) Set structure width.voidsetSubmergedWeight(double submergedWeight) Set submerged weight.voidsetValveType(String valveType) Set valve type.voidsetWaterDepth(double waterDepth) Set water depth.Methods inherited from class TwoPortEquipment
getInletPressure, getInletStream, getInletTemperature, getMassBalance, getOutletPressure, getOutletStream, getOutletTemperature, setInletPressure, setInletStream, setInletTemperature, setOutletPressure, setOutletPressure, setOutletStream, setOutletTemperature, setOutletTemperature, toJson, toJson, validateSetupMethods inherited from class ProcessEquipmentBaseClass
copy, displayResult, equals, getConditionAnalysisMessage, getController, getEffectiveCapacityFactor, getEnergyStream, getEntropyProduction, getExergyChange, getFailureMode, getMassBalance, getMinimumFlow, getPressure, getPressure, getProperty, getReport_json, getResultTable, getSpecification, getTemperature, getTemperature, getThermoSystem, hashCode, isActive, isActive, isCapacityAnalysisEnabled, isFailed, isSetEnergyStream, reportResults, restoreFromFailure, run_step, runConditionAnalysis, setCapacityAnalysisEnabled, setController, setEnergyStream, setEnergyStream, setFailureMode, setFlowValveController, setMinimumFlow, setPressure, setRegulatorOutSignal, setSpecification, setTemperature, simulateDegradedOperation, simulateTrip, solvedMethods inherited from class SimulationBaseClass
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTimeMethods inherited from class NamedBaseClass
getName, getTagName, setName, setTagNameMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NamedInterface
getName, getTagName, setName, setTagNameMethods inherited from interface ProcessEquipmentInterface
getCapacityDuty, getCapacityMax, getExergyChange, getFluid, getOperatingEnvelopeViolation, getRestCapacity, getSimulationValidationErrors, isSimulationValid, isWithinOperatingEnvelope, needRecalculationMethods inherited from interface SimulationInterface
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, run, run_step, runTransient, runTransient, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTimeMethods inherited from interface TwoPortInterface
getInStream, getOutStream, setOutPressure, setOutPressure, setOutTemperature, setOutTemperature
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
waterDepth
private double waterDepthWater depth in meters. -
designPressure
private double designPressureDesign pressure in bara. -
designTemperature
private double designTemperatureDesign temperature in Celsius. -
nominalBoreInches
private double nominalBoreInchesNominal bore size in inches. -
connectionType
Connection type. -
structureType
Structure type. -
numberOfHubs
private int numberOfHubsNumber of connection hubs. -
hasIsolationValve
private boolean hasIsolationValveWhether PLET has isolation valve. -
isolationValve
Internal isolation valve. -
valveType
Valve type (ball, gate). -
actuatorType
Valve actuator type (ROV, hydraulic). -
hasPiggingFacility
private boolean hasPiggingFacilityWhether PLET has pigging facilities. -
piggingType
Pig launcher/receiver type. -
hasFutureTieIn
private boolean hasFutureTieInWhether PLET is configured for future tie-in. -
spareHubs
private int spareHubsNumber of spare hubs for future connections. -
structureLength
private double structureLengthStructure length in meters. -
structureWidth
private double structureWidthStructure width in meters. -
structureHeight
private double structureHeightStructure height in meters. -
dryWeight
private double dryWeightDry weight in tonnes. -
submergedWeight
private double submergedWeightSubmerged weight in tonnes. -
mechanicalDesign
Mechanical design instance.
-
-
Constructor Details
-
PLET
public PLET()Default constructor. -
PLET
-
PLET
Constructor with name and inlet stream.- Parameters:
name- equipment nameinStream- inlet stream
-
-
Method Details
-
initializeIsolationValve
private void initializeIsolationValve()Initialize the internal isolation valve. -
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Parameters:
id- UUID
-
calculatePressureDrop
private double calculatePressureDrop()Calculate pressure drop through PLET.- Returns:
- pressure drop in bar
-
setIsolationValveOpening
public void setIsolationValveOpening(double percentOpen) Set isolation valve opening percentage.- Parameters:
percentOpen- valve opening (0-100%)
-
getIsolationValveOpening
public double getIsolationValveOpening()Get isolation valve opening percentage.- Returns:
- valve opening (0-100%)
-
closeIsolationValve
public void closeIsolationValve()Close the isolation valve. -
openIsolationValve
public void openIsolationValve()Open the isolation valve. -
getMechanicalDesign
Get a
mechanicalDesignfor the equipment.- Specified by:
getMechanicalDesignin interfaceProcessEquipmentInterface- Overrides:
getMechanicalDesignin classProcessEquipmentBaseClass- Returns:
- a
MechanicalDesignobject
-
initMechanicalDesign
public void initMechanicalDesign()Initialize mechanical design.- Specified by:
initMechanicalDesignin interfaceProcessEquipmentInterface- Overrides:
initMechanicalDesignin classProcessEquipmentBaseClass
-
getWaterDepth
public double getWaterDepth()Get water depth.- Returns:
- water depth in meters
-
setWaterDepth
public void setWaterDepth(double waterDepth) Set water depth.- Parameters:
waterDepth- water depth in meters
-
getDesignPressure
public double getDesignPressure()Get design pressure.- Returns:
- design pressure in bara
-
setDesignPressure
public void setDesignPressure(double designPressure) Set design pressure.- Parameters:
designPressure- design pressure in bara
-
getDesignTemperature
public double getDesignTemperature()Get design temperature.- Returns:
- design temperature in Celsius
-
setDesignTemperature
public void setDesignTemperature(double designTemperature) Set design temperature.- Parameters:
designTemperature- design temperature in Celsius
-
getNominalBoreInches
public double getNominalBoreInches()Get nominal bore size.- Returns:
- nominal bore in inches
-
setNominalBoreInches
public void setNominalBoreInches(double nominalBoreInches) Set nominal bore size.- Parameters:
nominalBoreInches- nominal bore in inches
-
getConnectionType
-
setConnectionType
Set connection type.- Parameters:
connectionType- connection type
-
getStructureType
-
setStructureType
Set structure type.- Parameters:
structureType- structure type
-
getNumberOfHubs
public int getNumberOfHubs()Get number of hubs.- Returns:
- number of connection hubs
-
setNumberOfHubs
public void setNumberOfHubs(int numberOfHubs) Set number of hubs.- Parameters:
numberOfHubs- number of connection hubs
-
hasIsolationValve
public boolean hasIsolationValve()Check if has isolation valve.- Returns:
- true if has isolation valve
-
setHasIsolationValve
public void setHasIsolationValve(boolean hasIsolationValve) Set whether has isolation valve.- Parameters:
hasIsolationValve- true to include isolation valve
-
getValveType
-
setValveType
Set valve type.- Parameters:
valveType- valve type (Ball, Gate)
-
getActuatorType
-
setActuatorType
Set actuator type.- Parameters:
actuatorType- actuator type (ROV, Hydraulic)
-
hasPiggingFacility
public boolean hasPiggingFacility()Check if has pigging facility.- Returns:
- true if has pigging facility
-
setHasPiggingFacility
public void setHasPiggingFacility(boolean hasPiggingFacility) Set whether has pigging facility.- Parameters:
hasPiggingFacility- true to include pigging
-
getPiggingType
-
setPiggingType
Set pigging type.- Parameters:
piggingType- pigging type (launcher, receiver, bidirectional)
-
hasFutureTieIn
public boolean hasFutureTieIn()Check if has future tie-in capability.- Returns:
- true if configured for future tie-in
-
setHasFutureTieIn
public void setHasFutureTieIn(boolean hasFutureTieIn) Set whether has future tie-in capability.- Parameters:
hasFutureTieIn- true for future tie-in capability
-
getSpareHubs
public int getSpareHubs()Get spare hubs.- Returns:
- number of spare hubs
-
setSpareHubs
public void setSpareHubs(int spareHubs) Set spare hubs.- Parameters:
spareHubs- number of spare hubs for future connections
-
getStructureLength
public double getStructureLength()Get structure length.- Returns:
- structure length in meters
-
setStructureLength
public void setStructureLength(double structureLength) Set structure length.- Parameters:
structureLength- structure length in meters
-
getStructureWidth
public double getStructureWidth()Get structure width.- Returns:
- structure width in meters
-
setStructureWidth
public void setStructureWidth(double structureWidth) Set structure width.- Parameters:
structureWidth- structure width in meters
-
getStructureHeight
public double getStructureHeight()Get structure height.- Returns:
- structure height in meters
-
setStructureHeight
public void setStructureHeight(double structureHeight) Set structure height.- Parameters:
structureHeight- structure height in meters
-
getDryWeight
public double getDryWeight()Get dry weight.- Returns:
- dry weight in tonnes
-
setDryWeight
public void setDryWeight(double dryWeight) Set dry weight.- Parameters:
dryWeight- dry weight in tonnes
-
getSubmergedWeight
public double getSubmergedWeight()Get submerged weight.- Returns:
- submerged weight in tonnes
-
setSubmergedWeight
public void setSubmergedWeight(double submergedWeight) Set submerged weight.- Parameters:
submergedWeight- submerged weight in tonnes
-
getIsolationValve
Get the internal isolation valve.- Returns:
- isolation valve or null if not configured
-