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:
-
ClassDescriptionFactory that converts
DexpiProcessUnitplaceholders into runnable NeqSim process equipment by matching theEquipmentEnumtype and applying sizing attributes from DEXPI GenericAttributes.Holds metadata for an instrument parsed from a DEXPI XML file.Configuration class for DEXPI layout parameters.Computes auto-layout positions for DEXPI XML export.Holds computed position data for a single equipment item.Holds stream data for a single column in the stream data table.Loads DEXPI-to-NeqSim equipment and piping component mappings from properties files on the classpath.Shared 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.Generates the DEXPI<ShapeCatalogue>section with ISO 10628:2012 standard P&ID symbols for process equipment.High-level builder that converts a DEXPI P&ID XML file into a runnable NeqSimProcessSystem.Stream created from DEXPI piping segments while preserving key metadata.Shared utilities for resolving outlet streams from NeqSim process equipment.Resolves the topology (stream connectivity) of a DEXPI P&ID XML document.The resolved topology of a DEXPI document, containing equipment IDs in topological order and the edges (connections) between them.Represents a directed edge between two DEXPI elements in the process topology.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 exportingProcessSystems created from DEXPI data back into a lightweight DEXPI XML representation.Simple connection descriptor linking an outlet nozzle to an inlet nozzle.