Analysis of a two-group community with access to a single water source (model (2) with and ). The two groups differ for their relative abundance (h1 and h2, with ) and intrinsic transmission risk (ϵ1 and ϵ2). A) Endemicity boundaries: parasite establishment is possible () for parameter combinations lying above the bifurcation curves, which correspond to and are obtained for different values of the basic reproduction number r0 of an equivalent homogeneous community (labels). B) State variables at the stable equilibrium: the dashed curves are contour lines for the prevalence of infected snails, while the dash-dotted curves refer to the average worm burden in human hosts (dark gray: high-risk group; light gray: low-risk group). The DFE is stable if (gray-shaded parameter combinations), while the EE is feasible and stable if . The black solid line indicates the endemicity boundary . In panel B, the overall exposure (βN) and contamination (χH) rates are assumed to be equal, and their value is set so as to match that of a homogeneous community endowed with a basic reproduction number (thus, ). Other parameters as in Fig. 1.