Class HostTieInPoint

java.lang.Object
neqsim.process.fielddevelopment.tieback.capacity.HostTieInPoint
All Implemented Interfaces:
Serializable

public final class HostTieInPoint extends Object implements Serializable
Mapping between production-profile rates and an attached host process model stream.

The tie-in planner uses this object when a HostFacility has an attached process model. The configured stream is scaled to the base-plus-accepted-satellite load, the process is run, and equipment capacity constraints are inspected. Conversion factors translate field-production units into the flow unit used by the NeqSim stream.

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

    • serialVersionUID

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

      private final String processStreamReference
      Process stream reference, for example "Host Feed" or "HP Sep.gasOut".
    • processRateUnit

      private final String processRateUnit
      Flow unit used when setting the process stream rate.
    • baseProcessRate

      private double baseProcessRate
      Optional fixed base process rate in the process-rate unit.
    • gasToProcessRateFactor

      private double gasToProcessRateFactor
      Process-rate-unit factor per MSm3/d gas.
    • oilToProcessRateFactor

      private double oilToProcessRateFactor
      Process-rate-unit factor per bbl/d oil.
    • waterToProcessRateFactor

      private double waterToProcessRateFactor
      Process-rate-unit factor per m3/d water.
    • liquidToProcessRateFactor

      private double liquidToProcessRateFactor
      Process-rate-unit factor per m3/d total liquid.
  • Constructor Details

    • HostTieInPoint

      public HostTieInPoint(String processStreamReference, String processRateUnit)
      Creates a tie-in point for a process stream.
      Parameters:
      processStreamReference - stream reference resolved by ProcessSystem
      processRateUnit - flow unit used by the target stream
  • Method Details

    • getProcessStreamReference

      public String getProcessStreamReference()
      Gets the process stream reference.
      Returns:
      stream reference
    • getProcessRateUnit

      public String getProcessRateUnit()
      Gets the process rate unit.
      Returns:
      process rate unit
    • getBaseProcessRate

      public double getBaseProcessRate()
      Gets the fixed base process rate.
      Returns:
      fixed base rate, or NaN when the profile-derived rate should be used
    • setBaseProcessRate

      public HostTieInPoint setBaseProcessRate(double baseProcessRate)
      Sets a fixed base process rate in the process-rate unit.
      Parameters:
      baseProcessRate - fixed base rate used before satellite addition
      Returns:
      this tie-in point for method chaining
    • setGasToProcessRateFactor

      public HostTieInPoint setGasToProcessRateFactor(double factor)
      Sets the gas conversion factor.
      Parameters:
      factor - process-rate-unit increment per MSm3/d gas
      Returns:
      this tie-in point for method chaining
    • setOilToProcessRateFactor

      public HostTieInPoint setOilToProcessRateFactor(double factor)
      Sets the oil conversion factor.
      Parameters:
      factor - process-rate-unit increment per bbl/d oil
      Returns:
      this tie-in point for method chaining
    • setWaterToProcessRateFactor

      public HostTieInPoint setWaterToProcessRateFactor(double factor)
      Sets the water conversion factor.
      Parameters:
      factor - process-rate-unit increment per m3/d water
      Returns:
      this tie-in point for method chaining
    • setLiquidToProcessRateFactor

      public HostTieInPoint setLiquidToProcessRateFactor(double factor)
      Sets the total-liquid conversion factor.
      Parameters:
      factor - process-rate-unit increment per m3/d total liquid
      Returns:
      this tie-in point for method chaining
    • toProcessRate

      public double toProcessRate(ProductionLoad load)
      Converts a production load to a process stream rate increment.
      Parameters:
      load - production load to convert
      Returns:
      process stream rate increment in getProcessRateUnit()