feat(phase-0): initialize project foundation, packaging, logging, configs, and tests
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"active_policy": "priority_nearest_idle",
|
||||
"available_policies": [
|
||||
"nearest_idle",
|
||||
"priority_nearest_idle",
|
||||
"balanced_utilization"
|
||||
],
|
||||
"policy_settings": {
|
||||
"priority_nearest_idle": {
|
||||
"priority_weight": 0.6,
|
||||
"distance_weight": 0.4,
|
||||
"consider_battery_headroom": true,
|
||||
"preemption_enabled": false
|
||||
},
|
||||
"nearest_idle": {
|
||||
"distance_weight": 1.0
|
||||
},
|
||||
"balanced_utilization": {
|
||||
"utilization_weight": 0.5,
|
||||
"distance_weight": 0.5
|
||||
}
|
||||
},
|
||||
"traffic_reservation": {
|
||||
"enabled": true,
|
||||
"reservation_window_seconds": 10.0,
|
||||
"intersection_exclusive_zone_radius_meters": 2.0,
|
||||
"deadlock_timeout_seconds": 30.0,
|
||||
"yield_rules": {
|
||||
"loaded_yields_to_empty": false,
|
||||
"lower_priority_yields_to_higher": true
|
||||
}
|
||||
},
|
||||
"charging_strategy": {
|
||||
"policy": "threshold_opportunity",
|
||||
"opportunistic_charging_threshold_percent": 60.0,
|
||||
"mandatory_charging_threshold_percent": 25.0,
|
||||
"min_charge_duration_seconds": 180.0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,142 @@
|
||||
{
|
||||
"categories": {
|
||||
"zone_a_fast_moving": {
|
||||
"name": "Fast-moving Inventory",
|
||||
"zone": "zone_a",
|
||||
"default_priority": 1,
|
||||
"items": [
|
||||
{
|
||||
"item_id": "filter_hydraulic_hf1",
|
||||
"name": "Hydraulic Oil Filter HF-1",
|
||||
"unit_weight_kg": 2.5,
|
||||
"initial_stock": 200,
|
||||
"minimum_stock": 50,
|
||||
"replenishment_batch": 100,
|
||||
"storage_location": "rack_a_01"
|
||||
},
|
||||
{
|
||||
"item_id": "belt_drive_bd10",
|
||||
"name": "V-Ribbed Drive Belt BD-10",
|
||||
"unit_weight_kg": 1.2,
|
||||
"initial_stock": 150,
|
||||
"minimum_stock": 40,
|
||||
"replenishment_batch": 80,
|
||||
"storage_location": "rack_a_02"
|
||||
},
|
||||
{
|
||||
"item_id": "hardware_bolt_pack_m12",
|
||||
"name": "M12 High-Tensile Fastener Pack",
|
||||
"unit_weight_kg": 5.0,
|
||||
"initial_stock": 300,
|
||||
"minimum_stock": 75,
|
||||
"replenishment_batch": 150,
|
||||
"storage_location": "rack_a_03"
|
||||
},
|
||||
{
|
||||
"item_id": "fluid_line_assembly_fl4",
|
||||
"name": "Reinforced Fluid Line Assembly FL-4",
|
||||
"unit_weight_kg": 3.8,
|
||||
"initial_stock": 120,
|
||||
"minimum_stock": 30,
|
||||
"replenishment_batch": 60,
|
||||
"storage_location": "rack_a_04"
|
||||
},
|
||||
{
|
||||
"item_id": "tractor_hood_panel_th2",
|
||||
"name": "Composite Tractor Hood Panel TH-2",
|
||||
"unit_weight_kg": 22.0,
|
||||
"initial_stock": 40,
|
||||
"minimum_stock": 10,
|
||||
"replenishment_batch": 20,
|
||||
"storage_location": "rack_a_05"
|
||||
}
|
||||
]
|
||||
},
|
||||
"zone_b_slow_moving": {
|
||||
"name": "Slow-moving and Specialized Inventory",
|
||||
"zone": "zone_b",
|
||||
"default_priority": 2,
|
||||
"items": [
|
||||
{
|
||||
"item_id": "transmission_combine_ct8",
|
||||
"name": "Heavy Combine Transmission Unit CT-8",
|
||||
"unit_weight_kg": 650.0,
|
||||
"initial_stock": 8,
|
||||
"minimum_stock": 2,
|
||||
"replenishment_batch": 4,
|
||||
"storage_location": "rack_b_01"
|
||||
},
|
||||
{
|
||||
"item_id": "structural_chassis_frame_sf3",
|
||||
"name": "Welded Structural Chassis Frame SF-3",
|
||||
"unit_weight_kg": 850.0,
|
||||
"initial_stock": 6,
|
||||
"minimum_stock": 2,
|
||||
"replenishment_batch": 3,
|
||||
"storage_location": "rack_b_02"
|
||||
},
|
||||
{
|
||||
"item_id": "engine_piston_set_ep6",
|
||||
"name": "Precision Engine Piston Set EP-6",
|
||||
"unit_weight_kg": 45.0,
|
||||
"initial_stock": 25,
|
||||
"minimum_stock": 8,
|
||||
"replenishment_batch": 12,
|
||||
"storage_location": "rack_b_03"
|
||||
},
|
||||
{
|
||||
"item_id": "specialized_planetary_hub_ph1",
|
||||
"name": "Final Drive Planetary Hub PH-1",
|
||||
"unit_weight_kg": 180.0,
|
||||
"initial_stock": 15,
|
||||
"minimum_stock": 4,
|
||||
"replenishment_batch": 8,
|
||||
"storage_location": "rack_b_04"
|
||||
}
|
||||
]
|
||||
},
|
||||
"zone_c_production_supply": {
|
||||
"name": "Raw Materials and Production-Line Supply",
|
||||
"zone": "zone_c",
|
||||
"default_priority": 3,
|
||||
"items": [
|
||||
{
|
||||
"item_id": "raw_steel_coil_sc5",
|
||||
"name": "Hot-Rolled Sheet Steel Coil SC-5",
|
||||
"unit_weight_kg": 1100.0,
|
||||
"initial_stock": 10,
|
||||
"minimum_stock": 3,
|
||||
"replenishment_batch": 5,
|
||||
"storage_location": "rack_c_01"
|
||||
},
|
||||
{
|
||||
"item_id": "electronic_control_module_ecm9",
|
||||
"name": "Main Electronic Control Module ECM-9",
|
||||
"unit_weight_kg": 8.5,
|
||||
"initial_stock": 50,
|
||||
"minimum_stock": 15,
|
||||
"replenishment_batch": 25,
|
||||
"storage_location": "rack_c_02"
|
||||
},
|
||||
{
|
||||
"item_id": "finishing_coating_drum_fc2",
|
||||
"name": "Corrosion-Resistant Finishing Coat Drum (200L)",
|
||||
"unit_weight_kg": 220.0,
|
||||
"initial_stock": 18,
|
||||
"minimum_stock": 5,
|
||||
"replenishment_batch": 10,
|
||||
"storage_location": "rack_c_03"
|
||||
},
|
||||
{
|
||||
"item_id": "mfg_fastener_bulk_drum_fd1",
|
||||
"name": "Bulk Manufacturing Rivet/Fastener Drum",
|
||||
"unit_weight_kg": 350.0,
|
||||
"initial_stock": 14,
|
||||
"minimum_stock": 4,
|
||||
"replenishment_batch": 8,
|
||||
"storage_location": "rack_c_04"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"robot_types": {
|
||||
"light_amr": {
|
||||
"name": "Agile Lightweight AMR",
|
||||
"description": "Optimized for Zone A fast-moving small parts and rapid transit",
|
||||
"payload_capacity_kg": 150.0,
|
||||
"max_speed_mps": 1.8,
|
||||
"acceleration_mps2": 0.8,
|
||||
"battery_capacity_kwh": 3.0,
|
||||
"power_consumption_kw": {
|
||||
"idle": 0.05,
|
||||
"moving_empty": 0.35,
|
||||
"moving_loaded": 0.65,
|
||||
"handling": 0.15
|
||||
},
|
||||
"allowed_zones": ["zone_a", "zone_b", "zone_c"],
|
||||
"dimensions": {
|
||||
"length": 0.8,
|
||||
"width": 0.6,
|
||||
"height": 0.35
|
||||
}
|
||||
},
|
||||
"heavy_amr": {
|
||||
"name": "Heavy-Duty Pallet AMR",
|
||||
"description": "Engineered for Zone B heavy mechanical assemblies and Zone C raw materials",
|
||||
"payload_capacity_kg": 1500.0,
|
||||
"max_speed_mps": 1.1,
|
||||
"acceleration_mps2": 0.4,
|
||||
"battery_capacity_kwh": 15.0,
|
||||
"power_consumption_kw": {
|
||||
"idle": 0.12,
|
||||
"moving_empty": 0.90,
|
||||
"moving_loaded": 2.20,
|
||||
"handling": 0.50
|
||||
},
|
||||
"allowed_zones": ["zone_a", "zone_b", "zone_c"],
|
||||
"dimensions": {
|
||||
"length": 1.4,
|
||||
"width": 1.0,
|
||||
"height": 0.45
|
||||
}
|
||||
}
|
||||
},
|
||||
"fleet": [
|
||||
{
|
||||
"robot_id": "amr_light_01",
|
||||
"robot_type": "light_amr",
|
||||
"initial_position": [2.0, 36.0, 0.0],
|
||||
"initial_battery_percent": 100.0
|
||||
},
|
||||
{
|
||||
"robot_id": "amr_light_02",
|
||||
"robot_type": "light_amr",
|
||||
"initial_position": [4.0, 36.0, 0.0],
|
||||
"initial_battery_percent": 100.0
|
||||
},
|
||||
{
|
||||
"robot_id": "amr_heavy_01",
|
||||
"robot_type": "heavy_amr",
|
||||
"initial_position": [6.0, 36.0, 0.0],
|
||||
"initial_battery_percent": 100.0
|
||||
},
|
||||
{
|
||||
"robot_id": "amr_heavy_02",
|
||||
"robot_type": "heavy_amr",
|
||||
"initial_position": [8.0, 36.0, 0.0],
|
||||
"initial_battery_percent": 100.0
|
||||
}
|
||||
],
|
||||
"battery_policy": {
|
||||
"low_battery_threshold_percent": 25.0,
|
||||
"critical_battery_threshold_percent": 15.0,
|
||||
"recharge_target_percent": 85.0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"simulation": {
|
||||
"duration_seconds": 3600.0,
|
||||
"time_unit": "seconds",
|
||||
"random_seed": 42,
|
||||
"warmup_duration_seconds": 300.0,
|
||||
"tick_resolution_seconds": 0.5
|
||||
},
|
||||
"workload": {
|
||||
"zone_a_arrival_rate_per_hour": 60.0,
|
||||
"zone_b_arrival_rate_per_hour": 15.0,
|
||||
"zone_c_scheduled_feed_interval_seconds": 600.0,
|
||||
"peak_demand_multiplier": 1.5,
|
||||
"peak_start_second": 1200.0,
|
||||
"peak_end_second": 2400.0
|
||||
},
|
||||
"operational_times": {
|
||||
"pickup_time_seconds": 15.0,
|
||||
"dropoff_time_seconds": 15.0,
|
||||
"heavy_pickup_overhead_seconds": 30.0,
|
||||
"line_feed_lead_time_seconds": 300.0
|
||||
},
|
||||
"outputs": {
|
||||
"events_format": "jsonl",
|
||||
"export_trajectories": true,
|
||||
"trajectory_sample_interval_seconds": 1.0,
|
||||
"summary_report": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"coordinate_system": {
|
||||
"type": "right_handed_cartesian",
|
||||
"axes": {
|
||||
"x": "width_east_meters",
|
||||
"y": "depth_north_meters",
|
||||
"z": "height_up_meters"
|
||||
},
|
||||
"units": "meters"
|
||||
},
|
||||
"dimensions": {
|
||||
"width": 60.0,
|
||||
"depth": 40.0,
|
||||
"height": 8.0
|
||||
},
|
||||
"zones": {
|
||||
"zone_a": {
|
||||
"name": "Zone A: Fast-moving inventory",
|
||||
"description": "High-throughput, frequent order arrivals, short routes (Filters, Belts, Hardware, Fluid lines, Tractor panels)",
|
||||
"area": {
|
||||
"x_min": 5.0,
|
||||
"x_max": 25.0,
|
||||
"y_min": 5.0,
|
||||
"y_max": 35.0
|
||||
},
|
||||
"aisle_width": 2.5,
|
||||
"max_robot_speed": 1.8
|
||||
},
|
||||
"zone_b": {
|
||||
"name": "Zone B: Slow-moving and specialized inventory",
|
||||
"description": "Heavy-duty parts, longer travel, restricted aisles (Combine transmissions, Structural frames, Engine pistons)",
|
||||
"area": {
|
||||
"x_min": 30.0,
|
||||
"x_max": 45.0,
|
||||
"y_min": 5.0,
|
||||
"y_max": 35.0
|
||||
},
|
||||
"aisle_width": 3.5,
|
||||
"max_robot_speed": 1.2
|
||||
},
|
||||
"zone_c": {
|
||||
"name": "Zone C: Raw materials and production-line supply",
|
||||
"description": "Scheduled deliveries, production deadlines, stock-out tracking (Steel coils, Control modules, Finishing materials)",
|
||||
"area": {
|
||||
"x_min": 48.0,
|
||||
"x_max": 58.0,
|
||||
"y_min": 5.0,
|
||||
"y_max": 35.0
|
||||
},
|
||||
"aisle_width": 3.0,
|
||||
"max_robot_speed": 1.0
|
||||
}
|
||||
},
|
||||
"stations": [
|
||||
{
|
||||
"station_id": "dock_inbound_1",
|
||||
"type": "inbound_dock",
|
||||
"position": [2.0, 10.0, 0.0],
|
||||
"capacity": 2
|
||||
},
|
||||
{
|
||||
"station_id": "dock_inbound_2",
|
||||
"type": "inbound_dock",
|
||||
"position": [2.0, 20.0, 0.0],
|
||||
"capacity": 2
|
||||
},
|
||||
{
|
||||
"station_id": "picking_station_a1",
|
||||
"type": "picking_station",
|
||||
"position": [25.0, 2.0, 0.0],
|
||||
"capacity": 1
|
||||
},
|
||||
{
|
||||
"station_id": "picking_station_b1",
|
||||
"type": "picking_station",
|
||||
"position": [40.0, 2.0, 0.0],
|
||||
"capacity": 1
|
||||
},
|
||||
{
|
||||
"station_id": "production_dropoff_c1",
|
||||
"type": "production_feed",
|
||||
"position": [55.0, 38.0, 0.0],
|
||||
"capacity": 2
|
||||
},
|
||||
{
|
||||
"station_id": "outbound_pack_1",
|
||||
"type": "outbound_dock",
|
||||
"position": [2.0, 30.0, 0.0],
|
||||
"capacity": 2
|
||||
}
|
||||
],
|
||||
"charging_stations": [
|
||||
{
|
||||
"station_id": "charge_bay_1",
|
||||
"position": [2.0, 36.0, 0.0],
|
||||
"charging_rate_kw": 25.0,
|
||||
"capacity": 1
|
||||
},
|
||||
{
|
||||
"station_id": "charge_bay_2",
|
||||
"position": [4.0, 36.0, 0.0],
|
||||
"charging_rate_kw": 25.0,
|
||||
"capacity": 1
|
||||
},
|
||||
{
|
||||
"station_id": "charge_bay_3",
|
||||
"position": [6.0, 36.0, 0.0],
|
||||
"charging_rate_kw": 50.0,
|
||||
"capacity": 1
|
||||
},
|
||||
{
|
||||
"station_id": "charge_bay_4",
|
||||
"position": [8.0, 36.0, 0.0],
|
||||
"charging_rate_kw": 50.0,
|
||||
"capacity": 1
|
||||
}
|
||||
],
|
||||
"grid": {
|
||||
"node_spacing": 2.0,
|
||||
"one_way_edges": [],
|
||||
"restricted_edges": [
|
||||
{
|
||||
"zone": "zone_b",
|
||||
"allowed_robot_types": ["heavy_amr"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user