The ban would last 180 days or until new laws are enacted and the national power grid operator can ensure it can supply sufficient energy.