Modeling orientation detection