Skip to content

Releases: modelon-community/PyFMI

PyFMI-2.19.0

11 Nov 10:31

Choose a tag to compare

--- PyFMI-2.19.0 ---
* New function get_log_categories for FMUModelBase2 to retrieve both log
categories and descriptions, use instead of get_categories.
* Changes to FMUModelBase2.set_debug_logging()
* Now operate on lists of strings instead of bytes.
* Removed requirement that categories to be set are available via get_log_categories().
* Added new option step_size_downsampling_factor to Master algorithm.
This allows setting reduced input/output update rates on a per-model basis.
* Enabled use of result_downsampling_factor to Master algorithm on a per-model basis.
* Fixed an issue where FMUModel(CS|ME)1.get_author() returned a byte string, rather than a normal string.
* Logging will (by default) be explicitly be disabled by calling fmiSetDebugLogging
and setting log_level to 0 when exceeding set_max_log_size.
* Dropping support for Python 3.9 as it is now end of life.
* Fixed so FMU reset resets log size so max log size is per simulation and does not carry over.
* Fixed a race-condition for calculated diagnostic variables when using ResultDymolaBinary.get_variables_data().

PyFMI-2.18.3

10 Sep 13:41

Choose a tag to compare

--- PyFMI-2.18.3 ---
* Fixed a bug introduced in PyFMI 2.18.0 causing incorrect result storing for boolean and enum variables
with result_handling = "binary" (default).

Full Changelog: PyFMI-2.18.2...PyFMI-2.18.3

PyFMI-2.18.2

05 Sep 08:17

Choose a tag to compare

--- PyFMI-2.18.2 ---
* Fixed an issue with ResultDymolaBinary result retrieval if dynamic_diagnostics = True and
there is only a single solution point.

Full Changelog: PyFMI-2.18.1...PyFMI-2.18.2

PyFMI-2.18.1

03 Sep 15:16

Choose a tag to compare

--- PyFMI-2.18.1 ---
* Fixed a caching issue in ResultDymolaBinary.get_variables_data().
* Removed deprecation of get_variable_data, it is recommended to use get_trajectory anyways.

Full Changelog: PyFMI-2.18.0...PyFMI-2.18.1

PyFMI-2.18.0

28 Jul 07:24

Choose a tag to compare

--- PyFMI-2.18.0 ---
* Added new class DynamicDiagnosticsUtils in pyfmi.common.diagnostics providing
various utility functions for computing additional diagnostics variables derived
from those stored during simulation with dynamic_diagnostics = True.
These computations were previously hard-coded into ResultDymolaBinary.
* Simulations using ExplicitEuler with dynamic_diagnostics = True now also
store event indicator values.
* Fixed the issue that @Diagnostics.nbr_steps was off by one.
* Improved handling of linking with dynamic FMIL library.
* Added new abstract base class pyfmi.common.io.ResultReader as base for
ResultCSVTextual, ResultStorageMemory, ResultDymolaTextual and ResultDymolaBinary.
* pyfmi.common.io.ResultReader new features:
* Get all variable names via get_variable_names.
* Get multiple trajectories via get_trajectories.
* Deprecations:
* pyfmi.common.io.ResultStorage, use pyfmi.common.io.ResultReader instead.
* ResultDymolaTextual, ResultDymolaBinary: name attribute for retrieving variable names,
use get_variable_names function instead.
* ResultCSVTextual, ResultStorageMemory, ResultDymolaTextual and ResultDymolaBinary:
get_variable_data, use get_trajectory instead.

Full Changelog: PyFMI-2.17.4...PyFMI-2.18.0

PyFMI-2.17.4

26 Jun 07:52

Choose a tag to compare

--- PyFMI-2.17.4 ---
* Fixed type annotation issue causing incompatibility with Python < 3.10. (introduced with 2.17.3)

Full Changelog: PyFMI-2.17.3...PyFMI-2.17.4

PyFMI-2.17.3

24 Jun 12:28

Choose a tag to compare

--- PyFMI-2.17.3 ---
* Fixed a race-condition in using ResultDymolaBinary.get_variables_data(). (This change was mistakenly already attributed to PyFMI-2.17.2)

Full Changelog: PyFMI-2.17.2...PyFMI-2.17.3

PyFMI 2.17.2

05 Jun 14:55

Choose a tag to compare

--- PyFMI-2.17.2 ---
* Fixed an issue for dynamic_diagnostics, where failures to evaluate the Jacobian would result in invalid XML.
* Fixed a race-condition in using ResultDymolaBinary.get_variables_data().
* Fixed a bug introduced in PyFMI 2.17.1 that could when retrieving variables with very large value references in CoupledFMUModelME2.

Full Changelog: PyFMI-2.17.1...PyFMI-2.17.2

PyFMI-2.17.1

22 May 17:35

Choose a tag to compare

PyFMI-2.17.1

  • Fixed compilation issue with Cython 3.1.
  • Added a new flag for building which allows the user to specify the exact name of the FMIL library.

Full Changelog: PyFMI-2.17.0...PyFMI-2.17.1

PyFMI-2.17.0

29 Apr 08:18

Choose a tag to compare

What's Changed

Full Changelog: PyFMI-2.16.3...PyFMI-2.17.0