Guide
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.
- Open Settings → Python and select a managed environment or a reviewed external interpreter. Verify that it is ready.
- For managed package changes, preview the proposed installation before applying it. Telion's private solver runtime is not a package target.
- Open the Python workspace. Review the exported model code or insert a starting snippet and adapt its names and values.
- 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.