Skip to content
Optimization tab reference

Optimization tab reference

This page is the field-level and rule-level reference for the Optimization tab. The task steps are on the Optimization tab page.

Payoff kinds

One tab covers the two payoff kinds of Stella, because both use the same optimizer machinery:

Payoff kindWhat the optimizer does
CalibrationFits parameters so the model reproduces historical data. It scores the fit against a saved comparison run.
Outcome OptimizationDrives parameters to maximize or minimize an objective. It makes no historical comparison.

The model decides which payoff kind a Run drives, not this tab. See Payoff kind.

The tab edits one optimizations: entry. Its leaf items are Runs. Calibration and Outcome are payoff kinds inside the entry. See Optimizations.

Optimization tab layout

The tab uses the shared editor shell:

PaneContents
Order (left)Two pages. Order is the Run list, with optional groups and a Chain checkbox on each step row. Datasets is the per-tab dataset axis.
Middle tabsFiles (import/export entries), Optimizations, Payoffs, and Modules (shown only when the model declares named submodules).
Settings (right)Details for the selection. The Optimizations tab splits it into Settings and Parameters sub-tabs. Each is a list over a form, or a form alone. The Payoffs tab shows the payoff form, the Elements list and the Selected payoff element options form.

Experimenter edits these items:

  • the numbers
  • the method
  • the payoff link
  • the time horizon
  • the comparison variable
  • which variables participate
  • the run order

A structural edit is different. To rename a model variable, or to change what it computes, use Stella Architect.

Runs and the Active column

Each Run arms exactly one optimization. To bind it:

  1. Select the Run in the Order list.
  2. In the Optimizations tab, tick the Active box on the row you want.
  • The check names the armed optimization. The selection highlight marks only the row you last clicked. If you inspect a row, the check does not move.
  • Each Run arms its own optimization. This choice never reaches the Template, whatever Write changes to model file holds.
  • The Active column of the Payoffs tab shows the payoff that the armed optimization scores. Tick a different payoff to move the payoff link of the optimizer. This edits the own setting of the optimizer, so Write changes to model file carries it to the Template on Save. Exactly one payoff stays active. Unchecking without a replacement is refused.

A typical calibration iterates between optimizations to convergence:

fit-capital     → Capital
fit-employment  → Employment
fit-capital-2   → Capital
fit-employment-2→ Employment

The own Start Time / Stop Time of a Run is the window that a Calibration Run scores its fit over. It is in Run settings below. If unset, the fit scores the run window of the model. In a chained group the Runs share one model copy, so a window persists onto later Runs. In the default unchained mode it applies to its own Run only. The Start Time / Stop Time rows of the Payoffs tab show the same value read-only, for reference while you browse a payoff.

Add and Remove

The four tables split into two kinds:

TablesAdd / Remove reaches
Optimizations, PayoffsThe model itself. Node creates and deletes queue at click and apply at Save.
Optimization Parameters, Payoff ElementsThis Experiment only. These are per-row overrides, never the model.

Optimizations and Payoffs. A queued create or delete needs two conditions at Save: Write changes to model file is on, and the Template resolves. With Write changes to model file off, the queue waits for the next Save with it on. A queued edit counts as unsaved. Reset discards it, and Save states what it will remove. The first model write makes the one-time <model>.stmx.pre-experimenter-backup.

  • Add: type a name. An existing model name selects and binds it. A new name queues the node. A fresh payoff carries no payoff kind, so it reads as Outcome until you set Payoff kind.
  • Remove: drops the row at click. It clears every Run bound to the row and every override that pointed at it. Removing the active row clears the selection. Only the model-node delete waits for Save.
  • Duplicate (Optimizations tab): copies the selected optimization under a new name, with its parameters, payoff link and settings. The copy starts inactive. Tick Active on its row to arm it. Save writes the copy to the model. Duplicate refuses a name that waits for removal.
  • Import and Export (Optimizations tab) show disabled, with a gray note. They are Stella file actions on an optimization, which Experimenter does not run.
  • Rename: double-click the Name cell. A model-owned row renames the model immediately, not at Save. A payoff rename relabels every optimizer link to it. The YAML of the configuration follows the new name at once. If the rewrite cannot resolve a reference, Experimenter logs it as [Info]. A name already in use refuses the rename.

A configuration can name an optimizer or payoff that Stella no longer has. This happens when you renamed or deleted it in Stella after Experimenter last saved. That row now shows its Name in bold, warn-colored text with a tooltip. Experimenter will not create one at Save. Remove the row from the configuration, or add a matching node back in Stella. Remove drops it like any other row.

Layout. Every list on this tab shows rows and takes no typing. Select a row, then edit it in the form under the list. Each form sits under a header. The headers are Optimization setup, Selected optimization parameter options, Payoff specification, Payoff elements and Selected payoff element options. The Payoffs Settings pane has no border box.

Parameters and Elements. The variable of each row is a reference. You pick it from the model and never type it free:

  • The parameter picker offers only variables whose equation is a bare number: a constant, a constant flow, or a stock with a constant initial value. Stella cannot fit a formula. This is why a variable can be missing from this list.
  • The element picker offers every model variable. A scored element is an output.
  • Remove drops only the highlighted override row. A row that the model itself declares stays.
  • The … button on the Variable row of the form under the list rebinds the row. If you rebind a model-owned row, Save removes the old node from the model. The overrides carry to the new row. The bounds authored in the model do not. This is how you delete a model-owned row. Save logs each removal.

Payoff kind: Calibration vs Outcome Optimization

The payoff kind of a Run follows the payoff that its armed optimization references. In the model, a payoff carries a calibration="true|false" flag. An absent flag means Outcome.

Payoff kind is a dropdown in the Payoffs Settings pane. It offers Calibration and Outcome optimization, and it overrides the flag of the model. A choice that matches the model clears the override. The override reshapes the pane and drives Validate. It reaches every run copy at the start of each job. Save does not write it into the model, with one exception. When the save writes an element comparison type onto an Outcome payoff, it also sets calibration="true" on that payoff.

Calibration

Each payoff element scores a model variable against a variable in a saved comparison run in the .isdb of the model copy. You supply the data as a CSV (see Imports & Exports for the format). The run name and the CSV are separate settings:

  • Run name. The model usually names the saved run already. Then leave comparison_run: unset. Set it only when the model names no run. It then points every element at that one run. A Run is refused only when an element names no run anywhere. The error names the element.
  • CSV file. Experimenter resolves it per payoff in this order: the per-payoff override, then the group default, then the file-level key. If a run name exists but no CSV exists at any level, the payoffs score whatever the .isdb already holds under that name. Experimenter runs, warns once, and names the run. The pane states the same fact.
  • When the elements of the model name several runs, one CSV cannot be attributed. Experimenter keeps the saved runs of the model and warns.
  • A CSV column that no payoff scores is fine. Experimenter writes the columns that resolve to model variables and skips the rest. It lists the skipped names in <CSV-name>-unmatched-columns.txt beside the .isdb, and warns once.

To set the group default, select the group in the Order pane. Its Settings pane holds Default comparison run (the CSV, picked with …, stored relative to the configuration) and Comparison run name. These two rows are at the top of the flat group settings panel, above Retries/Timeout/Output. A single Run uses the same layout. In the Payoff Settings panel of each payoff, the Default checkbox switches between two states. One inherits that default (path shown read-only). The other is a per-payoff override.

These two Comparison rows show only when the group has something to compare against. That means any Calibration payoff among the Runs of the group, or a payoff kind that Experimenter cannot resolve (no model loaded, an unrecognized optimizer selector, an empty group). They hide only when every payoff in the group is provably an Outcome Optimization. Hiding them never removes a comparison: or comparison_run: that is already set. Add a Calibration Run to the group to see them again.

The Elements list shows Variable and Weight for each element. Select an element to edit it in the Selected payoff element options form:

FieldHow to editNotes
VariableRead-onlyThe model variable the element scores. The … button of the list row rebinds it.
WeightTypeA number, or a bare model variable name for a dynamic weight.
Comparison variableType, or pick with …The data-side name (compare_name). Clear it to stop overriding.
Comparison typeDropdownSquared Error (ls) or Absolute Error (mad), the dialog labels of Stella. A model that already carries madp loads, but Experimenter does not author it.
Comparison toleranceTypePer-element override of the payoff-wide default.
Payoff time rangeDisabledA Calibration element shows Entire run, with a gray note. See Outcome Optimization.

The comparison rows show when Use simplified payoff specification settings has no tick.

The Payoff Settings panel also holds these rows for a Calibration payoff:

The Payoffs page. The Payoff wide comparison run menu sits under Comparison run.

  • Payoff wide comparison run: a menu, described below.

  • Use simplified payoff specification settings: the checkbox of Stella. Experimenter writes only the two states that Stella writes:

    • Ticked. The payoff holds a payoff-wide comparison run, type and tolerance, and every element gets these values. The panel shows Payoff wide comparison type and Payoff wide comparison tolerance. The element options show Variable and Weight only, as in Stella.

    • Unticked. The payoff holds no payoff-wide values, and each element keeps its own. The element options show Comparison variable, Comparison type and Comparison tolerance.

    When you tick the box, the payoff-wide rows show the values that Save writes.

    The box shows the state of the model file. Stella shows it ticked when the payoff holds payoff-wide values. The next save in Stella then copies these values onto every element.

    Ticking the box removes the element type and tolerance overrides of that payoff. Unticking it removes the payoff-wide overrides. The configuration key is simplified (see the YAML reference). Validate refuses an element value that differs from the payoff-wide value when you tick the box. It also refuses simplified: false together with a payoff-wide value.

  • Automatically compute weights: the automatic weights switch of Stella. When checked, Stella derives every weight itself and discards yours. If you set a Weight while it is checked, the weight still writes, and Experimenter warns.

  • Compute full likelihood (optimize over weights): a setting of Stella. It replaces Automatically compute weights when the weight of at least one element is a model variable name. When checked, Stella scores a full likelihood and treats the named weight(s) as free parameters. The box shows the effective value: the override when set, otherwise the switch of the model.

The Payoff wide comparison run menu lists:

EntryEffect
Select a RunDisabled. Stella refuses a payoff that holds it (“Payoff definition is not valid”).
A saved runEach run of the .isdb of the model. The pick writes the comparison_run of the payoff, which every element then uses.
Current RunWrites -2.
Load from external data…Disabled. It is a Stella file dialog. The comparison file field above the menu supplies a data file instead.

The menu shows disabled for an Outcome payoff.

Outcome Optimization

There is no comparison data. An Outcome Run needs no CSV, no comparison run, and no .isdb handling. The controls are in two places:

  • On the Settings pane of the optimization: Payoff action (Maximize or Minimize, the objective sense, stored as max or min) and Active. An unticked Active switches the payoff link off, and Stella falls back to its next active link. Both edit the ACTIVE payoff link of the optimization. This is the first link not marked inactive, never blindly the first one listed.

  • On each element, in the Selected payoff element options form: Payoff time range, Start and Stop. The Payoff time range dropdown shows the labels below. The config key still holds the token:

    ValueLabelBounds
    terminal_valueFinal valuenone
    full_spanEntire runnone
    at_timeSpecific timeStart only
    subsetTime periodStart and Stop

    Experimenter refuses a bound that the value does not allow and names the field. It never drops the bound silently. If an element has no time range in the model, the rows show disabled. Experimenter edits an existing time horizon and does not create one. A Time period sums the open interval, weighted by DT.

    A Calibration element shows Payoff time range disabled, with the note “No effect on a Calibration payoff. Stella 4.4.1 scores the full run in every case tried, and a Stella save removes the setting.”

Every payoff also shows read-only Start Time / Stop Time rows. These are the Payoff Time Range concept of Stella: the window that a fit of a Run or an Outcome objective is scored over. They mirror the Start Time / Stop Time of the bound Run (see Run settings). The value has one editor, in Run settings, so these rows never write. Their bounds follow the same Value/Bounds table above. When a payoff has more than one element, the rows take the UNION across every element. An element with no time range at all (ordinarily every Calibration element) counts as unresolved and shows both bounds. In that case only the simulation window scopes what gets scored.

The Payoffs pane reshapes by kind: comparison rows for Calibration, the objective for Outcome. Start Time / Stop Time show for both.

Payoff findings

Validate checks that the comparison variable of every model-authored Calibration element resolves to a model variable. Findings appear on this tab only.

  • A broken payoff that no Run uses: a warning.
  • A broken payoff that an armed optimization references: an error, and it blocks the launch.

A subscripted reference such as Population[1] resolves by its base name here. The per-element array checks are in the fit-carrier List coverage and the wildcard comparison coverage instead.

Value overrides

Optimization settings under Grid.

Optimization settings under Differential Evolution, with the payoff table and its Action column.

Optimization settings under Differential Evolution, scrolled to the last rows.

You can override the optimizer and payoff values of the model without touching the model. Select an optimization on the Optimizations tab. Its Settings sub-tab is a form, and its Parameters sub-tab is a list over a form.

WhereFields
Optimization settingsadditional starts, number of starts, starts file, tolerance, initial step, max sims, report interval, confidence bounds
Optimization settings (dropdowns)method, payoff action, confidence bounds as, search type, mutation type, crossover type
Optimization settings (Grid only)search type
Optimization settings (Discrete only)max passes, refine
Optimization settings (Differential Evolution only)generations, population size, scaling factor, crossover prob, K/rand prob, seed
Optimization settings (compared sensitivity)optimize across sensitivity analysis, maximize worst (lowest) payoff
Optimization settings (payoff link)choose a payoff definition, payoff action, active, the Differential Evolution payoff table
Payoffs tab (Active column)which payoff the optimization references
Per parametermin value, max value, Step Multiplier, increment
Per parameter (Grid only)tolerance, number of steps
Per parameter (Discrete only)deadzone
Payoff (spec-level)comparison run, comparison type, comparison tolerance, automatically compute weights, compute full likelihood, Payoff kind, simplified
Per elementweight, comparison variable, comparison type, comparison tolerance
Per element (Outcome)payoff time range, start, stop

The Settings form lists these rows in this order. A gray note under a row names the limit of a disabled or conditional control.

  • Additional starts picks None, Randomized, or From File, the labels of Stella.
    • Number of starts enables under Randomized. The starts are not random. The first start uses the values in the model. Each extra start then takes the next bisection point of every parameter range. The points run 1/2, 1/4, 3/4, 1/8, 3/8, 5/8, 7/8. A repeat run gives the same starts. Stella uses this rule and the Experimenter engine copies it. Stella showed the first three points. The engine extends the pattern after them.
    • Starts file (model-relative) enables under From File. Stella also stores a sheet name for the file, and Experimenter has no key for it.
  • Optimize across sensitivity analysis runs the full sensitivity analysis alongside each optimizer evaluation. It scores against the named sensitivity routine. None (the model default) skips the cross-check. Maximize worst (lowest) payoff is enabled only after you choose a sensitivity routine. Checked, it optimizes for the worst-case payoff across the runs of the sensitivity. Unchecked (the default of Stella), it optimizes for the average.
  • Optimization method is one of Powell, Grid, Discrete, or Differential Evolution. A value outside the dropdown never reaches the model.
  • Choose a payoff definition is a dropdown of the payoffs of the model.
    • Payoff action and Active edit the active payoff link.
  • Compute confidence bounds turns on the confidence bounds of Stella for a single-payoff optimization.
    • Confidence bounds as offers As statistical percent and For payoff value change.
    • Confidence value holds one number.
    • All three rows write one stored number, confidence_range. 0 is off, a positive number is a payoff value change, and a negative number is a statistical percent.
    • Ticking the box writes 2. A change of mode writes the default of the new mode (95 percent, or 2).
    • The mode and the number enable only with the box ticked.
    • A percent shows a % sign after the field. A percent above 100 reverts the field. Validate refuses a stored number below -100.
  • Tolerance, Initial Step, Max Sims and Report interval show per method. Powell shows all four. Grid shows none. Discrete shows Tolerance and Max Sims, and lists Max Sims, Max passes, Tolerance and Refine in that order. Differential Evolution shows Tolerance and Report interval, with Report interval after the method and Tolerance after Population size. A value stored for a hidden row stays in the file.
  • Search type shows only for Grid. It offers Exhaustive, Bisecting, Sequential and Latin Hypercube. The row shows Exhaustive when the file stores none, and choosing Exhaustive removes the override.
  • Max passes and Refine show only for Discrete. Max passes is the label of this pane. The dialog of Stella reads “Max sass” (a Stella typo).
  • The Differential Evolution rows show only when the effective method is Differential Evolution. It is a population search: each generation refines a set of candidates. Mutation type picks how the next generation derives. rand explores, best exploits, and the other types are between the two. Stella runs (generations + 1) × population size simulations. The rows run in this order: Mutation type, Crossover type, Generations, Population size, Scaling factor, Crossover prob, K/rand prob and Seed. Each one writes only when it differs from the model.
  • Under Differential Evolution, a table replaces the three payoff rows.
    • “Select any applicable payoff definitions” lists every payoff of the model, with Active, Name and Action columns.
    • Action offers Maximize, Minimize, Keep <= 0 and Keep < 0. The two Keep actions are constraints. Stella drops a run that breaks one from the final solution.
    • A Calibration payoff has no action. Its Action cell stays empty and disabled.
    • The table writes payoff_links. The writer and Validate refuse payoff_links on an optimization whose method is not Differential Evolution.
    • A change of method away from Differential Evolution drops the payoff_links of that optimization.

The Parameters sub-tab lists each parameter with Variable, Min and Max. The Selected optimization parameter options form below the list holds the other fields of the selected row:

  • Variable shows read-only. The … button of the list row rebinds it.
  • Min value and Max value.
  • Step Multiplier shows and edits the INVERSE of the stored scaling value, as the dialog of Stella does. A larger number here takes a smaller step. The YAML keeps the stored value. Leave the field at 1 unless you mean to change the step.
  • Increment shows for Grid, Discrete and Differential Evolution.
  • Tolerance and Number of steps show only for Grid.
  • Deadzone shows only for Discrete.

Report interval sets how often Stella writes progress into the optimizer log. Experimenter writes the confidence and report interval values and reads neither back. It does read the log that the interval shapes (see the optimizer log for a truncation caveat). Experimenter computes no fit statistics. Do the analysis in your own R or Python.

Experimenter writes overrides into the model copy of each job at the start of that job. The same set applies to every Run. On Save, most of the block also writes into the Template through Write changes to model file (on by default). Four stay Run-only:

  • Payoff kind
  • Automatically compute weights
  • the comparison variable of an element (a group or dataset commonly rebinds it)
  • which optimization a Run arms (the Optimizations-tab Active column)

One case writes the Payoff kind. The Experiment says Calibration, the save writes an element comparison type, and the model holds that payoff as Outcome. Then the save also sets calibration="true" on that payoff. Without it, the model would hold a comparison type under an Outcome payoff, which Stella does not write. The reverse case writes nothing.

Groups

Groups partition the Runs into self-contained runnable scopes. Each group runs on its own model copy and writes under Output/<experiment>/<group>/. Each Optimization step carries a Chain checkbox (the chain: key on the step) that picks its mode. A group has no chain: key. The load step refuses a file that sets one on a group, with a message that names the step key.

Unchained (the default)

Each job gets its own subfolder and a fresh Template copy. The fitted parameters of one job never reach the next. Use this mode to test each optimization on its own. A step with no chain: key is unchained.

Chained (chain: true)

A step with chain: true continues in the folder of the step above it. Each unbroken run of chained steps shares one model folder, named for its first step. Its jobs execute in that folder one after another, so files accumulate in place. An unchained step between two chained runs starts a new folder from a fresh Template copy. The mechanism is folder persistence, nothing more. Carry-forward exists exactly where the import/export configuration of the model creates it. This is typically a Parameters.csv that each job imports at start and exports fitted at end. This is the staged-calibration pattern.

  • The chain resets at the group boundary. The first step of a group starts from the Template, never from the result of another group. chain: true on a first step is a validation error.
  • Chaining accumulates within the group only. To carry the result into a later Sequence stage, nest that stage one level under the stage that references this group. A chained group is one of the shapes that can enclose a deeper stage (The outline). The Chain checkbox of a step is a separate setting, one level down. By itself it does not nest anything in a Sequence.
  • A Script never sits in a group. To adjust a file for the next Run, name the Runs as stages on the Sequence tab. Add the Script stage between them.

Chain, datasets, and fallbacks

With a dataset axis, the selected target runs once per dataset, and each dataset gets its own scope, chained or not. Each row of the Datasets page carries an Active checkbox (Datasets page). Unchecking it skips the dataset without removing it.

Experimenter copies every top-level file of the model folder into the copy of the scope. A dataset replaces files of the same name once, at scope setup. If the dataset does not provide a file, the scope falls back to the base version. batch.json and the Monitor log flag this fallback. Experimenter ignores a file that is only in the dataset. The overlay replaces model-folder files and never adds a new one. For a chained group, Experimenter builds the folder once and re-overlays nothing between jobs. An import-only file passes through byte-unchanged. Each job overwrites an exported file, and the next job re-imports it.

Group settings

Select a group to edit its overrides. An empty field inherits the file value. The first field, Group, shows the name of the selected group, read-only.

  • Retries: extra attempts after a failed job.
  • Timeout (s): the watchdog limit for each job. It overrides both the file timeout and calibration_timeout.
  • Retention: what the group keeps on disk (Retention). The list shows the effective value. A pick that matches the inherited value drops the key.
  • Output variables: a .txt/.csv variable list, or the export name of a model view Table. It scopes the authored export of the group.
  • Window: the default payoff time window that the Runs of the group inherit. The own time horizon of a Run wins.

Run settings

Select a Run to see three Settings tabs.

  • Output Settings is the tab that the Output Settings tab describes. It is file-level, not per-Run. It holds the Retention and output composition defaults of this document. It never applies to the whole session.
  • Run Settings leads with a read-only Run field, the name of the selected step. It then carries the first five overrides above, per Run. It also carries Move to File Default (see Run Tab), which promotes the own output settings of a Run to that Output Settings tab. Every override resolves Run > group > file. The fields show the resolved defaults as gray placeholders (Retries 2, Timeout 900).

Run Settings also carries Start Time / Stop Time. They have the same format as the Run settings section of the Simulation tab, and they resolve the same Run > group > file chain. The group layer is the own Window field of the group, described above. It is not a sim_specs field: one field name spans both concepts on an Optimization document. This IS the time horizon of the Run. The fields are not a duplicate of the payoff window. They ARE the payoff window, because the own config.sim_specs start/stop of an optimize Run is the same value that Stella scores a Calibration fit over. The Payoffs tab shows a read-only reflection in its Start Time / Stop Time rows, described above. You edit the value only here.

The same tab also carries the model-level simulation settings that a Run offers on the Simulation tab (see Per-Run settings for the full table). Every setting besides Start Time / Stop Time resolves Run > model, with no group layer, exactly as on a Simulation Run:

SettingMeaning
DTThe integration step. The Fractional box beside it makes the field a denominator n.
Integration methodEuler, Cycle Time, RK2, or RK4. These are the dialog labels of Stella. The combo stores the four tokens of Stella unchanged, Cycle Time as CYCLE_TIME. If you pick the model value, the key is removed.
Restore parameters on startRestore parameters to default at simulation start.
Save intervalHow often Stella retains values. It must be a multiple of DT.
Keep all variable resultsDefault checked.
Track flow quantitiesThe dialog label and polarity of Stella. Checked writes isee:instantaneous_flows="false". Unchecked writes "true". It has two states. An absent key means stored false, so the box shows CHECKED by default. The box enables under RK2 and RK4 only.
Ignore module errors, Strict unitsTwo two-state checkboxes. The default with an absent key is unchecked.
Disable simulation eventsThe Model Settings checkbox of Stella. It writes on the <model> element of the run copy, not on <sim_specs>. The default of Stella is enabled (unchecked). Unchecking deletes the attribute and does not write false.
Run Name PrefixThe prefix for auto-numbered saved-run names.
Sim Duration, Pause IntervalDisplay pacing. A plain simulate Run ignores both. Optimization and sensitivity steps keep them.

These are model-level attributes, not fit parameters. They configure how Stella runs the model, in the same way for a fit pass as for a plain simulation. The fitted values themselves stay in the own parameter table of the optimizer.

Simulation delay and Play start are not on this pane (see Per-Run settings for why). Experimenter forces them on the copy of a plain simulate Run and on the copy for the fitted re-run. Nobody has tested the fit pass of the optimizer under this forcing. It keeps the values of the model.

Run targets

Create groups from the right-click menu of the Order pane and drag Runs into them. Duplicate copies a Run or group in place (editor shell). The Target field in the status line names what will execute:

  • Only the selected Runs run. A Run that reads the output of an unselected Run runs anyway, on the files in its copy.
  • In a chained group, select the first Run, or Runs 1 to k, with no gaps. That selection runs chained, as the whole group does. Any other selection turns Run off, and the tooltip names the Run that it needs. experimenter run --run refuses it with the same text.
  • An unchained Run runs alone on a fresh copy. Several Runs (Cmd/Shift-click) run in Order-pane order. The selection can span groups.
  • A group runs its whole scope, unchained or as one chain.
  • A mix of Runs and a group, or two groups, is no target, and Run is disabled. There is no whole-file target. With nothing selected, the field reads “Target: none”.

Pause, between Run and Stop, holds the queue after the in-flight optimize step finishes, before the next one starts. It is active only for a multi-step target (more than one step) (Monitor).

Stop, beside Pause, kills the running Stella at once, paused or not (Monitor). For a worked calibration, follow Optimization Groups (Calibration).

Files and outputs

The Files tab holds the import/export entries. The most important is the fit-carrier round-trip (a Parameters.csv-style import/export pair) that carries a fit. Imports & Exports has the vocabulary.

Shared list and per-Run overrides. With nothing or a group selected, the pane shows the shared list that every Run starts from. With a Run selected, it shows the effective list of that Run. If you edit an inherited entry, this writes a per-Run override. The shared list and the other Runs do not change. Add supplies the file to the selected Run, or to the shared list when nothing is selected. Right-click an override row for Revert to Shared. Remove is disabled on an inherited row (select the group to edit the shared entry).

The fit carrier is a pair. A file carries the fit whenever the effective configuration makes it both an enabled export and an enabled import of the same file name, whatever their own interval or behavior. A one-set-of-values export paired with a Set parameters import is the common case, not a requirement. Any file that gets chained is a carrier.

A model that already round-trips its Parameters.csv is a carrier with no data entries at all. The pair matters, not the file name. Exactly one pair is required. Two pairs is an error. With no pair, Experimenter warns and names the missing half. It runs on a generic capture and skips the fitted re-run, so nothing carries forward (Calibration output).

The Scope control sets what an export writes:

ScopeMeaning
Model’s listInherit the own <list> file of the model block (read-only name).
ParametersThe Parameters export of Stella: every model parameter, no list file. This is the simplest carrier for an arrayed model.
ListA variable-list .txt that you pick with ….
TableOne of the own view Tables of the model, picked by name. Never a fit carrier.
AllEvery variable.

For a List-scoped carrier, Experimenter checks the list against the parameters of the armed optimizations:

  • A parameter that the list omits is an error. Stella would drop its fitted value at quit.
  • An arrayed parameter needs every concrete element (Capital[Sector1] does not cover Capital[Sector2]). An unresolvable element degrades to a warning on the base name.
  • An extra listed name is a warning: Stella exports it but does not fit it.

Experimenter also rewrites the list file in the run copy. It writes the parameters of the chain that runs, one line each, with subscripted forms kept. Your source list never changes. Experimenter leaves alone a list that a data entry scopes by hand.

An optimize Run can omit config.optimizer. When the model holds exactly one optimizer, the Run uses it, and validation accepts the Run. A step under calibration: can omit it too, by the same rule. The step then takes its kind from the payoff of that optimizer. Thus a step on a single Outcome optimizer needs no comparison run. With several optimizers, validation refuses the Run or the step and says to name one.

A stale carrier fails the job. An optimize job succeeds only when the engine actually rewrote the carrier. Experimenter snapshots it before each attempt. A carrier that did not change fails into verify-and-retry. This catches an export that never fired.

Results land under Output/ per the layout in Outputs & Manifest. An unchained scope has one folder per job. A chained scope has one shared folder. A full fitted re-run becomes the Output.csv of the scope.

The optimizer log

Each optimizer job writes the own log of Stella, <model>_optimizer_log.html, into the job folder. It holds the method, settings, payoff, bounds, the pass-by-pass trajectory, the result, and warnings. Experimenter parses it for the convergence detail and failure evidence that the Monitor shows. It leaves the file for your browser. Retried attempts keep suffixed copies (optimizer_log-attempt1.html). Report interval changes only how often the trajectory gains a row. One caveat is untested. No local model raises the interval from its default, so no specimen shows whether a large value can also drop the closing “Finishing optimization” line of the log. Without that line, Experimenter reads a complete log as TRUNCATED and reports a successful fit as unfinished. A live engine test would confirm or rule out the effect. With Retention set to Outputs only, Experimenter deletes the raw logs with the job folder, and the Monitor log keeps the evidence.

Modules

For a model with named submodules, the Modules tab drives the run-by-selected-modules switch of Stella, per Run:

  • Run by Module: when checked, Stella runs only the modules marked Active.
  • The table lists every submodule with an Active checkbox. It starts from the own per-module run flag of the Template, so a module that the model already marks shows checked. Toggling writes an override only when it differs.
  • Unchecking Run by Module writes an explicit removal and clears the Active states, so a later check starts unselected.

Selecting a group or nothing disables the tab.

Running an Optimization

  • Reset discards the unsaved edits of this tab and reloads from disk. It never undoes a Write changes to model file write that already happened (Reset changes).
  • Run saves the file and launches the selection in the shared Monitor. The Monitor verifies non-empty output and retries an empty Run.
  • The Log pane below the editor shows the findings of this Experiment: the on-open link check, model-mismatch lines, and Validate results. Run traffic stays in the Monitor.