A first version with input file for collocated networks