Development and application of a multiscale model for the magnetic fusion edge plasma region