The files are capable of performing load-flow analysis in Newton Raphson methond and Gauss Siedel Method in Scilab.
It can also print the results into a text file named xx_report.txt
in the folder xx_report
according to keyword, where xx
being the keyword.
It can work only on scilab 6.0.0.
- Abhinav Dronamraju
- Tushar Bang, in association with FOSSEE, IIT Bombay.
-
Clone this repo to a folder of your convenience
-
Make changes in
start.sce
according to your loadflow problem, save and exit. -
Open scilab and
cd
to the folder of the repo. -
Execute start.sce by typing ->
exec start.sce
-
Call the
runpf
function with the choice of algorithm.- 'nr' - Newton Raphson Method
- 'gs' - Gauss Seidel Method
- 'report' - Generate
xxreport.txt
with the results.
-
Calling the function as
runpf('nr')
orrunpf('gs')
will post the results in the console. -
Calling the function as
runpf('nr', 'report')
orrunpf('gs', 'report')
will print the results in thenr_report.txt
andgs_report.txt
respectively.
-
Base MVA is set to 100 MVA.
-
You can change this default setting, go to
gauss.sci
andnrlf.sci
, change the value of BMva.