The prefabricated cabin integrates the power conversion system (PCS), step-up transformer and energy storage equipment to achieve efficient DC-AC conversion and boosting; while the battery energy storage system integrates lithium iron phosphate batteries, battery management system (BMS), PCS, energy management system (EMS), power distribution, temperature control, fire protection and monitoring systems in a 20HQ standard container.