Distribution Grid Operational Planning with Flexibility Resources