Class ProcessInterconnectionDesign.PipeSegment

java.lang.Object
neqsim.process.mechanicaldesign.ProcessInterconnectionDesign.PipeSegment
All Implemented Interfaces:
Serializable
Enclosing class:
ProcessInterconnectionDesign

public static class ProcessInterconnectionDesign.PipeSegment extends Object implements Serializable
Represents a pipe segment between two equipment items.
Version:
1.0
Author:
NeqSim Development Team
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • fromEquipment

      private String fromEquipment
    • toEquipment

      private String toEquipment
    • streamName

      private String streamName
    • nominalSizeInch

      private double nominalSizeInch
    • outsideDiameterMm

      private double outsideDiameterMm
    • wallThicknessMm

      private double wallThicknessMm
    • lengthM

      private double lengthM
    • weightKg

      private double weightKg
    • designPressureBara

      private double designPressureBara
    • designTemperatureC

      private double designTemperatureC
    • schedule

      private String schedule
    • material

      private String material
    • isGasService

      private boolean isGasService
  • Constructor Details

    • PipeSegment

      public PipeSegment()
  • Method Details

    • getFromEquipment

      public String getFromEquipment()
      Get the from equipment name.
      Returns:
      from equipment name
    • setFromEquipment

      public void setFromEquipment(String fromEquipment)
      Set the from equipment name.
      Parameters:
      fromEquipment - equipment name
    • getToEquipment

      public String getToEquipment()
      Get the to equipment name.
      Returns:
      to equipment name
    • setToEquipment

      public void setToEquipment(String toEquipment)
      Set the to equipment name.
      Parameters:
      toEquipment - equipment name
    • getStreamName

      public String getStreamName()
      Get the stream name.
      Returns:
      stream name
    • setStreamName

      public void setStreamName(String streamName)
      Set the stream name.
      Parameters:
      streamName - stream name
    • getNominalSizeInch

      public double getNominalSizeInch()
      Get the nominal pipe size in inches.
      Returns:
      nominal size in inches
    • setNominalSizeInch

      public void setNominalSizeInch(double nominalSizeInch)
      Set the nominal pipe size.
      Parameters:
      nominalSizeInch - size in inches
    • getOutsideDiameterMm

      public double getOutsideDiameterMm()
      Get the outside diameter.
      Returns:
      outside diameter in mm
    • setOutsideDiameterMm

      public void setOutsideDiameterMm(double outsideDiameterMm)
      Set the outside diameter.
      Parameters:
      outsideDiameterMm - diameter in mm
    • getWallThicknessMm

      public double getWallThicknessMm()
      Get the wall thickness.
      Returns:
      wall thickness in mm
    • setWallThicknessMm

      public void setWallThicknessMm(double wallThicknessMm)
      Set the wall thickness.
      Parameters:
      wallThicknessMm - thickness in mm
    • getLengthM

      public double getLengthM()
      Get the pipe length.
      Returns:
      length in meters
    • setLengthM

      public void setLengthM(double lengthM)
      Set the pipe length.
      Parameters:
      lengthM - length in meters
    • getWeightKg

      public double getWeightKg()
      Get the pipe weight.
      Returns:
      weight in kg
    • setWeightKg

      public void setWeightKg(double weightKg)
      Set the pipe weight.
      Parameters:
      weightKg - weight in kg
    • getDesignPressureBara

      public double getDesignPressureBara()
      Get the design pressure.
      Returns:
      design pressure in bara
    • setDesignPressureBara

      public void setDesignPressureBara(double designPressureBara)
      Set the design pressure.
      Parameters:
      designPressureBara - pressure in bara
    • getDesignTemperatureC

      public double getDesignTemperatureC()
      Get the design temperature.
      Returns:
      design temperature in °C
    • setDesignTemperatureC

      public void setDesignTemperatureC(double designTemperatureC)
      Set the design temperature.
      Parameters:
      designTemperatureC - temperature in °C
    • getSchedule

      public String getSchedule()
      Get the pipe schedule.
      Returns:
      schedule designation
    • setSchedule

      public void setSchedule(String schedule)
      Set the pipe schedule.
      Parameters:
      schedule - schedule designation
    • getMaterial

      public String getMaterial()
      Get the pipe material.
      Returns:
      material designation
    • setMaterial

      public void setMaterial(String material)
      Set the pipe material.
      Parameters:
      material - material designation
    • isGasService

      public boolean isGasService()
      Check if gas service.
      Returns:
      true if gas service
    • setGasService

      public void setGasService(boolean isGasService)
      Set gas service flag.
      Parameters:
      isGasService - true for gas service
    • toString

      public String toString()
      Overrides:
      toString in class Object