Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Retrieve MW and MVAR from Load

Sorry to ask a simple question that I hope has not been asked already. I have tried searching for it but am unable. I would like to gather the load values, MW and MVAR for a particular load.

Checking the api is seems like LODDT1 would do it, but I can only seem to get the MVA values. I can use LODDT2 to get them in a complex way, but wanted to avoid then digging into that with more code to get what I want. Unless that is the only option.

Does anyone have a simple like of code to retrieve load values from a particular load? psspy.loddt1(65818, '1' ,'MVA', 'ACT') - is where I am starting.

I have a script that reads in load values and sets them via csv, but I wanted to first scrap all the existing loads from the same bus and write them to a file for comparison later on (like to see % change from before to after).