And why do they sell at loss the energy ? Does this mean that they just exchange the energy they buy for grid energy to power their datacenter, and that the energy they get is cheaper than the one they're buying?
The spot price of power changes by the minute. Google pays for the wind farm's output; they're more concerned about replacing dirty MWs with clean MWs, and less about if they're making a profit on each MWh of power.