Run a model and inspect its result
This guide continues Get started with the same installed package,
decay.eqi, run.py and uv environment. If those files are
not ready, follow that page’s installation and downloads first. No additional dependency is needed.
Follow the script
Section titled “Follow the script”The run.py script from Get started does four things:
eqiora.compile(path=...)reads the equations and returns a Model.eqiora.resolve(...)chooses the time method independently of the model.eqiora.State.initial(...)andeqiora.run(...)start from the declared initial value and request observations.result.series(...)selects the time and value arrays for the model’sxfield.
See How Eqiora fits together for the larger picture.
Read the output before plotting
Section titled “Read the output before plotting”In the folder containing the two files, run the same command:
uv run python run.pyThe script prints three observations. Times are in seconds; x is
dimensionless. With rate 1, the last value is about 0.367879 at one second.
That matches . Checking a number like this is more reliable than
judging whether a plot looks plausible. The script only prints to the terminal.
Change one thing
Section titled “Change one thing”Use Get started’s rate edit to double the rate while leaving the script and numerical method unchanged. Predict , then rerun the same command.
Restore the rate to 1 before following the ODE lesson and exercises. Its derivation explains why the result changes and what the model assumes.
Diagnose a failed run
Section titled “Diagnose a failed run”Check the installation and source-diagnostic checklist first. A missing file, unresolved symbol and inconsistent unit are different problems; changing a solver setting does not repair the latter two.
Move to a spatial problem
Section titled “Move to a spatial problem”Choose a complete Gallery case and keep its model, geometry, boundary names and numerical setup together. The modeling guide gives the detailed Python operations from the same source revision.