ADVANCE, a modular simulation environment for vehicle and powertrain design and analysis