1

Change the voltage reference in REGCA1 and REECA1 model during dynamic simulation

Hi, Does anyone know how to change the voltage reference for REECA1 and REGCA1 models in PSSE 34.0.1? "Change V_ref" command doesn't work as that is not for renewable it seems like. I tried changing variable 5 (L - Bus reference voltage (Vref0)) during the simulation but it didn't do anything:

psspy.run(0, 5.0,1,1,0) #run for 5 seconds psspy.changevar(5,0.5) #change vref to 0.5 psspy.run(0, 6.0,1,1,0) #run to 6 seconds

I am trying to the step response by changing the voltage and power reference internal to the REECA1 and REGCA1 at 5 seconds in model instead of using a playback model. Any suggestion will be helpful. Thanks!

cheema's avatar
11
cheema
asked 2020-06-20 08:54:30 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

A voltage step test can be done by changing VAR(L+3) in REECA1 model, if QFLAG=1 and VFLAG=0.

The calculated bias is 0 if PFFLAG=0 and it is Vinitial if PFFLAG=1. Update the value during the simulation with the wanted voltage step change.

Example 1: Step change 5%, PFFLAG=0; Change VAR(L+3) to 0.05

Example 2: Step change 5%, PFFLAG=1; Vinitial = 1.01; Change VAR(L+3) to 1.06

You need to use a plant controller, e.g. REPCA1, to make a step change in active power (Pref) or reactive power (Qref).

perolofl's avatar
3.8k
perolofl
answered 2020-06-23 04:41:30 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you Perolofl! Bias works in REECA1. One more question on Pref for REPCA1, when I step change the Pref of the plant, it doesn't exactly follow the Pref. I was running the plant at 80 MW and changed Pref to 0 MW at 10 sec, but the plant output settled at around 45 MW, any idea why?

cheema's avatar cheema (2020-06-27 10:37:01 -0500) edit

Check parameter Pmin in REECA1.

perolofl's avatar perolofl (2020-06-29 06:38:31 -0500) edit

Thanks once again perolofl! I realized that the grid's inertia wasn't set to infinite (H=0) and the frequency of the grid was dropping a little bit which was causing the droop characteristics of REPCA1 model to kick in. I changed H to 0 for GENCLS and it is tracking the Pref setpoint now. Thank you

cheema's avatar cheema (2020-07-01 09:15:38 -0500) edit
add a comment see more comments
0

Could you tell me the exact process of "change the voltage reference in REGCA1 and REECA1 model during dynamic simulation"? how to perform "Change VAR(L+3) to 0.05 at 5sec"?

Ben's avatar
1
Ben
answered 2025-08-25 20:38:43 -0500, updated 2025-08-25 20:40:10 -0500
edit flag offensive 0 remove flag delete link

Comments

Run to 5 s and use API: psspy.change_wnmod_var(ibus,id,r"""REECA1""",4,0.05)

perolofl's avatar perolofl (2025-08-26 03:47:23 -0500) edit

Thanks a lot!!

Ben's avatar Ben (2025-09-03 04:06:33 -0500) edit

I set REGCA1 and REECA1 and REPCA1. I try to change V_ref in Var #1 of REPCA1. But It doesn't work. How to solve? # t = 5.0 s : Vref → 1.20 [pu] psspy.change_wnmod_var(70101, '1', "REPCA1", 1, 1.20) But the signal performace dosn't follow V_ref.

Ben's avatar Ben (2025-09-03 04:11:54 -0500) edit

Is RefFlag = 1?

perolofl's avatar perolofl (2025-09-03 08:25:10 -0500) edit

Yes. RefFlag = 1. --> ICON, M+5 : Index Value M 70102 M+1 70102 M+2 97000 M+3 1 M+4 0 M+5 1 M+6 1

Ben's avatar Ben (2025-09-03 09:09:02 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer