One additional note. Should you have an aftermarket solar panel or wind generator, they are typically directly connected to the batteries to keep them charged.
Also, the batteries - depending on their size - may only power the AC appliances for a short period of time via the inverter. For example, if you have typical type 27 or 31 batteries, they might have an 80AH rating (x 2). Ignoring conversion/inversion inefficiencies and things like Peukert's Law, this would power a 100Watt lightbulb for around 12~18 hours.
So the inverter approach is only a temporary situation. However, with enough solar panels and large enough battery bank, you could potentially recharge the batteries and power modest loads on your RV on a continuous basis.
The cost of such a system (solar panels, batteries, electronics, etc) can be as high as $5~10 per watt - which is fairly expensive. In comparison, wind generators are around $1~2 per watt, and a generator is around $0.25 per watt.
The old saying... it takes a lot of green to go green.
__________________
|