continuo 0.0.1¶
continuo solves continuous-time, perfect-foresight deterministic
dynamic models in the spirit of Dynare. A .mod file declares the
endogenous and exogenous variables, the model equations (as differential
equations in continuous time, written with diff(x)), the steady state
and the exogenous shock paths; the toolbox parses it, discretises the
two-point boundary-value problem with a Crank–Nicolson collocation, and
solves the stacked nonlinear system with Newton’s method. Anticipated
changes, surprises (multi-segment beliefs) and occasionally-binding
constraints are all supported through the same machinery.
The toolbox has three faces:
the
.modsurface language (the canonical input format),a Python API (
continuo) for use in scripts and notebooks,a command-line wrapper
continuothat reads a.modfile and writes the solved path to CSV.
This manual is the reference for all three. The Quick start shows the smallest end-to-end use; the The .mod language documents every block and built-in of the surface language; Python API is the Python reference (generated from docstrings); Worked examples is the index of the worked-out example models that ship with the source tree.
Getting started