Skip to documentation content

Run model Python safely

Select an isolated environment, review package changes, and apply public model commands.

Use Python for repeatable setup while retaining a model that can be inspected in the visual tree.

  1. Open Settings → Python and select a managed environment or a reviewed external interpreter. Verify that it is ready.
  2. For managed package changes, preview the proposed installation before applying it. Telion's private solver runtime is not a package target.
  3. Open the Python workspace. Review the exported model code or insert a starting snippet and adapt its names and values.
  4. Save the model, then choose Run Code deliberately. Inspect the log and resulting tree; build, solve or plot only when the script or workflow requests those actions.

Opening code or inserting a snippet does not execute it. Fix the first reported Python error before assuming later model operations ran.

Run model Python safely — Telion 0.1.0-alpha | Telion