@Test
public void testConnectVoltageRegulatorOnWithAlreadyConnectedGenerators() {

    g2.setVoltageRegulatorOn(true);
    GeneratorUtil.connectGenerator(g2);
    assertTrue(g2.getTerminal().isConnected());
    assertEquals(33., g2.getTargetV(), 0.01);
}