Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Importing self-made modules and PSSPY

Hi everybody.

I am trying to build a more o less complex set of scripts with PSSPY.

Usually with python I have a main.py and then several submodules (e.g. power_flow.py, dynamics.py ...).

However, this doesn't work when I am using PSSPY. I can either import PSSPY in the main.py or in one of the submodules. But if I try to call PSSPY functions from both, the interpreter will say that the functions I am trying to call doesn't exist.

Has anyone faced the same problem?