Incorporating Realistic Constraints in Planning Models