Class GORfitter
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.equipment.ProcessEquipmentBaseClass
neqsim.process.equipment.TwoPortEquipment
neqsim.process.equipment.util.GORfitter
- All Implemented Interfaces:
Serializable, Runnable, ProcessEquipmentInterface, TwoPortInterface, SimulationInterface, NamedInterface
GORfitter class.
- Version:
- $Id: $Id
- Author:
- asmund
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate doubleprivate double(package private) static org.apache.logging.log4j.LoggerLogger object for class.(package private) doubleprivate Stringprivate static final longSerialization version UID.(package private) double(package private) String(package private) StringFields 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 TypeMethodDescriptiondoublegetGFV()getGFV.doublegetGOR()getGOR.doubleGetter for the fieldpressure.Getter for the fieldreferenceConditions.doubleGetter for the fieldtemperature.booleanisFitAsGVF.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.voidsetFitAsGVF(boolean fitAsGVF) Setter for the fieldfitAsGVF.voidsetGOR(double gOR) setGOR.voidsetGVF(double gvf) setGVF.voidsetInletStream(StreamInterface inletStream) Set inlet Stream of twoport.voidsetPressure(double pressure, String unitP) Setter for the fieldpressure.voidsetReferenceConditions(String referenceConditions) Setter for the fieldreferenceConditions.voidsetTemperature(double temperature, String unitT) Setter for the fieldtemperature.Methods 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, getProperty, getReport_json, getResultTable, getSpecification, 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
static org.apache.logging.log4j.Logger loggerLogger object for class. -
pressure
double pressure -
temperature
double temperature -
referenceConditions
-
fitAsGVF
private boolean fitAsGVF -
GOR
private double GOR -
GVF
private double GVF -
unitT
String unitT -
unitP
String unitP
-
-
Constructor Details
-
GORfitter
Constructor for GORfitter.
- Parameters:
name- aStringobjectstream- aStreamInterfaceobject
-
-
Method Details
-
getGFV
public double getGFV()getGFV.
- Returns:
- a double
-
setInletStream
Set inlet Stream of twoport.Setter for the field
inletStream.- Specified by:
setInletStreamin interfaceTwoPortInterface- Overrides:
setInletStreamin classTwoPortEquipment- Parameters:
inletStream- value to set
-
getPressure
public double getPressure()Getter for the field
pressure.- Specified by:
getPressurein interfaceProcessEquipmentInterface- Overrides:
getPressurein classProcessEquipmentBaseClass- Returns:
- Pressure in bara
-
setPressure
-
getTemperature
public double getTemperature()Getter for the field
temperature.- Specified by:
getTemperaturein interfaceProcessEquipmentInterface- Overrides:
getTemperaturein classProcessEquipmentBaseClass- Returns:
- a double
-
setTemperature
-
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Parameters:
id- UUID
-
getGOR
public double getGOR()getGOR.
- Returns:
- a double
-
setGOR
public void setGOR(double gOR) setGOR.
- Parameters:
gOR- a double
-
setGVF
public void setGVF(double gvf) setGVF.
- Parameters:
gvf- a double
-
getReferenceConditions
Getter for the field
referenceConditions.- Returns:
- the referenceConditions
-
setReferenceConditions
Setter for the field
referenceConditions.- Parameters:
referenceConditions- the referenceConditions to set
-
isFitAsGVF
public boolean isFitAsGVF()isFitAsGVF.
- Returns:
- the fitAsGVF
-
setFitAsGVF
public void setFitAsGVF(boolean fitAsGVF) Setter for the field
fitAsGVF.- Parameters:
fitAsGVF- the fitAsGVF to set
-