Skip to content

Releases: CATIA-Systems/FMPy

v0.3.11

03 Aug 13:23
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.10...v0.3.11

v0.3.10

07 Jun 20:53
Compare
Choose a tag to compare

Bug fixes

  • Fix architecture for 32-bit x86 in init.py (#398)
  • Enable compilation of FMI 3.0 FMUs in GUI (#396)

Enhancements

  • Use Plotly as default in plot_result()
  • Add markers option to plot_result()
  • Add parameter intermediate_update to instantiate_fmu()
  • Build macOS binaries as universal 2

v0.3.9

11 May 22:10
Compare
Choose a tag to compare

v0.3.9 (2022-05-11)

Enhancements

  • Update FMI API to v3.0

v0.3.8

27 Apr 20:43
Compare
Choose a tag to compare

v0.3.8 (2022-04-27)

Bug fixes

  • Handle FMI 3.0 Integer types in logging and Recorder
  • Add default callbacks for FMI 1.0 and 2.0 (#384)

Enhancements

  • Update FMI 3.0 headers and schema to v3.0-rc.2

v0.3.7

06 Mar 20:43
Compare
Choose a tag to compare

v0.3.7 (2022-03-06)

Bug fixes

  • Search for explicit versions in visual_studio_installation_paths() (#381)

Enhancements

  • Update to FMI 3.0-beta.5
  • Add initialize, terminate, and fmu_state parameters to simulate_fmu() to allow pausing and continuing simulations (#283)

v0.3.6

21 Feb 09:30
Compare
Choose a tag to compare

v0.3.6 (2022-02-21)

Bug fixes

  • Fix FMI logging of Integer arrays (#359)
  • Remove instanceName from fmi3LogMessageCallback() and fix type hints in printLogMessage() (#365)
  • Add logMessage parameter to FMI 3.0 constructors (#366)
  • Fix getDirectionalDerivative() and getAdjointDerivative() (#367)
  • Create documentation directory in add_cswrapper() if it does not exist (#369)

Enhancements

  • Add --compiler-options switch to fmpy command (#232)
  • Allow FMU compilation with Visual Studio 2022 (#371)
  • Add version info to command line help text (#376)
  • Allow Model Exchange FMU in FMU Container (#373, #375)
  • Update FMI headers to v3.0-beta.4

v0.3.5

11 Jan 13:12
Compare
Choose a tag to compare

v0.3.5 (2022-01-11)

Bug fixes

  • Convert return values of get*Status() functions to Python types (#352)
  • Handle fmi2Discard returned by fmi2DoStep() (#353)
  • Add fmi2SetDebugLogging() to client_sm.cpp (#355)
  • Allow setting start values in Initialization Mode (#356)
  • Suppress exceptions in GetLongPathName() (#217)

Enhancements

  • Update FMI headers to 3.0-beta.3
  • Add parallelDoStep option to FMU Containter (#205)

Full Changelog: v0.3.4...v0.3.5

v0.3.4

10 Dec 12:17
Compare
Choose a tag to compare

v0.3.4 (2021-12-10)

Bug fixes

  • Fix links to FMI Specs (#349)
  • Fix validation of quoted variable names (#347)
  • Set start values of Container FMU's variables (#345)

Enhancements

  • Use Dash 2.0 and update dependencies (#339)
  • Raise FMICallExeption when FMI calls fail (#346)
  • Add shared memory implementation for remoting on Windows (#328)
  • Check if start values can be set (#351)

Full Changelog: v0.3.3...v0.3.4

v0.3.3

29 Nov 21:05
Compare
Choose a tag to compare

v0.3.3 (2021-11-29)

Bug fixes

  • Add type cast to arguments of QMainWindows.resize() (#344)
  • return filename in download_file() if file already exists (#332)
  • Decode UTF-8 string in fmi3.printLogMessage()
  • Handle c_bool in _log_fmi_args()
  • Add default "initial" for fixed structural parameters (#340)
  • Update time before recording result in custom input example (#333)
  • Update icons for FMI 3 and add type column (#295)
  • Change type hint for Unit.displayUnits to List[DisplayUnit] (#336)

Enhancements

  • Add Early Return and Event Mode for FMI 3.0 CS
  • Calculate output_interval from fixedInternalStepSize
  • Add type hint to FMU3Slave.doStep()
  • Add unit and type definitions to Container FMU (#335)

Full Changelog: v0.3.2...v0.3.3

v0.3.2

14 Oct 13:23
Compare
Choose a tag to compare

v0.3.2 (2021-10-14)

Bug fixes

  • Escape XML attributes in Container FMU (#216)
  • Handle NULL pointers in fmi2Instantiate() in remoting client (#324)
  • Add fmi2CancelStep() to remoting client (#325)
  • Calculate t_next from n_fixed_steps (#318)
  • Add trailing path separator to resourcePath in FMI 3.0 (#309)
  • Don't plot multi-dimensional variables (#293)
  • Fix type conversion in FMI 3.0 high level API (#300)
  • Add attribute "interval" to ScalarVariable (#314)

Enhancements

  • Log FMI calls to nested FMUs if loggingOn == true
  • Add Configuration class for FMU Container (#321)
  • Use FMI import framework in FMU Container (#327)
  • Use the Reference FMU's import framework in remoting server (#326)
  • Check uniqueness of value references in FMI 3.0 (#294)
  • Check for backslashes in ZIP file entries (#297)