Class BarrierElement

java.lang.Object
neqsim.process.mechanicaldesign.subsea.BarrierElement
All Implemented Interfaces:
Serializable

public class BarrierElement extends Object implements 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:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • type

      private final BarrierElement.ElementType type
      The element type.
    • name

      private final String name
      Element name/identifier.
    • status

      private BarrierElement.Status status
      Functional status.
    • verified

      private boolean verified
      Whether this element has been verified (tested).
    • depthMD

      private double depthMD
      Depth of element in meters MD (0 for surface elements).
    • description

      private String description
      Description or notes about the element.
  • Constructor Details

    • BarrierElement

      public BarrierElement(BarrierElement.ElementType type, String name)
      Create a barrier element.
      Parameters:
      type - element type
      name - element identifier
    • BarrierElement

      public BarrierElement(BarrierElement.ElementType type, String name, double depthMD)
      Create a barrier element with depth.
      Parameters:
      type - element type
      name - element identifier
      depthMD - depth in meters MD
  • Method Details

    • getType

      public BarrierElement.ElementType getType()
      Get the element type.
      Returns:
      element type
    • getName

      public String getName()
      Get the element name.
      Returns:
      element name
    • getStatus

      public BarrierElement.Status getStatus()
      Get the current status.
      Returns:
      functional status
    • setStatus

      public void setStatus(BarrierElement.Status status)
      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

      public String getDescription()
      Get the element description.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
      Set the element description.
      Parameters:
      description - description text
    • toString

      public String toString()
      Overrides:
      toString in class Object