Skip to content

v0.6.0

Choose a tag to compare

@jaehyeon-kim jaehyeon-kim released this 08 Apr 05:04
· 28 commits to main since this release
b6aed6d

Summary

This release enhances the SimulationRegistry to fully support dictionary-based configurations, ensuring that custom user-defined variables are correctly registered and synchronized during runtime updates.

🚀 Key Features & Improvements

  • Dictionary State Synchronization: Updated the SimulationRegistry to intelligently differentiate between dataclasses and raw dictionaries. The registry now safely uses item assignment (dict["key"] = value) to synchronize custom variables, preventing attribute errors.
  • Dynamic Variable Registration: The registry now natively iterates through the variables dictionary upon initialization, automatically wrapping each custom state in a DynamicValue. This allows external systems to update custom variables on the fly and trigger SimPy events just like standard parameters.

Full Changelog: v0.5.0...v0.6.0