From effective-index model to phase-plate model