NatHERS used to be a thermal-only rating: how much heating and cooling energy the home would consume given its envelope, glazing, and orientation. Under NCC 2022, the rating expanded into a whole-of-home energy budget.
The home's regulated equipment (hot water, heating/cooling, lighting, pool pumps) is counted on the energy-use side, and on-site renewable generation is counted on the supply side. The net result rolls into the star rating.
Solar PV is the most direct supply-side input. Every kWh the panels generate is a kWh the regulated equipment doesn't have to draw from the grid. The whole-of-home score improves linearly with system size, then non-linearly when battery storage captures more of the generation for evening loads.