Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

When using PSSe GUI ('inside' mode) the working folder is set when you load the case and the plb file location should be on it. In a script (outside the PSSe GUI), the working folder (containing the sav and plb files) could be set explicitly in the code or by default, is set to the folder from where it was launched.

When using PSSe GUI ('inside' mode) the working folder is set when you load the case and the plb file location should be on it. In a script (outside the PSSe GUI), the working folder (containing the sav and plb files) could be set explicitly in the code or by default, is set to the folder from where it was launched. Exa.:

savpath = c:\\abc\\cases   
os.chdir(savpath)         # change working dir to find *.plb file   
psspy.case('mycase.sav')  # located at savpath