C++ project to generate consumption curves