First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered Jun 30 '2

perolofl gravatar image

Use reload instead of closing and reopen PSSE after changes in the custom file imported by the main script.

Example:

import customfile
reload(customfile)

Now, the updated customfile will be imported again inside PSSE.

In Python 3:

import customfile
from importlib import reload
reload(customfile)