A platform for simulating networks