Standard Cubic Meters, Actual Cubic Meters, and the Gas Total Nobody Agrees On
Pressure and temperature compensation for gas flow: which meters need it, the absolute-pressure trap, where the math belongs, and a failed P transmitter.
Articles
Field-oriented references for HMI/SCADA systems, industrial communication, alarms, tags, historians, and project delivery.
Pressure and temperature compensation for gas flow: which meters need it, the absolute-pressure trap, where the math belongs, and a failed P transmitter.
Building a strapping table into SCADA: circular-segment geometry, why 100 mm spacing is 40% wrong at 50 mm, NAMUR NE 43 fault currents that clamp to a plausible 0 L, OPC UA Part 4 deadband, and why a DP transmitter is really a mass gauge.
A level loop still cycling after two retunes is usually the valve. Reading stiction off PV/OP trends, proving it with a step test, and monitoring it.
Orifice DP goes as the square of flow, so someone takes the root — transmitter, PLC or SCADA. Do it twice, or skip the low-flow cutoff, and it lies.
Computing usage across a wrapping counter without inventing phantom flow: the IEC 61131-3 widths, one mod that covers signed and unsigned, IEEE 1815 IIN1.7 and Freeze and Clear, and an OPC UA Part 4 quality gate.
Running report-by-exception and change-of-state — DNP3 events, deadbands, heartbeats, integrity polls — without losing short events or stale values.
Held values, dropped quality codes and late samples inserted at arrival time each make a trend lie after an outage. Working out which one you have.
MQTT arrival order is not process order. Why the DUP flag misses the duplicates that hurt, Sparkplug's 8-bit seq wrap, and MQTT 5.0 fixes for stale state.
Shared subscriptions split an MQTT stream across workers — and will quietly halve your historian feed and scramble trend order if you point them wrong.
Estimate the real load behind site/# and contain it with MQTT 5.0: Retain Handling, shared subscriptions, Receive Maximum and SUBACK reason codes.
How historians hide communication gaps behind interpolated lines and held values, and the quality rules that keep bad data out of a shift report.
NodeIds regenerate, browse paths move, DisplayName is a label. Picking the reference your HMI and historian store so firmware doesn't blank a screen.
Choosing DataChangeFilter settings — absolute versus percent deadband, DataChangeTrigger, queue size — so a filter cuts noise, not real movement.
Repairing a historian gap with OPC UA HistoryRead: scoping the window, letting returnBounds handle edges, keeping Bad quality, and paging safely.
Recording calibration, manual mode and bypass windows as event records separate from the sampled stream, joined back by asset ID and time window.
Exception and periodic collection store different truths. Picking per tag so a 300 ms interlock survives, and proving the choice during commissioning.
MQTT 5.0 Content Type and User Property, Sparkplug B seq and rebirth, RFC 3339 offsets, and the retained-message trap — versioning edge telemetry payloads so consumers break loudly instead of quietly.
Historians key archive data to a point ID or a name string, so a rename can split a tag's history in two. What to verify before operators find the gap.
A failed transmitter pegs a tag at full scale for eleven hours. Correcting the record with an audit trail that survives review, raw sample intact.
HMI, historian, PLC log and alarm list stamp one event seconds apart. SourceTimestamp vs ServerTimestamp in OPC UA Part 4, DNP3 object groups 1 and 2, IIN1.4, and what an uncorrected crystal costs you per day.
The shift report says 1,738 good parts and the HMI says 1,742. Counter wrap at 18.2 hours, SEMI E30 TimeFormat, S6F23 RSDC, and why TIACK 0 proves nothing.
Averaging old process data hides trips and flattens peaks. Classifying tags, picking a method per class, and testing a purge job before production.
Why an MQTT edge gateway loses data during a WAN outage, and how to buffer with source timestamps, sequence numbers and a replay policy that holds.
Event frames pay off only if their boundaries hold. Where to take start and end triggers, what to capture as attributes, and frames that never close.
Where lot traceability breaks when built from equipment events: missing lot context, GEM event time, spool replay order, and split/merge genealogy.
A calculated tag quietly becomes an official number. Checking formula, quality rules, period boundaries and counter resets before reports depend on it.
A field walkthrough for analog scaling: ranges, engineering units, Modbus word order, NAMUR thresholds — so PLC, SCADA, HMI and historian agree.
How historian timestamps go wrong — clock drift, NTP versus PTP, OPC UA source time, late data, DST — and catching it before a report dispute does.
How sampling interval, publishing interval, queue size, deadband and the KeepAlive/Lifetime pair decide whether your client and historian see the process.
Store-and-forward hands you hours-old samples when a link recovers. Which timestamp wins, what a late value may overwrite, and how to mark it.
Renewing an OPC UA certificate: the UTC trap in notAfter, reading SAN and key length with openssl, UpdateCertificate and ApplyChanges from IEC 62541-12, and ten pass criteria run with forced values.
Picking historian deadbands and compression from the instrument and the process, not HMI decimal places, so trends keep movement without storing noise.
Laying out Sparkplug B group, edge node and device IDs — plus birth certificates, aliases and STATE — so a rename doesn't break every subscription.
A historian stores three fields per sample, not one. Why a trend goes flat during the event you are investigating, OPC UA Part 4 StatusCode and DataChangeFilter, and the storage number to run before you start.
Commissioning an OPC UA client means reading the revised values back: revisedSessionTimeout, revisedPublishingInterval, lifetimeCount, the 8192-byte buffer floor, and the top two bits of StatusCode — per OPC UA Part 4 and Part 6.
Trend screens that answer the operator's real question during an upset: grouping by loop, choosing scales, and drawing a comms gap as a gap.
A SCADA tag binds an address, a data type, a scaling and a quality code. Why a NAMUR NE 43 fault current reads as -2.5% on the screen, why a REAL totalizer stops counting at 16,777,216, and what OPC UA Part 8 separates EURange from InstrumentRange for.
Separating the four layers by ISA-95 level, the ISA-18.2 alarm definition and OPC UA StatusCode — and why the same equipment stop is recorded differently in each of them.
What SCADA does on top of a PLC, and the design numbers that are already written down: NAMUR NE 43's 3.6 mA, ISA-18.2's 150 alarms a day, ISA-101.01's four display levels, OPC UA Part 4 StatusCode, IEC 62443-3-3 SR 5.1.