Skip to content

Releases: NTNU-IHB/PythonFMU

v0.7.0

12 Dec 09:46
fab861a

Choose a tag to compare

What's Changed

v0.6.9

03 Jul 09:31
2926cca

Choose a tag to compare

  • Improved docstring for the builder.
  • Other build_FMU improvements: script module unload, custom FMU name, script file check.

v0.6.8

27 Jun 07:17

Choose a tag to compare

  • Rework native library
  • Return fmi2Discard, not fmi2Error from unsupported fmi2GetXXStatus
  • Implement fmi2GetBooleanStatus (needed by som importers when step returns False (fmi2Discard).
  • Fix classvars not being picked up in modelDescription.xml
  • Removed (native) sources from FMU.

Changes should be backwards compatible.

v0.6.7

30 Apr 10:33

Choose a tag to compare

What's Changed

  • Fix typing issue with Python 3.9
  • CMake: Use Development.SABIModule
  • Add dynamic optional typing import

v0.6.6

25 Mar 09:04

Choose a tag to compare

  • Support passing class arguments when building FMUs programatically.

v0.6.5

26 Sep 11:39

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

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

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

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

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