带实时 KPI、OEE 与利特尔法则的生产线离散事件仿真器
Claude Opus 5.5 生成单文件 Canvas 生产线仿真:工位与缓冲区动画,并实时显示产出、在制品和 OEE。
Claude Code + Three.js(仅代码)Wandy 2
创建精细的 3D 模型
单靠代码只能做出简单的形状。Wandy 2 能用一张照片生成带纹理的 3D 模型,直接用在同一个场景里。
Claude Opus 5.5 提示词
Build an animated, interactive discrete-event simulation of a serial production line as a single self-contained HTML file (vanilla JS + Canvas, no external libraries except Chart.js from cdnjs). Purpose: teaching [Manufacturing Systems] students how variability, buffers, and breakdowns affect line performance. LINE CONFIGURATION (user-adjustable) - Number of stations: [2–6], default [3], each with a name (e.g., Machining, Assembly, Inspection) - Per station: mean cycle time, distribution (Deterministic, Uniform, Normal, Triangular, Exponential, Lognormal), CV - Breakdowns per station: MTBF and MTTR (exponential), on/off toggle - Quality per station: defect rate (%), with scrap or rework-loop option - Buffers between stations: capacity 0–10 (0 = blocking after service) - Arrivals: unlimited raw material OR Poisson arrivals with rate λ - Customer demand to compute takt time ANIMATION - Parts move along conveyors and change color by stage (raw, WIP, finished, scrap) - Machine borders show state colors: Working (green), Blocked (amber), Starved (red), Down (gray), plus a rotating gear icon and a progress bar - Buffer slots show occupancy and highlight when full - Controls: Play/Pause, Step, Reset, speed 1x–50x, warm-up period KEY PERFORMANCE MEASURES (live dashboard) 1. Throughput (parts/hr) vs theoretical bottleneck rate 2. Average WIP and WIP over time 3. Flow time / manufacturing lead time (mean and 95th percentile) 4. Little's Law check: WIP ≈ Throughput × Flow time 5. Per-station utilization with a time breakdown: working / blocked / starved / down (stacked bar) 6. OEE per station = Availability × Performance × Quality 7. Bottleneck detection (active-period method) and highlight the bottleneck 8. Takt time vs station cycle times (line balance chart) 9. Line balance efficiency = Σ cycle times / (N × max cycle time) 10. First-pass yield, rolled throughput yield, scrap count 11. Average buffer occupancy per buffer 12. Observed vs set cycle-time mean and CV per station ANALYSIS FEATURES - Replication mode: run N replications of length T after warm-up, report mean ± 95% confidence interval for throughput, WIP, and flow time - Experiment mode: sweep buffer size (or one station's CV) and plot throughput vs parameter - Export results to CSV - Preset scenarios: Balanced line, Clear bottleneck, High variability, Unreliable machine DESIGN - Clean, responsive layout that works on mobile; light/dark mode - Brief tooltip explaining each KPI and its formula - Bilingual labels (English/Arabic) toggle
如何使用这条提示词
把提示词粘贴到 Claude Opus 5.5,并填写方括号中的课程、工位数量和范围。
按你的产线修改工位名称、分布、故障参数、预设场景和语言切换。
打开单个 HTML 文件,运行预设并观察瓶颈;可要求增加 KPI 或实验后继续迭代。
来自 Wandy3D
场景里需要一个真正的 3D 模型?
智能体只会用基本几何体搭场景。Wandy3D API 几分钟就能把一张照片或一段提示词变成带贴图的 GLB——从预付余额扣费,无需订阅。
- Wandy 2每个模型 US$0.18
- Wandy 1每个模型 US$0.09
余额永不过期 · 失败的任务自动退款 · 通过 API 生成的模型归你所有,可下载任意格式。
curl -s -X POST https://api.wandy3d.com/generate/cloud/ultra \ -H "Authorization: Bearer $WANDY3D_API_KEY" -F "file=@photo.jpg"# → {"task_id": "…"} — poll until "status" is "done":curl -s https://api.wandy3d.com/task/$TASK_ID/status \ -H "Authorization: Bearer $WANDY3D_API_KEY"# → {"model_id": "…"} — then GET /model/$MODEL_ID/export?format=glb原帖你是作者吗? 请联系我们修改或删除此页面







