Source code for "Synthesised Constraint Models for Energy Coalitions"