Electromagnetic flowmeter
Electromagnetic (mag) flowmeter: flanged sensor tube with PTFE or rubber liner flared over the raised faces, stainless grounding rings with tabs and braided earth straps, coil housing and an integral Ex d transmitter on a junction neck. Face-to-face from the ISO 13359 short series; ports sit on the grounding ring faces.
Installation
Copies instruments/magnetic-flowmeter.tsx and the shared lib/ into src/components/deck-twin/. Needs three, @react-three/fiber and @react-three/drei. See installation for the manual route.
Usage
import { Canvas } from '@react-three/fiber'
import { OrbitControls } from '@react-three/drei'
import { Stage } from './components/deck-twin/lib/stage'
import { MagneticFlowmeter } from './components/deck-twin/instruments/magnetic-flowmeter'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<MagneticFlowmeter />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
nps | number (NPS, in) | null | |
rating | 150 | 300 | 600 | 900 | 1500 | 2500 | null | |
liner | "ptfe" | "rubber" | null | |
housing | "actuatorBlue" | "stainless" | "aluminium" | "equipmentPaintDark" | null | |
tag | string | null | |
...group | position, rotation, scale… |
P&ID
Inline box (or circle) on the line marked M, joined to an FT bubble. Some legends use a generic FE with "MAG" written beside it.
Only for conductive liquids (water, produced water, seawater, chemicals); a meter on a gas line is never a mag meter. A circle with M on a valve stem is a motor actuator, not a flowmeter.
npsratinglinerhousingtagTypical suppliers
Endress+Hauser. The geometry is generic and sized from public standards. It is not vendor CAD.
For agents
Machine-readable entry with props, ranges, defaults and ports:
Or fetch /r/magnetic-flowmeter.json, or copy a ready-made instruction:
Add the Deck Twin "Electromagnetic flowmeter" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add magnetic-flowmeter` (it copies the file and the shared lib into src/components/deck-twin/), then `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz info magnetic-flowmeter` for its props, ranges and ports. Render <MagneticFlowmeter /> inside a React Three Fiber <Canvas shadows>, wrapped in <Stage> from src/components/deck-twin/lib/stage. Set props from my data (metres, NPS in inches, ASME class) and leave the rest at defaults. Install three, @react-three/fiber, @react-three/drei and @types/three if they're missing. Full guide: https://decktwin.com/skill/SKILL.md