The Ulchin 3 and 4 nuclear power plants, which are two-loop 2825 MW(thermal) pressurized water reactors designed by the Korea Atomic Energy Research Institute, adopted a safety depressurization system (SDS) to mitigate the beyond-design-basis event of a total loss of feedwater (TLOFW). A comparative simulation by the CEFLASH-4AS/REM and RELAP5/MOD3 computer codes for the TLOFW event without operator recovery and the TLOFW event with feed and bleed (F&B) operation is performed for Ulchin 3 and 4. In the analyses, the SDS bleed paths are modeled by orifices located on the top of the pressurizer, where the analytical area of the bleed path is based on the Ulchin 3 and 4 SDS design flow capacity. An additional case, where the SDS piping and valves are modeled explicitly, is considered for the RELAP5 analysis. The predictions by the CEFLASH-4AS/REM of the transient two-phase system behavior show good qualitative and quantitative agreement with those by the RELAP5 simulation. The RELAP5 case with explicit piping results in less repressurization and lower reactor coolant system pressure than that of the case without explicit SDS modeling. However, the two cases of RELAP5 analyses result in essentially the same transient scenarios for TLOFW with F&B operation. The results of the simulation demonstrate the validity of the Ulchin 3 and 4 design approach, which employs CEFLASH-4AS/REM computer code and SDS bleed paths modeled by orifices located on the top of the pressurizer. The results also indicate that the decay heat removal and core inventory makeup function can be successfully accomplished by F&B operation by using the SDS for Ulchin 3 and 4.