Skip to content

Releases: open-simulation-platform/libcosim

v0.11.1

15 May 12:07
6f62c43

Choose a tag to compare

What's Changed

  • Using proxyfmu/0.4.1 that uses increased frame size by @davidhjp01 in #789

Full Changelog: v0.11.0...v0.11.1

v0.11.0

02 Apr 08:17
bdf6d7b

Choose a tag to compare

[v0.11.0] - 2025-03-31

New
  • The ECCO (Energy Conservation-based Co-simulation) algorithm has received a reference implementation that is now configurable through OspSystemStructure. See the tests prefixed with ecco_algorithm for details.
  • Libcosim now supports the state saving and serialization API from FMI2. Serialization to file is done with the CBOR (Concise Binary Object Representation) format. FMUs that support this feature should flag it by setting the canGetAndSetFMUstate and canSerializeFMUstate fields in their model description to true. See the test prefixed with save_state for details.
Fixes
  • Some exceptions thrown when parsing configuration XMLs have been changed to std::runtime_error, where less appropriate classes for runtime errors like std::logic_error or std::out_of_range were previously used.

v0.10.4

12 Dec 14:17
83220d5

Choose a tag to compare

[v0.10.4] - 2024-12-12

Fixed
  • Real time factor calculation for small time steps has been improved by computing a rolling average rather than a fixed amount of 5 timesteps.
  • Variables are now correctly transferred at the points in the FMU initialization sequence where they are permitted to change.
  • FMU start values will now be correctly initialized before entering initialization mode.
  • Various bug fixes and improvements.
Changed
  • The fixed precision of the file observer can now be specified.
  • File observer is now printing the correct FMU author.

v0.10.3

19 Feb 12:34
bce2132

Choose a tag to compare

Fixed

  • parseURI null check and error handling implemented.

Changed

  • Upgraded Conan to v2

v0.10.2

31 Mar 10:45
1c0c467

Choose a tag to compare

  • Update to proxyfmu 0.3.1 due to a disconnection issue related to Thrift.

v0.10.1 release

08 Dec 14:35
07c8871

Choose a tag to compare

  • Patch release to update to proxyfmu 0.3.0 due to downstream build issues related to Thrift.

v0.10.0 release

06 Dec 09:46
763df18

Choose a tag to compare

Changed
  • GCC7 and GCC8 artifact builds have been removed, and GCC9 artifact builds added. This is currently the only supported GCC version.
  • The file observer is now programmatically configurable, and there is no longer a need for clients to create a separate LogConfig.xml file upfront to specify it's configuration.
  • The file observer no longer outputs headers as variable name [reference, type, causality]. Instead only the variable name is output, and the extra data about each variable and the model itself is output in a separate metadata file, in YAML format. This will have the same filename as the CSV file with the simulation data, including the timestamp, with _metadata at the end.
  • Using find_variable no longer throws an exception, but rather returns an optional value, which may be empty if the variable could not be found.
  • Update to proxyfmu 0.2.9.
Added
  • An asynchronous version of simulate_until is now available through the execution interface. This accepts
    an optional end time parameter and launches the execution in a new thread.
  • Support has been added for optionally specifying simulation end time (where only start time was supported) in OspSystemStructure.xml. If specified, end time will also be parsed and made available in the simulation configuration.
Fixed

v0.9.0

05 Apr 14:11
fa8c681

Choose a tag to compare

v0.9.0 Pre-release
Pre-release
Changed
  • Removed fibers to simplify code and increase simulation performance. Concurrency must now be implemented in the master algorithm, and fixed_step_algorithm has been modified to use a thread pool. (PR#674, PR#692)
  • Performance improvements (PR#687)
Added
  • OspModelDescription.xml can be located in same folder as FMU when using proxyfmu (PR#688)
  • Option to build with FMI logging removed (PR#679)
Fixed
  • Update to proxyfmu 0.2.7

v0.8.3

29 Nov 17:26
868d0df

Choose a tag to compare

v0.8.3 Pre-release
Pre-release
Fixed
  • Update to proxyfmu 0.2.6 (PR#676)
  • Adding builds for:
    • libcosim as static library (PR#627)
    • compiled with VS2019 (PR#660)

v0.8.2

21 Oct 15:47
8ea0005

Choose a tag to compare

v0.8.2 Pre-release
Pre-release
Fixed
  • Update to fmilibrary 2.3 (PR#659)
  • Update to proxyfmu 0.2.4 (PR#663)