A unified approach to the power law and the critical state modeling of superconductors in 2D