Class FlowSetter
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.equipment.ProcessEquipmentBaseClass
neqsim.process.equipment.TwoPortEquipment
neqsim.process.equipment.util.FlowSetter
- All Implemented Interfaces:
Serializable, Runnable, ProcessEquipmentInterface, TwoPortInterface, SimulationInterface, NamedInterface
FlowSetter class.
- Version:
- $Id: $Id
- Author:
- esol
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate static final org.apache.logging.log4j.Loggerprivate double(package private) double[](package private) ProcessSystemprivate static final longSerialization version UID.(package private) double[](package private) String(package private) String(package private) String(package private) String(package private) Stringprivate doubleFields inherited from class TwoPortEquipment
inStream, outStreamFields 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 TypeMethodDescriptioncreateReferenceProcess(StreamInterface feedStream) createReferenceProcess.doublegetGasFlowRate(String flowUnit) Get getGasFlowRatedoublegetOilFlowRate(String flowUnit) Get getOilFlowRateGetter for the fieldreferenceProcess.doublegetWaterFlowRate(String flowUnit) Get getWaterFlowRatevoidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.voidsetGasFlowRate(double flowRate, String flowUnit) Get setGasFlowRatevoidsetInletStream(StreamInterface inletStream) Set inlet Stream of twoport.voidsetOilFlowRate(double flowRate, String flowUnit) Get setOilFlowRatevoidsetSeparationPT(double[] pressure, String unitP, double[] temperature, String unitT) setSeparationPT.voidsetWaterFlowRate(double flowRate, String flowUnit) Get setWaterFlowRateMethods inherited from class TwoPortEquipment
getInletPressure, getInletStream, getInletTemperature, getMassBalance, getOutletPressure, getOutletStream, getOutletTemperature, setInletPressure, setInletTemperature, setOutletPressure, setOutletStream, setOutletTemperature, toJson, toJson, validateSetupMethods inherited from class ProcessEquipmentBaseClass
copy, displayResult, equals, getConditionAnalysisMessage, getController, getEnergyStream, getEntropyProduction, getExergyChange, 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, 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 NamedInterface
getName, getTagName, setName, setTagNameMethods inherited from interface ProcessEquipmentInterface
getCapacityDuty, getCapacityMax, getExergyChange, getFluid, getRestCapacity, needRecalculationMethods inherited from interface SimulationInterface
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, run, run_step, runTransient, runTransient, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTimeMethods inherited from interface TwoPortInterface
getInStream, getOutStream
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
logger
private static final org.apache.logging.log4j.Logger logger -
pressure
double[] pressure -
temperature
double[] temperature -
unitT
String unitT -
unitP
String unitP -
gasFlowRate
private double gasFlowRate -
oilFlowRate
private double oilFlowRate -
waterFlowRate
private double waterFlowRate -
unitGasFlowRate
String unitGasFlowRate -
unitOilFlowRate
String unitOilFlowRate -
unitWaterFlowRate
String unitWaterFlowRate -
referenceProcess
ProcessSystem referenceProcess
-
-
Constructor Details
-
FlowSetter
Constructor for FlowSetter.
- Parameters:
name- aStringobjectstream- aStreamInterfaceobject
-
-
Method Details
-
setInletStream
Set inlet Stream of twoport.Setter for the field
inletStream.- Specified by:
setInletStreamin interfaceTwoPortInterface- Overrides:
setInletStreamin classTwoPortEquipment- Parameters:
inletStream- value to set
-
setGasFlowRate
Get setGasFlowRate
- Parameters:
flowRate- flow rateflowUnit- Supported units are Sm3/sec, Sm3/hr, Sm3/day, MSm3/day
-
getGasFlowRate
Get getGasFlowRate
- Parameters:
flowUnit- Supported units are Sm3/sec, Sm3/hr, Sm3/day, MSm3/day- Returns:
- gas flow rate in unit sm3/sec
-
setOilFlowRate
Get setOilFlowRate
- Parameters:
flowRate- flow rateflowUnit- Supported units are m3/sec, m3/hr, m3/day
-
getOilFlowRate
Get getOilFlowRate
- Parameters:
flowUnit- Supported units are m3/sec, m3/hr, m3/day- Returns:
- oil flow rate in unit m3/sec
-
setWaterFlowRate
Get setWaterFlowRate
- Parameters:
flowRate- flow rateflowUnit- Supported units are m3/sec, m3/hr, m3/day
-
getWaterFlowRate
Get getWaterFlowRate
- Parameters:
flowUnit- Supported units are m3/sec, m3/hr, m3/day- Returns:
- water flow rate in unit m3/sec
-
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Parameters:
id- UUID
-
createReferenceProcess
createReferenceProcess.
- Parameters:
feedStream- aStreamInterfaceobject- Returns:
- a
ProcessSystemobject
-
getReferenceProcess
Getter for the field
referenceProcess.- Returns:
- a
ProcessSystemobject
-
setSeparationPT
-