Class TransientWellbore.TransientSnapshot
java.lang.Object
neqsim.process.equipment.pipeline.TransientWellbore.TransientSnapshot
- All Implemented Interfaces:
Serializable
- Enclosing class:
TransientWellbore
A snapshot of the wellbore state at a single time step. Contains depth-dependent profiles of
temperature, pressure, phase state, and gas phase compositions.
- Version:
- 1.0
- Author:
- neqsim
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal double[]Depth array in meters (from top = 0 to bottom = wellDepth).Gas phase composition at each depth: segment index to (component name to mole fraction).final double[]Gas phase mole fraction at each depth (0 = all liquid, 1 = all gas).final int[]Number of phases at each depth.final double[]Pressure array in bara at each depth.private static final longSerialization version UID.final double[]Temperature array in Kelvin at each depth.final doubleSimulation time in hours. -
Constructor Summary
ConstructorsConstructorDescriptionTransientSnapshot(double timeHours, int size) Constructor for TransientSnapshot. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGasComposition(int segmentIndex, String componentName, double moleFraction) Adds gas phase composition data for a segment.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
timeHours
public final double timeHoursSimulation time in hours. -
depths
public final double[] depthsDepth array in meters (from top = 0 to bottom = wellDepth). -
temperatures
public final double[] temperaturesTemperature array in Kelvin at each depth. -
pressures
public final double[] pressuresPressure array in bara at each depth. -
numberOfPhases
public final int[] numberOfPhasesNumber of phases at each depth. -
gasFraction
public final double[] gasFractionGas phase mole fraction at each depth (0 = all liquid, 1 = all gas). -
gasCompositions
-
-
Constructor Details
-
TransientSnapshot
public TransientSnapshot(double timeHours, int size) Constructor for TransientSnapshot.- Parameters:
timeHours- the simulation timesize- the number of depth points
-
-
Method Details
-
addGasComposition
Adds gas phase composition data for a segment.- Parameters:
segmentIndex- the segment indexcomponentName- the component namemoleFraction- the mole fraction in the gas phase
-