Modular tool for the simulation of compressor trains for oil and gas applications