Abstract
This presentation will show how to model a physical system described by ODE using the Modelica extensions of the Xcos environment. Scilab provides three different approaches for modeling a physical system described by Ordinary Differential Equations (ODE): Standard Scilab programming, Xcos and Xcos with Modelica.
For showing all these capabilities we selected a common physical system, the LHY model for drug abuse. This model is used in our presentation as a common problem to show the main features for each strategy.