3.13.0
enekomartinmartinez
released this
25 Dec 12:42
·
34 commits
to master
since this release
New Features
- Include new method pysd.py_backend.model.Model.copy which allows copying a model (issue #131). (@enekomartinmartinez)
- pysd.py_backend.model.Model.select_submodel now takes an optional argument inplace when set to
False
it will return a modified copy of the model instead of modifying the original model (issue #131). (@enekomartinmartinez) - pysd.py_backend.model.Model.export will now save also time component information if changed (e.g. final time, time step…). (@enekomartinmartinez)
Bug fixes
-
Set the pointer of pysd.py_backend.statefuls.DelayFixed to 0 during initialization (issue #427). (@enekomartinmartinez)
-
pysd.py_backend.model.Model.export now works with Macros. (@enekomartinmartinez)
Documentation
-
Improve documentation of methods in pysd.py_backend.model.Model and pysd.py_backend.model.Macro includying cross-references and rewrite the one from pysd.py_backend.model.Macro.set_components. (@enekomartinmartinez)
-
Include documentation about the new method pysd.py_backend.model.Model.copy and update documentation from pysd.py_backend.model.Model.select_submodel. (@enekomartinmartinez)
Performance
- Improved performace of
pysd.py_backend.output.DataFrameHandler
by creating the dataframe at the end of the run (issues #374 and #330). (@easyas314159 and @enekomartinmartinez)
Internal Changes
- Move old
pysd.py_backend.model.Macro.set_components
topysd.py_backend.model.Macro._set_components
, and create new method with the same name without the new argument. (@enekomartinmartinez) - Move old
pysd.py_backend.model.Macro.set_stateful
topysd.py_backend.model.Macro._set_stateful
. (@enekomartinmartinez) - Make integration tests filter only specific warnings. (@enekomartinmartinez)
- Include warnings in pysd.py_backend.model.Macro.set_components when changing the behaviour of the component (issue #58). (@enekomartinmartinez)