Ask Your Question

younyoun2019's profile - activity

2022-01-25 03:29:23 -0500 received badge  Famous Question (source)
2021-12-03 09:24:37 -0500 received badge  Notable Question (source)
2021-12-03 02:41:13 -0500 received badge  Enthusiast
2021-12-02 05:58:37 -0500 received badge  Popular Question (source)
2021-12-01 04:27:54 -0500 asked a question User defined model for controlling frequency

Dear all,

As i don't have access to the playback model "PLBVFU1", i am trying to write my own code for a user defined model that can apply frequency setpoints. However, i am finding difficulties. Is there an example code could be provided that summarizes the needed coding parts.

Thanks in advance

2021-09-28 09:12:09 -0500 received badge  Editor (source)
2021-09-28 09:10:03 -0500 answered a question Environment Manger Problem with Compilation

If you download the latest PSSE environment manager, it should be solved. The latest version is 9.1.1 (you can download it without needing the latest PSSE version) and supports the ONEAPI HPC toolkit that includes the fortran compiler (for the older ivf you need to buy a licence but intel does not support it or sell it anymore) which is downloadable for free.

It's always a good idea to go to the PTI PSSE Model Library Request page and asks for support on any issue. It's usually how i can find my answers (including the one i've given you).

Good luck!

2019-11-21 05:09:01 -0500 received badge  Famous Question (source)
2019-11-04 16:49:30 -0500 received badge  Notable Question (source)
2019-10-30 08:31:15 -0500 received badge  Popular Question (source)
2019-10-30 03:01:19 -0500 answered a question Exciter model for multiple machines

Thank you for replying, in general here's how i coded the python file. "1" and "2" correspond to the buses that are connected to machine 1 and 2, respectively. Let's call the exciter model "exciter.dll" and the generator model "invertor.dll". I load the raw file, then the dyr file and the dlls.

psspy.read(0,r"""file.raw""") psspy.addmodellibrary(r"""exciter.dll""") psspy.addmodellibrary(r"""inverter.dll""") psspy.strt(0,r"""Out""") psspy.run(0, 1.0,0,1,0) psspy.changeplmodvar(1,r"""1""",r"""exciter""",1, 30) psspy.changeplmodvar(2,r"""1""",r"""exciter""",1, 30) psspy.run(0, 2.0,0,1,0)

at 1 second i change the reference reactive power (VAR(1)). I do the same for the second machine. The VAR value isn't changed for the second machine for some reason even though i made the test for a single machine and it worked just fine.

2019-10-29 14:07:06 -0500 commented answer Exciter model for multiple machines

at 1 second i change the reference reactive power (VAR(1)). I do the same for the second machine. The VAR value isn't changed for the second machine for some reason even though i made the test for a single machine and it worked just fine.

2019-10-29 14:04:21 -0500 commented answer Exciter model for multiple machines

psspy.read(0,r"""file.raw""") psspy.addmodellibrary(r"""exciter.dll""") psspy.addmodellibrary(r"""inverter.dll""") psspy.strt(0,r"""Out""") psspy.run(0, 1.0,0,1,0) psspy.change_plmod_var(1,r"""1""",r"""exciter""",1, 30) psspy.change_plmod_var(2,r"""1""",r"""exciter""",1, 30) psspy.run(0, 2.0,0,1,0)

2019-10-29 14:03:24 -0500 commented answer Exciter model for multiple machines

Thank you for replying, in general here's how i coded the python file. "1" and "2" correspond to the buses that are connected to machine 1 and 2, respectively. Let's call the exciter model "exciter.dll" and the generator model "invertor.dll". I load the raw file, then the dyr file and the dlls.

2019-10-29 11:41:03 -0500 asked a question Exciter model for multiple machines

Hi,

I have a dll for an exciter model in PSS/E. I have two identical machines that are each connected to the secondary and tertiary winding of a three winding transformer. I have attributed the exciter model to these two machines for reactive power regulation. However, the dll doesn't treat both machines the same way, meaning that when an information (like reactive power) is sent to the dll, it gives good results for one machine whereas the other it doesn't. Normally, the output of the dll should be the same for both machines. Therefore i have two questions:

  • Is it a problem with the way i wrote my dyr. file?
  • During dynamic simulation, i use "changeplmodvar" where i specify the bus number to which the machines are connected and the information to send to the dll, is there a more correct way of doing it?

If any of you has already done this type of modelling, a little help would be appreciated. Thanks!