Class PropaneCoolingModule
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.processmodel.ProcessModuleBaseClass
neqsim.process.processmodel.processmodules.PropaneCoolingModule
- All Implemented Interfaces:
Serializable, Runnable, ProcessEquipmentInterface, ModuleInterface, SimulationInterface, NamedInterface
PropaneCoolingModule class.
- Version:
- $Id: $Id
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate double(package private) StreamInterfaceprivate static final longSerialization version UID.private doubleFields 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.getOutputStream(String streamName) getOutputStream.voidinitializeModule.voidinitializeStreams.static voidmain.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.voidsetCondenserTemperature(double condenserTemperature) Setter for the fieldcondenserTemperature.voidsetDesign.voidsetSpecification(String specificationName, double value) setSpecification.voidsetVaporizerTemperature(double vaporizerTemperature) Setter for the fieldvaporizerTemperature.Methods inherited from class ProcessModuleBaseClass
displayResult, 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:
-
refrigerantStream
StreamInterface refrigerantStream -
condenserTemperature
private double condenserTemperature -
vaporizerTemperature
private double vaporizerTemperature
-
-
Constructor Details
-
PropaneCoolingModule
-
-
Method Details
-
setCondenserTemperature
public void setCondenserTemperature(double condenserTemperature) Setter for the field
condenserTemperature.- Parameters:
condenserTemperature- the condenserTemperature to set
-
setVaporizerTemperature
public void setVaporizerTemperature(double vaporizerTemperature) Setter for the field
vaporizerTemperature.- Parameters:
vaporizerTemperature- the vaporizerTemperature to set
-
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
-
main
-