{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "gas-turbine-compressor",
  "type": "registry:component",
  "title": "Gas-turbine-driven compressor train",
  "description": "Mechanical-drive train: a two-shaft gas turbine in an acoustic enclosure (filter house with weather hoods and filter stages, exhaust silencer and stack, fuel gas skid, lube console with fin-fan cooler, internal monorail) driving an API 617 barrel or horizontally split centrifugal compressor through a guarded coupling, with anti-surge valve, suction strainer and dry gas seal panel. A preset of `centrifugal-compressor` with the gas-turbine driver.",
  "dependencies": [
    "three",
    "@react-three/fiber",
    "@react-three/drei"
  ],
  "registryDependencies": [
    "https://deck-twin-library.demoareeb.workers.dev/r/core.json",
    "https://deck-twin-library.demoareeb.workers.dev/r/centrifugal-compressor.json"
  ],
  "files": [
    {
      "path": "rotating/gas-turbine-compressor.tsx",
      "type": "registry:file",
      "target": "components/deck-twin/rotating/gas-turbine-compressor.tsx",
      "content": "// Gas-turbine-driven centrifugal compressor train (API 616 driver, API 617 compressor): the centrifugal-compressor package with a two-shaft GT in its own enclosure.\nimport type { GroupProps } from '../lib/mesh'\nimport type { Port } from '../lib/ports'\nimport type { Rating } from '../lib/standards'\nimport { CentrifugalCompressor, ports as trainPorts } from './centrifugal-compressor'\n\nexport interface GasTurbineCompressorProps {\n  suctionNps?: number\n  dischargeNps?: number\n  rating?: Rating\n  /** turbine shaft power, MW */\n  mw?: number\n  casing?: 'barrel' | 'split'\n  nozzles?: 'up' | 'down'\n  /** leave out the +Z enclosure wall */\n  cutaway?: boolean\n  doorsOpen?: boolean\n  tag?: string\n  running?: boolean\n}\n\nexport const defaults = {\n  suctionNps: 16,\n  dischargeNps: 12,\n  rating: 600 as Rating,\n  mw: 12,\n  casing: 'barrel' as 'barrel' | 'split',\n  nozzles: 'up' as 'up' | 'down',\n  cutaway: false,\n  doorsOpen: false,\n  tag: 'K-2300',\n  running: true,\n}\n\nexport function ports(p: GasTurbineCompressorProps = {}): Port[] {\n  return trainPorts({ ...defaults, ...p, driver: 'gas-turbine' })\n}\n\nexport function GasTurbineCompressor(props: GasTurbineCompressorProps & GroupProps) {\n  return <CentrifugalCompressor {...defaults} {...props} driver=\"gas-turbine\" />\n}\n\nexport default GasTurbineCompressor\n"
    }
  ],
  "categories": [
    "rotating"
  ],
  "meta": {
    "export": "GasTurbineCompressor",
    "anchor": "base",
    "standards": [
      "API 616",
      "API 617",
      "API 614",
      "API 692",
      "API 671",
      "ASME B16.5"
    ]
  }
}