Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

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 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 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.