Class DPCUModule
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.processmodel.ProcessModuleBaseClass
neqsim.process.processmodel.processmodules.DPCUModule
- All Implemented Interfaces:
Serializable, Runnable, ProcessEquipmentInterface, ModuleInterface, SimulationInterface, NamedInterface
DPCUModule class.
- Version:
- $Id: $Id
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Compressor(package private) DistillationColumn(package private) StreamInterface(package private) Expander(package private) double(package private) StreamInterface(package private) double(package private) StreamInterface(package private) StreamInterface(package private) double(package private) StreamInterface(package private) StreamInterface(package private) double(package private) Separator(package private) double(package private) HeatExchanger(package private) Separator(package private) double(package private) StreamInterface(package private) double(package private) static org.apache.logging.log4j.LoggerLogger object for class.(package private) Separator(package private) Mixer(package private) StreamInterface(package private) double(package private) doubleprivate static final longSerialization version UID.(package private) ThrottlingValveFields inherited from class ProcessModuleBaseClass
isInitializedModule, isInitializedStreams, preferedThermodynamicModelFields inherited from class SimulationBaseClass
calcIdentifier, calculateSteadyState, timeFields inherited from class NamedBaseClass
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInputStream(String streamName, StreamInterface stream) addInputStream.voidcalcDesign.voiddisplayResult.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.voidsetSpecification(String specificationName, double value) setSpecification.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, setProperty, setProperty, setRegulatorOutSignal, 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. -
ethaneOvhComp
StreamInterface ethaneOvhComp -
gasDistColumnExit
StreamInterface gasDistColumnExit -
liquidDistColumnExit
StreamInterface liquidDistColumnExit -
feedStream
StreamInterface feedStream -
gasExitStream
StreamInterface gasExitStream -
oilExitStream
StreamInterface oilExitStream -
glycolFeedStream
StreamInterface glycolFeedStream -
glycolExitStream
StreamInterface glycolExitStream -
glycolScrubber
Separator glycolScrubber -
inletSeparator
Separator inletSeparator -
inletSepTemperature
double inletSepTemperature -
pressureAfterRedValve
double pressureAfterRedValve -
gasScrubberTemperature
double gasScrubberTemperature -
firstStageOutPressure
double firstStageOutPressure -
glycolScrubberTemperature
double glycolScrubberTemperature -
secondStageOutPressure
double secondStageOutPressure -
glycolInjectionRate
double glycolInjectionRate -
exportGasTemperature
double exportGasTemperature -
liquidPumpPressure
double liquidPumpPressure -
LTseparator
Separator LTseparator -
heatExchanger1
HeatExchanger heatExchanger1 -
valve1
ThrottlingValve valve1 -
expander
Expander expander -
compressor1
Compressor compressor1 -
mixer
Mixer mixer -
distColumn
DistillationColumn distColumn
-
-
Constructor Details
-
DPCUModule
-
-
Method Details
-
addInputStream
addInputStream.
- Parameters:
streamName- aStringobjectstream- aStreamInterfaceobject
-
getOutputStream
getOutputStream.
- Parameters:
streamName- aStringobject- Returns:
- a
StreamInterfaceobject
-
initializeModule
public void initializeModule()initializeModule.
-
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.
-
calcDesign
-
setDesign
-
setSpecification
setSpecification.
- Overrides:
setSpecificationin classProcessModuleBaseClass- Parameters:
specificationName- aStringobjectvalue- a double
-
displayResult
public void displayResult()displayResult.
- Specified by:
displayResultin interfaceProcessEquipmentInterface- Overrides:
displayResultin classProcessModuleBaseClass
-
main
-