Class PumpChartAlternativeMapLookupExtrapolate
java.lang.Object
neqsim.process.equipment.compressor.CompressorChart
neqsim.process.equipment.compressor.CompressorChartAlternativeMapLookup
neqsim.process.equipment.compressor.CompressorChartAlternativeMapLookupExtrapolate
neqsim.process.equipment.pump.PumpChartAlternativeMapLookupExtrapolate
- All Implemented Interfaces:
Serializable, Cloneable, CompressorChartInterface, PumpChartInterface
public class PumpChartAlternativeMapLookupExtrapolate
extends CompressorChartAlternativeMapLookupExtrapolate
implements PumpChartInterface
CompressorChartAlternativeMapLookupExtrapolate class.
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static org.apache.logging.log4j.LoggerLogger object for class.private static final longSerialization version UID.(package private) boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalculateViscosityCorrection(double viscosity, double flowBEP, double headBEP, double speed) Calculate viscosity correction factors using the Hydraulic Institute (HI) method.doubleGet the flow rate at best efficiency point (BEP).doublegetCorrectedEfficiency(double flow, double speed, double actualViscosity) Get efficiency with viscosity correction applied.doublegetCorrectedHead(double flow, double speed, double actualDensity) Get density-corrected head for a given flow, speed, and actual fluid density.doublegetEfficiency(double flow, double speed) Get method for efficiency from reference curves.doubleGet the current efficiency correction factor (Cη).doubleGet the current flow correction factor (Cq).doublegetFullyCorrectedHead(double flow, double speed, double actualDensity, double actualViscosity) Get head with both viscosity and density corrections applied.doublegetHead(double flow, double speed) Get method for polytropic head from reference curves.doubleGet the current head correction factor (Ch).doublegetNPSHRequired(double flow, double speed) Get NPSH required at specified flow and speed.getOperatingStatus(double flow, double speed) Check operating status at given flow and speed.doubleGet the reference density used for calculations.doubleGet the reference viscosity.doubleCalculate pump specific speed at BEP.booleanCheck if density correction is enabled.booleanCheck if NPSH curve data is available.booleanChecks if set to use compressor chart for compressor calculations (chart is set for compressor).booleanCheck if viscosity correction is enabled.voidsetNPSHCurve(double[][] npshRequired) Set NPSH (Net Positive Suction Head) required curve.voidsetReferenceDensity(double referenceDensity) Set the reference density for power and pressure ratio calculations.voidsetReferenceViscosity(double referenceViscosity) Set the reference viscosity for viscosity correction.voidsetUsePumpChart(boolean usePumpChart) Set compressor calculations to use compressor chart.voidsetUseViscosityCorrection(boolean useViscosityCorrection) Enable or disable viscosity correction.Methods inherited from class CompressorChartAlternativeMapLookupExtrapolate
getClosestRefSpeeds, getPolytropicEfficiency, getPolytropicHeadMethods inherited from class CompressorChartAlternativeMapLookup
addCurve, addCurve, addSurgeCurve, bisect_left, bisect_left, checkStoneWall, checkSurge1, checkSurge2, getChartConditions, getChartValues, getCurveAtRefSpeed, getFlow, getFlows, getGearRatio, getHeads, getHeadUnit, getMaxSpeedCurve, getMinSpeedCurve, getPolytropicEfficiencies, getSpeed, getSpeeds, getSpeedValue, getStoneWallCurve, getSurgeCurve, isUseCompressorChart, main, plot, polytropicEfficiency, prettyPrintChartValues, setCurves, setCurves, setGearRatio, setHeadUnit, setReferenceConditions, setStoneWallCurve, setSurgeCurve, setUseCompressorChart, setUseRealKappa, useRealKappaMethods inherited from class CompressorChart
equals, fitReducedCurve, generateStoneWallCurve, generateSurgeCurve, getDischargeTemperatures, getGamma, getInletPressure, getInletTemperature, getPolytropicExponent, getPowers, getPressureRatios, getStoneWallFlowAtSpeed, getStoneWallHeadAtSpeed, getSurgeFlowAtSpeed, getSurgeHeadAtSpeed, hashCode, setGamma, setInletPressure, setInletTemperature, setMaxSpeedCurve, setMinSpeedCurve, setPolytropicExponentMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CompressorChartInterface
equals, generateStoneWallCurve, generateSurgeCurve, getDischargeTemperatures, getGamma, getInletPressure, getInletStream, getInletTemperature, getOperatingMW, getPolytropicExponent, getPowers, getPressureRatios, getRatioToMaxSpeed, getRatioToMinSpeed, getStoneWallFlowAtSpeed, getStoneWallHeadAtSpeed, getSurgeFlowAtSpeed, getSurgeHeadAtSpeed, hashCode, isHigherThanMaxSpeed, isLowerThanMinSpeed, isSpeedWithinRange, setGamma, setInletPressure, setInletStream, setInletTemperature, setOperatingMW, setPolytropicExponentMethods inherited from interface PumpChartInterface
addCurve, getHeadUnit, getSpeed, plot, setCurves, setHeadUnit, setReferenceConditions, setUseRealKappa, useRealKappa
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
logger
static org.apache.logging.log4j.Logger loggerLogger object for class. -
usePumpChart
boolean usePumpChart
-
-
Constructor Details
-
PumpChartAlternativeMapLookupExtrapolate
public PumpChartAlternativeMapLookupExtrapolate()
-
-
Method Details
-
getHead
public double getHead(double flow, double speed) Get method for polytropic head from reference curves.- Specified by:
getHeadin interfacePumpChartInterface- Parameters:
flow- [m3/h], speed in [rpm].speed- a double- Returns:
- polytropic head in unit [getHeadUnit]
-
isUsePumpChart
public boolean isUsePumpChart()Checks if set to use compressor chart for compressor calculations (chart is set for compressor).- Specified by:
isUsePumpChartin interfacePumpChartInterface- Returns:
- a boolean
-
getEfficiency
public double getEfficiency(double flow, double speed) Get method for efficiency from reference curves.- Specified by:
getEfficiencyin interfacePumpChartInterface- Parameters:
flow- [m3/h], speed in [rpm].speed- a double- Returns:
- efficiency [%].
-
setUsePumpChart
public void setUsePumpChart(boolean usePumpChart) Set compressor calculations to use compressor chart.- Specified by:
setUsePumpChartin interfacePumpChartInterface- Parameters:
usePumpChart- a boolean
-
getBestEfficiencyFlowRate
public double getBestEfficiencyFlowRate()Get the flow rate at best efficiency point (BEP).- Specified by:
getBestEfficiencyFlowRatein interfacePumpChartInterface- Returns:
- flow rate at BEP in m³/hr
-
getSpecificSpeed
public double getSpecificSpeed()Calculate pump specific speed at BEP.- Specified by:
getSpecificSpeedin interfacePumpChartInterface- Returns:
- specific speed (dimensionless)
-
getOperatingStatus
Check operating status at given flow and speed.- Specified by:
getOperatingStatusin interfacePumpChartInterface- Parameters:
flow- flow rate in m³/hrspeed- pump speed in rpm- Returns:
- operating status string
-
setNPSHCurve
public void setNPSHCurve(double[][] npshRequired) Set NPSH (Net Positive Suction Head) required curve.- Specified by:
setNPSHCurvein interfacePumpChartInterface- Parameters:
npshRequired- 2D array of NPSH values [speed][flow] in meters
-
getNPSHRequired
public double getNPSHRequired(double flow, double speed) Get NPSH required at specified flow and speed.- Specified by:
getNPSHRequiredin interfacePumpChartInterface- Parameters:
flow- flow rate in m³/hrspeed- pump speed in rpm- Returns:
- NPSH required in meters
-
hasNPSHCurve
public boolean hasNPSHCurve()Check if NPSH curve data is available.- Specified by:
hasNPSHCurvein interfacePumpChartInterface- Returns:
- true if NPSH curve is available
-
getReferenceDensity
public double getReferenceDensity()Get the reference density used for calculations.- Specified by:
getReferenceDensityin interfaceCompressorChartInterface- Specified by:
getReferenceDensityin interfacePumpChartInterface- Overrides:
getReferenceDensityin classCompressorChart- Returns:
- the reference density in kg/m3, or NaN if not set
-
setReferenceDensity
public void setReferenceDensity(double referenceDensity) Set the reference density for power and pressure ratio calculations.- Specified by:
setReferenceDensityin interfaceCompressorChartInterface- Specified by:
setReferenceDensityin interfacePumpChartInterface- Overrides:
setReferenceDensityin classCompressorChart- Parameters:
referenceDensity- the reference gas density in kg/m3
-
hasDensityCorrection
public boolean hasDensityCorrection()Check if density correction is enabled.- Specified by:
hasDensityCorrectionin interfacePumpChartInterface- Returns:
- true if reference density is set and correction will be applied
-
getCorrectedHead
public double getCorrectedHead(double flow, double speed, double actualDensity) Get density-corrected head for a given flow, speed, and actual fluid density.- Specified by:
getCorrectedHeadin interfacePumpChartInterface- Parameters:
flow- flow rate in m³/hrspeed- pump speed in rpmactualDensity- actual fluid density in kg/m³- Returns:
- corrected head in the unit specified by getHeadUnit()
-
calculateViscosityCorrection
public void calculateViscosityCorrection(double viscosity, double flowBEP, double headBEP, double speed) Calculate viscosity correction factors using the Hydraulic Institute (HI) method.- Specified by:
calculateViscosityCorrectionin interfacePumpChartInterface- Parameters:
viscosity- kinematic viscosity in cSt (centistokes)flowBEP- flow at best efficiency point in m³/hrheadBEP- head at best efficiency point in metersspeed- pump speed in rpm
-
getFullyCorrectedHead
public double getFullyCorrectedHead(double flow, double speed, double actualDensity, double actualViscosity) Get head with both viscosity and density corrections applied.- Specified by:
getFullyCorrectedHeadin interfacePumpChartInterface- Parameters:
flow- flow rate in m³/hrspeed- pump speed in rpmactualDensity- actual fluid density in kg/m³actualViscosity- actual kinematic viscosity in cSt- Returns:
- fully corrected head
-
getCorrectedEfficiency
public double getCorrectedEfficiency(double flow, double speed, double actualViscosity) Get efficiency with viscosity correction applied.- Specified by:
getCorrectedEfficiencyin interfacePumpChartInterface- Parameters:
flow- flow rate in m³/hrspeed- pump speed in rpmactualViscosity- actual kinematic viscosity in cSt- Returns:
- corrected efficiency in percent
-
setReferenceViscosity
public void setReferenceViscosity(double referenceViscosity) Set the reference viscosity for viscosity correction.- Specified by:
setReferenceViscosityin interfacePumpChartInterface- Parameters:
referenceViscosity- reference kinematic viscosity in cSt (typically 1.0 for water)
-
getReferenceViscosity
public double getReferenceViscosity()Get the reference viscosity.- Specified by:
getReferenceViscosityin interfacePumpChartInterface- Returns:
- reference viscosity in cSt
-
setUseViscosityCorrection
public void setUseViscosityCorrection(boolean useViscosityCorrection) Enable or disable viscosity correction.- Specified by:
setUseViscosityCorrectionin interfacePumpChartInterface- Parameters:
useViscosityCorrection- true to enable viscosity correction
-
isUseViscosityCorrection
public boolean isUseViscosityCorrection()Check if viscosity correction is enabled.- Specified by:
isUseViscosityCorrectionin interfacePumpChartInterface- Returns:
- true if viscosity correction is active
-
getFlowCorrectionFactor
public double getFlowCorrectionFactor()Get the current flow correction factor (Cq).- Specified by:
getFlowCorrectionFactorin interfacePumpChartInterface- Returns:
- flow correction factor
-
getHeadCorrectionFactor
public double getHeadCorrectionFactor()Get the current head correction factor (Ch).- Specified by:
getHeadCorrectionFactorin interfacePumpChartInterface- Returns:
- head correction factor
-
getEfficiencyCorrectionFactor
public double getEfficiencyCorrectionFactor()Get the current efficiency correction factor (Cη).- Specified by:
getEfficiencyCorrectionFactorin interfacePumpChartInterface- Returns:
- efficiency correction factor
-