You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use measured total density (for example from a coriolis meter) to estimate a "measured" density of the dominant phase corrected for contamination,
440
+
Use measured total density (for example from a coriolis meter) to estimate a "measured" density of the dominant phase corrected for contamination,
441
441
i.e. the density with the contaminant phase removed.
442
442
The EOS density can be calculated from an equation of state, or from another source, as long as it represents the density of the dominant and contaminant phases.
443
443
444
+
If ContaminantVolP is zero, the function returns the measured_total_density.
445
+
444
446
Example of usage: What is the density of the oil phase if the measured density is 800 kg/m3 and the water fraction is 1vol%?
445
-
447
+
446
448
Parameters
447
449
----------
448
450
measured_total_density : float
@@ -456,6 +458,7 @@ def dominant_phase_corrected_density(measured_total_density, ContaminantVolP, Co
456
458
-------
457
459
Density_dominant_corr : float
458
460
Estimated density of the dominant phase, based on measured density, corrected for contaminant phase [kg/m3]
461
+
If ContaminantVolP is zero, returns measured_total_density.
459
462
460
463
'''
461
464
@@ -464,6 +467,8 @@ def dominant_phase_corrected_density(measured_total_density, ContaminantVolP, Co
464
467
# Check for division by zero error, in which the function will return nan
0 commit comments