Does a house with a 3 kW electricity supply contract need a 3 kW photovoltaic system?

No. There is no direct relationship between the system power and the electricity supply contract. The type of photovoltaic system should be chosen according to the actual energy consumption and the space available to locate the photovoltaic modules.