Two-leg spin ladder model for Ag2VOP2O7 from mapping analysis based on first principles density functional calculations