Skip to content

Dataset

P&ID and process flow diagram datasets for AI training

A P&ID dataset is a set of piping and instrumentation diagrams and process flow diagrams from process plants, delivered with the lists that index them, the line list, equipment list and instrument index, and their revision marks. SourceX sources these on request from established plant owner-operators and engineering, procurement and construction firms that hold them as controlled documentation, in intelligent P&ID databases or as drawing files and scans, and reviews who owns each diagram and whether the holder may share it. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
P&IDs and process flow diagrams with line lists, equipment lists, instrument indexes and revision marks
Typical systems
SmartPlant P&ID, AVEVA Diagrams, AutoCAD Plant 3D, Siemens COMOS, plain AutoCAD; scanned sheets from document control
Typical history
Varies by holder; diagrams are revised for as long as a unit runs, and older plants hold hand-drafted originals
Modality
Diagram sheets as CAD, vector PDF or raster scans; tag, line and connectivity records as structured data
Delivery formats
Agreed per order; sheets as DWG, PDF or TIFF, tag and connectivity records as JSONL, lists as CSV
Preparation
Site, owner, licensor and contractor names removed from title blocks and notes; ask whether tags are kept or re-keyed consistently
Licensing
Ownership reviewed per unit; confirm licensed process technology, vendor package drawings and sensitive facilities are left out
Availability
Sourced to your spec from holders that agree to license; not guaranteed
CAD and design filesIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
diagram_idstringPseudonymous sheet ID that tags, lines, off-page connectors and list rows refer to.
diagram_typeenumProcess flow diagram, P&ID, utility or auxiliary diagram, or legend sheet.
source_formenumIntelligent P&ID database export, CAD file with tagged blocks, vector PDF, or raster scan.
symbol_basisobjectThe symbol and tagging convention in force, such as ISA-5.1 or a company standard, and its legend sheets.
equipmentarrayVessels, pumps, exchangers and other tagged items with class, service and the design conditions printed on the sheet.
linesarrayPipe lines with the line number split into size, service code, sequence, piping class and insulation code, plus from and to items.
inline_itemsarrayValves, reducers, strainers and relief devices in order along each line, with tag, size and fail position where shown.
instrumentsarrayInstrument tags split into function letters and loop number, with mounting location, signal type and process connection.
control_loopsarrayEach loop as sensor, controller and final element, and each interlock as initiator and action.
connectivityobjectThe sheet as a graph: tagged items as nodes, process and signal lines as edges, off-page connectors resolved to continuation sheets.
stream_dataarrayFor process flow diagrams, stream table rows with flow, temperature, pressure and composition, where the holder releases them.
list_linksobjectMatching rows in the line list, equipment list and instrument index for each tag, with disagreements flagged.
revisionsarrayIssued revisions with status, date, and each revision cloud located by sheet zone with its description.
change_basisobjectThe reason for a revision where it can be linked: a management-of-change record, a hazard study recommendation or an as-built correction.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "diagram_id": "pid_2f80c1",
  "diagram_type": "p_and_id",
  "source_form": "intelligent_database_export",
  "symbol_basis": {"standard": "ISA-5.1 with owner additions", "legend_sheets": ["pid_000a1"]},
  "equipment": [
    {"tag": "V-2101", "class": "vertical_vessel", "service": "feed surge drum", "design_pressure": "[WITHHELD]"},
    {"tag": "P-2101A", "class": "centrifugal_pump", "spare": "P-2101B"}
  ],
  "lines": [
    {"line_no": "4\"-HC-21007-B1A-N", "size_in": 4, "service": "HC", "piping_class": "B1A", "from": "V-2101/N2", "to": "P-2101A/suction"},
    {"line_no": "3\"-HC-21009-B1A-N", "size_in": 3, "service": "HC", "piping_class": "B1A", "from": "P-2101A/discharge", "to": "OPC-2102-03"}
  ],
  "inline_items": [
    {"tag": "FV-2107", "type": "control_valve", "line": "3\"-HC-21009-B1A-N", "size_in": 2, "fail_position": "FC"},
    {"tag": "PSV-2103", "type": "relief_valve", "on": "V-2101/N3", "set_pressure": "[WITHHELD]"}
  ],
  "instruments": [
    {"tag": "FT-2107", "letters": "FT", "loop": "2107", "location": "field"},
    {"tag": "FIC-2107", "letters": "FIC", "loop": "2107", "location": "control_room_shared_display"},
    {"tag": "LSLL-2105", "letters": "LSLL", "loop": "2105", "location": "field"}
  ],
  "control_loops": [
    {"loop": "2107", "sensor": "FT-2107", "controller": "FIC-2107", "final_element": "FV-2107"},
    {"loop": "2105", "kind": "interlock", "initiator": "LSLL-2105", "action": "trip P-2101A and P-2101B"}
  ],
  "connectivity": {"nodes": 41, "process_edges": 38, "signal_edges": 9, "off_page": [{"connector": "OPC-2102-03", "to_diagram": "pid_2f80c2", "resolved": true}]},
  "list_links": {"line_list_rows": 2, "instrument_index_rows": 3, "mismatches": [{"tag": "FV-2107", "attribute": "size_in", "sheet": 2, "index": 3}]},
  "revisions": [
    {"rev": "3", "status": "as_built", "date": "2017-09-02"},
    {"rev": "4", "status": "issued", "date": "2021-06-18", "clouds": [{"zone": "C4", "text": "LSLL-2105 and pump trip added"}]}
  ],
  "change_basis": {"rev": "4", "type": "hazard_study_recommendation", "node": "feed surge drum and pumps", "deviation": "less level", "moc_id": "moc_0412", "link": "recorded"}
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Digitize legacy P&IDs

Scanned sheets paired with their tag and connectivity records train symbol detection, line tracing and tag reading against ground truth the plant already kept.

Check diagrams against their lists

Flagged disagreements between a sheet, the line list and the instrument index are labeled examples for consistency checkers.

Answer questions over plant documentation

A connectivity graph lets a retrieval system trace what feeds a pump, what isolates it and which loop controls it.

Draft and review process changes

A hazard study recommendation, the marked-up sheet and the next revision form a worked example of a change from reason to result.

Evaluate engineering agents

Tag extraction, loop identification, connector resolution and line list generation all have checkable answers in the delivery.

Use-case guides: Document AI, enterprise search and RAG, Private evaluation sets, Enterprise and computer-use agents

What makes this data valuable

Lists at the same revision

A line list and instrument index issued with the sheets make every tag checkable.

A database behind the sheet

Exports from an intelligent P&ID system carry connectivity as records, not as inferred geometry.

Legend sheets included

The set's own symbol and tag definitions remove guesswork about company conventions.

Connectors that resolve

Whole units, where every off-page connector lands on a delivered sheet, give complete graphs.

Revisions with reasons

Superseded issues linked to change records and study recommendations show why each edit was made.

Mixed drafting eras

Hand-drafted, plain CAD and database-generated sheets cover what a digitization model meets.

Process

P&ID dataset

This page covers P&IDs and process flow diagrams.Illustrative

A P&ID is a tagged graph, and the lists are its answer key

A P&ID looks like a drawing, and what it encodes is a graph. The nodes are vessels, pumps, exchangers, valves and instruments. The edges are process lines and several kinds of signal line. Every node carries a tag, and tags follow rules. Under ISA-5.1 the first letter of an instrument tag names the measured variable and the letters after it the function, so FIC is a flow indicating controller and LT a level transmitter, and the number ties the device to its loop. The shape drawn around a tag says whether the function is a discrete instrument or sits in a shared display and control system such as a distributed control system, as the set's legend sheet defines. A line number packs size, service, sequence and piping class into one string, to a convention set per project.

The same facts are kept a second time as tables. The line list has a row per line with its number, from and to, fluid, piping class and design conditions. The instrument index has a row per tag with loop, service, type and the diagram it appears on. In an intelligent P&ID system such as SmartPlant P&ID or AVEVA Diagrams the sheet is a view of a database and the lists are reports from it. On older units the sheets are plain CAD files or scans of hand drafting, and the lists are spreadsheets kept by hand. Hand-kept lists drift, a valve resized on the sheet and not in the index, and each disagreement is a labeled error.

That pairing is what makes this data fit digitization work. Turning a scanned sheet into a graph takes symbol detection, line tracing through crossings and breaks, reading text at any angle, attaching each tag to the right symbol, and following a line through an off-page connector to its continuation sheet. A sheet with its matching list rows has ground truth for each step without hand labeling: the index says which tags must be found, and the line list says what each line connects. This holds only when the lists are of the same revision as the sheets.

Why the diagram changed

An as-built issue shows the plant on one day and nothing about how it came to look that way. In the United States, OSHA's process safety management standard lists P&IDs among the process safety information an employer compiles for a covered process, and requires written procedures to manage changes to it. Whether a site is covered is for the holder to say. Where the procedure is followed, each revision has paperwork behind it.

That paperwork has two usual sources. A hazard and operability study walks the diagram node by node, applies guide words such as no, more, less and reverse to flow, level, pressure and temperature, and records each deviation with its causes, consequences, safeguards and recommendations. A recommendation, say an independent low-low level trip on a pump, becomes an action, then a management-of-change package with a marked-up copy of the current sheet. After approval and construction the master is revised, and a cloud with a revision triangle marks the area. Smaller changes, a bypass added or a relief valve resized, go through the same procedure.

Linked together these form a chain no single sheet holds: the hazard identified, the reasoning recorded, the change proposed and reviewed, and the diagram before and after. The links are fragile. Study worksheets cite diagram numbers and nodes, and may not cite a revision. Change records sit in another system, with markups as scanned PDFs. Where clouds are cleared at the next issue, only the superseded revisions show what moved. Ask which links exist as recorded references, and ask for the superseded revisions.

What to check before licensing

  • Ask what form each sheet takes, a database export, a CAD file, a vector PDF or a raster scan, and count each on the sample.
  • Check that the line list, equipment list and instrument index are of the same revision as the sheets, and count tags that appear in one and not the other.
  • Confirm legend sheets are included and which standard the holder followed, since a company's symbols can depart from ISA-5.1.
  • Test off-page connectors on the sample. A unit delivered without its continuation sheets leaves lines that end nowhere.
  • Ask whether each facility is operating, and have your security and safety reviewers decide whether diagrams of live hazardous processes are acceptable to hold.
  • Confirm who owns the process design. Licensed process technology, a licensor's heat and material balance and vendor package drawings can belong to someone other than the holder.
  • Review removal of site identifiers: owner and site names, addresses, coordinates, and tag prefixes or unit numbers that could identify a known plant.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

What is the difference between a PFD and a P&ID?

A process flow diagram shows the main equipment and streams of a process, and a P&ID shows every line, valve, instrument and control loop of the plant built to run it. The PFD carries a stream table of flows, temperatures, pressures and compositions. The P&ID carries tags, sizes and piping classes. Say whether you need both, since a stream table can reveal licensed process technology and may be withheld.

Will we get intelligent P&ID data or only drawing files?

It depends on how the holder made its diagrams. A unit engineered in SmartPlant P&ID, AVEVA Diagrams or AutoCAD Plant 3D has data behind each sheet and may be exportable as structured data or to the DEXPI exchange standard. A unit documented in plain AutoCAD or on paper gives sheets and separately kept lists.

Can design conditions and stream data be included?

Sometimes, and the holder decides. Design pressures and temperatures on a P&ID and the stream table on a PFD describe how the process works. Where the process came from a technology licensor, the balance and some equipment details may belong to the licensor under a confidentiality agreement. Ask the holder to mark withheld values and state the basis.

How are hazard studies and change records linked to revisions?

By reference where the plant recorded one, and by inference otherwise. A management-of-change record may list the diagrams it affects, and a revision block may cite the change number. Where those references are missing, links are inferred from dates, tags and node descriptions and should carry a confidence flag. Ask what share of sample revisions have a recorded reason.

Are diagrams of operating plants a security concern?

They can be, so decide your own position before requesting them. A P&ID set shows how a hazardous process is controlled and protected. Ask for site names, addresses and coordinates to be removed, and expect that someone who knows the industry may still recognize a unit from its configuration. You can ask for decommissioned units, re-keyed tags and withheld trip settings. Have your security and safety reviewers approve the scope.

Which symbol standards do the diagrams follow?

It depends on the plant's region, age and owner. ISA-5.1 defines instrument symbols and tag letters, and ISO 10628 covers flow diagrams for the chemical and petrochemical industry and their graphical symbols. Owners and engineering firms add their own symbols, line number formats and tag structures on legend sheets at the front of a set. Ask for the legend sheets with every unit.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 25 November 2026.

See if your company qualifies