This subroutine defines the calculation method to perform the characterization,& based on the available experimental data. If the molecular weight data is experimental, define the mole fractions, molecular weights and densities directly from the input file. On the other hand, if the molecular weights are assumed, they are recalculated according to the methodology described by Martin et al and the molar fractions of the fluid are recalculated.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(FluidData), | intent(inout) | :: | fluid |
Derived type to save inlet or experimental information of fluid to be characterized. |
||
character(len=*), | intent(in) | :: | mw_source |
This variable indicates the source of the input data, that is, whether they are experimental or not. |
||
character(len=*), | intent(in), | optional | :: | method |
this option allows choose beetwen obtaining plus_mw or global_mw reported in the experimental information . |
|
type(FluidDataOut), | intent(inout) | :: | characterization |
Derive type variable to save results of characterization methodology. |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=pr), | public, | allocatable | :: | def_comp_moles(:) | |||
real(kind=pr), | public | :: | plus_moles | ||||
real(kind=pr), | public, | allocatable | :: | scn_moles(:) | |||
real(kind=pr), | public | :: | sum_def_comp_z_plus |
compositions sum from (define component +1) to (plus component) |
|||
real(kind=pr), | public | :: | total_moles |