Search code examples
matlablong-integermatpower

Matlab MATPOWER Output in long format


I've been trying to use MATPOWER to do a power flow analysis for a network i have but all the outputs are coming with only 2 decimal places. Is there a way to configure the output to have the long format?


Solution

  • Trota,

    You can modify the number of decimal places printed on screen or forwarded to the output text file. If you browse the printpf.m file, simply change the required %9.xf to the required number of decimal places, where x is the number of digits after the decimal point. For bus data, these can be found at line 412 onwards. Hope this helps.