STAN (subSTance flow ANalysis) software