Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As the error message states, you can't use ['z1'] the way you do here. What you probably want is:

rlsp = pssarrays.iecs_currents(1,0,0,1,0,0,1,0,0,0,3,3,0,0,1,0.0833)
Z_pstv = rlst.thevz[0].z1

Now to check if this gives meaningful results:

print Z_pstv
(5.92823457718+18.1242160797j)

As the error message states, you can't use ['z1'] the way you do here. What you probably want is:

rlsp = pssarrays.iecs_currents(1,0,0,1,0,0,1,0,0,0,3,3,0,0,1,0.0833)
Z_pstv = rlst.thevz[0].z1

Now to check if verify that this gives meaningful results:

print Z_pstv
(5.92823457718+18.1242160797j)

As the error message states, you can't use ['z1'] the way you do here. What you probably want is:

rlsp = pssarrays.iecs_currents(1,0,0,1,0,0,1,0,0,0,3,3,0,0,1,0.0833)
Z_pstv = rlst.thevz[0].z1

Now to verify that this gives meaningful results:results (for my grid):

print Z_pstv
(5.92823457718+18.1242160797j)