Here's some info that gives some possible causes...found by googling "bmw obd ii code po313":
Also, help us help you better by creating a signature that includes your model/model year/build date. There are multiple engines, transmissions, suspensions, options, and changes through-out the build date range from 2000-2006 that can affect the answers/suggestions/tips/hints you receive.