Govt regulator designs model for discoms’ power sale and purchase