Class NetworkResult

java.lang.Object
neqsim.process.fielddevelopment.network.NetworkResult
All Implemented Interfaces:
Serializable

public class NetworkResult extends Object implements Serializable
Result container for network solver.

Contains all outputs from a network solution including well rates, pressures, and convergence information.

Version:
1.0
Author:
ESOL
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • networkName

      public String networkName
      Network name.
    • solutionMode

      public NetworkSolver.SolutionMode solutionMode
      Solution mode used.
    • manifoldPressure

      public double manifoldPressure
      Manifold pressure (bara).
    • totalRate

      public double totalRate
      Total production rate (Sm3/day).
    • wellRates

      public Map<String,Double> wellRates
      Individual well rates (Sm3/day).
    • wellheadPressures

      public Map<String,Double> wellheadPressures
      Wellhead pressures (bara).
    • flowlinePressureDrops

      public Map<String,Double> flowlinePressureDrops
      Flowline pressure drops (bar).
    • wellEnabled

      public Map<String,Boolean> wellEnabled
      Well enabled status.
    • converged

      public boolean converged
      Whether the solver converged.
    • iterations

      public int iterations
      Number of iterations.
    • residual

      public double residual
      Final residual.
  • Constructor Details

    • NetworkResult

      public NetworkResult(String networkName)
      Creates a new network result.
      Parameters:
      networkName - network name
  • Method Details

    • getTotalRate

      public double getTotalRate(String unit)
      Gets the total production rate in specified unit.
      Parameters:
      unit - rate unit (Sm3/day, MSm3/day, bbl/day)
      Returns:
      total rate
    • getWellRate

      public double getWellRate(String wellName, String unit)
      Gets a well's production rate.
      Parameters:
      wellName - well name
      unit - rate unit
      Returns:
      well rate
    • getWellheadPressure

      public double getWellheadPressure(String wellName)
      Gets a well's wellhead pressure.
      Parameters:
      wellName - well name
      Returns:
      wellhead pressure in bara
    • getFlowlinePressureDrop

      public double getFlowlinePressureDrop(String wellName)
      Gets a well's flowline pressure drop.
      Parameters:
      wellName - well name
      Returns:
      pressure drop in bar
    • isWellEnabled

      public boolean isWellEnabled(String wellName)
      Checks if a well is enabled.
      Parameters:
      wellName - well name
      Returns:
      true if enabled
    • getProducingWellCount

      public int getProducingWellCount()
      Gets the number of producing wells.
      Returns:
      producing well count
    • getSummaryTable

      public String getSummaryTable()
      Gets a markdown summary table.
      Returns:
      markdown table
    • toString

      public String toString()
      Overrides:
      toString in class Object