Semi-idealized modeling of lightning initiation related to vertical air motion and cloud microphysics