Nitric acid production and calculations