Ask Your Question

perolofl's profile - activity

2025-03-19 06:58:00 -0600 answered a question How to set all loads in the system as constant impedance loads.

Use tool in menu: Power Flow - Convert Loads and Genertors...

2025-03-18 08:13:56 -0600 commented answer User defined model of line relay

To write the relay slot value (1 or 2) in DOCU and DYDA.

2025-03-15 07:50:23 -0600 commented question Zero-Power Output Issue in GE Wind Model for Simulations Longer Than 3.5 Seconds

How do you simulate without seeing the progress output? You can always run the script inside PSSE.

2025-03-14 08:47:58 -0600 commented question Playback model file not found

@Engineer Power System: Which version of PSSE are you using?

2025-03-14 08:39:29 -0600 commented answer How to cause a three-phase short circuit in the middle of the line

It is better to write in English in this forum!

2025-03-14 08:38:45 -0600 answered a question How to cause a three-phase short circuit in the middle of the line

For in-line fault in a dynamic simulation, see post how can i set the fualt location in PSS/E.

2025-03-14 08:20:00 -0600 commented question Playback model file not found

The record "260 'USRMDL' 1 'PLBVFU1' 1 1 3 4 3 6 1 1 'BA1_Play_RT' 1.0 1.0 0.01 0.01 /" is ok for me.

2025-03-14 02:15:40 -0600 commented question Zero-Power Output Issue in GE Wind Model for Simulations Longer Than 3.5 Seconds

Something is wrong with the simulations if the two results are not identical up to 3.5 seconds. Check the output in progress properly!

2025-03-14 00:44:01 -0600 commented question Playback model file not found

What is the name of plb-file? Show your dyre-record.

2025-03-11 13:52:50 -0600 commented answer User defined model of line relay

Yes, as shown above!

2025-03-05 12:38:46 -0600 commented question Power output of all generators are zero

Skip the python script and run everything in the GUI. Check the progress window and dynamics spreadsheet.

2025-03-04 10:20:59 -0600 answered a question Output of a wind generator is zero

You don't have any generator and electrical model for the wind generator...

Please also read the the messages in progress window!

2025-03-04 01:44:20 -0600 answered a question Fortron block that is available for washout filter like the one available for leadlag block in psse 30 version

Use elementary block WSHOUT_MODEn. See Program Application Guide, Vol 2.

2025-03-03 14:42:59 -0600 answered a question Extract speed deviation of all generators

It might be:

  • The generators are out of service in saved case
  • The generators in the .dyr file are not present in the saved case
2025-03-01 02:33:25 -0600 edited question PLBVFU1 Frequency Ride Through Testing

I am trying to test frequency ride through in PSSE for 0.3Hz step/down from 60 Hz. My PLBVFU1 model looks like

"260 'USRMDL' 1 'PLBVFU1' 1  1  3  4  3  6  1  1 'BA3_Play_RT' 1.0 60.0 0.00 0.00 /"

in dyr file, also my plb file is

@!time, V(kV), f(Hz) 
@!6.5 TO 6.8 FAULT
0.0         1.0     60.0
6.5         1.0     60.0
6.5001      1.0     60.3
6.8         1.0     60.3
6.8001      1.0     60.3    
12.0        1.0     60.0.

When I plot them in PSSE, I don't see frequency from 60 Hz to 60.3 Hz, instead plot starts from 1 goes to 0.005 and back to 1.

Can anyone help is finding the issue, also how can I plot 60 Hz data in PSSE. Am testing these models against PSCAD where frequency is in 60 Hz. Because of this difference, I can't plot both the PSSE and PSCAD values on same plot for MQT's.

2025-03-01 02:30:38 -0600 answered a question PLBVFU1 Frequency Ride Through Testing

PSSE doesn't plot the frequency in Hz, it shows instead the per unit speed deviation. This means that 60 Hz is 0 pu speed deviation and 0.005 pu = (1+0.005)60 = 60.3 Hz.

There are many posts here describing this, for example: Frequency zero

2025-02-28 05:23:57 -0600 commented question Breaker Status Relay

Seems you need a user written model.

2025-02-28 04:54:47 -0600 commented question Breaker Status Relay

What do you want to do?

2025-02-28 04:52:44 -0600 commented question Adding user model from dyr file

Yes, it should be 101, 102, 103. IC=104 is for pitch control model.

2025-02-28 04:46:38 -0600 answered a question Fortran version of rxpath

The following Fortran-90 code works:

integer :: IERR, IARRAY(99), TDIM=99
REAL :: RXVALUE 
CALL FINDSHORTESTDISTANCEBETWEENTWOBUS(0, 101, 3001, TDIM, IARRAY,RXVALUE, IERR)

Note that IARRAY must have the length of TDIM. You shouldn't set TDIM to 9999 and the array to length 6.

I also noted that TDIM must be a variable, not hard coded.

2025-02-28 03:37:09 -0600 commented question Adding user model from dyr file

In .dyr-file, what IC code is used for the electrical model?

2025-02-27 10:42:02 -0600 commented question I am using PSSE 34.9.6. I have interface files in FORTRAN. vscmind API not getting recognised.

Maybe you can show the code?

2025-02-27 10:40:34 -0600 answered a question Select fault as a three-phase short circuit at the end of lines 28-29.

Use the Line Fault tool. The fault is always applied at the from bus end of the line, so enter 29 as from bus:

image description

2025-02-27 02:08:05 -0600 commented question Fortran version of rxpath

Can you show your code and describe the problem?

2025-02-21 07:34:12 -0600 commented question Converting generators from one owner to another

API: psspy.machine_chng_4(ibus,id,[_i,owner]).

2025-02-21 07:32:23 -0600 commented question Converting generators from one owner to another

In what way is the data locked? Describe what happens.

2025-02-21 06:04:11 -0600 commented question Converting generators from one owner to another

It is not possible to change the owner name, just the owner number.

2025-02-21 03:31:24 -0600 commented question Converting generators from one owner to another

You can change the owner in Machine spreadsheet.

2025-02-20 08:04:02 -0600 answered a question how to simulate Fast Valving Decision in dynamic

Governor model TGOV2 and TGOV3 have fast valving.

2025-02-20 07:56:06 -0600 commented answer How long is the length of the time window in the model named DLSHBL?

The frequency filter time constant is shown in "Dynamic Solution Parameters".

2025-02-20 07:51:25 -0600 commented answer PSS/E Dynamic Simulation - Negative accelerating P but frequency not decreasing

Personally, I prefer to set D to zero in the generator model and to model the load frequency dependency with a load model, e.g. LDFRAL.

2025-02-18 12:50:32 -0600 commented question How to adjust Plot size in PSS/E 35?

Sounds strange, Have you tested Edit - Reset Workspace?

2025-02-18 05:33:33 -0600 commented answer For a given PSAS/IDEV file for dynamics, how to detect the total simulation time?

Still not clear, you mention output file, pdev/odev. Do you want something like "Run time = 20.000 s" in progress window?

2025-02-17 11:37:21 -0600 commented answer For a given PSAS/IDEV file for dynamics, how to detect the total simulation time?

It is confusing when you write "using a simple user written model". Why not just use psspy.dsrval('DELT')? It is better to use Python instead of PSAS/IDEV for the contingency.

2025-02-17 03:53:08 -0600 commented answer PSS/E Dynamic Simulation - Negative accelerating P but frequency not decreasing

Can you show a raw data file of your test system?

2025-02-17 02:37:23 -0600 answered a question PSS/E Dynamic Simulation - Negative accelerating P but frequency not decreasing

I believe you haven't activated Network frequency dependence in Dynamic Simulation Options:

image description

2025-02-17 02:11:38 -0600 answered a question What does 'psspy.save("XX.cnv")' mean in a dynamic simulation? What is a .cnv file?

It is a very bad practice to save the converted case (generators and loads) in a "converted saved case". In your example with suffix .cnv instead of .sav.

There is no real reason to do this. It is better to start every simulation from a normal saved case and a snapshot/dyre file. You can remove the save statement.

2025-02-17 02:00:57 -0600 answered a question For a given PSAS/IDEV file for dynamics, how to detect the total simulation time?

The actual simulation time is available in variable TIME (GET_TIME() in rev 36) in a user written model.

EDIT:

The following Python code after the simulation will print the actual time to progress window:

ierr, run_time = psspy.dsrval('TIME')
psspy.progress(f'Run time = {run_time:.3f} s\n')
2025-02-16 14:18:08 -0600 commented answer Questions about psspy.dist_clear_fault

The trip disconnects the branch. The branch fault is a part if the branch data (line shunt at ibus side). Disconnecting the branch means that the fault is no longer connected to the system. Tripping branch means tripping line and shunt fault. There is no need for clear fault in this contingency.

2025-02-16 01:02:36 -0600 answered a question Questions about psspy.dist_clear_fault

Clear fault just removes the fault shunt inserted by dist_branch_fault.

Branch faults are modelled with a large line shunt on the faulted line. Tripping the line, means that the fault is isolated from the rest of the system, i.e. the fault is cleared at time 1.05 when the line is tripped.

2025-02-16 00:57:41 -0600 edited question Questions about psspy.dist_clear_fault

Does psspy.distclearfault(1) put the tripped branch between bus 40809 and bus 41450 back into service after clearing the fault on the branch in the following code?

psspy.run(0,1.0,500,50,0)
psspy.dist_branch_fault(ibus=40809, jbus=41450, id = '1', units = 3, basekv = 0.0, values1 = 0, values2=0)
psspy.run(0,1.05,500,6,0)
psspy.dist_branch_trip(ibus = 40809, jbus =41450, id = '1')
psspy.run(0,1.10,500,6,0)
ierr = psspy.dist_clear_fault(1)
psspy.run(0,15,500,6,0)
2025-02-14 03:30:27 -0600 commented answer How to i find all buses which are connected to a specific bus

@Yoyo: The code returns all branches and 2W-transformers connected to ibus. Change to nxtbrn3 to also get the 3W-transformers.

2025-02-11 14:10:39 -0600 commented question Load gewt.dll

Always the same answer. The source code is needed, and an appropriate compiler.

2025-02-11 01:59:12 -0600 commented question Load gewt.dll

I see now your other post regarding gewt.dll. The file is not linked for rev 35.5!

2025-02-11 01:56:46 -0600 commented question Load gewt.dll

Have you compiled and linked gewt.dll yourself?

2025-02-11 01:53:36 -0600 answered a question CBEST model for BESS

No other model is needed. The only possible auxiliary models are a stabiliser which will modulate VOTHSG or a compensator model to change the measured voltage.

The active power output is changed manually in the simulation with VAR(L).

2025-02-11 01:45:37 -0600 edited question CBEST model for BESS

I am an undergraduate doing a research project on BESS. i used a generator as a conventional machine and used the cbest model with below parameters,

1       PMAX (pu on MBASE)
1.1     OutEff (>= 1) Output Efficiency                                 
0.9     InpEff (<= 1) Input Efficiency                                                                  
1.2     IACMAX (pu)
100     KAVR, AVR gain
0       T1, AVR time constant (sec)
1       T2, AVR time constant (sec)
0.05    T3, AVR time constant (sec) ( >0 )
10      T4, AVR time constant (sec)
1       VMAX, AVR speed limit (pu)
-1      VMIN, AVR speed limit (pu) ( <0 )
0.025   DROOP (pu)

Is it enough to model the bess or do i need to select a model for exciter, governor, stabilizer,..