Modeling dynamic and network heterogeneities in the spread of sexually transmitted diseases | Synapse