"Cleaning" a set of parameters to be used in SITL

When taking a set of parameters from an aircraft and then going back to testing that aircraft in SITL, what parameter changes are needed? Is there a piece of code that I could look at to make sure that the flight tested parameters are within bounds for use in SITL?