ProcessBasedModelling.jl follows semver 2.0. Changelog is kept with respect to v1 release.
- Added an additional step when constructing the raw equation vector to be passed into an MTK model. In this step it is also checked that the RHS for all equations is an
Expression. Sometimes it is easy to get confused and mess up and make it be anEquation(i.e., assigning the LHS-variable twice). This now will give an informative error.
- Add docstring to
processes_to_mtkeqsand list it in the documentation. (function was already exported but not made public in the docs)
- Allow
TimeDerivative(p::Process).
- Better error messages for duplicate processes given to
process_to_mtkmodel. - New exported function
equation(p::Process)that returnslhs(p) ~ rhs(p).
The API for default processes has been drastically improved.
Now, each Module can track its own default processes via the new function
register_default_process!. This allows creating submodules dedicated to
physical "subsystems" which need to track their own list of variables,
parameters, and default processes.
- New keyword
warn_defaultinprocesses_to_mtkmodel. - Now
processes_to_mtkmodelallows forXDESystemsas elements of the input vector. - Detection of LHS-variable in
Equationhas been improved significantly. Now, LHS can be any of:x,Differential(t)(x),Differential(t)(x)*p,p*Differential(t)(x). However, the multiplication versions often fail for unknown reasons.