Package neqsim.process.processmodel.dexpi
package neqsim.process.processmodel.dexpi
DEXPI integration layer for importing and exporting P&ID data.
This package provides utilities for working with DEXPI (Data Exchange in the Process Industry) XML files, enabling round-trip import and export of process flow diagrams.
Key Components
DexpiXmlReader- Import DEXPI P&ID XML to ProcessSystemDexpiXmlWriter- Export ProcessSystem to DEXPI XMLDexpiProcessUnit- Lightweight placeholder for imported equipmentDexpiStream- Runnable stream with DEXPI metadataDexpiMetadata- Shared constants for DEXPI exchangesDexpiRoundTripProfile- Validation for round-trip fidelity
Usage Example
// Import from DEXPI XML
ProcessSystem process = DexpiXmlReader.read(new File("plant.xml"), templateStream);
// Access imported equipment
DexpiProcessUnit pump = (DexpiProcessUnit) process.getUnit("P-101");
EquipmentEnum type = pump.getMappedEquipment();
// Export back to DEXPI XML
DexpiXmlWriter.write(process, new File("export.xml"));
- Version:
- 1.0
- Author:
- NeqSim
- See Also:
-
ClassDescriptionShared constants describing the recommended DEXPI metadata handled by the reader and writer.Lightweight placeholder for equipment imported from a DEXPI XML file.Describes validation profiles for round-tripping DEXPI data through NeqSim.Profile validation result.Stream created from DEXPI piping segments while preserving key metadata.Utility for reading DEXPI XML files and converting them into NeqSim process models.Exception thrown when there is an error reading a DEXPI XML file.Utility for exporting
ProcessSystems created from DEXPI data back into a lightweight DEXPI XML representation.