Class Condenser
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.equipment.ProcessEquipmentBaseClass
neqsim.process.equipment.mixer.Mixer
neqsim.process.equipment.distillation.SimpleTray
neqsim.process.equipment.distillation.Condenser
- All Implemented Interfaces:
Serializable, Runnable, TrayInterface, MixerInterface, ProcessEquipmentInterface, SimulationInterface, NamedInterface
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) double(package private) Splitterprivate Stringprivate double(package private) booleanprivate doubleprivate booleanprivate static final longSerialization version UID.(package private) booleanFields inherited from class SimpleTray
heatInput, loggerFields inherited from class Mixer
mixedStream, streamsFields inherited from class ProcessEquipmentBaseClass
conditionAnalysisMessage, energyStream, hasController, isSolved, properties, reportFields inherited from class SimulationBaseClass
calcIdentifier, calculateSteadyState, timeFields inherited from class NamedBaseClass
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetDuty()Getter for the fieldduty.doublegetDuty.getGasOutStream.getLiquidOutStream.Get the liquid product stream from the condenser.getProductOutStream.doubleGetter for the fieldrefluxRatio.booleanChecks if the separation process involves liquid reflux.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.voidsetRefluxRatio(double refluxRatio) Setter for the fieldrefluxRatio.voidsetSeparation_with_liquid_reflux(boolean separation_with_liquid_reflux, double value, String unit) Sets the separation with liquid reflux parameters.voidsetTotalCondenser(boolean isTotalCondenser) Setter for the fieldtotalCondenser.Methods inherited from class SimpleTray
calcMixStreamEnthalpy, calcMixStreamEnthalpy0, getFeedRate, getLiquidFlowRate, getTemperature, getVaporFlowRate, guessTemperature, init, massBalance, run2, setHeatInput, setPressure, setTemperature, TPflashMethods inherited from class Mixer
addStream, displayResult, equals, getEntropyProduction, getMassBalance, getMixedSalinity, getNumberOfInputStreams, getOutletStream, getOutTemperature, getStream, getThermoSystem, hashCode, isDoMultiPhaseCheck, isSetOutTemperature, isSetOutTemperature, mixStream, removeInputStream, replaceStream, setMultiPhaseCheck, setOutTemperature, toJson, toJson, validateSetupMethods inherited from class ProcessEquipmentBaseClass
copy, getConditionAnalysisMessage, getController, getEnergyStream, getExergyChange, getMassBalance, getMechanicalDesign, getMinimumFlow, getPressure, getPressure, getProperty, getReport_json, getResultTable, getSpecification, getTemperature, initMechanicalDesign, isActive, isActive, isSetEnergyStream, reportResults, run_step, runConditionAnalysis, setController, setEnergyStream, setEnergyStream, setFlowValveController, setMinimumFlow, setRegulatorOutSignal, setSpecification, 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 MixerInterface
getOutStreamMethods 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, hashCode, initMechanicalDesign, needRecalculation, reportResults, runConditionAnalysis, setController, setRegulatorOutSignal, setSpecification, 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 TrayInterface
addStream
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
refluxRatio
private double refluxRatio -
refluxIsSet
boolean refluxIsSet -
duty
double duty -
totalCondenser
boolean totalCondenser -
mixedStreamSplitter
Splitter mixedStreamSplitter -
separation_with_liquid_reflux
private boolean separation_with_liquid_reflux -
reflux_value
private double reflux_value -
reflux_unit
-
-
Constructor Details
-
Condenser
-
-
Method Details
-
isSeparation_with_liquid_reflux
public boolean isSeparation_with_liquid_reflux()Checks if the separation process involves liquid reflux.- Returns:
trueif the separation process involves liquid reflux,falseotherwise.
-
setSeparation_with_liquid_reflux
public void setSeparation_with_liquid_reflux(boolean separation_with_liquid_reflux, double value, String unit) Sets the separation with liquid reflux parameters.- Parameters:
separation_with_liquid_reflux- a boolean indicating if separation with liquid reflux is setvalue- the value of the refluxunit- the unit of the reflux value
-
setTotalCondenser
public void setTotalCondenser(boolean isTotalCondenser) Setter for the field
totalCondenser.- Parameters:
isTotalCondenser- a boolean
-
getRefluxRatio
public double getRefluxRatio()Getter for the field
refluxRatio.- Returns:
- the refluxRatio
-
setRefluxRatio
public void setRefluxRatio(double refluxRatio) Setter for the field
refluxRatio.- Parameters:
refluxRatio- the refluxRatio to set
-
getDuty
public double getDuty()Getter for the field
duty.- Returns:
- a double
-
getDuty
-
getGasOutStream
getGasOutStream.
- Overrides:
getGasOutStreamin classSimpleTray- Returns:
- a
Streamobject
-
getProductOutStream
-
getLiquidOutStream
getLiquidOutStream.
- Overrides:
getLiquidOutStreamin classSimpleTray- Returns:
- a
Streamobject
-
getLiquidProductStream
Get the liquid product stream from the condenser.- Returns:
- a
StreamInterfaceobject
-
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Specified by:
runin interfaceSimulationInterface- Overrides:
runin classSimpleTray- Parameters:
id- UUID
-