Class ValveCostEstimate
java.lang.Object
neqsim.process.costestimation.UnitCostEstimateBaseClass
neqsim.process.costestimation.valve.ValveCostEstimate
- All Implemented Interfaces:
Serializable
Cost estimation class for valves.
This class provides valve-specific cost estimation methods using chemical engineering cost correlations for control valves, gate valves, ball valves, and other valve types.
- Version:
- 2.0
- Author:
- asmund
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringActuator type.private booleanInclude actuator.private doubleNominal valve size in inches.private intPressure class (ASME).private static final longSerialization version UID.private doubleValve Cv (flow coefficient).private StringValve type.Fields inherited from class UnitCostEstimateBaseClass
annualOperatingCost, bareModuleCost, costCalculator, equipmentType, grassRootsCost, installationManHours, mechanicalEquipment, purchasedEquipmentCost, totalModuleCost -
Constructor Summary
ConstructorsConstructorDescriptionValveCostEstimate(ValveMechanicalDesign mechanicalEquipment) Constructor for ValveCostEstimate. -
Method Summary
Modifier and TypeMethodDescriptionprivate doubleCalculate actuator cost.private doubleCalculate ball valve cost.private doubleCalculate butterfly valve cost.private doubleCalculate check valve cost.private doubleCalculate gate valve cost.private doubleCalculate globe valve cost.protected doubleCalculate purchased equipment cost.Get cost breakdown as map.private doubleGet pressure class factor.doubleGet total cost using simple weight-based method.doubleGet valve Cv.Get the valve type.voidsetActuatorType(String type) Set actuator type.voidsetIncludeActuator(boolean include) Set whether to include actuator.voidsetNominalSize(double size) Set nominal valve size.voidsetPressureClass(int pressClass) Set pressure class.voidsetValveCv(double cv) Set valve Cv.voidsetValveType(String type) Set the valve type.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:
-
valveType
Valve type. -
nominalSize
private double nominalSizeNominal valve size in inches. -
valveCv
private double valveCvValve Cv (flow coefficient). -
pressureClass
private int pressureClassPressure class (ASME). -
includeActuator
private boolean includeActuatorInclude actuator. -
actuatorType
Actuator type.
-
-
Constructor Details
-
ValveCostEstimate
Constructor for ValveCostEstimate.- Parameters:
mechanicalEquipment- aValveMechanicalDesignobject
-
-
Method Details
-
setValveType
Set the valve type.- Parameters:
type- valve type ("control", "gate", "ball", "globe", "check", "butterfly")
-
getValveType
-
setNominalSize
public void setNominalSize(double size) Set nominal valve size.- Parameters:
size- nominal size in inches
-
setValveCv
public void setValveCv(double cv) Set valve Cv.- Parameters:
cv- flow coefficient
-
getValveCv
public double getValveCv()Get valve Cv.- Returns:
- flow coefficient
-
setPressureClass
public void setPressureClass(int pressClass) Set pressure class.- Parameters:
pressClass- ASME pressure class (150, 300, 600, 900, 1500, 2500)
-
setIncludeActuator
public void setIncludeActuator(boolean include) Set whether to include actuator.- Parameters:
include- true to include actuator
-
setActuatorType
Set actuator type.- Parameters:
type- actuator type ("pneumatic", "electric", "hydraulic", "manual")
-
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
-
calcGateValveCost
private double calcGateValveCost()Calculate gate valve cost.- Returns:
- cost in USD
-
calcBallValveCost
private double calcBallValveCost()Calculate ball valve cost.- Returns:
- cost in USD
-
calcGlobeValveCost
private double calcGlobeValveCost()Calculate globe valve cost.- Returns:
- cost in USD
-
calcCheckValveCost
private double calcCheckValveCost()Calculate check valve cost.- Returns:
- cost in USD
-
calcButterflyValveCost
private double calcButterflyValveCost()Calculate butterfly valve cost.- Returns:
- cost in USD
-
getPressureClassFactor
private double getPressureClassFactor()Get pressure class factor.- Returns:
- pressure class factor
-
calcActuatorCost
private double calcActuatorCost()Calculate actuator cost.- Returns:
- actuator cost in USD
-
getTotalCost
public double getTotalCost()Get total cost using simple weight-based method.- Overrides:
getTotalCostin classUnitCostEstimateBaseClass- Returns:
- the total cost in USD
-
getCostBreakdown
-