Ask Your Question

Wendy's profile - activity

2021-12-02 10:14:23 -0500 received badge  Famous Question (source)
2021-08-30 04:29:16 -0500 commented answer how to get the bus sequence number

My email is 948471520@qq.com. Really appreciate it!

2021-08-29 21:19:23 -0500 received badge  Famous Question (source)
2021-08-29 00:59:24 -0500 commented answer how to get the bus sequence number

Thank you for your help. I tried, but there is no difference in my result. Would you mind giving me further help? Can I send my model to your email? Thanks!

2021-08-29 00:54:16 -0500 received badge  Notable Question (source)
2021-08-26 22:21:27 -0500 received badge  Popular Question (source)
2021-08-26 01:12:55 -0500 asked a question how to get the bus sequence number

I am writing a generator model and use CURNT(IB). Following is my UDM. And in .dyr, I write

4,'USRMDL',1,'MEST',101,1,0,0,0,0,/

1,'GENCLS',1,0.0,0.0,/

But when I use CURNT(IB) or CURNT(IBUS), the dynamic simulation in PSSE failed. When I use CURNT(4), the simulation can run, but the result(for example active power and reactive power in bus) doesn't match with what I set.

How to get the bus sequence number and is there something wrong with my UDM? Thanks!

 SUBROUTINE MEST (MC, ISLOT)
 INCLUDE 'COMON4.INS'   
 INTEGER MC,ISLOT,IB,IBUS
 COMPLEX PQ
 INTRINSIC ABS,CONJG

 IF(MODE .EQ.8)THEN
 RETURN 
 END IF

 IB=NUMTRM(MC)
 IF(IB.LE.0)RETURN
 IBUS=NUMBUS(ABS(IB))

 ENTRY TEST(MC,ISLOT)

    IF(MODE.EQ.1)THEN
       RETURN 
     END IF

    IF(MODE.EQ.3)THEN
       PQ=(0.05,0.024)
       PELEC(MC)=0.05
       QELEC(MC)=0.024
       CURNT(IBUS)=CURNT(IBUS)+CONJG(PQ/VOLT(IBUS))
     RETURN
    END IF 

   RETURN
RETURN     END
2021-08-24 01:34:01 -0500 received badge  Famous Question (source)
2021-08-24 01:24:03 -0500 received badge  Notable Question (source)
2021-08-23 02:50:00 -0500 received badge  Popular Question (source)
2021-08-23 02:50:00 -0500 received badge  Notable Question (source)
2021-08-22 00:30:35 -0500 commented answer WAUX: Wind Auxiliary Control User Defined Model

Hi! I meet the same question. Did you solve it? Looking forward you answer.

2021-08-22 00:29:30 -0500 received badge  Popular Question (source)
2021-08-19 08:23:49 -0500 asked a question how to use WIPCMD(MC) and WIQCMD(MC)

I am writing user defined model and have some problems.

I don't know how to get wind machine index. And I calculate WIPCMD(MC) and WIQCMD(MC) in my UDM model, but I don't know how to pass the information between Generator and Electrical Control Model.

Thanks!

2021-08-19 08:20:16 -0500 asked a question Wind control user defined model

I have developed a UDM for electrical control model and auxiliary control model. I want to integrate it with REGCA1(Generator). In my electrical control model, I can get Ip and Iq. Then I want to use WIPCMD and WIQCMD which is the input of REGCA1.

In my electrical control model, I write WIPCMD(MC)= WIQCMD(MC)=. But when I use my UDM, call values are zero. Could someone help me?

And I also have questions.I don't know how to get wind machine index and pass WIPCMD and WIQCMD.

2020-09-06 03:40:56 -0500 commented answer How to write interface to network model?

I calculated Ud and Uq and I plan to use ISORCE:ISORCE(MC)=VDIP/ZSORCE(MC)*MBASE(MC)/SBASE. VDIP is complex type. But I don't know how to transfer Ud and Uq into VDIP. Besides, in PAGV2, it shows that ISOURCE = (iq - jid) source × (cosδ + j sinδ). What does δ stand for, and how to get it? Thanks.

2020-08-27 09:39:17 -0500 received badge  Notable Question (source)
2020-08-27 09:39:17 -0500 received badge  Famous Question (source)
2020-08-27 09:39:17 -0500 received badge  Popular Question (source)
2020-08-24 00:15:22 -0500 commented answer Questions abour Coordinated Call Models

Sorry that I didn't receive the email. Could you please send me again? My email is chenxiaotong@sjtu.edu.cn. Thanks.

2020-08-20 08:58:12 -0500 received badge  Famous Question (source)
2020-08-15 00:14:59 -0500 received badge  Notable Question (source)
2020-08-14 22:44:15 -0500 received badge  Popular Question (source)
2020-08-13 05:01:54 -0500 commented answer Questions abour Coordinated Call Models
2020-08-13 05:01:54 -0500 received badge  Commentator
2020-08-13 02:00:32 -0500 commented answer Questions abour Coordinated Call Models

Is there any example for current injection of Coordinated Call Models. I tried, but failed. And I'm still confused about that. Thanks.

2020-08-12 08:59:45 -0500 asked a question Questions abour Coordinated Call Models

I have read POM about Coordinated Call Models. It says "coordinated call models, both those from the PSS®E Model Library as well as user-written models, must have their primary entry point name beginning with a character other than T.".

If I want to write a current injections model, how should I do?

1: Write a model begin with SUBROUTINE Modelname (MC, ISLOT) and call it in other model by writing:call Todelname (MC, ISLOT)?

or 2:

SUBROUTINE Modelname (MC, ISLOT)
include 'comon4.ins'
local declarations
(mode 1,2...)
RETURN
ENTRY Todelname (MC, ISLOT)
(mode 1,2...calculate current injection)
RETURN
END SUBROUTINE
2020-08-12 08:52:32 -0500 asked a question How to write interface to network model?

I have write a power system control model for battery. With this model, I calculate Id,Iq, instantaneous amplitude for current that I want to inject to system. How to connect these data with network model? Thank you very much.

2020-08-11 03:13:01 -0500 received badge  Popular Question (source)
2020-08-11 03:13:01 -0500 received badge  Notable Question (source)
2020-08-06 08:19:40 -0500 answered a question How to get current of bus and generator and use it in user defined model?

Use BRNCUR from API.pdf can get current between buses.

2020-08-06 08:16:55 -0500 commented question How to get current of bus and generator and use it in user defined model?

Use BRNCUR from API.pdf can get current between buses.

2020-08-06 08:15:01 -0500 asked a question How to write interface to network model?

I have write a power system control model for battery. With this model, I calculate Id,Iq, instantaneous amplitude for current that I want to inject to system. How to connect these data with network model? Thank you very much.

2020-07-24 23:53:12 -0500 received badge  Famous Question (source)
2020-07-24 04:58:59 -0500 commented question how to transfer data when writing user-defined model

Ok. Thank you very much!

2020-07-24 00:53:42 -0500 commented question how to transfer data when writing user-defined model

If I want to use VAR(L) from model A in model B, how to do that? Load model A and B, and find the number of L(model A), and make the number of L as the input data of model B. Or there are other ways? Thanks.

2020-07-23 00:43:35 -0500 received badge  Notable Question (source)
2020-07-23 00:43:35 -0500 received badge  Famous Question (source)
2020-07-23 00:43:35 -0500 received badge  Popular Question (source)
2020-07-22 12:21:31 -0500 received badge  Notable Question (source)
2020-07-22 09:23:21 -0500 received badge  Popular Question (source)
2020-07-19 22:51:51 -0500 asked a question How to get current of bus and generator and use it in user defined model?

How to get the current of bus and generator and use it in user defined model? Thank you very much.

2020-07-19 03:27:51 -0500 edited question How to write an Converter/inverter model

I want to build an inverter model with three-level bridge and use SVPWM to control it. But I couldn't find IGBT or others.
I read model REGCA1 in MODEL.pdf, but I feel it helpless.
Could the inverter-bridge structure be implemented in PSSE? And how to control it. If not, how to bulid the model? Thanks.