Glossary
This page defines the terms the learning path and the goal tutorials use, one line each. The terms are in six groups: building a model, running it, comparing and searching, fitting inputs, calibration, data and checks, and assistants, sharing and learning. A tutorial links a term here the first time it uses it.
Building a model
| Term |
Meaning |
| Model file |
The JSON file that holds a model. The Python builder, the editor and the command line all read and write it. |
| Builder |
The Python module nagasim.build. It writes a model file from Python code. |
| Block |
One step of the flow a model describes, such as create, process or dispose. Blocks are linked in order. |
| Entity |
A thing that moves through the blocks, such as a customer, a call or a part. |
| Resource |
Something an entity needs to be served and that has a limited capacity, such as a server, an agent or a machine. |
| Queue |
The entities waiting for a resource. |
| Arrival rate |
How many entities enter per time unit. An arrival rate of 1.0 per minute means one a minute on average. |
| Service rate |
How many entities one server finishes per time unit when it is never idle. A rate of 1.25 per minute means 0.8 minutes per entity on average. |
| Distribution |
The rule for a random duration or count, such as Exponential(rate=1.0). Each draw is one value from it. |
| Time unit |
The unit of every time in the model. The tutorials use minutes. |
| Override path |
The address of one value in a model file, such as resources.Agents.capacity. Scenarios, factors and the optimiser use it to change that value. |
Running a model
| Term |
Meaning |
| Seed |
The number that fixes the random draws of a run. The same model and seed give the same numbers. |
| Replication |
One run of the model with its own seed. One replication is one sample, so a claim needs many. |
| Warm-up |
The first part of a run that is thrown away. A model starts empty, and the warm-up lets it reach its usual load before statistics start. |
| Steady state |
The long-run behaviour of a system once the effect of its empty start has gone. |
| MSER-5 |
A rule that suggests a warm-up length from the throughput times of a run. It groups them in batches of five and drops the head that leaves the tail steadiest. |
| KPI |
A key performance indicator: a number a run reports, such as resource/Server/Time in Queue Avg. The KPI reference lists them. |
| Utilisation |
The share of time a resource is busy. |
| WIP |
Work in progress: the entities inside the system at one moment. |
| Throughput |
How many entities leave the system per time unit. |
| Little's law |
In a stable system, the average number inside equals the arrival rate times the average time inside. |
| Confidence interval |
A range that holds the true mean with a stated probability, usually 95%. The tutorials compute it across replications. |
| Half-width |
Half the length of a confidence interval, so a mean of 3.2 with a half-width of 0.3 reads as 3.2 plus or minus 0.3. |
| Precision |
The half-width you accept, set as a share of the mean (relative) or in the KPI's unit (absolute). |
Comparing and searching
| Term |
Meaning |
| Scenario |
A name and a list of overrides on the base model. It answers one what-if question. |
| Common random numbers |
Running every scenario or design point on the same seeds, so the random noise they share cancels in the comparison. |
| Paired difference |
The difference between an option and the Baseline (the model as it stands), replication by replication on common random numbers, with a 95% interval. An interval that holds zero means no clear difference. |
| Factor |
One model parameter an experiment varies, with its range, such as the number of agents from 5 to 7. |
| Response |
The KPI an experiment measures at each design point. |
| DOE |
Design of experiments: choosing which combinations of factor values to run so that effects can be read from few runs. |
| Full factorial |
A design that runs every combination of the factors' levels. |
| Main effect |
How much the response changes, on average, when one factor goes from its low to its high level. |
| Interaction |
An effect that depends on another factor, such as extra agents mattering only when arrivals are high. |
| Tornado |
A one-at-a-time sensitivity table: each factor swings alone while the others stay in the middle, sorted by how far the response moves. |
| Decision variable |
A parameter you can choose, such as the number of agents. The optimiser searches over it. Optimisation calls it a factor. |
| Objective |
The KPI the optimiser minimises or maximises, such as total cost. |
| Optimisation |
A search over the decision variables for the best value of the objective within a budget of replications. |
| Budget |
The most replications a search may spend. |
| Term |
Meaning |
| Distribution fit |
Choosing a distribution and its parameters so that it matches observed data. |
| AIC |
A score for a fitted distribution that rewards fit and penalises extra parameters. Lower is better, and a gap under about 2 is no real difference. |
| KS test |
A test of how far a sample is from a fitted distribution. A very small p-value means the fit is poor. |
| Input uncertainty |
The error in a result that comes from fitting inputs to a limited sample. More replications do not shrink it. |
| Bootstrap |
Redrawing a sample with replacement from the data, many times, to see how much a fit would change with different data. |
Calibration, data and checks
| Term |
Meaning |
| Calibration |
Tuning model parameters until the model reproduces what the real system measured. |
| Calibration target |
One measured number the model has to reproduce, such as a mean wait of 3.2 minutes, with the tolerance you accept. |
| ABC |
Approximate Bayesian computation: calibration that returns every parameter value consistent with the data, as an interval, and not only the best one. |
| Data source |
A named place a model reads data from, such as a CSV file or a REST service. |
| Data binding |
A rule that reads one column of a data source and writes the result over one model parameter. |
| Connection |
The address and credential of a live data source. It lives in a file of yours, and the model names it. |
| Order book |
The list of jobs a plan has to schedule, each with a release time, a due date and a routing. |
| Makespan |
The time from the start of a plan to the end of its last job. |
| Tardiness |
How late a job finishes after its due date, or 0 when it is on time. |
| CP-SAT |
The constraint solver in the OR-Tools package. The engine uses it to sequence an order book. |
| Stock |
A quantity that accumulates, such as a population or a tank level. The model file calls it a level. |
| System dynamics |
Modelling with stocks, the flows that fill and drain them and the feedback between them. |
| Agent |
An individual with its own states and rules, such as a staff member who is working or on a break. |
| Hybrid model |
A model that mixes event flow, system dynamics and agents, and lets each read the others. |
| Vensim and XMILE |
Two file formats for system dynamics models. Vensim files end in .mdl, and XMILE files in .xmile or .stmx. |
| Assertion |
A claim about a KPI stored in the model file, such as a mean wait of at most 5 minutes. It passes, fails or is inconclusive. |
| Continuous integration |
A job that runs your checks automatically on every push to a repository. |
| JUnit report |
An XML file of test results that most CI systems can display. |
| Holding cost |
The cost of one entity being in the system for one model time unit. |
| Cost driver |
An input whose change moves the total cost the most. |
Assistants, sharing and learning
| Term |
Meaning |
| Tool call |
One request an AI assistant makes to the engine, such as adding a block or running a model. Each tool is a plain Python function. |
| MCP |
The Model Context Protocol, a standard way for an AI assistant to call tools. naga mcp publishes the engine's tools over it. |
| Workspace |
The folder an assistant may reach through the tools. The person who starts the server sets it, and a tool cannot widen it. |
| Study folder |
The folder that holds one decision study: the question, the goals, the assumptions, every model version and its checks. Any assistant, or you, can resume the study from it. |
| Player file |
One HTML page that replays a recorded run in a browser. It holds names, layout and the run, and no parameter of the model. |
| Viewer file |
One HTML page in which the engine itself runs, so the reader can change inputs and run again. It holds the whole model. |
| Plugin |
A Python file or package that adds a block, a distribution or an exporter to the engine. It is trusted code. |
| Policy |
A rule that picks an action at a decision point, such as which of two machines gets the next job. |
| Reinforcement learning |
Learning a policy by trying actions in a simulated system and keeping those that earned more reward. |
| Episode |
One run of the model from start to end, during which a policy makes its decisions. |