Create wsntopologybasedenergy.cpp