Recently, energy storage devices (ESDs) have been introduced to railway vehicles to operate even in an emergency case, such as a power outage. However, there have been no proposals for simultaneous design methods of power capacity and energy capacity of onboard ESD for emergency operation. In this paper, a model for the calculation of power and energy capacity of onboard ESD, which are utilized in an emergency case, is proposed. Furthermore, we propose a method to design the power and energy capacity of onboard ESD by considering the required power for traction and an auxiliary power supply system.