-
Notifications
You must be signed in to change notification settings - Fork 12
Description
hi @jesseholzerpnnl : I am getting the error below when running with examples/case2 on a redhat linux with python 2.7. This does NOT occur/everything seems to work when using 'evaluation1' or 'evaluation2' module instead of 'evaluation' module. Not something critical, just wanted to let you know.
$ python test.py examples/case2/case.raw examples/case2/case.rop examples/case2/case.con examples/case2/case.inl examples/case2/sol1.txt examples/case2/sol2.txt /home/petra1/temp/.summary.csv /home/petra1/temp/.details.csv
read data time: 0
buses: 2
loads: 1
fixed_shunts: 0
generators: 1
nontransformer_branches: 1
transformers: 0
areas: 1
switched_shunts: 1
generator inl records: 1
generator dispatch records: 1
active power dispatch records: 1
piecewise linear cost functions: 1
contingencies: 2
set data scalars: 0.000000
set data bus params: 0.000035
set data load params: 0.000389
exception in evaluation.run
Traceback (most recent call last):
File "test.py", line 54, in
run()
File "test.py", line 44, in run
args.detail,
File "/home/petra1/work/projects/gocompet/Evaluation/evaluation.py", line 3041, in run
e.set_data(p)
File "/home/petra1/work/projects/gocompet/Evaluation/evaluation.py", line 898, in set_data
self.set_data_fxsh_params(data)
File "/home/petra1/work/projects/gocompet/Evaluation/evaluation.py", line 616, in set_data_fxsh_params
(self.num_bus, self.num_fxsh))
File "/usr/lib64/python2.7/site-packages/scipy/sparse/compressed.py", line 46, in init
other = self.class( coo_matrix(arg1, shape=shape) )
File "/usr/lib64/python2.7/site-packages/scipy/sparse/coo.py", line 149, in init
self.shape = (M, N)
File "/usr/lib64/python2.7/site-packages/scipy/sparse/base.py", line 74, in set_shape
raise ValueError('invalid shape')
ValueError: invalid shape