function iter = cmp_chcap(n)

    chcap = chg_link(n);
    chcap_rdpwr = chg_link_rdpwr(n);
    
    figure(3)
    hold on

    plot(chcap)
    plot(chcap_rdpwr)
    legend({'Fixed power', 'Random power'},'Location','southwest')
    iter = 0;
end

