improve 1d sweep

tidy it up, current limiting, volt limits