.ModelicaDEVS.Examples.DifferentialEquation.DEDEVS

Information

ModelicaDEVS Differential Equation

This example simulates the the following equation:

dx/dt=-x + 10s(t-1.76)

where s() is the unit step function that returns 0 for a negative argument, and 1 for non-negative argument.

Note that the above equation had to be transformed into a block diagram, in order to model it by means of the ModelicaDEVS blocks.


Output:

The two output variables TrajectoryDEVS and Trajectory give the original DEVS output (the first entry of the Integrator signal) and the interpolated version.
Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos