error using eeqv

asked 2017-04-04 16:18:28 -0600

eve gravatar image

I was trying to build an equivalenced system: (For instance: Deleting bus 11 and 12for IEEE118-bus case). Can anyone help me with it?

I have these error:

Matrix is too big at row 2--increasing MATRIX GROWTH FACTOR option setting to 7.0

Matrix is too big at row 2--increasing MATRIX GROWTH FACTOR option setting to 7.25

...

Diagonals = 11 Off-diagonals = 49 Maximum size = 85

08/25/93 UW ARCHIVE 100.0 1961 W IEEE 118 BUS TE

Process finished with exit code -1073741819 (0xC0000005)*

Here is my code:


from future import with_statement

from contextlib import contextmanager

import os, sys

PSSELOCATION34 = r"""C:\Program Files (x86)\PTI\PSSE34\PSSPY27"""

sys.path.append(PSSELOCATION34)

import psse34

import psspy

from psspy import _i, _f

import dyntools

import pssplot

import redirect

redirect.psse2py()

import numpy

import scipy

from scipy import special, optimize

import matplotlib.pyplot as plt

import pprint as pprint

import StringIO

psspy.psseinit(80000)

def reduceModel(loadbuses):

psspy.bsys(sid=1, numbus=len(loadbuses), buses=loadbuses)

psspy.gnet(sid=1, all=0)

ierr = psspy.eeqv(sid=1, all=0, status=[0, 0, 0, 0, 1, 0], dval1=0)

_i = psspy.getdefaultint()

_r = psspy.getdefaultreal()

_c = psspy.getdefaultchar()

psspy.case("IEEE118_new.sav")

loadbuses= [11,12]

reduceModel(loadbuses)

psspy.save("temp")


edit retag flag offensive close merge delete