porosity¶
petrophys.workflow.steps.porosity
- porosity(
- method='neutron_density',
- *,
- matrix='sandstone',
- matrix_density=None,
- matrix_neutron=None,
- matrix_slowness=None,
- fluid_density=1.0,
- fluid_slowness=189.0,
- clay_porosity=0.15,
- vcl_curve='VCL',
- hc_type='oil',
- name=None,
Total (
PHIT) and effective (PHIE) porosity.methodPHIT"density"PHID = (rho_ma - RHOB) / (rho_ma - rho_fl)"neutron_density"Adaptive combination of
PHIDand the matrix-corrected neutronPHIN(in crossover, their root-mean-square for gas andPHIDfor oil), aspetrophys.interpret()"neutron"PHIN = NPHI - nphi_ma"sonic"PHISfrom the Wyllie time averagePHIE = PHIT - VCL * clay_porosity. The component curves (PHID,PHIN,PHIS) are written too. Usesdensity_porosity(),neutron_porosity(),total_porosity(),wyllie_time_average()andeffective_porosity().- Parameters:
method ({"density", "neutron_density", "neutron", "sonic"}, default "neutron_density") – Porosity log(s) to use.
matrix (str, default "sandstone") – Mineral whose endpoints are used unless overridden, e.g.
"limestone"or"dolomite"; seepetrophys.model.constants.MatrixProperties.names().matrix_density (float, optional) – Matrix density, g/cm3 (density methods). Defaults to the mineral’s apparent log density, which for evaporites differs from the grain density (
get_log_density()).matrix_neutron (float, optional) – Matrix neutron porosity, v/v (neutron methods).
matrix_slowness (float, optional) – Matrix slowness, us/ft (sonic).
fluid_density (float, default 1.0) – Pore-fluid density, g/cm3.
fluid_slowness (float, default 189.0) – Pore-fluid slowness, us/ft.
clay_porosity (float, default 0.15) – Clay-bound porosity removed per unit clay volume, v/v.
vcl_curve (str or None, default "VCL") – Clay volume curve for the
PHIEcorrection; None writesPHIE = PHIT.hc_type ({"oil", "gas"}, default "oil") – Hydrocarbon type. Where
PHID > PHIN + 0.05(crossover),"neutron_density"takesPHIT = sqrt((PHID^2 + PHIN^2) / 2)(Gaymard and Poupon, 1968) for gas andPHIT = PHIDfor oil, whose crossover comes from the matrix or shale endpoints rather than the fluid.name (str, optional) – Step name; defaults to
"porosity".
- Returns:
Produces
PHITandPHIE(v/v) and the component curve(s).- Return type:
Examples
>>> from petrophys.workflow import steps >>> step = steps.porosity(method="density", matrix_density=2.65) >>> step.requires, list(step.produces) (('RHOB', 'VCL'), ['PHID', 'PHIT', 'PHIE'])