A market equilibrium model for electricity, gas and district heating operations. (1st September 2020)