Network and location modeling