Ministry completes second phase of smart meter installation