I grew up in a farming area..on a farm actually. I don't know of a single farmer who has his electric livestock fence tied into the barn current anymore. Every fence is solar powered. Works great. The setup my dad has is at least 14-15 years old and never had a problem with it.
Solar is taking off with various farm uses in just about every area from the fences to oxygenators for ponds, heating water in water tanks for livestock in the winter...on and on.
Seems like every 2-3rd vendor at the Farm Science Review in Ohio has new solar panel technology applications for farm use...but we are told politically by some to hate and be wary of the use.
It's not too bad an arrangement, if you don't need too many "W", and have a lot of "m2".