I think you guys all are on the right track but be careful with AC.
We used a similar setup using solar and DC current in Arkansas for our gardens and livestock. Worked fine and no chance of death for anyone. Saw a 6ft Black bear touch it and never come back.
AC current even in low voltages can kill.
Not sure if you covered this yet, but a word of warning to those who try this without professional advice or knowledge using home current (AC). Electricity is f'ing dangerous.
The raccoon that was fried, could have been a human. Trust me. A 15 amp circuit on a 110v outlet will kill a man if they ground themselves properly. The coon that fried, well he grounded himself just right and he
clamped, meaning he could not let go, that is the key.
You flick your finger out and yell "Whoooie! that sucker is hot"...grab that same wire in your fist, like a raccoon grabbing on to climb and if you are grounded, you will not let go until you are dead. Clamping.
This is just my totally unprofessional opinion as someone who spent several of my formative years carrying conduit up stairs and ladders for guys who I thought were full of it, until I improperly seated a connection and ended up across the room.
Peace my peeple