If the hardness of water is caused by sulfate or chloride of calcium and magnesium, this hardness is called permanent hardness. Heating water with permanent hardness cannot reduce the hardness of water.
Method of reducing water hardness: 1. Drug softening method. (lime and soda ash)
2. Ion exchange method (sulfonated coal)
Adding calcium hydroxide to hard water is an applied chemical softening method. For permanent hard water, there are many calcium and magnesium ions in permanent hard water. After adding calcium hydroxide, magnesium ions are converted into magnesium hydroxide, which is insoluble and easier to remove.
Related papers were not found. You can search online for ways to remove hard water, and you may have the answer you want.
References:
Chemistry reading materials
I hope my answer can give you some hints.