A frequency-domain-based electromagnetic model of the lightning protection system of buildings is presented in this paper. Numerical model can accurately take into account all conductors of the lightning protection system, i.e., air-termination system, down-conductor system and earthtermination system. Using the presented electromagnetic model, attenuation effects of a grid-like spatial shield-sometimes used in lightning protection of buildings-will be analyzed for both the electric field and the magnetic field caused by a lightning strike. Three-dimensional distributions of the fields inside the shield are provided in the paper.