Class TransientWellbore.TransientSnapshot

java.lang.Object
neqsim.process.equipment.pipeline.TransientWellbore.TransientSnapshot
All Implemented Interfaces:
Serializable
Enclosing class:
TransientWellbore

public static class TransientWellbore.TransientSnapshot extends Object implements Serializable
A snapshot of the wellbore state at a single time step. Contains depth-dependent profiles of temperature, pressure, phase state, and gas phase compositions.
Version:
1.0
Author:
neqsim
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final double[]
    Depth array in meters (from top = 0 to bottom = wellDepth).
    Gas phase composition at each depth: segment index to (component name to mole fraction).
    final double[]
    Gas phase mole fraction at each depth (0 = all liquid, 1 = all gas).
    final int[]
    Number of phases at each depth.
    final double[]
    Pressure array in bara at each depth.
    private static final long
    Serialization version UID.
    final double[]
    Temperature array in Kelvin at each depth.
    final double
    Simulation time in hours.
  • Constructor Summary

    Constructors
    Constructor
    Description
    TransientSnapshot(double timeHours, int size)
    Constructor for TransientSnapshot.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addGasComposition(int segmentIndex, String componentName, double moleFraction)
    Adds gas phase composition data for a segment.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version UID.
      See Also:
    • timeHours

      public final double timeHours
      Simulation time in hours.
    • depths

      public final double[] depths
      Depth array in meters (from top = 0 to bottom = wellDepth).
    • temperatures

      public final double[] temperatures
      Temperature array in Kelvin at each depth.
    • pressures

      public final double[] pressures
      Pressure array in bara at each depth.
    • numberOfPhases

      public final int[] numberOfPhases
      Number of phases at each depth.
    • gasFraction

      public final double[] gasFraction
      Gas phase mole fraction at each depth (0 = all liquid, 1 = all gas).
    • gasCompositions

      public final Map<Integer, Map<String,Double>> gasCompositions
      Gas phase composition at each depth: segment index to (component name to mole fraction).
  • Constructor Details

    • TransientSnapshot

      public TransientSnapshot(double timeHours, int size)
      Constructor for TransientSnapshot.
      Parameters:
      timeHours - the simulation time
      size - the number of depth points
  • Method Details

    • addGasComposition

      public void addGasComposition(int segmentIndex, String componentName, double moleFraction)
      Adds gas phase composition data for a segment.
      Parameters:
      segmentIndex - the segment index
      componentName - the component name
      moleFraction - the mole fraction in the gas phase