I don't know about orbiter but FlightGear uses JSBsim for flight dynamics modeling which can be very accurate and was even used at NASA.
You are correct that as space is not the primary use case for FG the shuttle developers had to start from scratch on many things.