Abstract
The ARGESIM C21 benchmark ’State Events and Structural-dynamic Systems’ adresses difficulties that appear in the modelling and simulation of discrete systems with state and structure-changing events. The solution presented here uses Modelica and a component based approach. It shows that even though Modelica may have conceptual problems modelling such systems, it is capable to deal with all the tasks of the benchmark in a straightforward way.