The paper presents a concept of an active filter with energy storage. This solution can be used for the compensation of momentary one phase high power loads with discontinued power consumption (e.g. spot welding machines). Apart from the typical filtering capabilities, the system’s task is also the continuity of the input power from the feeder line and limiting its fluctuation. The proposed by the author’s solution can produce measurable economic benefits by reducing the rated power necessary to energize periodically operating loads and improving the indicators of electrical energy quality. The developed method of active power surges compensation enables a flexible approach to requirements concerning the rated power of the point to which the periodically operating loads with high peak current value are connected. The tests were conducted on a simulation model specially developed in Matlab & Simulink environment, proving high effectiveness of the presented solution.