Class SimpleReservoir
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.equipment.ProcessEquipmentBaseClass
neqsim.process.equipment.reservoir.SimpleReservoir
- All Implemented Interfaces:
Serializable, Runnable, ProcessEquipmentInterface, SimulationInterface, NamedInterface
SimpleReservoir class.
- Version:
- $Id: $Id
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) double(package private) double(package private) double(package private) double(package private) double(package private) double(package private) double(package private) doubleprivate static final longSerialization version UID.(package private) SystemInterface(package private) doubleFields 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 TypeMethodDescriptionaddGasInjector(String name) addGasInjector.addGasProducer(String name) addGasProducer.addOilProducer(String name) addOilProducer.addWaterInjector(String name) addWaterInjector.addWaterProducer(String name) addWaterProducer.voiddisplayResult.getGasInjector(int i) Getter for the fieldgasInjector.doublegetGasInPlace(String unit) getGasInPlace.getGasProducer(int i) Getter for the fieldgasProducer.doublegetGasProductionTotal(String unit) Getter for the fieldgasProductionTotal.doublegetGasProdution(String unit) getGasProdution.doublegetLowPressureLimit(String unit) Getter for the fieldlowPressureLimit.doublegetOGIP.doublegetOilInPlace(String unit) getOilInPlace.getOilProducer(int i) Getter for the fieldoilProducer.getOilProducer(String name) Getter for the fieldoilProducer.doublegetOilProductionTotal(String unit) Getter for the fieldoilProductionTotal.doublegetOilProdution(String unit) getOilProdution.doublegetOOIP.doublegetProductionTotal(String unit) getProductionTotal.getReservoirFluid.doublegetTime()Getter for the fieldtime.getWaterInjector(int i) Getter for the fieldwaterInjector.getWaterProducer(int i) Getter for the fieldwaterProducer.doublegetWaterProdution(String unit) getWaterProdution.doubleGORprodution.static voidmain.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.voidrunTransient(double dt, UUID id) runTransientvoidsetLowPressureLimit(double value, String unit) Setter for the fieldlowPressureLimit.voidsetReservoirFluid(SystemInterface thermoSystem, double gasVolume, double oilVolume, double waterVolume) setReservoirFluid.Methods inherited from class ProcessEquipmentBaseClass
copy, 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, 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, increaseTime, isRunInSteps, run, run_step, runTransient, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTime
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
thermoSystem
SystemInterface thermoSystem -
oilVolume
double oilVolume -
gasVolume
double gasVolume -
waterVolume
double waterVolume -
gasProducer
-
oilProducer
-
gasInjector
-
waterInjector
-
waterProducer
-
gasProductionTotal
double gasProductionTotal -
oilProductionTotal
double oilProductionTotal -
OOIP
double OOIP -
OGIP
double OGIP -
reservoirVolume
double reservoirVolume -
lowPressureLimit
double lowPressureLimit
-
-
Constructor Details
-
SimpleReservoir
-
-
Method Details
-
getReservoirFluid
-
addGasProducer
addGasProducer.
- Parameters:
name- aStringobject- Returns:
- a
StreamInterfaceobject
-
addOilProducer
addOilProducer.
- Parameters:
name- aStringobject- Returns:
- a
StreamInterfaceobject
-
addWaterInjector
addWaterInjector.
- Parameters:
name- aStringobject- Returns:
- a
StreamInterfaceobject
-
addWaterProducer
addWaterProducer.
- Parameters:
name- aStringobject- Returns:
- a
StreamInterfaceobject
-
addGasInjector
addGasInjector.
- Parameters:
name- aStringobject- Returns:
- a
StreamInterfaceobject
-
getGasInPlace
-
getOilInPlace
-
getGasProducer
-
getOilProducer
-
getOilProducer
-
getWaterProducer
-
getWaterInjector
-
getGasInjector
-
setReservoirFluid
public void setReservoirFluid(SystemInterface thermoSystem, double gasVolume, double oilVolume, double waterVolume) setReservoirFluid.
- Parameters:
thermoSystem- aSystemInterfaceobjectgasVolume- a doubleoilVolume- a doublewaterVolume- a double
-
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Parameters:
id- UUID
-
GORprodution
public double GORprodution()GORprodution.
- Returns:
- a double
-
getGasProdution
-
getOilProdution
-
getWaterProdution
-
runTransient
runTransient
This method calculates thermodynamic and unit operations using difference equations if available and calculateSteadyState is true. Use setCalculateSteadyState to set the parameter. Sets calc identifier UUID.- Parameters:
dt- Delta time [s]id- Calculation identifier
-
displayResult
public void displayResult()displayResult.
- Specified by:
displayResultin interfaceProcessEquipmentInterface- Overrides:
displayResultin classProcessEquipmentBaseClass
-
main
-
getGasProductionTotal
-
getOilProductionTotal
-
getProductionTotal
-
getOOIP
-
getOGIP
-
getTime
public double getTime()Getter for the fieldtime.- Specified by:
getTimein interfaceSimulationInterface- Overrides:
getTimein classSimulationBaseClass- Returns:
- Value of property time.
-
setLowPressureLimit
-
getLowPressureLimit
-