This page contains the full reference to constants available for ALFAsim-SDK API.
CompressorSpeedType
An enumeration.
ConstantSpeed
SpeedCurve
CorrelationPackage
Glaso
Lasater
Standing
VazquezBeggs
CorrelationPackageType
Alfasim
Classical
ISDBTests
EmulsionModelType
Options for emulsion properties calculation.
Boxall2012
Brauner2001
Brinkman1952
Brinkman1952AndYeh1964
Hinze1955
ModelDefault
Mooney1951a
Mooney1951b
NoModel
Sleicher1962
Taylor1932
EnergyModel
Do not rely on the value of this enum, it is used exclusively for backward compatibility
GlobalModel
LayersModel
EnergyModelPrimaryVariable
Enthalpy
Temperature
EquationOfStateType
PengRobinson
SoaveRedlichKwong
EvaluationStrategyType
Implicit
NewtonExplicit
TimeExplicit
FlashModel
HydrocarbonAndWater
HydrocarbonOnly
FlowDirection
Backward
Forward
HydrodynamicModelType
Informs which base Hydrodynamic model is being used, without any modification from plugins:
TwoFields is valid only for the slug/regime capturing
Two phase (gas and oil) with two fields (continuous gas and continuous oil) using Regime Capturing strategy.
Two phase (gas and oil) with four fields (continuous gas, continuous oil, dispersed gas bubble, and dispersed oil droplet).
Three phase (gas, oil, and water) with five fields (continuous gas, continuous oil, continuous water, dispersed gas bubble, and dispersed liquid droplet). Water does not disperse in any other phase
Three phase (gas, oil, and water) with seven fields (continuous gas, continuous oil, continuous water, gas in oil, gas in water, oil in gas, and water in gas. There is no dispersion of oil in water and water in oil.
Full three phase gas oil water model. Three continuous fields and six dispersed fields.
FiveFieldsCO2
FiveFieldsSolid
FiveFieldsWater
FourFields
ThreeLayersGasOilWater
ThreeLayersNineFieldsGasOilWater
ThreeLayersNoBubbleGasOilWater
ThreeLayersSevenFieldsGasOilWater
ThreeLayersWaterWithCO2
TwoFields
InitialConditionStrategyType
Constant
Restart
SteadyState
InterpolationType
Linear
Quadratic
MassInflowSplitType
PvtUserGorWc is currently only used for GenKey
ConstantMassFraction
ConstantVolumeFraction
Pvt
PvtUserGlrWc
PvtUserGorWc
MassSourceType
AllVolumetricFlowRates
FlowRateGasGorWc
FlowRateOilGorWc
FlowRateWaterGorWc
MassFlowRates
TotalMassFlowRatePvtSplit
MaterialType
Fluid
Solid
NodeCellType
Internal
MassSource
Pressure
Separator
NonlinearSolverType
AlfasimQuasiNewton
NewtonBacktracking
NewtonBasic
OutputAttachmentLocation
Output Attachment Location will tell the location in which this attachment’s data should be retrieved from.
Annulus
Main
PVTCompositionalViscosityModel
CorrespondingStatesPrinciple
LohrenzBrayClark
PipeEnvironmentHeatTransferCoefficientModelType
Overall
WallsAndAir
WallsAndEnvironment
WallsAndWater
PipeThermalModelType
AdiabaticWalls
Transient
PipeThermalPositionInput
Md
Tvd
PumpType
ConstantPressure
TableInterpolation
SeparatorGeometryType
HorizontalCylinder
Sphere
VerticalCylinder
SimulationModeType
Default
Robust
SimulationRegimeType
SolidsModelType
Informs which solid model should be used:
Without slip velocity and slurry viscosity
Employs the equilibrium slip velocity model and the Mills (1985) effective dynamic viscosity expression.
This model is more appropriate to use when the solid phase has properties similar to or equal to hydrate. It was fitted by Qin et al. (2018) for hydrates.
Employs the equilibrium slip velocity model and the Thomas (1965) effective dynamic viscosity expression.
Mills1985Equilibrium
Santamaria2010Equilibrium
Thomas1965Equilibrium
SurfaceTensionType
Leechien
Schechterguo
Weinaugkatz
TableInputType
Indicates the semantics of a position field
vertical_position: Interpolation will be calculated in relation to the y-axis horizontal_position: Interpolation will be calculated in relation to the x-axis length: Interpolation will be calculated in relation to the pipeline trajectory
horizontal_position
length
vertical_position
TracerModelType
Compositional
Global
ValveOpeningType
ConstantOpening
ValveType
CheckValve
ChokeValveWithFlowCoefficient
PerkinsValve
WellConnectionPort
Available ports for connecting to a Well node.
LeftAnnulus
RightAnnulus
Top
WellIndexPhaseType
Gas
Liquid
Oil
Water
EXTRAS_REQUIRED_VERSION_KEY
The dict key which identifies the required version of alfasim-sdk for a given plugin
GAS_LAYER
Constant to identify the gas layer
GAS_PHASE
Constant to identify the gas phase
OIL_LAYER
Constant to identify the oil layer
OIL_PHASE
Constant to identify the oil phase
WATER_LAYER
Constant to identify the water layer
WATER_PHASE
Constant to identify the water phase