Class WellFlow.ReservoirLayer

java.lang.Object
neqsim.process.equipment.reservoir.WellFlow.ReservoirLayer
Enclosing class:
WellFlow

public static class WellFlow.ReservoirLayer extends Object
Represents a single reservoir layer for commingled well production or injection.
Version:
$Id: $Id
Author:
asmund
  • Field Details

    • name

      public String name
      Layer name.
    • stream

      public StreamInterface stream
      Stream from this layer.
    • reservoirPressure

      public double reservoirPressure
      Reservoir pressure for this layer (bara).
    • productivityIndex

      public double productivityIndex
      Productivity/Injectivity index for this layer.
    • calculatedRate

      public double calculatedRate
      Calculated flow rate from this layer.
    • fracturePressure

      public double fracturePressure
      Fracture pressure for this layer (bara). -1 means not set.
    • barrierStressContrast

      public double barrierStressContrast
      Stress contrast at caprock/barrier boundary (bar).
    • isTargetZone

      public boolean isTargetZone
      Whether this is the target zone for injection.
  • Constructor Details

    • ReservoirLayer

      public ReservoirLayer(String name, StreamInterface stream, double reservoirPressure, double pi)
      Create a reservoir layer.
      Parameters:
      name - layer identifier
      stream - fluid stream from layer
      reservoirPressure - layer reservoir pressure (bara)
      pi - layer productivity index
  • Method Details

    • setFracturePressure

      public void setFracturePressure(double pressure, String unit)
      Set the fracture pressure for this layer.
      Parameters:
      pressure - fracture pressure
      unit - pressure unit ("bara", "psia")
    • setBarrierStressContrast

      public void setBarrierStressContrast(double contrast, String unit)
      Set the stress contrast at the barrier/caprock boundary of this layer.
      Parameters:
      contrast - stress contrast value
      unit - stress unit ("bar", "psi", "MPa")
    • isFractureContained

      public boolean isFractureContained(double bhp)
      Check whether an induced fracture at the given BHP would be contained within this zone.

      Containment condition: net pressure must be below the stress contrast at zone boundary plus any tensile strength of the barrier rock.

      Parameters:
      bhp - bottom-hole pressure (bara)
      Returns:
      true if fracture is expected to remain contained
    • getFractureContainmentMargin

      public double getFractureContainmentMargin(double bhp)
      Get the fracture containment safety margin at the given BHP.
      Parameters:
      bhp - bottom-hole pressure (bara)
      Returns:
      margin (bar); positive means contained, negative means breach risk