Package neqsim.process.processmodel.lifecycle
package neqsim.process.processmodel.lifecycle
Lifecycle management for ProcessSystem models (Digital Twins).
This package provides infrastructure for managing process models throughout their entire lifecycle, from concept design through operation to decommissioning. Key capabilities:
- State Serialization: Export/import ProcessSystem state as JSON for versioning
- Model Metadata: Track lifecycle phase, validation history, responsible engineers
- Audit Trail: Record all model modifications for compliance and knowledge transfer
- Checkpointing: Save and restore simulation state for reproducibility
Digital Twin Lifecycle Phases:
- Concept: Early screening studies, feasibility analysis
- Design: FEED, detailed engineering design
- Commissioning: Model tuning during plant startup
- Operation: Live digital twin, continuous calibration
- Late-life: Decommissioning planning, knowledge preservation
Usage Example:
// Create and configure process
ProcessSystem process = new ProcessSystem("Offshore Platform Train 1");
// ... add equipment ...
// Create state snapshot with metadata
ProcessSystemState state = ProcessSystemState.fromProcessSystem(process);
state.setVersion("2.1.0");
state.setDescription("Post-turnaround update with new compressor curves");
ModelMetadata metadata = state.getMetadata();
metadata.setAssetId("PLATFORM-A-TRAIN-1");
metadata.setLifecyclePhase(ModelMetadata.LifecyclePhase.OPERATION);
metadata.setResponsibleEngineer("jane.doe@company.com");
metadata.recordValidation("Matched separator P/T within 1%", "WELL-TEST-2024-05");
// Save for version control
state.saveToFile("models/platform_a_train1_v2.1.0.json");
// Later: load and restore
ProcessSystemState loaded =
ProcessSystemState.loadFromFile("models/platform_a_train1_v2.1.0.json");
System.out.println("Model last validated: " + loaded.getMetadata().getLastValidated());
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
ClassDescriptionMetadata for tracking the lifecycle of a process model (digital twin).Calibration status of the model.Lifecycle phases for a process model.Record of a model modification.Record of a validation event.Represents a serializable state snapshot of a ProcessModel containing multiple ProcessSystems.Execution configuration for ProcessModel.Instant type adapter for Gson.Represents a connection between two ProcessSystems.Validation result for ProcessModelState.Represents a serializable state snapshot of a ProcessSystem for lifecycle management.Represents a connection between two pieces of equipment.Represents the state of a single piece of equipment.Represents the thermodynamic state of a fluid.Gson adapter for Instant serialization.Result of state validation.