Grid codes are not suggestions; they are legal regulations set by national utility boards (e.g., VDE-AR-N 4105 in Germany, G99 in the UK, AS/NZS 4777 in Australia). These regulations dictate exactly how an inverter must behave when connected to the public electricity grid. This includes: