Park lock simulation of e-Powertrain