This paper presents an approach to generate structured explanations of system behaviour based on qualitative simulations. This has been implemented in WiziGarp, a domain-independent interactive learning environment. The main issue addressed here is how to manage the complexity of a simulation in order to generate adequate explanations. These are presented to the user in the form of different kinds of diagrams, accompanied by explantory dialogue.