Genorator fixed. Testing for energy transfer ahs provem suscessful