Octsim/a solver for dynamic system simulation
Antonello Monti, Nika Khosravi, Martina Joševski, Zhiyu Pan · 2022
The major motivation for the design of Octsim library has been to provide a practical, reliable, and free tool for Octave with Simulink-like capabilities that can be applied to academic purposes.Octsim is primarily a code-based solver, but visual and graphical enhancements will be introduced in the future. We envision the Octsim library adding a graphical user interface to go along with its textual functionality. Additionally, we aim to develop a parser for XML files related to the Simulink model. This design step can significantly improve the interoperability of Octsim since it provides the user a possibility to build the graphical diagram in Simulink and run the solver in Octsim. Another limitation is the current vision of Octsim supplies only fixed-step solver. But the variable-step will be developed in the further vision. The last point is that Octsim executes the code from top to bottom, in order to execute the blocks in a correct order, the sequence of the blocks should be well defined. One possible solution to this is to employ the Petri nets that could determine the next state of the system, validate if the system can be executed or identify if there is an algebraic loop.