Severe accident analysis for a typical PWR using the MELCOR code