0

PSSE/ Transmission Losses

Hi Everyone, I'm new to PSSE. I am trying to calculate the transmission losses of psse model using Python language by modelling it into two stages: 1) Run the psse load flow and export the results to excel spreadsheet; 2) Increase the generation (generators) by 1MW, and run the load flow again and export the results to excel.

Is there anyway to export the transmission losses to excel spreadsheet using Python or any other methods that can be used as well?

Thanks in advance!!

anonymous user
asked 2019-11-20 18:21:52 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

The total losses for the whole system is returned with SYSTOT and the total losses in an area with ARDAT (Chapter 7).

perolofl's avatar
3.8k
perolofl
answered 2019-11-22 06:44:23 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks @perolofi for your help

Kutaiba's avatar Kutaiba (2019-11-24 15:25:32 -0500) edit
add a comment see more comments
0

You don't really need to calculate the losses yourself as the APIs already have them.

For example, the "aflowreal()" function in the psspy module, which give you the losses of the whole subsystem. You can also get losses by area, just read the API doc.

After acquiring the data, export them to Excel is easy. Just use openpyxl or other modules. I won't recommend PSSE's Excel module though. It is very bad and it terminates all Excel processes without warning on import. It is even easier to export the data to CSV. You just need the standard Python lib.

drsgao's avatar
76
drsgao
answered 2019-11-21 03:10:19 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks drsgao @drsgao, That's really helpful, can you direct me to which chapter in API document, as it is a very big document.

Kutaiba's avatar Kutaiba (2019-11-21 15:52:01 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer