tests with 2 nodes and in grid
added an output for the energy consumption