Check topology of scenario at startup
We should add a check of the scenario's topology at the startup to avoid longish debugging if a simulation fails at the start for no obvious reasons. Main criteria for a correct topology
- no circles
- from root to leaves the IDs of nodes and transformers have to increase
Possible error detection criterion: A node/ transformer has more than one neighbour with an ID that is smaller than its own ID.