Class StaticMixer
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.equipment.ProcessEquipmentBaseClass
neqsim.process.equipment.mixer.Mixer
neqsim.process.equipment.mixer.StaticMixer
- All Implemented Interfaces:
Serializable, Runnable, MixerInterface, ProcessEquipmentInterface, SimulationInterface, NamedInterface
- Direct Known Subclasses:
StaticNeqMixer, StaticPhaseMixer
StaticMixer class.
- Version:
- $Id: $Id
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerialization version UID.Fields inherited from class Mixer
logger, lowestPressure, 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 TypeMethodDescriptiondoublecalcMixStreamEnthalpy.doubleguessTemperature.voidmixStream.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.toJson()Serializes the Process Equipment along with its state to a JSON string.toJson(ReportConfig cfg) Serializes the Process Equipment with configurable level of detail.Methods inherited from class Mixer
addStream, displayResult, equals, getEntropyProduction, getMassBalance, getMixedSalinity, getNumberOfInputStreams, getOutletStream, getOutTemperature, getStream, getThermoSystem, hashCode, isDoMultiPhaseCheck, isSetOutTemperature, isSetOutTemperature, removeInputStream, replaceStream, setMultiPhaseCheck, setOutTemperature, setPressure, setTemperature, validateSetupMethods inherited from class ProcessEquipmentBaseClass
copy, getConditionAnalysisMessage, getController, getEnergyStream, getExergyChange, getMassBalance, getMechanicalDesign, getMinimumFlow, getPressure, getPressure, getProperty, getReport_json, getResultTable, getSpecification, getTemperature, 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
getCapacityDuty, getCapacityMax, getConditionAnalysisMessage, getController, getExergyChange, getExergyChange, getFluid, getMassBalance, getMechanicalDesign, getPressure, getPressure, getReport_json, getRestCapacity, getResultTable, getSpecification, getTemperature, getTemperature, initMechanicalDesign, needRecalculation, reportResults, runConditionAnalysis, setController, setRegulatorOutSignal, setSpecificationMethods inherited from interface SimulationInterface
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, run, run_step, run_step, runTransient, runTransient, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTime, solved
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
-
Constructor Details
-
StaticMixer
-
-
Method Details
-
mixStream
-
guessTemperature
public double guessTemperature()guessTemperature.
- Overrides:
guessTemperaturein classMixer- Returns:
- a double
-
calcMixStreamEnthalpy
public double calcMixStreamEnthalpy()calcMixStreamEnthalpy.
- Overrides:
calcMixStreamEnthalpyin classMixer- Returns:
- a double
-
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Specified by:
runin interfaceSimulationInterface- Overrides:
runin classMixer- Parameters:
id- UUID
-
toJson
Serializes the Process Equipment along with its state to a JSON string.
- Specified by:
toJsonin interfaceProcessEquipmentInterface- Overrides:
toJsonin classMixer- Returns:
- json string.
-
toJson
Serializes the Process Equipment with configurable level of detail.- Specified by:
toJsonin interfaceProcessEquipmentInterface- Overrides:
toJsonin classMixer- Parameters:
cfg- report configuration- Returns:
- json string
-