Further clarification
When a process produces more than one product which is valuable, it complicates the EROI maths, but it can be overcome. Essentially what you do is apportion the Energy Inputs to the various Energy Outputs (co-products) based on the proportions of energy the outputs contain. This is standard practice among EROI mathematicians.