Ask Your Question

dat's profile - activity

2024-03-22 09:01:13 -0500 received badge  Teacher (source)
2024-03-19 02:06:27 -0500 answered a question Ip and Iq output from BESS

You may use PELEC/ETERM to represent Ip.

2023-11-04 14:46:50 -0500 received badge  Famous Question (source)
2023-05-28 20:30:49 -0500 commented answer How PSS/E calculates flow(P&Q) of branch in dynamic simulation?

Yse, the 2nd generic WTG models have spikes when applying faults as well, but the spikes of the UDM models are larger than the generic models. So, I wonder there are ways to decrease these spikes by improving the UDM codes?

2023-05-26 03:19:21 -0500 commented answer How PSS/E calculates flow(P&Q) of branch in dynamic simulation?

Yes, QELEC is calculated by my UDM, and it looks good in the channel plot. In addition, I noticed that bus voltages are good as well, which means there are no big spikes when applying fault. However, the value of branch flow (Q) shows significant spikes when the fault is applied and cleared.

2023-05-26 02:54:42 -0500 received badge  Famous Question (source)
2023-05-25 21:28:52 -0500 received badge  Notable Question (source)
2023-05-25 12:17:20 -0500 received badge  Popular Question (source)
2023-05-25 01:25:17 -0500 asked a question How PSS/E calculates flow(P&Q) of branch in dynamic simulation?

When I apply a line fault to my UDM WTG model in dynamic simulation, I find that the QELEC of UDM WTG is good, while the flow (Q) of branch becomes very large in a short period of time after applying fault. I believe this problem is caused by UDM codes, but I have no idea which part of UDM would influence the calculation of flow in dynamic simulation. Perhaps it's because the precision is different when stored in different types of arrays?

2023-03-27 00:27:53 -0500 answered a question how to simulate power factor control in dynamic simulation???

Power factor control is in REECAU1.

2022-12-28 04:54:49 -0500 received badge  Famous Question (source)
2022-11-28 19:21:58 -0500 commented answer How to obtain and hold the value of STATE/VAR at a certain time?

Appreciate your help very much!

2022-11-28 02:18:29 -0500 received badge  Famous Question (source)
2022-11-27 23:27:24 -0500 commented answer How to obtain and hold the value of STATE/VAR at a certain time?

Awesome! Thanks a lot!! So, the value of STATE at a certain time should be returned by 'IF(TIME<var(l)) var(l+1)="STATE(1)'?&lt;/p">

2022-11-25 01:16:08 -0500 commented answer How to obtain and hold the value of STATE/VAR at a certain time?

In other posts, I saw that one could get the value of varibles at TIME-DELT. I don't find the way to achieve this.

2022-11-25 01:11:05 -0500 commented answer How to obtain and hold the value of STATE/VAR at a certain time?

Yes, you are right. I realize that ‘IF(ETERM>0.2) VAR(L)=TIME)’ works too. But it would be changed as well when ETERM rises to 0.2, since VAR(L) will be updated in MODE2/3. How could I store and hold TIME?

2022-11-24 18:49:55 -0500 received badge  Commentator
2022-11-24 18:49:55 -0500 commented answer How to obtain and hold the value of STATE/VAR at a certain time?

2.If I want to know when is the ETERM of a machine less than 0.2 for the first time, what should I write in FORTRAN? By writing ‘IF(ETERM>0.2) CALL DSRVAL(TIME,RVAL,IERR)’ , I can get TIME when ETERM=0.2. But if ETERM rises to 0.2, RVAL would update agin.

2022-11-24 18:41:59 -0500 commented answer How to obtain and hold the value of STATE/VAR at a certain time?

REECAU1 is just an example. I'm trying to write a LVRT model. My question is: 1.As the value of STATE is stored at each time step, how could I return it? If I want to get the value of STATE(3) at 1 second, what should I write in FORTRAN?

2022-11-24 10:22:24 -0500 received badge  Famous Question (source)
2022-11-23 09:28:13 -0500 received badge  Notable Question (source)
2022-11-23 09:28:13 -0500 received badge  Popular Question (source)
2022-11-23 00:56:27 -0500 asked a question How to obtain and hold the value of STATE/VAR at a certain time?

In WECC model 'REECAU1', it shows that if voltage_dp=1, STATE(K+2) and STATE(K+3) will be frozen and the value of Iqcmd will be changed from STATE(K+3) to (STATE(K+3)+Iqv) for Thld seconds. I wonder how to achieve this in FORTRAN?

It seems that CALL DSRVAL in API call get the certain time. However, how can I get the value of STATE at that time? IF I use VAR(L) to store the value, it would be changed over time since VAR(L) is a variable array.

As for set some value for seconds, I think it could be

IF(A<TIME<A+Thld) Iqcmd=STATE(K+3)+Iqv

Is it correct?

2022-10-03 08:44:07 -0500 received badge  Famous Question (source)
2022-10-01 03:20:25 -0500 received badge  Notable Question (source)
2022-09-28 19:06:05 -0500 received badge  Famous Question (source)
2022-09-28 19:06:00 -0500 received badge  Notable Question (source)
2022-09-28 19:05:37 -0500 commented answer The value of IC and IT for wind generator models

I agree, so there is not a simple example for user-written generator model and we have to figure it out ourselves? I know there is 'write a basic load model' in POM.pdf, but It doesn't seem to work for me.

2022-09-28 01:17:30 -0500 received badge  Popular Question (source)
2022-09-27 18:48:02 -0500 commented answer The value of IC and IT for wind generator models

Thanks, but I have never succeeded with 'ENTRY' point in current injection model, the voltage of that bus became very small and I don't know how to solve this problem.

2022-09-26 19:30:36 -0500 asked a question The value of IC and IT for wind generator models

In POM.pdf, it says that "For wind machine model records (i.e., IC values of 101 through 107)..." While for wind generator models, it describes that

1.IC and IT must be specified as one.

So,whar is the value of IC for wind generator models?

2022-09-25 21:47:28 -0500 received badge  Notable Question (source)
2022-09-23 00:41:21 -0500 received badge  Popular Question (source)
2022-09-21 20:22:57 -0500 asked a question Did PSS/E reverse ID and IQ?
----------
 ----------------------------- MACHINE INITIAL CONDITIONS -----------------------------
   BUS# X-- NAME --X BASKV ID  ETERM   EFD    POWER    VARS   P.F.      ANGLE   ID     IQ
      1 1                    0.6900 1  1.0204 0.0000  100.01    0.00   1.0000   7.79 0.0000 0.9801
      4 4                    220.00 1  1.0200 1.0376  -99.05   13.56  -0.9908  -5.32 0.2223-0.9546

INITIAL CONDITIONS CHECK O.K.


That's what I got after initializing. Both SBASE and MBASE are 100MVA, you can see that POWER=IQxETERM and VARS=IDxETERM. Why is that? Don't we usually use d for Pe and q for Qe?

2022-09-20 19:27:35 -0500 received badge  Notable Question (source)
2022-09-20 19:27:35 -0500 received badge  Famous Question (source)
2022-09-20 19:27:35 -0500 received badge  Popular Question (source)
2022-09-20 03:30:26 -0500 received badge  Popular Question (source)
2022-09-20 03:30:26 -0500 received badge  Notable Question (source)
2022-09-20 03:27:26 -0500 asked a question Question about user-written generator model

Does it mean that my user-written generator model is not connected to the grid well?


INITIAL CONDITION LOAD FLOW USED 1 ITERATIONS

----------------------------- MACHINE INITIAL CONDITIONS -----------------------------

BUS# X-- NAME --X BASKV ID ETERM EFD POWER VARS P.F. ANGLE ID IQ

  1 1           0.6900 1  1.0204 0.0000  100.01    0.00 1.0000-168.46**************

  4 4           220.00 1  0.6124 1.0376   18.51  262.78 0.0702  -5.32 4.2981 0.1783

INITIAL CONDITIONS CHECK O.K.


My model is in BUS1. After initializing in dynamic simulation, I got the information above. It looks good except ID and IQ. I write ISORCE(MC)=CMPLX(Ip,Iq)+VOLT(IB)/ZSORCE(MC). Should I calculate CURNT(IB) too?

2022-09-18 20:01:08 -0500 commented answer Question about API in Fortran

I succeed in getting the index and value of the first STATE for the wind generator model. Besides, if I want to get the the second index and value, should I write another call or just use IVAL+1? Thanks again for your help!!

2022-09-18 19:39:08 -0500 received badge  Notable Question (source)
2022-09-15 01:11:17 -0500 received badge  Notable Question (source)
2022-09-14 19:57:33 -0500 received badge  Popular Question (source)
2022-09-14 02:28:28 -0500 commented answer The name of wind generator model must be 'REGCAU1'?

in 'MACHINE INITIAL CONDITION', which means the wind generator didn't interface to the network well. How to solve this?

2022-09-14 02:27:37 -0500 commented answer The name of wind generator model must be 'REGCAU1'?

Thanks for your reply!I wrote 'ENTRY TEG' in my model and there was no 'TEG NOT ACCESSIBLE' any more.But my model didn't work well, as I calculate ISORCE(MC)=CMPLX(10,-10) after ENTRY point.After initializing,the value of 'VAR(L)=ABS(ISORCE(MC))' is 14.14, but data is all zero in 'MACHINE INITIAL CO

2022-09-14 01:12:36 -0500 received badge  Popular Question (source)
2022-09-13 21:53:37 -0500 asked a question The name of wind generator model must be 'REGCAU1'?

I'm writing a UDM wind generator model named 'REG' in .f90 and .dyr. However, When I load .dll, .dyr, and start the simulation, it shows 'USER DEFINED MACHINE MODEL "TEG" NOT ACCESSIBLE' in the output bar. While I change my UDM name to 'REGCAU1' and

@! Generic RE Converter model 2 'USRMDL' 1 'REGCAU1' 101 1 .../ Generic RE Converter model

in .dyr, my model works. But psse crashed when I open the model to see the values of CON and VAR. I can open and see when the name isn't 'REGCAU1'.

How can it happen that PSSE recognizes the name error or the name of generator must be a offical one?