Skip to content

Releases: NTNU-IHB/PythonFMU

v0.6.5

26 Sep 11:39
Compare
Choose a tag to compare
  • Fix issue with the binaries caused by changes in the pipelines.
  • Remove binary check as it breaks the FMU when simulating.

v0.6.4

26 Sep 07:43
Compare
Choose a tag to compare

What's Changed

  • Check for FMU export binary.
  • The Py_Initialize and Py_Finalize is now called from the same thread.
  • The logger callback function forwards the fmi2ComponentEnvironment.
  • Fix the crash that occurs on the second attempt to instantiate the FMU.
  • Bump CI download/upload dependencies.
  • FEATURE: Support inheritance from Fmi2Slave.

v0.6.3

01 Dec 16:59
c63e614
Compare
Choose a tag to compare
  • Fix osx/python linking #187
  • Avoid using deprecated PyEval_InitThread #185
  • Fix path issue on Windows #176
  • Fix default_experiment #158
  • Fix uuid generation #174

v0.6.2

24 Feb 09:32
65bd445
Compare
Choose a tag to compare

Minor release

  • Add default experiment
  • Set canNotUseMemoryManagementFunctions to True. No reason for users to modify this value
  • Avoid calling getattr when custom getter is supplied. This avoids treating the supplied name as a field by default.

v0.6.1

11 Jan 16:29
Compare
Choose a tag to compare

Minor release

  • Change callback logging so that it does need to load a native library.
    This solves the issue of instantiating multiple FMUs (with logging enabled)
  • Fix broken CLI usage of buildcsv

v0.6.0

30 Mar 07:47
d6bd88a
Compare
Choose a tag to compare

New features:

API changes:

  • CLI use now subcommands: pythonfmu {build, buildcsv, deploy} #103
  • Fmi2Slave.get_value and Fmi2Slave.set_value has been removed
  • Customized getter and setter can be provided through keyword argument of ScalarVariable (see #80)

v0.5.0

23 Feb 14:33
b24c5f7
Compare
Choose a tag to compare

Features:

  • Add --version option to CLI #74
  • Find the class name using Regex #76
  • Embed pythonfmu in the FMU #78

Fixes:

  • GIL not released when Python code is throwing an exception #68
  • Memory leak with GetString #70

v0.4.0

18 Feb 11:04
6c9daaf
Compare
Choose a tag to compare

New features:

  • Add rollback feature #41
  • Add reset feature #47
  • Support state serialization #55

Fixes:

  • FMUs generated did not handle multi-threaded applications #61
  • FMU could not be used with FMPy #61

Misc:

  • Add notebook example on binder #60

v0.3.0

14 Feb 06:59
49ff9b4
Compare
Choose a tag to compare

First version publish on pypi.org.

Support encapsulating Python script in FMU (Co-Simulation FMI 2.0 type).

The facade is built using the Python stable API. So the binaries provided for Linux and Windows 64bits should work on any Python >=3.6.