Interface CompressorInterface
- All Superinterfaces:
NamedInterface, ProcessEquipmentInterface, Runnable, Serializable, SimulationInterface, TwoPortInterface
- All Known Implementing Classes:
Compressor, Expander, TurboExpanderCompressor
CompressorInterface interface.
- Version:
- $Id: $Id
- Author:
- esol
-
Method Summary
Modifier and TypeMethodDescriptiongetAntiSurge.doublegetDistanceToSurge.doublegetEnergy.doublegetIsentropicEfficiency.doublegetMaximumSpeed.doublegetMinimumSpeed.doublegetPolytropicEfficiency.doublegetSurgeFlowRate.doublegetSurgeFlowRateMargin.doublebooleanisStoneWall.default booleanisSurge()isSurge.voidsetCompressorChartType(String type) Set CompressorChartTypevoidsetIsentropicEfficiency(double isentropicEfficiency) setIsentropicEfficiency.voidsetMaximumSpeed(double maxSpeed) setMaximumSpeed.voidsetMinimumSpeed(double minspeed) setMinimumSpeed.voidsetPolytropicEfficiency(double polytropicEfficiency) setPolytropicEfficiency.Methods inherited from interface NamedInterface
getName, getTagName, setName, setTagNameMethods inherited from interface ProcessEquipmentInterface
displayResult, equals, getCapacityDuty, getCapacityMax, getConditionAnalysisMessage, getController, getEntropyProduction, getExergyChange, getExergyChange, getFluid, getMassBalance, getMassBalance, getMechanicalDesign, getPressure, getPressure, getReport_json, getRestCapacity, getResultTable, getSpecification, getTemperature, getTemperature, getThermoSystem, hashCode, initMechanicalDesign, needRecalculation, reportResults, runConditionAnalysis, setController, setPressure, setRegulatorOutSignal, setSpecification, setTemperature, toJson, toJson, validateSetupMethods inherited from interface SimulationInterface
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, run, run, run_step, run_step, runTransient, runTransient, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTime, solvedMethods inherited from interface TwoPortInterface
getInletPressure, getInletStream, getInletTemperature, getInStream, getOutletPressure, getOutletStream, getOutletTemperature, getOutStream, setInletPressure, setInletStream, setInletTemperature, setOutletPressure, setOutletStream, setOutletTemperature
-
Method Details
-
getEnergy
double getEnergy()getEnergy.
- Returns:
- a double
-
getIsentropicEfficiency
double getIsentropicEfficiency()getIsentropicEfficiency.
- Returns:
- a double
-
setIsentropicEfficiency
void setIsentropicEfficiency(double isentropicEfficiency) setIsentropicEfficiency.
- Parameters:
isentropicEfficiency- a double
-
getSurgeFlowRateStd
double getSurgeFlowRateStd() -
getPolytropicEfficiency
double getPolytropicEfficiency()getPolytropicEfficiency.
- Returns:
- a double
-
setPolytropicEfficiency
void setPolytropicEfficiency(double polytropicEfficiency) setPolytropicEfficiency.
- Parameters:
polytropicEfficiency- a double
-
getAntiSurge
-
getDistanceToSurge
double getDistanceToSurge()getDistanceToSurge.
- Returns:
- a double
-
setMaximumSpeed
void setMaximumSpeed(double maxSpeed) setMaximumSpeed.
- Parameters:
maxSpeed- a double
-
setMinimumSpeed
void setMinimumSpeed(double minspeed) setMinimumSpeed.
- Parameters:
minspeed- a double
-
getMaximumSpeed
double getMaximumSpeed()getMaximumSpeed.
- Returns:
- a double
-
getMinimumSpeed
double getMinimumSpeed()getMinimumSpeed.
- Returns:
- a double
-
getSurgeFlowRateMargin
double getSurgeFlowRateMargin()getSurgeFlowRateMargin.
- Returns:
- a double
-
getSurgeFlowRate
double getSurgeFlowRate()getSurgeFlowRate.
- Returns:
- a double
-
isStoneWall
boolean isStoneWall()isStoneWall.
- Returns:
- a boolean
-
setCompressorChartType
-
isSurge
default boolean isSurge()isSurge.
- Returns:
- a boolean
-