weight shouldn't affect range much. It will have impact on acceleration though.
tread and aerodynamics will affect range.
I lost about 20 Wh when i moved from 18" to 19", but the rims were about the same weight. I think its mostly due to tire selection, not aerodyanmics (I wasn't using aero cover)