INTERACTIVE SIMULATION OF OBJECT-ORIENTED HYBRID MODELS, BY COMBINED USE OF EJS, MATLAB/SIMULINK AND MODELICA/DYMOLA

Easy Java Simulations (Ejs) is a freeware, open source, Java-based tool intended to create interactive dynamic simulations. The use of Ejs, together with Matlab/Simulink and Modelica/Dymola allow us to combine the best features of each tool. Ejs capability for building interactive user-interfaces composed of graphical elements, whose properties are linked to the model variables. Matlab/Simulink capability for modeling of automatic control systems and for model analysis. Modelica capability for physical modeling, and finally Dymola capability for simulating hybrid -DAE models. The combined application of these tools to the implementation of interactive simulations is discussed in this manuscript, and a novel modeling methodology adequate for interactive simulation is propose d. It takes advantage of the modeling and simulation capabilities of Modelica and Dymola. The proposed methodology is successfully applied to a case study: the interactive simulation of the quadruple-tank process.