Class ProcessModelGraphBuilder

java.lang.Object
neqsim.process.processmodel.graph.ProcessModelGraphBuilder

public final class ProcessModelGraphBuilder extends Object
Builder class for constructing a ProcessModelGraph from a ProcessModule.

This builder handles the complexity of combining multiple ProcessSystem objects into a unified graph representation, while maintaining information about the hierarchical structure and cross-system connections.

Usage:

ProcessModule module = new ProcessModule("Plant");
module.add(processSystem1);
module.add(processSystem2);

ProcessModelGraph modelGraph = ProcessModelGraphBuilder.buildModelGraph(module);

// Get overall calculation order
List<ProcessEquipmentInterface> order = modelGraph.getCalculationOrder();

// Analyze inter-system connections
for (InterSystemConnection conn : modelGraph.getInterSystemConnections()) {
  System.out.println(conn);
}
Version:
1.0
Author:
NeqSim