Class PipeCostEstimate
java.lang.Object
neqsim.process.costestimation.UnitCostEstimateBaseClass
neqsim.process.costestimation.pipe.PipeCostEstimate
- All Implemented Interfaces:
Serializable
Cost estimation class for pipelines and piping systems.
This class provides pipe-specific cost estimation methods using chemical engineering cost correlations for carbon steel, stainless steel, and other piping materials. Includes costs for fittings, flanges, valves, and installation.
- Version:
- 1.0
- Author:
- AGAS
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intNumber of fittings per 100m.private booleanInclude fittings cost.private booleanInclude insulation.private StringInstallation type.private doubleInsulation thickness in mm.private doublePipe nominal diameter in inches.private intNumber of flanged connections.private doublePipe length in meters.private StringPipe schedule.private static final longSerialization version UID.Fields inherited from class UnitCostEstimateBaseClass
annualOperatingCost, bareModuleCost, costCalculator, equipmentType, grassRootsCost, installationManHours, mechanicalEquipment, purchasedEquipmentCost, totalModuleCost -
Constructor Summary
ConstructorsConstructorDescriptionPipeCostEstimate(MechanicalDesign mechanicalEquipment) Constructor for PipeCostEstimate. -
Method Summary
Modifier and TypeMethodDescriptionprivate doubleCalculate fittings cost.private doubleCalculate flanges cost.private doubleCalculate insulation cost.doubleCalculate pipe weight.protected doubleCalculate purchased equipment cost.Get cost breakdown as map.private doubleGet installation type factor.doubleGet nominal diameter.doubleGet pipe length.private doubleGet pipe schedule factor.private doubleGet wall thickness from schedule (approximate values).doubleGet total cost using simple weight-based method.voidsetFittingsPerHundredMeters(int count) Set fittings per 100m of pipe.voidsetIncludeFittings(boolean include) Set whether to include fittings.voidsetIncludeInsulation(boolean include) Set whether to include insulation.voidsetInstallationType(String type) Set installation type.voidsetInsulationThickness(double thickness) Set insulation thickness.voidsetNominalDiameter(double diameter) Set nominal diameter.voidsetNumberOfFlanges(int count) Set number of flanges.voidsetPipeLength(double length) Set pipe length.voidsetPipeSchedule(String schedule) Set pipe schedule.Methods inherited from class UnitCostEstimateBaseClass
calcAnnualOperatingCost, calculateCostEstimate, equals, generateBillOfMaterials, getBareModuleCost, getCostCalculator, getCostPerWeightUnit, getEquipmentType, getGrassRootsCost, getInstallationManHours, getMaterialFactor, getMaterialGrade, getPurchasedEquipmentCost, getTotalModuleCost, hashCode, setCostCalculator, setCostPerWeightUnit, setCurrentCepci, setEquipmentType, setLocationFactor, setMaterialOfConstruction, toCompactJson, toJson, toMap
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
nominalDiameter
private double nominalDiameterPipe nominal diameter in inches. -
pipeLength
private double pipeLengthPipe length in meters. -
pipeSchedule
Pipe schedule. -
installationType
Installation type. -
includeFittings
private boolean includeFittingsInclude fittings cost. -
fittingsPerHundredMeters
private int fittingsPerHundredMetersNumber of fittings per 100m. -
numberOfFlanges
private int numberOfFlangesNumber of flanged connections. -
includeInsulation
private boolean includeInsulationInclude insulation. -
insulationThickness
private double insulationThicknessInsulation thickness in mm.
-
-
Constructor Details
-
PipeCostEstimate
Constructor for PipeCostEstimate.- Parameters:
mechanicalEquipment- the pipe mechanical design
-
-
Method Details
-
setNominalDiameter
public void setNominalDiameter(double diameter) Set nominal diameter.- Parameters:
diameter- nominal diameter in inches
-
getNominalDiameter
public double getNominalDiameter()Get nominal diameter.- Returns:
- nominal diameter in inches
-
setPipeLength
public void setPipeLength(double length) Set pipe length.- Parameters:
length- pipe length in meters
-
getPipeLength
public double getPipeLength()Get pipe length.- Returns:
- pipe length in meters
-
setPipeSchedule
Set pipe schedule.- Parameters:
schedule- pipe schedule ("10", "40", "80", "160", "XXS")
-
setInstallationType
Set installation type.- Parameters:
type- installation type ("above-ground", "buried", "subsea")
-
setIncludeFittings
public void setIncludeFittings(boolean include) Set whether to include fittings.- Parameters:
include- true to include fittings
-
setFittingsPerHundredMeters
public void setFittingsPerHundredMeters(int count) Set fittings per 100m of pipe.- Parameters:
count- number of fittings
-
setNumberOfFlanges
public void setNumberOfFlanges(int count) Set number of flanges.- Parameters:
count- number of flanged connections
-
setIncludeInsulation
public void setIncludeInsulation(boolean include) Set whether to include insulation.- Parameters:
include- true to include insulation
-
setInsulationThickness
public void setInsulationThickness(double thickness) Set insulation thickness.- Parameters:
thickness- insulation thickness in mm
-
calcPurchasedEquipmentCost
protected double calcPurchasedEquipmentCost()Calculate purchased equipment cost.Override this method in subclasses to provide equipment-specific cost correlations.
- Overrides:
calcPurchasedEquipmentCostin classUnitCostEstimateBaseClass- Returns:
- purchased equipment cost in USD
-
getScheduleFactor
private double getScheduleFactor()Get pipe schedule factor.- Returns:
- schedule factor
-
getInstallationTypeFactor
private double getInstallationTypeFactor()Get installation type factor.- Returns:
- installation type factor
-
calcFittingsCost
private double calcFittingsCost()Calculate fittings cost.- Returns:
- fittings cost in USD
-
calcFlangesCost
private double calcFlangesCost()Calculate flanges cost.- Returns:
- flanges cost in USD
-
calcInsulationCost
private double calcInsulationCost()Calculate insulation cost.- Returns:
- insulation cost in USD
-
calcPipeWeight
public double calcPipeWeight()Calculate pipe weight.- Returns:
- pipe weight in kg
-
getScheduleWallThickness
private double getScheduleWallThickness()Get wall thickness from schedule (approximate values).- Returns:
- wall thickness in meters
-
getTotalCost
public double getTotalCost()Get total cost using simple weight-based method.- Overrides:
getTotalCostin classUnitCostEstimateBaseClass- Returns:
- the total cost in USD
-
getCostBreakdown
-