Magnetic level gauge

Magnetic (float) level gauge: stainless chamber with flanged side connections (ports upper and lower), blind-flanged top and bottom with vent and drain valves, and a bicolour flag indicator with graduated scale behind a window. Optional clamp-on magnetostrictive transmitter and up to three clamp-on level switches. The level prop sets the flags.

IEC 62828ASME B16.5API RP 551
Drag to orbit, scroll to zoom
Parameters
– m
–
–

Installation

$npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add magnetic-level-gauge

Copies instruments/magnetic-level-gauge.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 { MagneticLevelGauge } from './components/deck-twin/instruments/magnetic-level-gauge'

export default function Scene() {
  return (
    <Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
      <Stage>
        <MagneticLevelGauge />
      </Stage>
      <OrbitControls makeDefault />
    </Canvas>
  )
}

Props

PropTypeDefaultRange
lengthnumber (m)null0.4 – 6
npsnumber (NPS, in)null
chamberNpsnumber (NPS, in)null
rating150 | 300 | 600 | 900 | 1500 | 2500null
levelnumbernull0 – 1
transmitterbooleannull
switchesnumbernull0 – 3
housing"actuatorBlue" | "stainless" | "aluminium" | "equipmentPaintDark"null
tagstringnull
...groupposition, rotation, scale…

P&ID

P&ID symbol for magnetic-level-gauge

Tall narrow chamber beside the vessel with an upper and a lower side connection (isolation valves on each, vent on top, drain below), labelled with an LG or LI bubble.

tag LGISA LGISA LIISA 5.1 (field-mounted instrument bubble)

Same chamber with a transmitter strapped on is LG plus LT on one bridle (set transmitter). A plain glass (reflex / transparent) gauge is drawn the same and is also tagged LG; check the datasheet.

Level gauge specification form (ISA-TR20.00.01) fields and the props they set
Centre-to-centrelength
Process connection sizenps
Chamber sizechamberNps
Flange ratingrating
Clamp-on transmittertransmitter
Level switchesswitches
Tag numbertag

Typical suppliers

Magnetrol / Orion Instruments · Emerson (Rosemount). 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:

$npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz info magnetic-level-gauge

Or fetch /r/magnetic-level-gauge.json, or copy a ready-made instruction:

Add the Deck Twin "Magnetic level gauge" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add magnetic-level-gauge` (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-level-gauge` for its props, ranges and ports. Render <MagneticLevelGauge /> 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