I am currently working on a regulation control system. The desired voltage is 6350V and the thresholds should be +/- 50V. My question is how to set these thresholds.
thresholds = bandptratio (let me know if this is correct)
target voltage = vregptratio=6350V
below is the OpenDSS code that I have written:
new regcontrol.Reg1 transformer=Reg1 winding=2 tapwinding=2 vreg=360 ptratio=(11000 3 sqrt / 360 /) band=6 ctprim=700 R=3 X=9
Hi, I am having some issue with voltage regulators.
I am trying to replicate the tap change of the regulators on ieee34 node test feeder. but it seems like impossible to match the tap change on my script, in matlab, and the change made by opendss
I am working with this settings for the regulators. For what i know, this means that my reference voltage is 120x122 = 14640 and the band = 2x120 = 240 V, is that right?
besides de line drop compensation, there is another thing regcontrol consider to regulate voltage?
Best Regards,
Bruna Neres
Last edit: Bruna Neres 2018-03-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello sir! Thank you for your reply.
Basically, i am writing my own regulator model in MATLAB.
I am trying to replicate the tap change on voltage regulators, using a script on matlab, so I can "preview" the action, and act before the tap change. But I need my script to change taps the same way the voltage regulator does in opendss.
I don't know if there is a easier or simpler way to accomplish what I am trying to do.
Best regards.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you have the OpenDSS sourcecode downloaded? Or at least know where to find it on Sourceforge.net?
If not, you'll want to take a look at the Sample routine in RegControl.Pas. This routine pushes a command onto the ControlQueue, which is also viewable from the COM interface. After the time delay expires, the command is popped off the stack and sent back to the "DoPendingAction" routine in RegControl.Pas.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I looked at the routine as you said, and yet i couldn't make my code work the way i wanted. But i found a way around after i saw the routine. Thanks :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello , Could you send the matlab resource or other paper of regulation for me? The RegControl.Pas is hard to understand. Thanks.
My email is 631913616@qq.com
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am currently working on a regulation control system. The desired voltage is 6350V and the thresholds should be +/- 50V. My question is how to set these thresholds.
thresholds = bandptratio (let me know if this is correct)
target voltage = vregptratio=6350V
below is the OpenDSS code that I have written:
new regcontrol.Reg1 transformer=Reg1 winding=2 tapwinding=2 vreg=360 ptratio=(11000 3 sqrt / 360 /) band=6 ctprim=700 R=3 X=9
new regcontrol.Reg2 transformer=Reg2 winding=2 tapwinding=2 vreg=360 ptratio=(11000 3 sqrt / 360 /) band=6 ctprim=700 R=3 X=9
new regcontrol.Reg3 transformer=Reg3 winding=2 tapwinding=2 vreg=360 ptratio=(11000 3 sqrt / 360 /) band=6 ctprim=700 R=3 X=9
Thresholds = bandptratio = 3ptratio =+/- 52V
Let me know whether this is correct.
Regards,
D-Will
Hi D-Will,
I've made an example and I think it can help you. Please find attached the .pdf file.
Hi, I am having some issue with voltage regulators.
I am trying to replicate the tap change of the regulators on ieee34 node test feeder. but it seems like impossible to match the tap change on my script, in matlab, and the change made by opendss
! Regulator 1
new transformer.reg1a phases=1 windings=2 buses=(814.1 814r.1) conns='wye wye' kvs="14.376 14.376" kvas="2000 2000" XHL=1
new regcontrol.creg1a transformer=reg1a winding=2 vreg=122 band=2 ptratio=120 ctprim=100 R=0 X=0
new transformer.reg1b phases=1 windings=2 buses=(814.2 814r.2) conns='wye wye' kvs="14.376 14.376" kvas="2000 2000" XHL=1
new regcontrol.creg1b transformer=reg1b winding=2 vreg=122 band=2 ptratio=120 ctprim=100 R=0 X=0
new transformer.reg1c phases=1 windings=2 buses=(814.3 814r.3) conns='wye wye' kvs="14.376 14.376" kvas="2000 2000" XHL=1
new regcontrol.creg1c transformer=reg1c winding=2 vreg=122 band=2 ptratio=120 ctprim=100 R=0 X=0
I am working with this settings for the regulators. For what i know, this means that my reference voltage is 120x122 = 14640 and the band = 2x120 = 240 V, is that right?
besides de line drop compensation, there is another thing regcontrol consider to regulate voltage?
Best Regards,
Bruna Neres
Last edit: Bruna Neres 2018-03-17
I am confused. Are you writing your own regulator model in MATLAB or are you using MATLAB to access the OpenDSS model?
The OpenDSS model did not match Kersting's answers posted on the IEEE site exactly, but they were close.
Also, there are two alternate scripts for the 34-buse case supplied with OpenDSS. I think mod2 is more accurate.
I don't know where you are located, but make sure you have the default base frequency=60 Hz.
The regulated voltage is 14640 line-to-neutral because the transformers are connected line-to-neutral. The 3-phase base voltage is 24.9 kV L-L.
Hello sir! Thank you for your reply.
Basically, i am writing my own regulator model in MATLAB.
I am trying to replicate the tap change on voltage regulators, using a script on matlab, so I can "preview" the action, and act before the tap change. But I need my script to change taps the same way the voltage regulator does in opendss.
I don't know if there is a easier or simpler way to accomplish what I am trying to do.
Best regards.
Do you have the OpenDSS sourcecode downloaded? Or at least know where to find it on Sourceforge.net?
If not, you'll want to take a look at the Sample routine in RegControl.Pas. This routine pushes a command onto the ControlQueue, which is also viewable from the COM interface. After the time delay expires, the command is popped off the stack and sent back to the "DoPendingAction" routine in RegControl.Pas.
I looked at the routine as you said, and yet i couldn't make my code work the way i wanted. But i found a way around after i saw the routine. Thanks :)
Hello , Could you send the matlab resource or other paper of regulation for me? The RegControl.Pas is hard to understand. Thanks.
My email is 631913616@qq.com