Generate model rh