You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for XMILE's non-negative flag for stocks and flows, includying also the behavior section.
Add support for XMILE's MIN and MAX with one argument.
@@ -79,7 +79,7 @@ Not all the Xmile functions are included yet. The list of supported functions is
79
79
80
80
Stocks
81
81
^^^^^^
82
-
Stocks are supported with any number of inflows and outflows. Stocks are translated to the AST as `IntegStructure(flows, initial_value)`.
82
+
Stocks are supported with any number of inflows and outflows. Stocks are translated to the AST as `IntegStructure(flows, initial_value, non_negative)`. Non-negative flag is parsed for both stocks and flows, this can be set element by element or using the `behavior section <http://docs.oasis-open.org/xmile/xmile/v1.0/errata01/csprd01/xmile-v1.0-errata01-csprd01-complete.html#_Toc442104128>`_. Flows with non-negative flags are read as flows with a maximum condition, while for stocks this information is saved in the :py:class:`pysd.translators.structures.abstract_expressions.IntegStructure` object.
- Add support for Vensim's `POWER <https://www.vensim.com/documentation/fn_power.html>`_ function. (`@rogersamso <https://github.com/rogersamso>`_)
9
9
- Add possibility to pass data_files in netCDF format. (`@rogersamso <https://github.com/rogersamso>`_)
10
+
- Add support for XMILE's non-negative flows and stocks. (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
11
+
- Add support for XMILE's MIN and MAX functions with one argument. (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
10
12
11
13
Breaking changes
12
14
~~~~~~~~~~~~~~~~
@@ -22,6 +24,7 @@ Bug fixes
22
24
Documentation
23
25
~~~~~~~~~~~~~
24
26
- Add information about slack channel https://slofile.com/slack/sdtoolsandmet-slj3251. (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
0 commit comments