Simulation engines
Experimenter runs a model on one of four engines. The tables below say which features each engine runs. How engines differ explains each engine. It also says how the Experimenter engine decides what it supports, and how to switch engine.
Stella editions
Stella Professional and Simulator run the same commands as Architect.
Stella Simulator is one executable file, not an app bundle. Name that file,
not its folder, and put the license.xml from isee beside it. A folder path
or a missing license.xml stops a job at launch.
Each edition has its own binary. Experimenter takes the path from the first source below that has a value:
- The environment variable
EXPERIMENTER_ARCHITECT_BINARY,EXPERIMENTER_PROFESSIONAL_BINARYorEXPERIMENTER_SIMULATOR_BINARY. - The path saved in Settings.
- The usual install folder of your operating system.
An edition counts as configured when the path it would launch exists. Every engine dropdown lists the configured editions and the Experimenter engine. The Experimenter engine is always configured. A file that names an unconfigured engine shows it as “not configured”, and a job on it stops at launch. The message names the edition and the Settings path to fill.
The Experimenter engine
The Experimenter engine is headless. It opens no window and needs no Stella installation. It runs Stella models only. It reads a Stella model file, translates the model to Python, and runs it in a worker subprocess.
What it runs
Simulate, Sensitivity and Optimization Runs, with Euler, RK2 or RK4.
A NumPy step. It builds one Python function per stage over a flat state vector, and it runs every Run of the engine.
The Stella builtins, modules, macros, conveyors and arrays that the compatibility matrix marks Supported. The engine also reads Stella syntax such as
//,ELSE IFandSTOPTIME.The non-negative stock limit of Stella. The engine limits each outflow of a non-negative stock to what the stock can give in the step. It uses the priority order of Stella. An engine that only clamps the stock at zero keeps the outflows at full rate and creates material.
A feature counts as supported when its test result matches a saved Stella 4.4.1 run.
How it differs from Stella
- A random function draws different numbers than Stella does. A Run that uses one matches Stella in mean, spread and shape. The same seed gives the same result on the Experimenter engine.
What it refuses
- A model with a construct the NumPy step does not cover stops, and the message names the construct.
- A builtin with no matching Stella run refuses by name at launch.
- The engine refuses a feature with no matching run.
Builtins and Limits list the refusals. The Licenses page gives the third-party notices.
Experimenter engine compatibility
Each row is one feature. The Stella and the Experimenter engine columns say whether that engine runs it. Supported means the feature runs. Partial means part of it runs, and the note says which part. Not supported means the Experimenter engine refuses a Run that uses the feature, or the setting has no effect there. The YAML reference gives the type and default of every configuration key.
Simulation
| Feature | Stella | Experimenter engine |
|---|---|---|
| Start, stop, time step and save interval | Supported | Supported |
| Integration method | Supported | Partial. Euler, RK2 and RK4 run. The Experimenter engine refuses Cycle Time. |
| Playback, pause and simulation delay | Supported | Not supported |
| Partial simulation by module | Supported | Not supported |
| Loops That Matter | Supported | Partial. The Experimenter engine does not run Loops That Matter. It reads the loop scores setting to choose the ALLOCATE call rule. |
| Other Stella run settings | Supported | Supported |
| Simulate, Sensitivity and Optimization modes | Supported | Supported |
| Run names, order, retries and timeout | Supported | Supported |
Optimization
| Feature | Stella | Experimenter engine |
|---|---|---|
| Optimizer routines, parameters and payoff link | Supported | Supported |
| Optimizer methods | Supported | Partial. Powell and Differential Evolution run. The Experimenter engine refuses other methods. |
| Powell search | Supported | Supported |
| Differential Evolution search | Supported | Partial. The population size must be at least 5. |
| Grid and Discrete search | Supported | Not supported |
| Additional starts from a file | Supported | Not supported |
| Confidence bounds and worst-case optimization | Supported | Not supported |
| Calibration and Outcome payoffs | Supported | Supported |
| Automatic payoff weights | Supported | Partial. Calibration payoffs with numeric weights on scalar variables run. |
| Full likelihood | Supported | Not supported |
| Calibration element tolerance and time range | Supported | Partial. A Calibration element scores the full span. It has no tolerance setting. |
Sensitivity
| Feature | Stella | Experimenter engine |
|---|---|---|
| Sensitivity routines and parameters | Supported | Supported |
| Sampling methods | Supported | Partial. Limited runs (Latin Hypercube sampling), Limited runs (random sampling) and All combinations run. A design file (From External Parameter File) and the Saltelli design run too. |
| Distributions | Supported | Partial. Uniform, Normal, Incremental and Ad-Hoc run. |
| Setup Criteria and external parameter files | Supported | Partial. An external parameter file runs on both engines, one sample for each row, in file order. Setup Criteria and Optimization to run have no effect on the Experimenter engine. |
Data import and export
| Feature | Stella | Experimenter engine |
|---|---|---|
| CSV imports | Supported | Supported |
| Interpolated imports | Supported | Partial. The Experimenter engine refuses an arrayed variable whose equation is not a constant, at launch. |
| Excel and database imports | Partial. Excel runs. A database import is refused at launch. | Partial. Excel runs. A database import is refused at launch. |
| CSV exports and expected output | Supported | Supported |
| Export of parameter values and tags | Supported | Supported |
| Export schedule and interval | Supported | Supported |
| Horizontal export | Supported | Partial. A horizontal fit carrier runs. A horizontal parameter-values or tag export stops the job at launch. |
| Excel exports | Supported | Not supported |
| Export format options | Supported | Not supported |
| Dashboard tables as export scope | Supported | Supported |
What the Experimenter engine does for each row, measured against Stella 4.4.1:
- Excel imports. An import of type Excel reads the worksheet it names from
an
.xlsxworkbook. It needs no Excel (goldenimport-excel-worksheet). the Experimenter engine readsisee:file_by_runand, as in Stella, it changes nothing on a plain Run (goldenimport-excel-file-by-run). If the workbook lacks the worksheet, validation gives an error on the Experimenter engine and a warning on Stella. No capture shows what Stella does. The message names the sheet and the sheets the workbook has. - Set array dimensions. An import with
isee:dimensionsreplaces the elements of each dimension it names. The Experimenter engine ignores a name that the model does not declare (goldenimport-dimensions). - Interpolation. Onto a scalar variable,
iandrgive the data where the mode says. Elsewhere they give the value of the equation of the variable (goldenimport-interpolate-equation). No capture covers an arrayed variable whose equation is not a constant, so the Experimenter engine refuses it at launch. - Database imports. An enabled import of type
databasestops a job at launch on both engines, with one line for each block. No corpus model has one. - Export schedule.
enabled="false"leaves a file of 0 bytes.frequencychanges nothing. Experimenter starts Stella with-i, which fires every enabled export, so anon_demandexport writes the same file as a dynamic one.interval="DT"writes every save step with a time column. An unset interval andcurrent_timewrite one row at the stop time.one_valuewrites that row with no time column. A number N writes the start row and every multiple of N (goldenexport-interval-frequency-enabled). The Experimenter engine fails the job on a number off the save grid, on zero, on a negative number and onuse_settings. Stella wrote 0 bytes foruse_settingson<all/>in 2 of 2 attempts. - Parameter values and tags. A
<parameter_values/>export writes the numeric constants in row 1 with no time column, whatever the interval. A graphical function writes the columns="Name:x"and="Name:y". A tag export writes the variables whose documentation carries the tag, with a time column at DT and none atone_value. A tag that matches nothing writes the time column alone (goldensexport-parameter-valuesandexport-tag-scope). A horizontal export of either scope stops the job at launch when it is the expected output of the job. No capture shows that file. So does a<parameter_values/>export over an arrayed constant. - Fit carrier at DT. A horizontal export at
interval="DT"has one column for each save interval, not for each DT step. The Experimenter engine writes the same file (goldenhorizontal-dt-export-save-interval). - Excel exports. Stella 4.4.1 writes the target sheet of the workbook and
leaves the other sheets (golden
export-excel). The Experimenter engine refuses an enabled Excel export at launch. The only Experimenter engine writer rewrites the whole workbook, which loses charts and images on every sheet. A disabled Excel export writes nothing. - The model file. A job on the Experimenter engine writes results to CSV only. It never writes
into the
.isdbof the model.
Model constructs
| Feature | Stella | Experimenter engine |
|---|---|---|
| Arrays | Supported | Supported |
| Macros | Supported | Supported |
| Modules | Supported | Partial. Wire a module output into an input port. A module nested in another module runs. The Experimenter engine refuses a bare dotted reference. |
| INT and MOD of negative values | Supported | Supported |
| Non-negative stocks | Supported | Partial. A job stops, by name, when two stocks list one flow in the same role. It also stops at the first step where a flow of the stock goes negative, if that flow has no non-negative tag. One biflow inflow beside an outflow runs when the stock has no dimensions and no uniflow inflow. The measured limit of Stella covers that case. |
| Arrayed non-negative stock with an outflow | Supported | Partial. A job stops at the first step where a biflow inflow of the stock is negative. |
| Conveyors, queues and ovens | Supported | Partial. A conveyor runs, with its leak, capacity, inflow limit, arrest, AGECOUNT and CAPACITY. A job stops, by name, on a belt form that no Stella run measures. The Experimenter engine refuses a queue or an oven at launch. |
| Random builtins | Supported | Partial. Mapped random builtins run and match Stella in distribution. The Experimenter engine refuses unmapped ones. |
| ENDVAL in an optimization | Supported | Not supported |
| Variable names and graphical functions | Supported | Not supported |
| Initial-value equations (init_eqn) | Supported | Supported |
| Variable names holding commas | Supported | Supported |
| STELLA 10 and iThink 10 files | Supported | Not supported |
| Stock and flow solve order | Supported | Partial. An implicit loop beyond the measured shape stops the job, by name, at the first step its limit binds. |
| A DT that names a variable | Supported | Supported |
Diagrams and formats
| Feature | Stella | Experimenter engine |
|---|---|---|
| Diagram, page and number-format settings | Supported | Supported |
Builtins
A Stella builtin runs on the Experimenter engine only when the Experimenter engine reproduces a saved Stella 4.4.1 run of it. This saved run is a golden. Every builtin has one of three verdicts:
- match: The Experimenter engine agrees with the golden within 1e-6 (range-normalized RMSE). The call runs.
- moment match: a random builtin. The Experimenter engine and Stella draw different numbers, so the check compares the mean, the standard deviation and the distribution. The call runs. The Experimenter engine marks the job stochastic and leaves it out of any comparison with Stella.
- refuse: the job stops at launch and names the builtin. A builtin with no measured verdict refuses too.
A random call can carry its own seed, in the main file or a module file. A seed
that the Run sets replaces it. When the Run sets none, the seeds in the calls
apply. When neither exists, a simulate job seeds from its identity. The seed is a
SHA-256 hash of the Experiment name, section, Run name and dataset. The same
job draws the same numbers on every machine. Its entry in batch.json records
seed, seed_source (engine, equation or derived) and derived_seed.
Arrays and macros run, as the Model constructs table above states. Each construct that no golden measures refuses by name.
The table lists 140 builtins. A builtin is at parity when it matches or matches in distribution. The share is rounded to the nearest percent.
| Family | Builtins | Match | Distribution match | Refused | At parity |
|---|---|---|---|---|---|
| array operations | 9 | 8 | 0 | 1 | 8 of 9 (89%) |
| array reducers | 8 | 8 | 0 | 0 | 8 of 8 (100%) |
| cycle time, queue and conveyor | 17 | 2 | 0 | 15 | 2 of 17 (12%) |
| data (history and trend) | 12 | 12 | 0 | 0 | 12 of 12 (100%) |
| delay and smooth | 7 | 7 | 0 | 0 | 7 of 7 (100%) |
| financial | 5 | 5 | 0 | 0 | 5 of 5 (100%) |
| logical | 4 | 4 | 0 | 0 | 4 of 4 (100%) |
| lookup and graphical | 6 | 6 | 0 | 0 | 6 of 6 (100%) |
| math | 20 | 20 | 0 | 0 | 20 of 20 (100%) |
| miscellaneous | 14 | 9 | 0 | 5 | 9 of 14 (64%) |
| random and statistical | 18 | 0 | 17 | 1 | 17 of 18 (94%) |
| test input (discrete) | 6 | 6 | 0 | 0 | 6 of 6 (100%) |
| time and run control | 7 | 7 | 0 | 0 | 7 of 7 (100%) |
| trig | 7 | 7 | 0 | 0 | 7 of 7 (100%) |
| all | 140 | 101 | 17 | 22 | 118 of 140 (84%) |
Refused builtins
Every refused builtin, with its reason. To run a model that calls one, use the Stella engine for that Run.
| Builtin | Family | Reason |
|---|---|---|
ALLOCATEINCREMENT | array operations | no measured Stella golden covers this builtin |
ATTRCOUNT | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; it reads 0 in all three goldens (conveyor, queue and oven), and the attribute equation had no measured effect |
ATTRMAX | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; it reads 0 in all three goldens (conveyor, queue and oven), and the attribute equation had no measured effect |
ATTRMEAN | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; it reads 0 in all three goldens (conveyor, queue and oven), and the attribute equation had no measured effect |
ATTRMIN | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; it reads 0 in all three goldens (conveyor, queue and oven), and the attribute equation had no measured effect |
ATTRSTDDEV | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; it reads 0 in all three goldens (conveyor, queue and oven), and the attribute equation had no measured effect |
CTFLOW | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; the conveyor golden reads the batch size (100, then 50) at the step a batch exits and 0 otherwise |
CTMAX | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; the conveyor golden climbs from 5 to 8 when the second batch exits |
CTMEAN | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; the conveyor golden moves from 5 to 6, weighted by material |
CTMIN | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; the conveyor golden holds 5, the first batch’s transit time |
CTSTDDEV | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; the conveyor golden moves from 0 to 1.414, weighted by material |
CYCLETIME | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; the conveyor golden reads 0 until the first batch exits, then 5, then 8, the transit time of the latest batch |
OSTATE | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; the oven golden reads 0 at the first step, 1 at the next two, 2 at the fourth and 0 from then on |
PROCTIME | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; the Euler conveyor golden reads 5 up to t 10 and 8 from t 11, although the batch that enters at t 10 takes 8, so it lags the transit by one step or reports the previous inflow; the RK2 and RK4 goldens read 8 from t 10 |
QELEM | cycle time, queue and conveyor | has no golden: Stella 4.4.1 rejects the name. Its dialog reads “QELEM row: Unrecognized name - check spelling”, for a queue or a conveyor argument, with one, two or three arguments |
THROUGHPUT | cycle time, queue and conveyor | reads per-batch entry times or the state of a queue or oven, which the Experimenter engine does not keep; a conveyor belt keeps slat positions only; the conveyor golden reads 0 until the first batch exits, then 100, 50, 33.3 and 25 and on to 10.714 (150/14) at t 18, a cumulative average that does not restart at each exit: every Euler value fits the stamped volume divided by (TIME - first stamp time + DT) |
CLOCKTIME | miscellaneous | reads the host’s clock in epoch seconds, so every capture differs by design; there is no value to compare |
LOOPSCORE | miscellaneous | is computed by Stella after the run ends, and the golden’s column is blank at every step. The help gives NaN at all times only when the arguments do not form a loop, so the blank may come from the argument order in the fixture and the capture is not repeated. The Experimenter engine has no post-run pass |
PATHSCORE | miscellaneous | is computed by Stella after the run ends, and the golden reads 0 at the first step, then 1; The Experimenter engine has no post-run pass |
SOFTWAREVERSION | miscellaneous | the host golden reads the Stella version, 4.0401 for 4.4.1, which a run of the Experimenter engine does not have |
SYSTEMCHANGE | miscellaneous | is computed by Stella after the run ends: the golden equals 100 * Population(t) / Population(end), so the first step needs the last; The Experimenter engine has no post-run pass |
BETA | random and statistical | is aborted by Stella 4.4.1 after two draws: the golden column is blank from the third step on, and four attempts in random-beta-recapture (other seed, dt 0.5, truncation tail, a second instance) all abort the same way, so there is no distribution to compare |
Refused forms
A builtin that matches can still have an edge form that the Experimenter engine stops. The verdict of the builtin does not change for it. A job that does not use the form launches. A job that uses the form stops and names the form. To run it, use the Stella engine for that Run, or rewrite the call as the reason says.
| Form | Builtins | Reason |
|---|---|---|
agecount-belt-form | AGECOUNT | AGECOUNT where no capture measures the age: a fifo belt, a linear leak, an arrest, a capacity or an inflow limit, an initial value on a belt with no leak, a transit that changed while material was on the belt, one argument, an arrayed or negative edge, an edge at an exact half step or above the other edge, an argument that is not a conveyor stock, and an arrayed belt read other than by one element or whole along its own dimension. The captures measure a plain belt with a constant transit, the same belt with an exponential leak, edges that snap to the nearest step, one element of an arrayed belt, and a belt over one dimension read whole by a caller over the same dimension, and those run |
array-digit-label | SUM | a whole number in a subscript of a dimension whose element labels are digits in another order, as v[1] where the elements are “2” then “1”: the a2_label_numeric golden shows Stella 4.4.1 reads v[1] as the first element, the one labelled “2”, and the Experimenter engine reads the element labelled “1”. A dimension whose digit labels are 1 to N in order runs |
array-position-subscript | SUM | an @N position inside a subscript, as A[@2, @1] or SUM(a[@1, ] * b[, @2]): Stella 4.4.1 runs both. In the a30_at_transpose golden B[x1, y2] reads A[y2, x1], 1.04963. In the a30_at_sum golden c[x1, x1] reads row x1 of a times column x1 of b, summed over Y, 78.4573378809. The grammar of the Experimenter engine has no rule for @N inside a subscript, so the translation stops. @N as an argument of MATRIXINVERT runs |
array-range | SUM, PROD, MEAN, MIN, MAX, STDDEV | a range inside a subscript, as v[1:3] or v[K1:K3]: no Stella capture measures how a range clips at the ends or reads when it is empty. A capture of the six reducers over a literal, a label and a variable range, the empty range included, would settle it. A subrange written *:Sub runs |
array-stock-offset | IF | a dimension plus or minus a number inside the initial value of an arrayed stock, as sa[D] = IF D = 3 THEN -6 ELSE sb[D+1] + 8: the a22_stock_initial golden shows Stella 4.4.1 runs it. The Experimenter engine writes such a read out per element only for an aux or a flow |
delay1-zero-time | DELAY1 | a DELAY1 whose duration is exactly 0: Stella 4.4.1 reads 1, then inf, then blank cells (the r1-zero delay1 capture), and the Experimenter engine has no blank value to match. A duration above 0 runs, below DT included. DELAY3 and DELAYN read a duration of 0 as their floor and run |
financial-rate-domain | FV, PMT, PV, CGROWTH | a rate of 0 (Stella 4.3.1 aborts the run there), a zero divisor (an nper of 0 or a rate of -1 writes -Inf and halts the run), or a negative growth factor to a power that is not a whole number (NaN, which blanks every later row). A run that ends is not a result to match. Other rates and periods run |
geometric-probability | GEOMETRIC | a probability of 1 or more never succeeds: Stella writes about 1E7 and stops the run. A smaller probability runs |
graphical-per-element | LOOKUP | a graphical function per element of an arrayed variable, a <gf> inside an <element>: no Stella capture measures it, and the Experimenter engine either stops or drops each curve and returns the input. A capture of two elements with different curves over one input, read directly and through LOOKUP, would settle it. One curve for the whole variable runs |
history-other-run | HISTORY | HISTORY with a run or source argument (3 or 4 arguments) reads another run, which the Experimenter engine does not hold. In one fresh Stella 4.4.1 run, run 0 reads as the two-argument form, and run -1, run 1 and the raw source read blank. The two-argument form runs |
if-inside-expression | IF | an IF THEN ELSE that is an operand of another operator, as 1 + IF c THEN a ELSE b, or a bare IF after THEN: Stella 4.4.1 runs 1 + IF c THEN a ELSE b and groups it as 1 + (IF c THEN a ELSE b). The if-in-sum golden reads 4 up to time 1, then 3. ELSE takes the whole tail, so ELSE 3 + 1 reads 4. The grammar of the Experimenter engine has no rule for an IF as an operand, so the translation stops. A bare IF after THEN has no capture. Put brackets round the IF; an IF in brackets, as an argument or after ELSE runs |
log10-domain | LOG10, MAX | LOG10 of 0 or a negative number ends the run in Stella, which leaves blank rows after the bad step. A run that ends is not a result to match. Inside IF the untaken branch does not run |
lookup-window-between | LOOKUPMEAN | a LOOKUPMEAN window end between two points of the curve: Stella reads the curve between the points, and its LOOKUPMEAN is blank at steps where the window lies inside the curve. The rule that gives these values is not derived. A LOOKUPMEAN window whose ends sit on points of the curve or outside it runs. So does LOOKUPAREA, LOOKUPMAX or LOOKUPMIN with an end between two points |
mod-negative-literal | MOD | a negative number written in the equation as an operand of MOD: Stella truncates a literal operand and floors a variable one, and the Experimenter engine floors both. A variable that holds the negative number runs |
mod-precedence | MOD | a MOD joined to + or -: Stella binds MOD looser than both, so 10 + 7 MOD 4 reads 1 in Stella and 13 in the Experimenter engine, whose grammar binds MOD tighter than + and -. Put brackets round the part you mean |
mod-zero-divisor | MOD | a MOD by 0 reads blank in Stella and does not halt the run, and the Experimenter engine has no blank value to match |
nan-second-argument | MIN, MAX | MIN or MAX of two numbers whose second argument is NaN: in three Stella 4.4.1 models MIN(3, NaN) and MAX(3, NaN) read NaN at t = 0, 3 at t = 1 and NaN from t = 2, and no rule explains it. A NaN first argument gives the second argument, and runs. The Run stops at the first step the second argument is NaN |
negbinomial-parameters | NEGBINOMIAL | a success probability of 1 or more writes Inf at every step in Stella, and a probability or a count of successes of 0 or less is not measured. A probability between 0 and 1 with a positive count runs |
nonneg-flow-dimensions | `` | a flow of a non-negative stock over other dimensions than the stock, or a flow that reads an inflow or an earlier outflow over a dimension the flow lacks: Stella 4.4.1 runs a scalar stock into a flow over two dimensions and limits the elements in row-major order, as the help says. In the a6_rowmajor_outflow golden a stock of 5 into a flow of 5 on each of four elements reads 5, 0, 0, 0 at t = 0. The Experimenter engine has no rule for that order. A flow over every dimension of its stock runs, and so does a scalar flow out of one arrayed stock |
random-bound-order | RANDOM, UNIFORM | a minimum above the maximum: Stella 4.4.1 writes about 1E301 at the first two steps and stops the run (the uniform-reversed capture). A run that ends is not a result to match |
rework-minus-100 | REWORK | a percentage of -100 writes -Inf in Stella and blanks every later row, which the Experimenter engine cannot match. Other percentages run |
rootn-even-root | ROOTN | an even root of a negative number ends the run in Stella, which leaves blank rows after the bad step. A run that ends is not a result to match |
runstats-from-only | RUNCUM, RUNMAX, RUNMEAN, RUNMIN | a call with two arguments, as RUNCUM(x, from): Stella reads blank before the from time and folds from it to the end of the run. The Experimenter engine has no form with a start and no end. A call with one argument or with three arguments runs |
shared-flow | IF, TIME | a flow that two stocks list in the same role: Stella moves material between the stocks in a way the equations do not say, and the capture shows the effect without a formula. The translation stops, whatever the stocks’ non-negative flags say |
shortestpath-near-tie | SHORTESTPATH | another route scores within 35% of the cheapest route’s cost, where a score is the cost plus 0.5 for the 0-based index of each intermediate node (the rule that fits 134 of 138 captured pairs): Stella returned a different route than the cheapest on 10 of 138 reachable captured pairs, so its search is not an exact cheapest-route search, and the rule for when it does so is not settled. A call with no such route runs |
smth1-zero-time | SMTH1 | an SMTH1 whose smoothing time is exactly 0: Stella 4.4.1 reads the input, then blank cells (the r1-zero smth1 capture), and the Experimenter engine has no blank value to match. A time above 0 runs, below DT included. SMTH3 and SMTHN read a time of 0 as their floor and run |
Limits
Arrays, modules and macros run on the Experimenter engine, as the Model constructs table above states. Each form below runs and matches a Stella 4.4.1 capture:
- A module nested in another module, and a module file that an absolute path
names on another machine. The Experimenter engine finds that file by its name in the
<model>_Modulesfolder, as Stella does. - An input port with its own graphical function. The wire replaces the port, as in Stella.
- A
Dimension.Elementread, which reads the element by its position. - A variable or an offset in a subscript, as
A[Region, Age - 1]. - Arrayed
DERIVN,RUNCUM,HISTORY,INTERPOLATE,MAXSOFT,MINSOFTandLOGISTICBOUND. - A conveyor, and
AGECOUNTandCAPACITYof a conveyor.
The Experimenter engine refuses the shapes below. For the first group, Stella hangs or gives no usable result, so the Experimenter engine has no saved run to match. For the second group, no Stella run is captured. A job that uses one of these shapes stops, and the message names the shape. Every shape stops at Run, except the module name used twice below, which stops at launch. To run one, use the Stella engine for that Run.
Shapes with no Stella result
| Shape | Why the Experimenter engine refuses it | Stops at |
|---|---|---|
| An outflow over other dimensions than its stock | Stella hangs on the model. | Run |
| MIN or MAX with three arguments | Stella hangs on the call. | Run |
| PERCENTILE of an empty subrange | Stella hangs on the call. | Run |
| An ALLOCATE priority array of the wrong size | Stella hangs on the call. | Run |
| A macro that reads a model variable it does not declare | Stella hangs on the macro. Pass the variable in as an argument. | Run |
| An arrayed macro call over other dimensions than the call site | Stella hangs on the call. | Run |
| A macro defined only in a module’s own file | Stella opens the model and writes a blank series after the first step. Define the macro in the main file. | Run |
Module and macro shapes with no Stella run captured
| Shape | Why the Experimenter engine refuses it | Stops at |
|---|---|---|
| A module name that more than one instance uses | Its variables have two Experimenter engine names and one Stella name. Stella refuses the nested form of this shape. | Launch |
| An element named like a dimension (dimension X lists an element Y, and Y is also a dimension) | the Experimenter engine would read the element as a subrange and add columns the file does not declare. No Stella run shows what Stella does with the name. Rename the element or the dimension. | Run |
| A module output read by a name no capture measured | No Stella run shows how Stella names that output. | Run |
| A macro defined in a module’s file and in the main file with different bodies | The captures hold one body in both files, so no Stella run shows which body Stella reads. | Run |
NaN and infinite values
A model can compute a NaN (not a number) or an infinite value. Examples are
NAN, INF and a division by zero. What the Experimenter engine does with the value depends on
the kind of Run. No capture compares the cases of the table with Stella yet, so
the table states what the engine does today.
| Kind of Run | A NaN in an output column | An infinite value in an output column |
|---|---|---|
| Simulate | Written as an empty cell | Written as Inf or -Inf |
| Sensitivity | Written as an empty cell | Fails that sample |
| Optimization | Fails that evaluation | Fails that evaluation |
A NaN in a variable that the output does not list fails every kind of job.
A division of 0 by 0 gives 0, as the Stella capture does. A division of any other number by zero stops the job, by name, at the variable and the time. Stella writes an infinite value at that step and then blanks every later row. The Experimenter engine refuses rather than write values that Stella does not give.