Please help me with industry profit/loss calulcation

It does, but I want to create my own application that generates that data so I need to understand the calculations behind fuzzworks. In relation to question 1, it looks like fuzzworks uses the ME0 values, but I’d love somebody to confirm if that’s right.

Looking at fuzzworks doesn’t help me with question 2, i.e. how does Fuzzworks calculate the “other cost”?