Operation of Distribution Systems with PEVs and Smart Loads