')         fd.write('\n----  -----  ------  --------  --------  --------  --------  --------  --------')         for k in r['igr']:             fd.write('\n%0d %0d     %0d ' % (k, results['gen'][k, GEN_BUS], results['gen'][k, GEN_STATUS]))             if (results['gen'][k, GEN_STATUS] > 0) & (results['reserves']['mu']['