Framework Guidelines on Capacity Allocation and Congestion Management for Electricity