dtypes Module


Uses

  • module~~dtypes~~UsesGraph module~dtypes dtypes module~constants constants module~dtypes->module~constants iso_fortran_env iso_fortran_env module~constants->iso_fortran_env

Used by

  • module~~dtypes~~UsedByGraph module~dtypes dtypes module~data_from_input data_from_input module~data_from_input->module~dtypes module~routines routines module~routines->module~dtypes module~routines->module~data_from_input module~pruebas pruebas module~pruebas->module~data_from_input

Derived Types

type, public ::  FluidData

Components

Type Visibility Attributes Name Initial
real(kind=pr), public, allocatable :: def_comp_mw(:)

set of corresponding molecular weights of defined components

integer, public :: def_comp_nc

number of defined components being considered in the oil

real(kind=pr), public, allocatable :: def_comp_w(:)

mass fractions of the defined compounds

real(kind=pr), public, allocatable :: def_comp_z(:)

set of corresponding mole fractions of defined components

character(len=15), public, allocatable :: def_components(:)

set of defined components being considered in the oil

character(len=:), public, allocatable :: filename
integer, public :: numbers_ps

number of pseudos in which the scn fractions grouped.

real(kind=pr), public :: plus_density

experimental density of the plus fraction

real(kind=pr), public :: plus_mw

molecular weight of residual fraction

real(kind=pr), public :: plus_w

mass fractions of the plus fraction

real(kind=pr), public :: plus_z

composition of residual fraction

real(kind=pr), public, allocatable :: product_z_mw_def_comp(:)

product between composition and molecular weight of defind components

real(kind=pr), public :: product_z_mw_plus

product between composition and molecular weight of residual fraction

real(kind=pr), public, allocatable :: product_z_mw_scn(:)

product between composition and molecular weight of scn fractions

integer, public, allocatable :: scn(:)

set of singles cuts being considered in the oil

real(kind=pr), public, allocatable :: scn_density(:)

set of corresponding densities of scn cuts

real(kind=pr), public, allocatable :: scn_mw(:)

set of corresponding molecular weights of scn cuts

integer, public :: scn_nc

number of single cuts being considered in the oil

integer, public :: scn_nc_ps

CN from which all SCN fractions will be lumped into the specified number of pseudos

character(len=15), public :: scn_plus

name of residual fraction

real(kind=pr), public, allocatable :: scn_w(:)

!! mass fractions of the scn-s compounds

real(kind=pr), public, allocatable :: scn_z(:)

set of corresponding mole fractions of scn cuts

real(kind=pr), public :: sum_z_mw_i

sum of the product between composition and molecular weight of the fluid’s compounds

real(kind=pr), public, allocatable :: w(:)

mass fractions of the fluid’s compounds

type, public ::  FluidDataOut

Components

Type Visibility Attributes Name Initial
real(kind=pr), public :: C

C constants which is used in equation

real(kind=pr), public :: a

output real variable. Slope of the best feasible regression line.

real(kind=pr), public :: a_60

A constant for Cmax60 line.

real(kind=pr), public :: a_blr

A constant for best linear regression line.

real(kind=pr), public :: a_d

ad constant which is used in equation for density.

real(kind=pr), public :: a_lim

A constant for limit feasible line.

real(kind=pr), public :: b

output real variable. Intercept of the best feasible regression line.

real(kind=pr), public :: b_60

B constant for Cmax60 line.

real(kind=pr), public :: b_blr

B constant for best linear regression line.

real(kind=pr), public :: b_d

bd constant which is used in equation for density.

real(kind=pr), public :: b_lim

B constant for limit feasible line.

integer, public :: c_max

output CN at which plus_z is reached, as the summation of single z(i) from the best linear distribution (blr)

integer, public :: c_max_60
integer, public :: c_max_blr
integer, public :: c_max_lim
real(kind=pr), public, allocatable :: carbon_number_plus(:)
integer, public :: i_last
integer, public :: last_C
real(kind=pr), public, allocatable :: log_scn_z(:)

set of corresponding mole fractions of scn cuts calculated

integer, public :: n_init
integer, public :: nc_plus

number of elements in the distribution of C20+

real(kind=pr), public, allocatable :: plus6_density(:)
real(kind=pr), public :: plus_mw

molecular weight of residual fraction

real(kind=pr), public :: plus_w
real(kind=pr), public :: plus_z

composition of residual fraction

real(kind=pr), public, allocatable :: plus_z_i(:)
real(kind=pr), public :: plus_zm
real(kind=pr), public, allocatable :: product_z_mw_plus_i(:)
real(kind=pr), public :: r2

output real variable. Square correlation coefficient.

real(kind=pr), public, allocatable :: scn_i(:)
real(kind=pr), public, allocatable :: scn_mw(:)

set of corresponding molecular weights of scn cuts

real(kind=pr), public, allocatable :: scn_z(:)

set of corresponding mole fractions of scn cuts calculated

real(kind=pr), public, allocatable :: scn_zm(:)
real(kind=pr), public :: volume_6plus_cal