Class ProcessInterconnectionDesign.PipeSegment
java.lang.Object
neqsim.process.mechanicaldesign.ProcessInterconnectionDesign.PipeSegment
- All Implemented Interfaces:
Serializable
- Enclosing class:
ProcessInterconnectionDesign
Represents a pipe segment between two equipment items.
- Version:
- 1.0
- Author:
- NeqSim Development Team
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the design pressure.doubleGet the design temperature.Get the from equipment name.doubleGet the pipe length.Get the pipe material.doubleGet the nominal pipe size in inches.doubleGet the outside diameter.Get the pipe schedule.Get the stream name.Get the to equipment name.doubleGet the wall thickness.doubleGet the pipe weight.booleanCheck if gas service.voidsetDesignPressureBara(double designPressureBara) Set the design pressure.voidsetDesignTemperatureC(double designTemperatureC) Set the design temperature.voidsetFromEquipment(String fromEquipment) Set the from equipment name.voidsetGasService(boolean isGasService) Set gas service flag.voidsetLengthM(double lengthM) Set the pipe length.voidsetMaterial(String material) Set the pipe material.voidsetNominalSizeInch(double nominalSizeInch) Set the nominal pipe size.voidsetOutsideDiameterMm(double outsideDiameterMm) Set the outside diameter.voidsetSchedule(String schedule) Set the pipe schedule.voidsetStreamName(String streamName) Set the stream name.voidsetToEquipment(String toEquipment) Set the to equipment name.voidsetWallThicknessMm(double wallThicknessMm) Set the wall thickness.voidsetWeightKg(double weightKg) Set the pipe weight.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
fromEquipment
-
toEquipment
-
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
-
material
-
isGasService
private boolean isGasService
-
-
Constructor Details
-
PipeSegment
public PipeSegment()
-
-
Method Details
-
getFromEquipment
-
setFromEquipment
Set the from equipment name.- Parameters:
fromEquipment- equipment name
-
getToEquipment
-
setToEquipment
Set the to equipment name.- Parameters:
toEquipment- equipment name
-
getStreamName
-
setStreamName
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
-
setSchedule
Set the pipe schedule.- Parameters:
schedule- schedule designation
-
getMaterial
-
setMaterial
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
-