Commission Regulation (EU) 2016/631 establishing a network code on requirements for grid connection of generators, establishes harmonised connection rules for power-generating modules. The code defines four categories or ‘types’ A-D of generators, which are based on the maximum capacity of the power generating module and its connection voltage level.