Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

pss.asys doesn't work !

Hi friends,

I am trying to define a subsystem consisting of two areas, numbered in PSS/E as 19 and 20.

This is my code:

ierr = psspy.asys(4, 2, [19,20])

print ierr

where 4 is the desired subsystem number.

ierr comes out as 0, but the actual subsystem is EMPTY !!

I have used bsys before (which is more complicated), but haven't been able to make asys work,

Please, help !

Thanks a lot,

Andre

P.S. Have just found out this forum, very useful, thanks !

pss.asys psspy.asys doesn't work !

Hi friends,

I am trying to define a subsystem consisting of two areas, numbered in PSS/E as 19 and 20.

This is my code:

ierr = psspy.asys(4, 2, [19,20])

print ierr

where 4 is the desired subsystem number.

ierr comes out as 0, but the actual subsystem is EMPTY !!

I have used bsys before (which is more complicated), but haven't been able to make asys work,

Please, help !

Thanks a lot,

Andre

P.S. Have just found out this forum, very useful, thanks !

psspy.asys doesn't work !

Hi friends,

I am trying to define a subsystem consisting of two areas, numbered in PSS/E as 19 and 20.

This is my code:


subsystem_number = 4 ## desired, could be anything between 0 and 11, right ?

areas = [19,20] ## these areas DO exist

numberofareastoset = len(areas)

ierr = psspy.asys(4, 2, [19,20])psspy.asys(subsystemnumber, numberofareasto_set, areas)

print ierr

where 4 is ierr, areas = psspy.aareacount(subsystem_number, _i)

print areas

print ierr

ierr, numbers = psspy.abusint(subsystem_number, _i,"NUMBER")

print numbers


On the desired subsystem number.

ierr screen, I get:


0

2

0

[None]


Please, does anyone know why my numbers array comes out as 0, but the actual subsystem is EMPTY !!

I have used bsys before (which is more complicated), but haven't been able to make asys work,

Please, help !empty ??!!

Thanks a lot,

Andre

P.S. Have just found out this forum, very useful, thanks !

click to hide/show revision 4
Formatting.

psspy.asys doesn't work !

Hi friends,

I am trying to define a subsystem consisting of two areas, numbered in PSS/E as 19 and 20.

This is my code:


subsystem_number = 4 ## desired, could be anything between 0 and 11, right ?

?

areas = [19,20] ## these areas DO exist

exist number_of_areas_to_set = len(areas)

numberofareastoset = len(areas)

ierr = psspy.asys(subsystemnumber, numberofareasto_set, areas)

psspy.asys(subsystem_number, number_of_areas_to_set, areas) print ierr

print ierr

ierr, areas = psspy.aareacount(subsystem_number, _i)

_i) print areas

print areas

ierr

print ierr

ierr, numbers = psspy.abusint(subsystem_number, _i,"NUMBER")

_i,"NUMBER")

print numbers

numbers

On the screen, I get:


0

0
 2
 

2

0

0

[None]

[None]

Please, does anyone know why my numbers array comes empty ??!!

Thanks a lot,

Andre

P.S. Have just found out this forum, very useful, thanks !

click to hide/show revision 5
retagged

psspy.asys doesn't work !

Hi friends,

I am trying to define a subsystem consisting of two areas, numbered in PSS/E as 19 and 20.

This is my code:


subsystem_number = 4 ## desired, could be anything between 0 and 11, right ?

areas = [19,20] ## these areas DO exist

number_of_areas_to_set = len(areas)

ierr = psspy.asys(subsystem_number, number_of_areas_to_set, areas)

print ierr

ierr, areas = psspy.aareacount(subsystem_number, _i)

print areas

print ierr

ierr, numbers = psspy.abusint(subsystem_number, _i,"NUMBER")

print numbers

On the screen, I get:


0

2

0

[None]

Please, does anyone know why my numbers array comes empty ??!!

Thanks a lot,

Andre

P.S. Have just found out this forum, very useful, thanks !