describe metrics formula with cavets description
good_gas_<type>_<variant>, good_gas_status, good_gas_contract_status, good_gas_internal_statusIt’s gas flow accounted as eligible for recycling according to set of requirements.
types:
sp, contract, internal
good_gas_status, good_gas_contract_status, good_gas_internal_statusRenders binary values where 1 means that flow fulfils the conditions and 0 means that it’s not good gas flow. If value or threshold is unavailable yield true for condition check.
conditions:
AN_200A_IN_RANGE = 1 or front_oxygen < front_oxygen_sp for last 40sAN_200C_IN_RANGE = 1 or AN_1000C_IN_RANGE or front_moisture < front_moisture_spAN_200B_IN_RANGE = 1 or front_moisture < front_moisture_spfor front metrics checks please refer to front metrics
Flow input for each variant is corresponding process_flow_from_customer_scfm_<variant>. Each variant has different condition. If condition is true then entire flow is treated as good gas flow.
HRS18006
ft_100variant requiresFT_100 > 100
good_gas_sp_<variant>is equal to process_flow_from_customer_scfm_<variant> if and only if good_gas_status = 1
good_gas_contract_<variant>Are defined same as sp type but front_*_sp are replaced by values from contract available at grafana dashboard. Moreover *_IN_RANGE are ignored. Base flow value is process_flow_from_customer_scfm_<variant>
good_gas_internal_<variant>Implements checks as follows: front_* < max(front_*_sp, facility-contract-sp). Set of conditions are the same as for sp type.
all
*_IN_RANGEsensors are logical test defined by ops team on site. They take precedence overfront_metrics checks