How to assign a subsystem id for a defined subsystem in GUI?
Hello everyone,
I searched through both API.pdf and POM.pdf, and could not find a way to assign a subsystem id for a GUI defined subsystem. My problem occurs when I
1) defined the subsystem in a .sub file through GUI (Drop-down list path: Power flow->Linear network->create SUB,CON,MON files), where you are required to give a subsystem label that will appear in the .sub file
2) then when I want to use module "amachint" to find out the bus IDs that has generators, and this "amachint" module asks for "subsystem ID" as an argument (not a subsystem name).
The problem is that I could find the system ID associated with the subsystem I just defined through GUI, or I am not if a subsystem id was assigned to my previously defined subsystem.
I saw a module called "BSYS" that can define a bus subsystem through python, but it doesn't return or define me a corresponding subsystem label that I use in the .con file because it seems to me that the .con file requires a subsystem label other than a subsystem id. Maybe I am wrong.
Please advise. Appreciate your kind help. I will continue messing around until I get it run correctly as I expected. I will report what I find if I succeed.
I just tested using "BSYSISDEF" to see if any valid subsystem id (0-11) are already assigned to a define system. The answer is NO.
An interesting test @ypwang so based on the result you'd say they aren't linked?
@JervisW: I might be missing something that could prove my conclusion is wrong. So I would say, as far as I searched, PSS\E doesn't have API to link them for me.