The GAMS code looks at the clearing of day-ahead markets with respect to Nodal and Zonal market types.