Ask Your Question

Cynthia Hsu's profile - activity

2023-10-12 10:38:16 -0500 received badge  Student (source)
2018-01-24 09:01:14 -0500 received badge  Famous Question (source)
2017-11-25 13:39:32 -0500 received badge  Notable Question (source)
2017-11-22 05:30:55 -0500 received badge  Popular Question (source)
2017-11-20 21:35:37 -0500 commented answer fail to load dyr file

Thanks for your reply~ What I used in this case is the dynamic network you've uploaded to google drive... So it can probably be a version limit problem?

2017-11-20 05:21:45 -0500 asked a question fail to load dyr file

Every time I tried to open dyr file of IEEE24 OR IEEE39, PSSE show this error to me.

DYRE Terminated--system model requires too many STAT

Is there any solution to this problem or it is version limited for PSSEXPLORE 34?

waiting for reply, thank you so much

2017-07-27 20:38:27 -0500 received badge  Famous Question (source)
2017-07-06 21:42:45 -0500 received badge  Famous Question (source)
2017-05-23 22:29:25 -0500 received badge  Commentator
2017-05-23 22:29:25 -0500 commented answer How to set different load models in dynamic simulation?

Really so much thanks for your help! As you saida, there are 7 models including CIM5/CIM6/CIMW/CLOD/EXTL/IEEL/LDFR in .dyr file. I think the parameters you gave are for IEEL, but what about other six models? It keeps giving me warning and error for my wrong parameters :(

2017-05-23 22:21:05 -0500 received badge  Notable Question (source)
2017-05-23 10:05:37 -0500 commented answer How to set different load models in dynamic simulation?

I've tried that before.. But every time I did that the PSSE would quit accidently, I'm wondering if the parameter was wrong..

2017-05-23 01:12:53 -0500 commented question Complex load model did not converge

Could I know how you set your load model?

2017-05-23 01:11:50 -0500 received badge  Famous Question (source)
2017-05-22 17:30:57 -0500 received badge  Popular Question (source)
2017-05-21 23:50:54 -0500 received badge  Notable Question (source)
2017-05-19 23:59:51 -0500 received badge  Popular Question (source)
2017-05-18 09:40:28 -0500 asked a question Is it possible to plot three phase voltage in dynamic simulation?

I see channel wizard and plot the bus voltages and angles.

But what if I want to know A,B,C phase voltage to discriminate the fault phase?

Is this possible using PSSE?

2017-05-18 09:11:33 -0500 asked a question How to set different load models in dynamic simulation?

I want to run dynamic simulation with different load models, but don't know how to do that. I've read Program Application Guide Volume2, in Chapter21.2 it introduces many load characteristic models such as LDFR,CLOD and composite load models, etc.

Does anyone know how to realize it? Can this process be saved in .dyr file or need other python command to realize it? (If no python, using GUI to directly operate is also OK)

Thanks~ always waiting for answer!

2017-05-17 03:18:49 -0500 received badge  Notable Question (source)
2017-05-11 00:39:22 -0500 received badge  Popular Question (source)
2017-05-09 07:02:27 -0500 commented answer How to set Parameters for LLG and LL fault?

Thank you so much for your reply..But I use "psspy.check_sequence_data(0,1,0)" to check my sequence data and PSSE replies that I have added sequence data :(

2017-05-07 22:06:21 -0500 asked a question How to set Parameters for LLG and LL fault?
if fault == 'LL':
    psspy.dist_scmu_fault([1,1,2,bus],[0.0,0.0,-0.2E+10,-0.2E+10])
elif fault == 'LLG':
    psspy.dist_scmu_fault([1,1,2,bus],[0.0,0.0,0.0,0.0])

I read API manual(Section 4.13.12) and set parameters like this for LLG and LL fault. But I'm not sure if it is correct because the difference between the curves I plot for voltage and angle is not so obvious..Could anybody check if these parameters are correct?

2017-04-09 01:53:12 -0500 commented answer Ask for excelpy module (psse v34)

Hey Eve~ are you still here :)

2017-04-09 01:50:12 -0500 received badge  Famous Question (source)
2017-04-09 01:50:00 -0500 received badge  Notable Question (source)
2017-04-07 11:26:14 -0500 received badge  Popular Question (source)
2017-04-05 05:44:54 -0500 received badge  Editor (source)
2017-04-05 05:42:34 -0500 asked a question Question About bus fault in python

There are two commands to apply bus fault using python: dist_bus_fault and dist_bus_fault_2. Below is citation of dist_bus_fault from API Manual:

Use this API routine to apply a fault at a bus during dynamic simulations. (Note: use DISTBUSFAULT_2 if phase voltages are to be calculated during the simulation.)

It says phase voltages are calculated during the simulation using dist_bus_fault_2.

But I can't see any phase value in the output, what I can see is the bus voltage and there is no difference when I set different fault phase.

How can I observe the phase voltage it calculated(so I can seethe difference)? Or is there any way to observe phase voltage during dynamic simulation in PSS\E?

Always waiting for help and best wishes to you all :)

2017-04-05 05:37:01 -0500 commented answer Ask for excelpy module (psse v34)

Thank you so much for your help! Here's my e-mail number: 244588744@qq.com

2017-04-05 00:52:21 -0500 received badge  Famous Question (source)
2017-04-04 16:25:40 -0500 received badge  Famous Question (source)
2017-04-04 16:23:29 -0500 received badge  Notable Question (source)
2017-04-04 01:52:43 -0500 received badge  Popular Question (source)
2017-04-01 02:12:22 -0500 asked a question Ask for excelpy module (psse v34)

I can't find excelpy module on my computer, could anyone just offer me with this module to download? I'm in bad need for this module, and great thanks to any help!

2017-04-01 02:10:38 -0500 commented answer Error using python to apply bus fault

I use the version PSSExplore 34, and your answer greatly address the problem! Thank you so much for your always useful help!

2017-04-01 02:09:34 -0500 marked best answer Error using python to apply bus fault

This is the code I use:

psspy.dist_bus_fault_2(201,1,0.0,[1,1,201,1],[0.0,-2.0E11,0.0,0.0,0.0,0.0])

But when I run this code, PSSE reply:

TypeError: function takes exactly 4 arguments (5 given)

But I read the API Document(Page 1432/2366:4.13.8 DISTBUSFAULT_2) it says:

Python syntax: ierr = distbusfault_2(ibus, units, basekv, options, values)

5 arguments are given in this function, and I don't know how to handle this problem, could anyone help me? Thanks a lot!

2017-04-01 02:09:21 -0500 received badge  Notable Question (source)
2017-03-31 22:42:23 -0500 received badge  Popular Question (source)
2017-03-31 22:41:25 -0500 marked best answer Error running PSSE from Python

I'm new to PSS/E. And I want to run dynamic simulation in PSS/E. But encounter some problems when running PSS/E from python/. Here's the error from PSS/E when I try to open .py file in PSS/E:

Traceback (most recent call last): File "C:\Users\Cynthia\Desktop\0312.py", line 11, in <module> redirect.psse2py() File ".\redirect.py", line 147, in psse2py redirect.RedirectError: Python currently sending output to Psse Couldn't open Python file:C:\Users\Cynthia\Desktop\0312.py

And here's my code:

import os,sys

PYTHONPATH = r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSPY27'
sys.path.append(PYTHONPATH)
os.environ['PATH'] += ';' + PYTHONPATH

import psspy
import redirect

# Redirect output from PSSE to Python:
redirect.psse2py()

# Last case:
CASE = r"C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\savnw.sav"
psspy.psseinit(12000)
psspy.case(CASE)

# Convert loads (3 step process):
psspy.conl(-1,1,1)
psspy.conl(-1,1,2,[0,0],[100,0,0,100])
psspy.conl(-1,1,3)

# Convert generators:
psspy.cong()

# Solve for dynamics
psspy.ordr()
psspy.fact()
psspy.tysl()

# Save converted case
case_root = os.path.splitext(CASE)[0]
psspy.save(case_root + "_C.sav")

# Add dynamics data
psspy.dyre_new(dyrefile="C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\savnw.dyr")

# Add channels by subsystem
#   BUS VOLTAGE
psspy.chsb(sid=0,all=1, status=[-1,-1,-1,1,13,0])

# Save snapshot
psspy.snap(sfile="C:\Program Files (x86)\PTI\PSSE32\EXAMPLE\python_test.snp")

# Initialize
psspy.strt(outfile="C:\Program Files (x86)\PTI\PSSE32\EXAMPLE\python_test_1.out")
psspy.run(tpause=1)

# 3-phase fault on bus 201 (default bus fault is a 3phase and there is no bus 200)
psspy.dist_bus_fault(ibus=201)

# Run to 3 cycles
time = 3.0/60.0 + 1
psspy.run(tpause=time)

# Clear fault (assuming only part of bus faults)
psspy.dist_clear_fault()
psspy.dist_branch_trip(ibus=201, jbus=151, id='1')

# Run to 20 seconds
time = 10

Thanks a lot for your help!!!