Ask Your Question

sugui_'s profile - activity

2023-12-06 18:05:35 -0500 commented answer How can i use PSS/E to calculate critical clear time through Python

I have further question about CrCT calculation. I always got the error message "Generators are not "converted"" and the simulation stopped. It seems like I do something wrong when saving the snp file. How to get a converted case when I load the .sav and .snp file? Thank you.

2023-10-10 17:14:40 -0500 received badge  Student (source)
2023-04-21 15:01:18 -0500 received badge  Famous Question (source)
2023-04-20 16:57:53 -0500 received badge  Notable Question (source)
2023-04-19 18:29:06 -0500 received badge  Popular Question (source)
2023-04-18 21:27:49 -0500 asked a question How to model a series reactor?

In my case, I want to reduce the short circuit current by adding a series reactor.

If this reactor is 25MVA with reactance=2 ohm, how to model it?

Thanks.

2022-05-10 00:47:56 -0500 received badge  Famous Question (source)
2022-05-08 22:52:38 -0500 received badge  Popular Question (source)
2022-05-08 22:52:38 -0500 received badge  Notable Question (source)
2022-05-07 21:52:20 -0500 asked a question How to ignore pssplot's error message

Hello everyone, I want to create .jpg file automatically using python, this is my code:

for i in range(0,10):
filename = "case" + str(i+1)
pssplot.openchandatafile(path+filename+""".out""")

pssplot.dragdropplotdata(filename,r"""2 - ANGL   11[GEN#1      22.000]1""")
pssplot.dragdropplotdata(filename,r"""3 - ANGL   21[GEN#2    16.500]1""")
pssplot.dragdropplotdata(filename,r"""4 - ANGL   31[GEN#3      16.500]1""")

pssplot.exportplot(path+filename+"""-A.jpg""",3)
pssplot.deleteselplot()
pssplot.insertplot()

When running this code, sometimes an error message(Axis Maximum Value must be >= Minimum) will come out and I need to skip the case manually. Is there any way to ignore this error message and the code still running well?

2022-05-07 21:33:45 -0500 received badge  Famous Question (source)
2022-04-26 23:35:55 -0500 received badge  Notable Question (source)
2022-04-24 21:13:55 -0500 received badge  Popular Question (source)
2022-04-22 02:37:20 -0500 asked a question Problem when using PSSEv34 substation function

I'm building a substation using PSSEv34 substation function and I have two question that I have no idea. Please help.

  1. In single line diagram, power flow through circuit breaker will display in MW/MVar. Can it display in Ampere or not?
  2. (solved, STATION_POUT_2)Is there any API that I can check which circuit breaker is overloading?
2022-04-04 03:56:55 -0500 received badge  Famous Question (source)
2021-10-13 19:58:58 -0500 received badge  Famous Question (source)
2021-10-06 01:47:35 -0500 received badge  Notable Question (source)
2021-10-05 18:39:53 -0500 received badge  Popular Question (source)
2021-10-05 18:39:34 -0500 commented answer Fault current calculation in PSSEv34

Thanks for your answer. It will be a little annoying that if I want to take distributed generation's effect into consideration in fault current calculation, I have to build a machine data. Thus, I'm wondering if this function can simply my case, and I didn't find the relevant information neither.

2021-10-03 23:45:23 -0500 asked a question Fault current calculation in PSSEv34

In PSSEv34 or higher version, we can add distributed generation data in load. In fact, inverter-based generation resources will still contribute fault current although they connect to grid through power electronic components.

My question is, if I build a distributed generation resource in load data, does the fault current calculation of PSSE take this part into consideration? Thank you.

2021-09-30 01:17:30 -0500 received badge  Famous Question (source)
2021-08-12 10:41:11 -0500 received badge  Famous Question (source)
2021-06-06 19:48:26 -0500 received badge  Notable Question (source)
2021-06-06 19:48:26 -0500 received badge  Popular Question (source)
2021-06-03 01:35:07 -0500 received badge  Editor (source)
2021-06-03 01:34:45 -0500 asked a question Will Mbase affects the WECC 2nd renewable model ?

I'm wondering, if I use WECC 2nd generic renewable model for dynamic simulation, which parameter will be affected if I change "Mbase" of generator.

It seems like REPCA1's parameter, Pmax and Pmin, are related to Mbase. But I'm not sure is that right or there are more parameters which are related to Mbase.

Please help solve my doubts, thanks a lot.

2021-03-09 01:00:21 -0500 received badge  Supporter (source)
2021-02-08 19:17:29 -0500 received badge  Notable Question (source)
2021-02-07 22:36:51 -0500 received badge  Popular Question (source)
2021-02-07 19:12:17 -0500 commented answer redirect.psse2py error using PSSEv34 and python3.7.3

I use "progress_output" function to solve it. I first set islct=6 and then set islct=1 to print ending message.Thanks again.

2021-02-07 19:12:17 -0500 received badge  Commentator
2021-02-07 19:00:50 -0500 commented answer redirect.psse2py error using PSSEv34 and python3.7.3

I use this .py to do ACCC, and I don't want the progress print at output bar because I have a lot of contingencies. It's work in v32, but not in v34. Thus, I'm seeking what makes it go wrong. Thanks for your answer. I learn a lot.

2021-02-04 19:23:47 -0500 asked a question redirect.psse2py error using PSSEv34 and python3.7.3

Hi everyone, I want to run .py file in PSSE, but I have some problem. Here's the code.

import time, socket, sys, os
sys.path.insert(0, 'C:\Program Files (x86)\PTI\PSSE34\PSSBIN')
os.environ['PATH'] = 'C:\Program Files (x86)\PTI\PSSE34\PSSBIN' + ';' + os.environ['PATH']
import psspy, redirect, pssarrays
redirect.psse2py()

Here's the error message. Could someone tell me why redirect.psse2py() not work? thanks.

Traceback (most recent call last):
  File "C:\Users\u027692\Desktop\V34_test\sa_1.05_V34.py", line 8, in <module>
    redirect.psse2py()
  File ".\redirect.py", line 147, in psse2py
redirect.RedirectError: Python currently sending output to Psse
2020-10-10 20:58:07 -0500 received badge  Famous Question (source)
2020-09-25 18:51:06 -0500 commented answer Do dynamic simulation several times in one py file

Thanks a lot!

2020-09-25 18:43:57 -0500 received badge  Scholar (source)
2020-09-25 07:49:37 -0500 received badge  Notable Question (source)
2020-09-24 02:12:23 -0500 received badge  Popular Question (source)
2020-09-22 22:20:16 -0500 asked a question Do dynamic simulation several times in one py file

Hello,

I'm trying to use python running dynamic simulation automatically. Here is part of my code and I have 15 cases that use the same .sav file. Every time I simulate one case I will initialize PSSE first. If there is another way that I don't need to initialize PSSE and open case every time?

for i in range(1,16):
    if i==1:#case 1
        psspy.psseinit(10000) #initialize PSSE
        psspy.case(r"""C:\Users\bbbb4\Downloads\112L-150M.sav""")
        Predyr()
        psspy.strt(0,r"""C:\Users\bbbb4\Downloads\112L-150M\case1.out""")
        #### here's the code of event 1 ####
    if i==2:#case 1-1
        psspy.psseinit(10000) #initialize PSSE
        psspy.case(r"""C:\Users\bbbb4\Downloads\112L-150M.sav""")
        Predyr()
        psspy.strt(0,r"""C:\Users\bbbb4\Downloads\112L-150M\case1-1.out""")
        #### here's the code of event 2####
2020-06-02 18:05:40 -0500 commented answer User defined models

I thought it is difference because I don't see 9 CONs in Fig. 23-1. I will check again. Thank you. BTW, the POM I have are v33.4 and v34.2.

2020-06-02 00:58:09 -0500 commented answer User defined models

Hi, I would like to know where can I find the block diagram of this example. Thanks!!

2019-11-06 14:02:55 -0500 received badge  Popular Question (source)
2019-11-06 14:02:55 -0500 received badge  Notable Question (source)
2019-10-20 20:53:51 -0500 received badge  Organizer (source)