Advanced smart grid functionalities based on PowerFactory. ([2018])