UK-based renewable energy company RES will consult with the local community on its plans for a 21-turbine wind farm with energy storage near Lauder in the Scottish Borders.