Hello Ismail,
You can try this:
[baseMVA, bus, gen, branch, area, gencost]=loadcase('case118')
[MVAbase, bus, gen, branch, success, et] = runpf('case118')
savecase('case118_results','',baseMVA, bus, gen, branch, area, gencost)
Regards
Roman
----- Original Message -----
From: Dr. Ismail Musirin
To: [email protected]
Sent: Tuesday, November 25, 2008 8:53 AM
Subject: MATPOWER QUESTIONS
Dear all,
I am Ismail Musirin from Universiti Teknologi MARA, Malaysia. First of all, I
must say thank you to Prof. Ray Zimmerman for the power flow package you
developed to solve the power flow problems.
I am writing to you to ask how can I extract all the load flow results and
put them in the workspace. Apparently using the following example:-
>> runpf 'case118'
we may get beautiful load flow results on the screen or command window.
However, the variables such as the bus and branch variables are not appeared in
the workspace. I need to know all these variables in order to do my further
coding.
I appreciate your response.
Best regards.
Associate Professor Dr. Ismail Musirin
(MIEEE, -PES, -CIS, -CMCS, ARTIST, IAENG)
Faculty of Electrical Engineering
Universiti Teknologi MARA
40450 Shah Alam, Selangor
MALAYSIA
Tel: 603-55435044 or 6012-6603864
Fax: 603-55435044