You're right, China should stop selling solar panels to Australia and deploy them internally.
They have been mass deploying solar and battery. They also realise that they can make profit from export markets because internal supply capacity exceeds internal demand.
They have been mass deploying solar and battery. They also realise that they can make profit from export markets because internal supply capacity exceeds internal demand.