Bobojy00/moonbit_factory_graph/src/analysis does not have a README file
pub(all) struct BottleneckAnalysisReport {
takt_time_target_sec : Double
primary_bottleneck_node_id : String
primary_bottleneck_cycle_time : Double
secondary_bottlenecks : Array[String]
conveyor_bandwidth_bottlenecks : Array[String]
max_theoretical_hourly_output : Double
line_balance_efficiency_percent : Double
} derive(Eq, Debug)pub(all) struct MaterialCapacityReport {
demand_per_hour : Double
constrained_capacity_per_hour : Double
output_capacity_per_hour : Double
capacity_margin_percent : Double
edge_utilization : Array[EdgeUtilizationSnapshot]
overloaded_edge_ids : Array[String]
constrained_node_ids : Array[String]
} derive(Eq, Debug)pub(all) struct OperationalReadinessReport {
readiness_level : ReadinessLevel
ready_for_deployment : Bool
readiness_score : Double
total_validation_issue_count : Int
critical_issue_count : Int
error_issue_count : Int
warning_issue_count : Int
orphan_node_ids : Array[String]
inactive_node_ids : Array[String]
inactive_edge_ids : Array[String]
unpowered_asset_ids : Array[String]
disconnected_controller_ids : Array[String]
congested_edge_ids : Array[String]
active_node_ratio_percent : Double
active_edge_ratio_percent : Double
mean_asset_availability_percent : Double
active_flow_layer_count : Int
capacity_margin_percent : Double
recommendations : Array[String]
} derive(Eq, Debug)pub(all) struct OutagePortfolioReport {
valid_scenario_count : Int
invalid_node_ids : Array[String]
scenarios : Array[OutageScenarioScore]
worst_case_node_id : String
max_capacity_loss_percent : Double
average_capacity_loss_percent : Double
} derive(Eq, Debug)pub(all) struct OutageSimulationResult {
failed_node_id : String
power_blackout_nodes : Array[String]
plc_timeout_nodes : Array[String]
safety_tripped_nodes : Array[String]
starved_workstations : Array[String]
blocked_workstations : Array[String]
all_impacted_nodes : Array[String]
production_capacity_loss_percent : Double
estimated_hourly_loss_cny : Double
affected_workstations_count : Int
} derive(Eq, Debug)fn analyze_material_capacity(graph : FactoryGraph, demand_per_hour? : Double) -> MaterialCapacityReportfn audit_operational_readiness(graph : FactoryGraph, demand_per_hour? : Double) -> OperationalReadinessReportfn evaluate_line_redundancy(graph : FactoryGraph, source_id : String, target_id : String) -> RedundancyReportfn evaluate_outage_portfolio(graph : FactoryGraph, candidate_node_ids : Array[String], hourly_downtime_cost? : Double) -> OutagePortfolioReportfn simulate_device_outage(graph : FactoryGraph, failed_node_id : String, hourly_downtime_cost? : Double) -> OutageSimulationResultInstall
Download zipIndustrial plant topology, multi-layer material/control/energy flow modeling and failure propagation graph engine in MoonBit.