datasynth-ocpm
Object-Centric Process Mining (OCPM) models and generators.
Overview
datasynth-ocpm provides OCEL 2.0 compliant event log generation:
- OCEL 2.0 Models: Events, objects, relationships per IEEE standard
- Process Generators: P2P (Procure-to-Pay), O2C (Order-to-Cash) flows
- Export Formats: OCEL 2.0 JSON, XML, and SQLite
OCEL 2.0 Compliance
Implements the Object-Centric Event Log standard:
| Element | Description |
|---|---|
| Events | Activities with timestamps and attributes |
| Objects | Business objects (PO, Invoice, Payment, etc.) |
| Object Types | Type definitions with attribute schemas |
| Relationships | Object-to-object relationships |
| Event-Object Links | Many-to-many event-object associations |
Process Flows
Procure-to-Pay (P2P)
Create PO → Approve PO → Release PO → Create GR → Post GR →
Receive Invoice → Verify Invoice → Post Invoice → Execute Payment
Order-to-Cash (O2C)
Create SO → Check Credit → Release SO → Create Delivery →
Pick → Pack → Ship → Create Invoice → Post Invoice → Receive Payment
Usage
use ;
let mut generator = new;
let documents = new;
let result = generator.generate_p2p_case;
Export
use ;
let exporter = new;
exporter.export?;
License
Apache-2.0 - See LICENSE for details.