pvtlib.metering.coriolis_flowmeters

MIT License

Copyright (c) 2025 Christian Hågenvik

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Functions

coriolis_dens_corr_pres(rho_meas, P_act, ...)

Correct Coriolis measured density for pressure effect.

coriolis_massflow_corr_pres(m_meas, P_act, ...)

Correct Coriolis measured mass flow for pressure effect.

coriolis_massflow_cut_off(m_meas, cut_off)

Apply a mass-flow cut-off to measured Coriolis flow [kg/h].

pvtlib.metering.coriolis_flowmeters.coriolis_dens_corr_pres(rho_meas, P_act, PCd, P_cal)[source]

Correct Coriolis measured density for pressure effect.

These equations are applicable for Emerson Micro Motion Coriolis flowmeters using process-pressure-effect values from the ELITE product data sheet (PDS). They can also be used for other Coriolis meters if the factors are aligned with the definitions below. Note that the Micro Motion datasheet provides values for the process-pressure effect on density, but the correction factor (PCd) has the opposite sign to correct for the effect.

Reference

Emerson: Product Data Sheet - Micro Motion ELITE Coriolis Flow and Density Meters. Product Data Sheet PS-00374, Rev AO December 2024 https://www.emerson.com/is/content/emerson/en/measurement-instrumentation/ technical/products/flow-coriolis/documents/doc-micro-motion-mmelite-pds- ps00374an.pdf

param rho_meas:

Measured density from Coriolis meter [kg/m3].

type rho_meas:

float

param P_act:

Actual process pressure [bara].

type P_act:

float

param PCd:

Density correction factor [kg/m3/bar].

type PCd:

float

param P_cal:

Meter calibration pressure [bara].

type P_cal:

float

returns:

float – Density corrected for pressure effect [kg/m3].

pvtlib.metering.coriolis_flowmeters.coriolis_massflow_corr_pres(m_meas, P_act, PCm, P_cal)[source]

Correct Coriolis measured mass flow for pressure effect.

These equations are applicable for Emerson Micro Motion Coriolis flowmeters using process-pressure-effect values from the ELITE product data sheet (PDS). They can also be used for other Coriolis meters if the factors are aligned with the definitions below. Note that the Micro Motion datasheet provides values for the process-pressure effect on mass flow, but the correction factor (PCm) has the opposite sign to correct for the effect.

Reference

Emerson: Product Data Sheet - Micro Motion ELITE Coriolis Flow and Density Meters. Product Data Sheet PS-00374, Rev AO December 2024 https://www.emerson.com/is/content/emerson/en/measurement-instrumentation/ technical/products/flow-coriolis/documents/doc-micro-motion-mmelite-pds- ps00374an.pdf

param m_meas:

Measured mass flow from Coriolis meter [kg/h].

type m_meas:

float

param P_act:

Actual process pressure [bara].

type P_act:

float

param PCm:

Mass-flow correction factor [%/bar].

type PCm:

float

param P_cal:

Meter calibration pressure [bara].

type P_cal:

float

returns:

float – Mass flow corrected for pressure effect [kg/h].

pvtlib.metering.coriolis_flowmeters.coriolis_massflow_cut_off(m_meas, cut_off)[source]

Apply a mass-flow cut-off to measured Coriolis flow [kg/h].