One-zone model for shell flashes on accreting compact stars