Modeling of a non-physical fish barrier