Solar panels on motorhome do not produce electricity at night without a battery because they produce electricity by converting sunlight into electricity using a process called photovoltaics. During the night there is obviously no sunlight so the solar panels cannot generate electricity.