IEC 60364 provides guidelines for electrical installations in buildings, including:
IEC 60364 is an international standard that covers the low-voltage electrical installations in buildings, including residential, commercial, and industrial premises. The standard provides a framework for ensuring the safety and reliability of electrical installations, from the design and planning stage to the installation, testing, and maintenance phases. iec 60364.pdf
You can find the official IEC 60364 standard document (PDF) on the International Electrotechnical Commission (IEC) website or through various online platforms. RCDs (Residual Current Devices)
The standard details the distinction between (preventing contact with live parts) and Fault Protection (preventing shock if a fault occurs). It introduces concepts like Automatic Disconnection of Supply (ADS), RCDs (Residual Current Devices), and equipotential bonding. iec 60364.pdf
Use Part 4 (protection) and Part 5 (equipment selection) for engineering calculations; use your national annex for installation practices.