Govt finalises funding mechanism for battery energy storage system project