Class GlycolDehydrationlModule
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.processmodel.ProcessModuleBaseClass
neqsim.process.processmodel.processmodules.GlycolDehydrationlModule
- All Implemented Interfaces:
Serializable, Runnable, ProcessEquipmentInterface, ModuleInterface, SimulationInterface, NamedInterface
GlycolDehydrationlModule class.
- Version:
- $Id: $Id
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SimpleTEGAbsorber(package private) double(package private) doubleprivate doubleprotected StreamInterfaceprotected StreamInterfaceprotected StreamInterfaceprotected Separator(package private) String(package private) Cooler(package private) Cooler(package private) Coolerprotected Pump(package private) double(package private) double(package private) doubleprotected StreamInterface(package private) static org.apache.logging.log4j.LoggerLogger object for class.(package private) double(package private) double(package private) double(package private) Heater(package private) double(package private) doubleprivate static final longSerialization version UID.protected Separatorprotected StreamInterfaceprotected ThrottlingValveprotected ThrottlingValve(package private) doubleprotected SeparatorFields inherited from class ProcessModuleBaseClass
isInitializedModule, isInitializedStreams, preferedThermodynamicModelFields inherited from class SimulationBaseClass
calcIdentifier, calculateSteadyState, timeFields inherited from class NamedBaseClass
name -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for GlycolDehydrationlModule. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInputStream(String streamName, StreamInterface stream) addInputStream.voidcalcDesign.doublecalcGlycolConcentration(double y0) calcGlycolConcentration.doublecalcKglycol.voiddisplayResult.doubleGetter for the fieldflashPressure.getOutputStream(String streamName) getOutputStream.voidinitializeModule.voidinitializeStreams.static voidmain.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.voidsetDesign.voidsetFlashPressure(double flashPressure) Setter for the fieldflashPressure.voidsetProperty(String specificationName, double value) setProperty.voidsetProperty(String specificationName, double value, String unit) setProperty.doublesolveAbsorptionFactor(double Ea) solveAbsorptionFactor.Methods inherited from class ProcessModuleBaseClass
getConditionAnalysisMessage, getController, getEntropyProduction, getExergyChange, getMassBalance, getMassBalance, getMechanicalDesign, getOperations, getPreferedThermodynamicModel, getPressure, getPressure, getReport_json, getResultTable, getSpecification, getTemperature, getTemperature, getThermoSystem, getUnit, isCalcDesign, reportResults, run_step, runConditionAnalysis, runTransient, setController, setIsCalcDesign, setPreferedThermodynamicModel, setPressure, setRegulatorOutSignal, setSpecification, setSpecification, setTemperature, solved, toJsonMethods 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NamedInterface
getName, getTagName, setName, setTagNameMethods inherited from interface ProcessEquipmentInterface
equals, getCapacityDuty, getCapacityMax, getExergyChange, getFluid, getRestCapacity, hashCode, initMechanicalDesign, needRecalculation, toJson, validateSetupMethods inherited from interface SimulationInterface
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, run, run_step, runTransient, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTime
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
logger
static org.apache.logging.log4j.Logger loggerLogger object for class. -
gasStreamToAbsorber
-
strippingGas
-
gasStreamFromAbsorber
-
gasFromStripper
-
leanTEGStreamToAbsorber
-
absorbtionColumn
-
stripperColumn
-
reboiler
Heater reboiler -
HPpump
-
glycolFlashDrum
-
waterSeparator
-
valveHP
-
valveMP
-
heatExchanger1
Cooler heatExchanger1 -
heatExchanger2
Cooler heatExchanger2 -
heatExchanger3
Cooler heatExchanger3 -
waterDewPontSpecification
double waterDewPontSpecification -
numberOfTheoreticalEquilibriumStages
double numberOfTheoreticalEquilibriumStages -
flashPressure
private double flashPressure -
designStandardGasFlowRate
double designStandardGasFlowRate -
maxAbsorberDesignPressure
double maxAbsorberDesignPressure -
designGasFeedTemperature
double designGasFeedTemperature -
leanGlycolMolarFraction
double leanGlycolMolarFraction -
leanGlycolwtFraction
double leanGlycolwtFraction -
leanGlycolMolarFlowRate
double leanGlycolMolarFlowRate -
maxglycolFlowRate
double maxglycolFlowRate -
glycolTypeName
String glycolTypeName -
reboilerTemperature
double reboilerTemperature -
regenerationPressure
double regenerationPressure
-
-
Constructor Details
-
GlycolDehydrationlModule
-
-
Method Details
-
addInputStream
addInputStream.
- Parameters:
streamName- aStringobjectstream- aStreamInterfaceobject
-
getOutputStream
getOutputStream.
- Parameters:
streamName- aStringobject- Returns:
- a
StreamInterfaceobject
-
solveAbsorptionFactor
public double solveAbsorptionFactor(double Ea) solveAbsorptionFactor.
- Parameters:
Ea- a double- Returns:
- a double
-
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Parameters:
id- UUID
-
initializeStreams
public void initializeStreams()initializeStreams.
-
initializeModule
public void initializeModule()initializeModule.
-
setProperty
setProperty.
- Overrides:
setPropertyin classProcessModuleBaseClass- Parameters:
specificationName- aStringobjectvalue- a doubleunit- aStringobject
-
setProperty
setProperty.
- Specified by:
setPropertyin interfaceModuleInterface- Overrides:
setPropertyin classProcessModuleBaseClass- Parameters:
specificationName- aStringobjectvalue- a double
-
calcGlycolConcentration
public double calcGlycolConcentration(double y0) calcGlycolConcentration.
- Parameters:
y0- a double- Returns:
- a double
-
calcKglycol
public double calcKglycol()calcKglycol.
- Returns:
- a double
-
displayResult
public void displayResult()displayResult.
- Specified by:
displayResultin interfaceProcessEquipmentInterface- Overrides:
displayResultin classProcessModuleBaseClass
-
calcDesign
-
setDesign
-
main
-
getFlashPressure
public double getFlashPressure()Getter for the field
flashPressure.- Returns:
- a double
-
setFlashPressure
public void setFlashPressure(double flashPressure) Setter for the field
flashPressure.- Parameters:
flashPressure- a double
-