DLA Piper advises lenders on BESS project