Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I cannot import pssarrays

Dear all,

I am quite new to python scripting with PSSE, although I managed to write some scripts to automate loadflow cases. I am trying to export short circuit currents to csv files, but I am getting an error in the following line: "import pssarrays".

The error is as follows:

Traceback (most recent call last): File "C:\Python34\lib\site-packages\matplotlib__init__.py", line 810, in __setitem__ cval = self.validatekey KeyError: 'figure.titlesize' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:/Users/simulacion2/Documents/SRC/21891-Typsa-PSSE-BASE-Uganda/Simulaciones/4_Short_circuits/Loadflow.py", line 16, in <module> import pssarrays File ".\pssarrays.py", line 335, in <module> File ".__init__.py", line 335, in <module> File ".\gicthermal.py", line 135, in <module> File "C:\Python34\lib\site-packages\matplotlib__init__.py", line 814, in __setitem__ See rcParams.keys() for a list of valid parameters.' % (key,)) KeyError: 'figure.titlesize is not a valid rc parameter.See rcParams.keys() for a list of valid parameters.'

I have no problems with the other modules (import pssaccss, import redirect, import psspy, etc). It seems the problem comes from the matplotlib, but I am not using it in this script and when I use it I have no problems.

Please, Could someone help me or give me a hint to know how to proceed?

I cannot import pssarrays

Dear all,

I am quite new to python scripting with PSSE, although I managed to write some scripts to automate loadflow cases. I am trying to export short circuit currents to csv files, but I am getting an error in the following line: "import pssarrays".

The error is as follows:

*Traceback (most recent call last): File "C:\Python34\lib\site-packages\matplotlib__init__.py", line 810, in __setitem__ cval = self.validatekeylast):

KeyError: 'figure.titlesize' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:/Users/simulacion2/Documents/SRC/21891-Typsa-PSSE-BASE-Uganda/Simulaciones/4_Short_circuits/Loadflow.py", line 16, in <module> import pssarrays File ".\pssarrays.py", line 335, in <module> File ".__init__.py", line 335, in <module> File ".\gicthermal.py", line 135, in <module> File "C:\Python34\lib\site-packages\matplotlib__init__.py", line 814, in __setitem__ See rcParams.keys() for a list of valid parameters.' % (key,))

KeyError: 'figure.titlesize is not a valid rc parameter.See rcParams.keys() for a list of valid parameters.'*

I have no problems with the other modules (import pssaccss, import redirect, import psspy, etc). It seems the problem comes from the matplotlib, but I am not using it in this script and when I use it I have no problems.

Please, Could someone help me or give me a hint to know how to proceed?