0

Playback model file not found

Hello, i am using python script for running multiple dynamic simulation. For the cases where plb file is used i am getting playback model file not found error. .plb file is in the same location where dyr files are placed. Other simulation in the loop is running fine where plb is not used. For dyr files with plb as gives an warning in PSSE as file in use OpnApplFil/OPENSEA

Anil's avatar
3
Anil
asked 2024-10-07 22:30:26 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Which PSSE version? Name of plb-file?

perolofl's avatar perolofl (2024-10-08 02:29:33 -0500) edit

dyre /20000 'GENCLS' 1 999.0 999.0 / 20006 'USRMDL' 1 'PLBVFU1' 1 1 3 4 3 6 1 0 'VRT1' 1.00 50.00 0.00 0.00 / VRT1.plb 0 1.000 50.0 5 1.000 50.0 10.000 1.000 50.0 10.001 1.044 50.0 12.000 1.044 50.0 12.001 1.044 50.0 13.000 1.044 50.0

Anil's avatar Anil (2024-10-08 10:12:59 -0500) edit

PSSE 34 version

Anil's avatar Anil (2024-10-08 10:14:28 -0500) edit

PSSE Version 34

Anil's avatar Anil (2024-10-08 10:14:48 -0500) edit

Hi, were you able to fix it ? Am also having same issue, my .txt file says " Model PLBVFU1 Bus 260 [JENNER 4 240.00] Machine "1 " : Error: Playback model input (plb) file not found; Model Ignored."

Engineer Power System's avatar Engineer Power System (2025-03-13 22:00:26 -0500) edit
add a comment see more comments

5 Answers

0

The playback file must be in the working folder.

perolofl's avatar
3.8k
perolofl
answered 2024-10-09 07:27:37 -0500
edit flag offensive 0 remove flag delete link

Comments

sav file in folder A where as dyr file is in folder B along with plb file

Anil's avatar Anil (2024-10-09 11:37:04 -0500) edit

Make sure the plb file is in PSSE´s working folder!

perolofl's avatar perolofl (2024-10-09 12:47:43 -0500) edit

Can you please explain PSSE´s working folder! I construction path of sav & dyr seperately and use them as required. As plb file is in the same folder of dyr i assume it takes it automatically

Anil's avatar Anil (2024-10-09 13:08:06 -0500) edit

I even kept sav , dyr and plb in same folder still the error persist

Anil's avatar Anil (2024-10-09 13:12:27 -0500) edit

Are you running PSSE from the GUI or from pyrhon?

perolofl's avatar perolofl (2024-10-09 14:29:01 -0500) edit
add a comment see more comments
0

Can you paste the full error message? Is it a file not found error, or a file in use error?

One idea, try reducing the plb file name to just 2 characters. This was required in v33, and I don't think v34 has that restriction, but it's worth trying.

If it is actually a file in use error, try ending your loops with pssehalt_2() to try to release any lock on the plb file.

Alex P's avatar
46
Alex P
answered 2024-10-10 12:15:41 -0500
edit flag offensive 0 remove flag delete link

Comments

Will pssehalt_2 l() stop my entire simulation?

Anil's avatar Anil (2024-10-11 05:33:34 -0500) edit

In Progress txt ( i am exporting progress in txt) Error: Playback model (plb) not found. Model ignored Where as in main PSSE progess file in use message is popping.

Anil's avatar Anil (2024-10-11 05:34:05 -0500) edit

I am running 100 simulations , File in use message is pooping only for thouse simulation where i have playback model referred in dyr file.

Anil's avatar Anil (2024-10-11 05:34:24 -0500) edit

8 diagonal and 7 off-diagonal elements Model PLBVFU1 Bus 2204 [220KV POI 220.00] Machine "1 " : Error: Playback model input (plb) file not found; Model Ignored.

Anil's avatar Anil (2024-10-11 08:40:59 -0500) edit

** LINES PER PAGE for FILE OUTPUT set to 9999999 File in use. F:\Anil\4(a).Dynamic_fault\Dyr_files\EQV_Model_R1_VRT1.dyr (OpnApplFil/OPNSEA)

Anil's avatar Anil (2024-10-11 09:08:52 -0500) edit
add a comment see more comments
0

When running dynamic simulation through Python scripts, the Playback model (.plb) file needs to be in the same folder as the Python script. (.Sav) & (.Dyr) files can be anywhere as their path can be constructed using Python. As the (.plb) path can not be built it should be in the working folder. The working folder is where your script is kept not where the dyr or sav file is stored

Anil's avatar
3
Anil
answered 2024-10-16 23:35:44 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

My practices when using playback model:

  1. The filename of the playback is only one character e.g. V for voltage playback, F for Frequency playback, X for both voltage and frequency playback.
  2. The playback text file should be located in the working folder, regardless of whether I'm using PSSE GUI, idv batch automation or python. I never put the playback text file inside any subfolder.
lmcqueen's avatar
76
lmcqueen
answered 2025-04-08 08:58:38 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

Not sure if this will help in your case, but here is what I discovered:

When I was running the .dyr through the gui I could have the PLBVFU1 file declared like this:

BusNr 'PLBVFU1' machID 1 1 'PLBFNAME' Ubase Fbase 0 0 /

However, when I ran it in a script I would receive the error that you had. In order to solve that and make the file discoverable, I needed to declare the model like this:

BusNr 'USRMDL' machID 'PLBVFU1' 1 1 3 4 3 6 1 1 'PLBFNAME' Ubase Fbase 0 0 /

Also, I have my scripts in a separate directory from my dynamics file. It is necessary that the PLB file be in the working directory (e.g. the directory where your script is ran from).

Bosco's avatar
1
Bosco
answered 2025-04-05 05:57:35 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer