Class Expander
- All Implemented Interfaces:
Serializable, Runnable, CompressorInterface, ExpanderInterface, ProcessEquipmentInterface, TwoPortInterface, StateVectorProvider, SimulationInterface, NamedInterface
- Direct Known Subclasses:
TurboExpanderCompressor
Expander class.
- Version:
- $Id: $Id
- Author:
- esol
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Compressor
Compressor.Builder -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ExpanderMechanicalDesignMechanical design for the expander.private static final longSerialization version UID.Fields inherited from class Compressor
calcPressureOut, dH, inletEnthalpy, isentropicEfficiency, polytropicEfficiency, powerSet, pressure, thermoSystem, usePolytropicCalcFields inherited from class TwoPortEquipment
inStream, outStreamFields inherited from class ProcessEquipmentBaseClass
conditionAnalysisMessage, energyStream, hasController, isSolved, properties, reportFields inherited from class SimulationBaseClass
calcIdentifier, calculateSteadyState, timeFields inherited from class NamedBaseClass
name -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for Expander.Expander(String name, StreamInterface inletStream) Constructor for Expander. -
Method Summary
Modifier and TypeMethodDescriptionGet the expander-specific mechanical design.private voidInitialize the expander mechanical design.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.Methods inherited from class Compressor
acknowledgeTrip, addEventListener, addOperatingHours, builder, checkPowerLimits, checkSpeedLimits, checkStoneWallMargin, checkSurgeMargin, copy, disableOperatingHistory, displayResult, emergencyShutdown, enableOperatingHistory, equals, findOutPressure, generateCompressorChart, generateCompressorChart, generateCompressorChart, generateCompressorChart, generateCompressorChart, generateCompressorChartFromTemplate, generateCompressorCurves, getActualCompressionRatio, getAntiSurge, getBearingLoss, getCapacityDuty, getCapacityMax, getCompressionRatio, getCompressorChart, getCompressorChartType, getDegradationFactor, getDistanceToStoneWall, getDistanceToSurge, getDriver, getEffectivePolytropicEfficiency, getEffectivePolytropicHead, getEnergy, getEntropyProduction, getExergyChange, getExergyChange, getFoulingFactor, getIsentropicEfficiency, getMaxAccelerationRate, getMaxDecelerationRate, getMaximumSpeed, getMaxOutletPressure, getMechanicalDesign, getMechanicalEfficiency, getMechanicalLosses, getMinimumSpeed, getNumberOfCompressorCalcSteps, getOperatingHistory, getOperatingHours, getOperatingState, getOutletPressure, getOutTemperature, getPolytropicEfficiency, getPolytropicExponent, getPolytropicFluidHead, getPolytropicHead, getPolytropicHead, getPolytropicHeadMeter, getPolytropicMethod, getPower, getPower, getPropertyProfile, getRatioToMaxSpeed, getRatioToMaxSpeed, getRatioToMinSpeed, getRatioToMinSpeed, getResultTable, getRotationalInertia, getSafetyFactorCorrectedFlowHeadAtCurrentSpeed, getSealGasConsumption, getShutdownProfile, getSpeed, getStartupProfile, getStateVector, getStoneWallWarningThreshold, getSurgeCriticalThreshold, getSurgeFlowRate, getSurgeFlowRateMargin, getSurgeFlowRateStd, getSurgeWarningThreshold, getTargetSpeed, getThermoSystem, getTotalWork, hashCode, initMechanicalDesign, initMechanicalLosses, initMechanicalLosses, isAutoSpeedMode, isCalcPressureOut, isHigherThanMaxSpeed, isHigherThanMaxSpeed, isLimitSpeed, isLowerThanMinSpeed, isLowerThanMinSpeed, isSetMaxOutletPressure, isSolveSpeed, isSpeedWithinRange, isSpeedWithinRange, isStoneWall, isStoneWall, isSurge, isUseGERG2008, isUseLeachman, isUseRigorousPolytropicMethod, isUseVega, recordOperatingPoint, removeEventListener, resetDynamicState, runController, runTransient, setAntiSurge, setAutoSpeedMode, setCalcPressureOut, setCompressionRatio, setCompressorChart, setCompressorChartType, setDegradationFactor, setDriver, setDriver, setFoulingFactor, setInletStream, setIsentropicEfficiency, setIsSetMaxOutletPressure, setLimitSpeed, setMaxAccelerationRate, setMaxDecelerationRate, setMaximumSpeed, setMaxOutletPressure, setMechanicalLosses, setMinimumSpeed, setNumberOfCompressorCalcSteps, setOperatingHours, setOperatingState, setOutletPressure, setOutletPressure, setOutTemperature, setPolytropicEfficiency, setPolytropicHeadMeter, setPolytropicMethod, setPower, setPressure, setPressure, setPropertyProfile, setRotationalInertia, setShutdownProfile, setSolveSpeed, setSpeed, setStartupProfile, setStoneWallWarningThreshold, setSurgeCriticalThreshold, setSurgeWarningThreshold, setTargetSpeed, setUseEnergyEfficiencyChart, setUseGERG2008, setUseLeachman, setUsePolytropicCalc, setUseRigorousPolytropicMethod, setUseVega, solveAntiSurge, solveEfficiency, startCompressor, stopCompressor, stopCompressor, toJson, toJson, updateDynamicState, updateMechanicalLosses, useOutTemperature, usePolytropicCalcMethods inherited from class TwoPortEquipment
getInletPressure, getInletStream, getInletTemperature, getMassBalance, getOutletStream, getOutletTemperature, setInletPressure, setInletTemperature, setOutletStream, setOutletTemperature, validateSetupMethods inherited from class ProcessEquipmentBaseClass
getConditionAnalysisMessage, getController, getEnergyStream, getMassBalance, getMinimumFlow, getPressure, getPressure, getProperty, getReport_json, getSpecification, getTemperature, getTemperature, isActive, isActive, isSetEnergyStream, reportResults, run_step, runConditionAnalysis, setController, setEnergyStream, setEnergyStream, setFlowValveController, setMinimumFlow, setRegulatorOutSignal, setSpecification, setTemperature, solvedMethods inherited from class SimulationBaseClass
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTimeMethods inherited from class NamedBaseClass
getName, getTagName, setName, setTagNameMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CompressorInterface
isSurgeMethods inherited from interface ExpanderInterface
getEnergyMethods 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_step, run_step, runTransient, runTransient, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTime, solvedMethods inherited from interface StateVectorProvider
getStateDimension, getStateNamesMethods inherited from interface TwoPortInterface
getInletPressure, getInletStream, getInletTemperature, getInStream, getOutletPressure, getOutletStream, getOutletTemperature, getOutStream, setInletPressure, setInletStream, setInletTemperature, setOutletPressure, setOutletStream, setOutletTemperature
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
expanderMechanicalDesign
Mechanical design for the expander.
-
-
Constructor Details
-
Expander
-
Expander
Constructor for Expander.
- Parameters:
name- aStringobjectinletStream- aStreamInterfaceobject
-
-
Method Details
-
getExpanderMechanicalDesign
Get the expander-specific mechanical design.- Returns:
- expander mechanical design
-
initExpanderMechanicalDesign
private void initExpanderMechanicalDesign()Initialize the expander mechanical design. -
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Specified by:
runin interfaceSimulationInterface- Overrides:
runin classCompressor- Parameters:
id- UUID
-