v0.6.2
In this latest release, the primary focus has been on refining the order of variable calculation within cyclic relationships.
The key improvements in this version:
-
Addition of the
cycle_order
attribute - we've introduced thecycle_order
attribute within theVariable
class. This attribute contains an integer that defines the calculation order within groups of variables forming cycles. -
Prevention of bidirectional recursion - bidirectional recursion, where a variable calls both
t-...
andt+...
in its definition, is now explicitly disallowed in the models. This restriction helps maintain clear and manageable relationships between variables. -
Error handling for negative index calls - the package raises errors for calls with negative indexes. When a model variable is invoked for
t<0
, the package prompts an error, preventing potential inconsistencies in computations.