Skip to content
Back to search

process-sim-bridge

H&MB / P&ID to Aspen HYSYS bridge (DEXPI export, MCP server) and valve sizing

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/herrrickshaw--process-sim-bridge/badge.svg)](/listings/herrrickshaw--process-sim-bridge)

HTML

<a href="/listings/herrrickshaw--process-sim-bridge"><img src="/api/listings/herrrickshaw--process-sim-bridge/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 28 lines
  1. # process-sim-bridge
  2. Tools that move process-engineering data (Heat & Mass Balance tables, P&IDs, datasheets) into simulators with fewer
  3. transcription errors, plus a valve-sizing calculator. Python 3.11+, standard library only (optional extras noted below).
  4. | Package | What it does |
  5. |---|---|
  6. | [`hysys_bridge`](hysys_bridge/README.md) | H&MB (CSV / vector PDF / OCR) and P&ID topology → validated flowsheet IR → Aspen HYSYS (COM or spreadsheet link) with read-back audit; DEXPI P&ID XML and DEXPI Process JSON export; MCP server. |
  7. | `valve_sizing` | Relief/safety valve sizing from MAWP (API 520 Part I: gas, steam, liquid, fire case) and control valve sizing (IEC 60534), CLI + tests. |
  8. ## Status — read before relying on any of it
  9. - **Nothing has been run against a real Aspen HYSYS.** The COM backend and the spreadsheet link are tested only against mocks.
  10. Run a small known case and treat any read-back or propagation mismatch as a reason to distrust the result.
  11. - DEXPI output loads in pyDEXPI 2.1.0 (checked), but has not been validated against the Proteus schema or a commercial P&ID tool.
  12. - `valve_sizing` is checked against hand calculations only, not a published worked example or vendor software.
  13. Calculation results are not a substitute for a qualified engineer's review and the valve manufacturer's sizing.
  14. - `pid_extract.py` (vision-LLM P&ID topology) and `ocr.py` produce **drafts** that must be reviewed; they have not been run live.
  15. - No proprietary data is included; the only sample (`hysys_bridge/sample/hmb.csv`) is synthetic.
  16. ## Run the tests
  17. ```bash
  18. python3 -m unittest discover -s hysys_bridge/tests -t .
  19. python3 -m unittest discover -s valve_sizing/tests -t .
  20. ```
  21. Optional: `pip install pydexpi` enables the DEXPI process-model export and its tests.
  22. ## Licence
  23. MIT — see [LICENSE](LICENSE).

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.