fossilfree / numerous

Numerous - an object-oriented modelling and simulation engine.
https://numerous.com
BSD 3-Clause "New" or "Revised" License
14 stars 9 forks source link

External historian update fix, improve event detection and model reset and some refactoring, general cleanup #147

Closed mrdobalina2k closed 2 years ago

mrdobalina2k commented 2 years ago

This fixes several issues with external historian updates (external meaning: when switching between numba code and python), refactors some numerous_solver code, adds one new solver_event (historian update AND external mapping update, to be properly implemented in the future), significantly improves event detection, and introduces possibility to reset model if using the it in another simulation object. Several new tests have been added to improve code coverage and the changes.