Class BarrierElement
java.lang.Object
neqsim.process.mechanicaldesign.subsea.BarrierElement
- All Implemented Interfaces:
Serializable
Represents a single well barrier element per NORSOK D-010 Section 4.
A barrier element is an independent physical component that prevents uncontrolled flow of formation fluids. Examples include casing, cement, packer, DHSV, wellhead, and tubing.
Each barrier element has a type, a functional status (intact or degraded), and a verification status indicating the last test result.
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWell barrier element types per NORSOK D-010 Figure 3 and Tables 20/36/37.static enumFunctional status of the barrier element. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleDepth of element in meters MD (0 for surface elements).private StringDescription or notes about the element.private final StringElement name/identifier.private static final longprivate BarrierElement.StatusFunctional status.private final BarrierElement.ElementTypeThe element type.private booleanWhether this element has been verified (tested). -
Constructor Summary
ConstructorsConstructorDescriptionBarrierElement(BarrierElement.ElementType type, String name) Create a barrier element.BarrierElement(BarrierElement.ElementType type, String name, double depthMD) Create a barrier element with depth. -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet element depth in meters MD.Get the element description.getName()Get the element name.Get the current status.getType()Get the element type.booleanCheck if the element is providing containment (intact or degraded).booleanCheck if the element has been verified by testing.voidsetDepthMD(double depthMD) Set element depth in meters MD.voidsetDescription(String description) Set the element description.voidsetStatus(BarrierElement.Status status) Set the functional status.voidsetVerified(boolean verified) Set the verification status.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
type
The element type. -
name
Element name/identifier. -
status
Functional status. -
verified
private boolean verifiedWhether this element has been verified (tested). -
depthMD
private double depthMDDepth of element in meters MD (0 for surface elements). -
description
Description or notes about the element.
-
-
Constructor Details
-
BarrierElement
Create a barrier element.- Parameters:
type- element typename- element identifier
-
BarrierElement
Create a barrier element with depth.- Parameters:
type- element typename- element identifierdepthMD- depth in meters MD
-
-
Method Details
-
getType
-
getName
-
getStatus
-
setStatus
Set the functional status.- Parameters:
status- new status
-
isFunctional
public boolean isFunctional()Check if the element is providing containment (intact or degraded).- Returns:
- true if element is functional
-
isVerified
public boolean isVerified()Check if the element has been verified by testing.- Returns:
- true if verified
-
setVerified
public void setVerified(boolean verified) Set the verification status.- Parameters:
verified- true if element has been tested
-
getDepthMD
public double getDepthMD()Get element depth in meters MD.- Returns:
- depth in m MD
-
setDepthMD
public void setDepthMD(double depthMD) Set element depth in meters MD.- Parameters:
depthMD- depth in m MD
-
getDescription
-
setDescription
Set the element description.- Parameters:
description- description text
-
toString
-