Class ReservoirTPsim
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.equipment.ProcessEquipmentBaseClass
neqsim.process.equipment.reservoir.ReservoirTPsim
- All Implemented Interfaces:
Serializable, Runnable, ProcessEquipmentInterface, SimulationInterface, NamedInterface
ReservoirTPsim class.
- Version:
- $Id: ReservoirTPsim.java 1234 2024-05-31 10:00:00Z esolbraa $
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate Stringprivate StreamInterfaceprivate doubleprivate Stringprivate Stringprivate SystemInterfaceprivate static final longSerialization version UID.private doubleprivate StringFields inherited from class ProcessEquipmentBaseClass
conditionAnalysisMessage, energyStream, hasController, isSolved, properties, reportFields inherited from class SimulationBaseClass
calcIdentifier, calculateSteadyState, timeFields inherited from class NamedBaseClass
name -
Constructor Summary
ConstructorsConstructorDescriptionReservoirTPsim(String name, SystemInterface reservoirFluid) Constructor for ReservoirTPsim. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldoutStream.Getter for the fieldprodPhaseName.getReserervourFluid.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.voidsetFlowRate(double flowRate, String flowUnit) Setter for the fieldflowRate.voidsetPressure(double reservoirPressure, String pUnit) Setter for the fieldpressure.voidsetProdPhaseName(String prodPhaseName) Setter for the fieldprodPhaseName.voidsetTemperature(double reservoirTemperature, String tUnit) Setter for the fieldtemperature.Methods inherited from class ProcessEquipmentBaseClass
copy, displayResult, equals, getConditionAnalysisMessage, getController, getEnergyStream, getEntropyProduction, getExergyChange, getMassBalance, getMassBalance, getMechanicalDesign, getMinimumFlow, getPressure, getPressure, getProperty, getReport_json, getResultTable, getSpecification, getTemperature, getTemperature, getThermoSystem, hashCode, initMechanicalDesign, isActive, isActive, isSetEnergyStream, reportResults, run_step, runConditionAnalysis, setController, setEnergyStream, setEnergyStream, setFlowValveController, setMinimumFlow, setPressure, setRegulatorOutSignal, setSpecification, setTemperature, solved, toJson, 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, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NamedInterface
getName, getTagName, setName, setTagNameMethods inherited from interface ProcessEquipmentInterface
getCapacityDuty, getCapacityMax, getExergyChange, getFluid, getRestCapacity, needRecalculation, validateSetupMethods inherited from interface SimulationInterface
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, run, run_step, runTransient, runTransient, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTime
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
reservoirFluid
-
outStream
-
pressure
private double pressure -
temperature
private double temperature -
flowRate
private double flowRate -
flowUnit
-
tUnit
-
pUnit
-
prodPhaseName
-
-
Constructor Details
-
ReservoirTPsim
Constructor for ReservoirTPsim.
- Parameters:
name- aStringobjectreservoirFluid- aSystemInterfaceobject
-
-
Method Details
-
getReserervourFluid
-
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Parameters:
id- UUID
-
getOutStream
Getter for the field
outStream.- Returns:
- a
StreamInterfaceobject
-
setPressure
-
setTemperature
-
getProdPhaseName
-
setProdPhaseName
-
setFlowRate
-