X‐ray emission from planetary nebulae calculated by 1D spherical numerical simulations