Pharmaceutical-manufacturing edition of iaiops — GMP drug/biologics plants as a distinct vertical from generic buildings and municipal water. BACnet/IP BMS+EMS (cleanroom pressure cascade, temperature/RH), Modbus (PW/WFI skids, stills, EDI, analysers), HART-IP (conductivity / TOC / level transmitters), OPC-UA (DCS, bioreactors, plant SCADA), plus the cross-protocol brain. Three signature checks: cleanroom_pressure_cascade (EU GMP Annex 1 cascade, door by door), cleanroom_particle_check and pharma_water_check (USP <645> stage-1 procedure). Use when the task mentions pharma, 制药, 药厂, GMP, cleanroom / 洁净室 / 洁净区, Annex 1, 压差梯度, pressure cascade, grade A/B/C/D, 尘埃粒子 / particle count, EMS / 环境监测, PW / WFI / 纯化水 / 注射用水, TOC, 电导率, conductivity, bioreactor / 生物反应器, 冻干机 / lyophilizer, 灌装线 / filling line, CSV, IQ/OQ, Annex 11, Part 11, or 数据完整性 / ALCOA. Read-first; this edition's tool surface is read-only.
Coding
iaiops-clinical
Try itClinical-facility edition of iaiops — hospital / healthcare facilities as a distinct vertical from generic building management, with patient-safety framing. BACnet/IP BMS (isolation-room pressurization + medical-gas source monitoring), Modbus (medical-gas alarm panels / energy meters), OPC-UA (plant SCADA), plus the cross-protocol brain. Two signature safety checks: isolation_room_check (ASHRAE 170 / CDC negative/positive pressure) and medical_gas_check (NFPA 99 / HTM 02-01 O2 / medical air / vacuum source pressures). Use when the task mentions hospital, 医院, healthcare facility, clinical, 医疗设施, isolation room / 隔离病房 / 负压病房 / AII / PE, operating room / OR / 手术室, ICU, medical gas / 医用气体 / 医疗气体, oxygen / 氧气 / medical vacuum / 医用真空, or NFPA 99. Read-first; this edition's tool surface is read-only.
What it does
Clinical-facility edition of iaiops — hospital / healthcare facilities as a distinct vertical from generic building management, with patient-safety framing. BACnet/IP BMS (isolation-room pressurization + medical-gas source monitoring), Modbus (medical-gas alarm panels / energy meters), OPC-UA (plant SCADA), plus the cross-protocol brain. Two signature safety checks: isolation_room_check (ASHRAE 170 / CDC negative/positive pressure) and medical_gas_check (NFPA 99 / HTM 02-01 O2 / medical air / vacuum source pressures). Use when the task mentions hospital, 医院, healthcare facility, clinical, 医疗设施, isolation room / 隔离病房 / 负压病房 / AII / PE, operating room / OR / 手术室, ICU, medical gas / 医用气体 / 医疗气体, oxygen / 氧气 / medical vacuum / 医用真空, or NFPA 99. Read-first; this edition's tool surface is read-only.
The skill document
iaiops-clinical — 医疗设施 edition(BACnet + Modbus + OPC-UA + 脑)
启动:IAIOPS_MCP=clinical / iaiops-mcp-clinical(= bacnet + modbus + opcua + 脑;
等价显式写法 IAIOPS_MCP=bacnet,modbus,opcua)。BACnet 需 extra:
pip install iaiops[bacnet]。典型现场:楼宇/暖通/隔离房压力走 BACnet BMS,医用气体
报警屏/表计走 Modbus,全院 SCADA 走 OPC-UA。
为什么单列 edition:医院设施科的关注点是患者安全(隔离房压力、医用气体), 买家/合规(NFPA 99、感控)与普通楼宇物业不同 —— 所以从
iaiops-building升格为独立 edition。工具复用同一套楼宇/BACnet + 脑,叠加两个临床安全检查。
工具
临床安全检查(healthcare-facility;纯分析、只读、患者安全导向)
isolation_room_check— 隔离病房压差合规(ASHRAE 170 / CDC:空气传染隔离 AII 负压、 保护性环境 PE 正压,≥2.5 Pa)。检出 reversed(反向,可上报安全事件)/breach/low_margin, worst-first,每项引用读数。读数来自bacnet_read_points的压差 AI 点或历史库。medical_gas_check— 医用气体/真空源压力合规(NFPA 99 / HTM 02-01:O2/医用空气/N2O ~345–380 kPa、医用真空须够深)。检出 low_pressure / high_pressure / insufficient_vacuum / critical,worst-first,引用数值。读数来自 BACnet AI 点或气体报警屏。or_environment_check— 手术室通风合规(ASHRAE 170 Table 7.1:温度 20–24°C、相对湿度 20–60%、换气 ≥20 ACH)。逐参数越界即 breach,worst-first,引用数值。读数来自 BACnet/BMS。
BACnet/IP(read-first;BMS / 暖通 / 压力 / 气体点)
bacnet_discover— Who-Is:本地 BACnet/IP 网上的设备bacnet_object_list— 设备的 object/point 列表bacnet_read_property— 单对象属性(默认 presentValue)bacnet_read_points— 所有 analog/binary/multistate 点的 presentValue(压差/气体压力快照)bacnet_cov_subscribe— 单对象有界 Change-of-Value 捕获bacnet_read_trend_log— 读设备 TrendLog 缓冲记录bacnet_write_property— [WRITE][HIGH][MOC] 写单对象属性(默认dry_run=True+ 双确认)
Modbus-TCP / RTU(只读;医用气体报警屏、能耗表)
modbus_read_holdingmodbus_read_inputmodbus_read_coilsmodbus_read_discretemodbus_detect_byte_order— 字节/字序自动探测modbus_list_templates/modbus_apply_template— 厂商寄存器模板 → 命名 tagmodbus_health_summary— 寄存器 vs 阈值分类
OPC-UA(只读;全院 SCADA / PLC 网关)
opcua_server_info/opcua_browse/opcua_read_node/opcua_read_manyopcua_subscribe_sampleopcua_read_alarmsopcua_alarm_events(A&C 带时间戳)opcua_read_history(HDA)opcua_diagnose_connection— 连接失败归因;opcua_discover_tags语义资产建模;opcua_health_summary阈值分类;opcua_anomaly_scan有界统计异常扫描
跨协议脑(永远随 server 暴露)
- 诊断:
diagnose_dataflowdowntime_root_causedowntime_root_cause_livedowntime_triagelearn_cause_weightsrca_corpus_from_maintenancehistorian_healthalarm_bad_actorstag_healthsubscription_healthheartbeat_healthalarm_flood_analysisalarm_cascadealarm_rationalization_worksheet - 预测维护:
pdm_forecast—— 制冷/空压/真空泵趋势 + 到限时间 - 数据质量:
data_quality_scorecarddata_quality_fleet_rollup - 分析:
oee_computedowntime_eventsoee_multidimmonitor_changes - 资产:
asset_inventorycross_protocol_asset_modeladopt_alias_mapdiff_alias_map - 基线:
baseline_learnbaseline_checkbaseline_record_changebaseline_status - 合规/信创:
compliance_mappingcompliance_frameworkscompliance_dengbao_levelscompliance_reportcompliance_evidence_bundlehistorian_pushexport_datahistorian_queryhistorian_coveragestream_publishstream_publish_eventrca_narratefleet_statusfleet_incidents - 程序解读:
plc_program_outlineplc_program_xrefplc_program_sectionplc_program_visibility - 元:
protocols_supported
Workflows
- Doctor-first:
protocols_supported→iaiops doctor→ BACnet 先bacnet_discover。 - 患者安全巡检:
bacnet_read_points读隔离房压差 AI 点 →isolation_room_check; 读医用气体源压力点 →medical_gas_check。两者 worst-first,reversed/critical优先处置。判定仅为结构性分析,现场 NFPA 99 报警屏/感控为准。 - 停机/告警:设施设备停机用
downtime_triage;制冷/真空泵劣化用pdm_forecast。 - MOC 写:本 edition 读优先;
bacnet_write_property为唯一写工具,统一走 MOC:risk=HIGH+ 默认dry_run=True+ 改前值 undo +iaiops approve具名审批双确认。 绝不对生命安全相关的暖通/气体系统未经授权下发。
支持版本矩阵(内部 HLD §8,设计文档不随本仓发布;待核实 不得当既成事实)
| 协议 | 库(pin) | 规范/版本 | 覆盖 | 传输 | 自测 |
|---|---|---|---|---|---|
| BACnet/IP | BAC0>=2023.6,<2026(extra,over bacpypes3) | BACnet/IP(read + 单点写) | BMS/暖通/压力/气体点 | UDP/47808 | ⚠️ mock;真 BMS 待核实 |
| Modbus-TCP | pymodbus>=3.5,<4 | App 1.1b3;FC 1/2/3/4/5/6/15/16 | 气体报警屏/表计/任意从站 | TCP/502 | ✅ |
| Modbus-RTU | pymodbus>=3.5,<4 + pyserial>=3.5 | Modbus serial (RTU) | 串口从站/表计 | RS-485/serial | ✅ socat PTY;物理 RS-485 待核实 |
| OPC-UA | asyncua>=2.0,<3 | OPC UA 1.0x(DA+HA+AC 子集) | 全院 SCADA / PLC 网关 | opc.tcp | ✅ mock+HDA |
Related skills
Building edition of iaiops — facility / HVAC / BMS / 厂务 over BACnet/IP (ASHRAE 135): Who-Is discovery, object/point lists, presentValue snapshots, COV capture, TrendLog reads, one MOC-gated property write; plus Modbus-TCP/RTU for meters/chillers and optional plain MQTT for IoT sensors, with the cross-protocol brain. Use when the task mentions BACnet, BACnet-IP, HVAC, AHU, chiller, VAV, BMS, building automation, facility management, 厂务, 楼宇自控, Who-Is, presentValue, or TrendLog; also IO-Link masters for smart building sensors (JSON interface, read-only), and the vendor supervisory-controller REST layer above BACnet (Metasys/OpenBlue, Niagara/oBIX) for point/alarm/trend reads and one MOC-gated command. Read-first, MOC-gated writes.
Process-industry edition of iaiops — chemical / pharma / food & beverage / oil & gas plants: HART-IP process instrumentation (transmitters, valve positioners, loop current), OPC-UA (DCS / gateway read), Modbus-TCP/RTU (skids, analyzers), optional MQTT/Sparkplug B UNS, plus the cross-protocol brain (downtime root-cause, data quality, OEE). Use when the task mentions HART, HART-IP, transmitter, 变送器, valve positioner, process instrumentation, PV/SV/TV/QV, loop current, burst mode, DCS tap, or a process plant. Read-first, MOC-gated writes.
Water-treatment edition of iaiops — waterworks / wastewater plants / pump stations: Modbus-TCP/RTU (dosing skids, analyzers, flow meters), OPC-UA (plant SCADA / PLC read), HART-IP process instrumentation (pH, turbidity, conductivity, level, flow transmitters), plus the cross-protocol brain (downtime root-cause, data quality watchdog, OEE). Use when the task mentions water treatment, 水处理, 水厂, 污水, pH, 浊度, turbidity, 电导率, conductivity, dissolved oxygen, 加药, dosing pump, 泵站, pump station, aeration / 曝气, or lift station. Read-first; this edition's tool surface is read-only.
Vendor-neutral, governed industrial/OT data tap + intelligent troubleshooting. Read (and, gated, write) PLCs, controllers, machine tools and IIoT brokers over OPC-UA, Modbus-TCP, Siemens S7comm, Mitsubishi MC, Omron FINS, MTConnect, MQTT/Sparkplug B, Allen-Bradley EtherNet/IP, EtherCAT (pysoem/SOEM), SECS/GEM (semiconductor / display fab equipment over HSMS), PROFINET (DCP discovery), the building edition (BACnet/IP), and Phoenix Contact PLCnext vPLC — plus cross-protocol diagnostics ("no-data" dataflow diagnosis, OPC-UA connection self-diagnosis, subscription health, ISA-18.2 alarm bad-actors, tag/historian health, and the AI downtime root-cause copilot) and analytics (OEE/downtime, asset inventory, OPC-UA HDA, change-of-value). Use when the task names any industrial protocol, a PLC/SCADA/HMI/historian/CNC/RTU/IED, a semiconductor/display fab or SECS/GEM equipment, an electrical substation, an opc.tcp:// or mqtt:// endpoint, OEE/downtime, downtime root-cause, or OT asset inventory. Ro
Factory edition of iaiops — discrete-manufacturing lines: OPC-UA, Modbus-TCP/RTU, Siemens S7comm (S7-300/400/1200/1500), Mitsubishi MC/MELSEC, Omron FINS (CS/CJ/CP/NX), Allen-Bradley EtherNet/IP (ControlLogix/CompactLogix), EtherCAT (CoE/SOEM), PROFINET (DCP discovery), MTConnect (CNC machine tools), IO-Link (master JSON — sensor-level visibility), MQTT/Sparkplug B/UNS, plus the cross-protocol brain (downtime root-cause, OEE, asset inventory). Use for PLC, CNC, servo/drive bus, name-of-station, tag browse, Unified Namespace, or production-line troubleshooting tasks. Read-first, MOC-gated writes. Also covers Phoenix Contact PLCnext vPLC (via its built-in OPC-UA + Modbus servers).