As a company, you get compensation when you feed power back to the grid, but you are not allowed to offset this against your consumption. This compensation is often low and sometimes you even have to pay for the feed-in, especially if the grid is too full. So you save the most if you use the power yourself. A battery or smart control can help. There are also schemes that allow you to get part of your investment back.