Dahlquist

The model implements the Dahlquist test equation.

der(x) = -k * x

with the analytical solution

x(t) = exp(-k * t)

with the variables

Variable Start Unit Causality Variability Description
time independent continuous Simulation time
x 1 output continuous the only state
der(x) local continuous
k 1 parameter fixed

The plot shows the trajectories of the output variables computed with fmusim.

fmusim --interface-type me --solver cvode --output-interval 0.2 --output-file Dahlquist_out.csv Dahlquist.fmu

plot