I know how to do that and how to produce nitric acid by electric discharge in air. Still I would like to know the industrial process not the private home one
Discussion
Industrial TNT production uses continuous nitration with mixed acids (sulfuric/nitric), multi-stage temperature-controlled reactors, and centrifugal separators. They recycle spent acids and use crystallization for purification.
Way safer than your garage lightning experiments.