Skip to content

Run Analysis ​

Writes the model out as an OpenSees .tcl deck, launches the solver, and hands back the model with the results attached.

πŸ”§ Grasshopper component ​

Run AnalysisAlpaca4d β–Έ 07_Analysis
Run Analysis component
Inputs
AlpacaModelModelThe assembled model, from Assemble, or from Load Combination with its combinations.
SettingsSettingsHow to solve, from Analysis Settings: solver, algorithm, integrator and steps.
It can be left empty only with Do not use settings ticked in the right-click menu.
Outputs
AlpacaModelModelThe same model, now carrying results.
Feed it to the Results and Visualisation components. With load combinations, one model that holds the results of each. null if the analysis failed.
logTextEverything OpenSees printed β€” the console output and any error stream.
Read this first when something goes wrong.

Note

The log used to be the first output. Definitions made before the model was put first open with the previous Run Analysis component, which still works. Grasshopper's Solution β–Έ Upgrade Components swaps it for the current one and keeps every wire β€” each output's wires follow it by name, and the Do not use settings choice is kept.

πŸ’‘ Load combinations ​

A model that has load combinations is solved once per combination: an OpenSees run each, with only the patterns the combination names, each times its factor. What comes out is one model that holds every combination's results. It reads as the first combination that solved; Model View, Linear Buckling and Pushover pick another by its name or its place in their Combination input. The Results components read every combination, a branch each with its place first, {combination; …}, or the ones their Combination input names; the Report reads them all.

  • Combinations are static: Analysis Settings must say Static.
  • A combination that does not converge has no results, and a warning names it. The others keep theirs. Only when none solves is the output empty.
  • The log holds each run's output, one after another, under the combination's name.

πŸ’‘ Where the files go ​

The deck and the results go into a folder called AlpacaResults, next to the Grasshopper file, a set of files for each run:

FileContents
AlpacaModel_<id>_<run>.tclThe input deck.
recorder_<id>_<run>.mpcoThe MPCO result database.
AlpacaModel_<combination>_<id>_<run>.tcl, recorder_<combination>_<id>_<run>.mpcoThe same, one each per load combination, named after it: recorder_ULS_1_….

<id> is the first 8 characters of the component's InstanceGuid, so two Run Analysis components in one document keep their results apart; <run> counts from 0, as a component given a tree of models solves once per branch. The names stay the same from one solution to the next, so the files are overwritten rather than piling up.

A FileName that an MPCO Recorder gives is taken from the Grasshopper file's folder instead, with _<run> before its extension when the component solves more than once.

If the Grasshopper document has never been saved, the folder is Alpaca4d/AlpacaResults in the system's temporary folder. Save the file first β€” it makes the output findable, and it is required by Natural Vibration.

The recorder that is attached depends on the analysis type: a static recorder for Static, a transient one for Transient. An MPCO Recorder on the Recorders input of Assemble replaces it with the results you tick.

πŸ’‘ Errors and how they surface ​

What you seeWhat happened
"OpenSees executable path is not configured"Set it β€” Alpaca4d β–Έ Settings β–Έ Set OpenSees Executable…. See Setup.
"Analysis Failed: OpenSees exited with an error"The deck itself failed β€” a bad command, an undefined material. The log names the line.
"This OpenSees does not know the Ten Node Tetrahedron"The model has Ten Node Tetrahedra and the OpenSees is 3.8.0 or older, whose element is six times too soft. Use an OpenSees built from master since 16 October 2026.
"Analysis Failed: OpenSees 'analyze' did not converge"The deck was valid but the solution did not converge. Loosen the Test tolerance, raise its iteration count, take smaller steps in Analysis Step, or change the algorithm.
"Warning! Double check the log!"OpenSees printed a warning and carried on. The results exist but deserve a look.
"ULS 3: it did not converge - no results for it"One load combination did not solve; the others did, and the model holds their results.
"The model has load combinations, which are solved as static analyses"Pick Static in Analysis Settings, or analyse the model Assemble hands on for a time history.

On any failure the AlpacaModel output is null, so the downstream result components go quiet rather than showing stale numbers.

πŸ“ˆ When to use it ​

Use it when you want a static or transient solution.

Do not use it when you want modes and periods β†’ Natural Vibration sets up its own eigenvalue run and needs no settings.

πŸ”— Relation to OpenSees

The component assembles and runs a complete deck: the model, then the recorder, then the analysis block from Analysis Settings, then wipe. To see exactly what was sent, use Serialize, or open the AlpacaModel_<id>_<run>.tcl it leaves in AlpacaResults.