How to use AI and simulation software together
How to use AI and simulation together, step by step: what to give the AI app, what the simulation has to calculate, and what people must check themselves.
To use AI and simulation together, give each the work it suits. The AI app handles language: drafting the description of the process, questioning it, turning it into model parts and explaining results. The simulation software handles every number about waits, output and cost, because it can repeat them. People supply the facts, check the model against the real process and make the decision. The eight steps below put that in order, with a repair depot as the running example.
Which jobs suit AI, and which suit simulation?
The dividing line is what a mistake looks like. A poor sentence is visible to anyone who knows the process. A poor figure looks the same as a good one. So the figures should come from something that can be rerun and checked, and the sentences can come from anywhere.
- For AI: summaries, first drafts, lists of open questions, code or input files for the model, plain explanations of a results table.
- For the simulation: queues, waits, throughput, how busy people are, cost, the range across runs, the difference between two plans.
- For people: what is true about the process, which compromises are acceptable, whether the model is close enough, what to do.
How to use AI and simulation, step by step
The depot repairs medical pumps for a group of hospitals. Pumps arrive by van, are logged, inspected, repaired, tested and sent back. Hospitals complain that returns take too long.
1. Write the question
Put it in one sentence that names a measure and a choice: would a second test bench or an evening shift do more to get pumps back within five working days? An AI app is useful here as an interviewer. Have it question whatever is vague: what starts the clock, whether weekends count, which hospitals matter most. The answers decide how much detail the model needs.
2. Draft the assumptions, then read them aloud
Give the AI app interview notes, procedures and a list of steps, with names and confidential details taken out, and ask for a written description of how the depot works: each step, who does it, the order of work, the exceptions, and what is assumed. Ask it to mark every statement that came from your notes and every statement it added.
Then sit down with the people who do the work and go through it line by line. This is the cheapest place to find an error. A technician may say that urgent pumps skip inspection, which was in no document. People will disagree with one another too, and those points need settling by observation.
3. Attach a source to every number
For each input, record where it came from: measured, taken from a system, estimated by someone who does the job, or a placeholder. If little has been recorded, a week of cheap measurement goes a long way. AI can help clean an export or write the query. A figure with no source stays marked as a placeholder until somebody replaces it, however reasonable it looks.
Times should go in as a spread. Repairs at the depot are mostly short, with a few that wait days for a part, and that tail is what hospitals notice.
4. Build it in small pieces
Start with arrivals and one step. Run it, look at it, then add the next. A whole depot built in one request is a large thing to check, with no clear place to begin.
Keep each version. After a change, compare the new version with the last one, so that a rule you did not mean to touch has not disappeared. Rerun the earlier checks each time. Try extreme values as well: no arrivals, one technician, a test bench that never works. The model should do what common sense says.
5. Compare the model with a period you know
Set it to run last quarter as it was staffed, and compare turnaround, backlog and how busy the benches were with what the depot recorded. Agree in advance how close is close enough for this decision. If the model says pumps wait for inspection and everyone knows they wait for parts, go back to step two.
An AI app can list the largest gaps. The judgment that the two match belongs to people who were there.
6. Choose the scenarios before you run them
List the options to compare, including doing nothing: the second bench, the evening shift, both, and perhaps a rule that tests urgent pumps first. AI can add options and point out combinations. Write the list down before seeing results, or the temptation is to keep adding until something looks good.
7. Run it enough times
Use several replications for each scenario, and the same random streams across scenarios so that each plan meets the same arrivals. Leave out the opening stretch if the model starts empty and the depot never does. Let the software work out averages, ranges and margins.
8. Explain the results, with the tables attached
Give the AI app the results tables and ask for a one page summary for the operations director. Every figure in the summary should be traceable to a table from a run, so check each one. The text should say which inputs were measured and which were estimated, and what the model leaves out. Then put a dollar figure on the change, since that is the form the decision will be made in.
How can AI connect to simulation software?
There are three common arrangements, from loosest to tightest.
Copy and paste. You carry text and tables between the two. It works with any pair of tools and shows you everything that passes. It is slow, and a transcription slip is easy to make.
AI writes the inputs or the code. It produces a data file, a routing table or a script, and the simulation reads it. This saves typing and leaves a file you can keep, compare and review.
AI operates the software. Where a tool allows it, the AI app reads the model, changes it, runs it and reports back. This suits trying many scenarios, and it calls for the most care. Find out what the AI may change, whether each change can be undone, where the model’s data goes and whether the steps are logged. Work on a copy.
Looser is better for a first study. Move to a tighter arrangement when the model has been checked and the same kinds of question keep coming back.
What goes wrong when AI and simulation are combined?
A number slips in from the conversation. A draft says repairs take about forty minutes, and three steps later that is in the model. The source list in step three is the defense.
The summary says more than the runs did. “The evening shift is better” may be true of the average and false for urgent pumps. Ask for the range and the exceptions, and read them.
The model changes while you are comparing. If a fix goes in between two scenarios, the comparison is void. Freeze the version and rerun both.
Building gets easy and thinking gets skipped. A quick draft can make it tempting to model everything. The question from step one is the limit: if a detail would not alter the answer, leave it out. The same discipline decides when a process map is not worth drawing.
Private information travels. Patient details, customer names and contract prices rarely matter to a queue. Remove them before anything is pasted, and follow your organization’s rules on AI.
Does this work outside a repair depot?
The roles stay the same, and the weak point moves. In a contact center, arrivals are usually well recorded and the routing rules are not, so spend the time on step two. In a hospital clinic, the clock times in the system may record when somebody typed and not when care began, so step three needs the most care. In a food plant, cleaning and changeovers belong in the model from the start. In an office process such as claims or permits, the long waits are often for someone outside the building, and those have to be measured.
Common questions
Do I need to be a simulation specialist?
Not for a small model, though somebody has to understand replications, warm-up and validation well enough to question a result. The glossary covers the terms.
Can I start without buying anything?
Often, yes. Free editions exist, with conditions, and Process Reviews lists what each free edition permits.
When should I not combine them?
When the question can be settled by arithmetic or by a short trial, or when no one has time to check the model. For the choice between the two, see AI vs simulation software.