0.13.0
This release introduces a major refactoring of the controller architecture, a complete overhaul of the documentation, and several breaking changes to simplify the API and improve usability.
🚀 New Features
- Direct Access: Controllers now have direct access to storage, policy, and actor instances which highly simplifies implementing custom control strategies.
🔧 Breaking Changes
- Controller Architecture: The controller system has been fully refactored to rely on a single Mosaik entity, simplifying the simulation flow.
- Logging: The Monitor class has been split into
vs.MemoryLoggerandvs.CsvLogger, providing more specific tools for data recording during simulations. - Renaming:
- MicrogridPolicy ->
Policy. - Actor.p ->
Actor.power. - Controller variable time ->
now.
- MicrogridPolicy ->
- Visualization: plot_microgrid_trace has been replaced by
plot_result_df. - Removals: The deprecated SilActor has been removed.
📚 Documentation
- New Theme: The documentation has been rewritten using Material for MkDocs, offering a modern, responsive interface.
- Structure: Updated directory structure, new logos, and revised overview figures.
- Examples: Examples have been migrated from notebooks to executable Python scripts.
🐛 Bug Fixes
- Fixed multiple issues occurring in simulations without storage.
- Resolved missing prometheus_client dependency.
- Added missing type hints and improved docstrings across the codebase.