Ask Your Question

brownkid's profile - activity

2024-02-27 06:29:56 -0500 received badge  Taxonomist
2022-10-26 15:44:17 -0500 received badge  Famous Question (source)
2022-10-25 12:43:13 -0500 received badge  Notable Question (source)
2022-10-25 12:43:13 -0500 received badge  Popular Question (source)
2022-10-24 16:48:52 -0500 asked a question Can anyone tell me how to use harmonics analysis module in PSSE 35.4

I am trying to run harmonic analysis but I see the error "No harmonics sources, distortion analysis not done". Can anyone help me with this?

2022-07-03 20:25:29 -0500 received badge  Famous Question (source)
2022-06-19 10:28:04 -0500 received badge  Notable Question (source)
2022-06-18 23:45:32 -0500 received badge  Popular Question (source)
2022-06-18 15:05:21 -0500 commented answer How to create .plb file using psse35? What should be the settings of PLBVF1 model?

Thankyou but can you also tell me the steps for where to use this plb file? saving plb file using text editor?

2022-06-18 05:05:00 -0500 asked a question How to create .plb file using psse35? What should be the settings of PLBVF1 model?

I have added the model PLBVF1 and changed the value of 'Voltage playback flag' and 'Frequency playback flag' to '1'. I have also changed Playback file name (in single quotes, without ".plb") to 'myfile'.

I cannot locate 'myfile.plb' in my directory. Kindly Help

2022-05-23 09:45:02 -0500 received badge  Famous Question (source)
2022-05-19 09:11:13 -0500 received badge  Student (source)
2022-05-19 09:11:04 -0500 received badge  Popular Question (source)
2022-05-19 09:11:04 -0500 received badge  Notable Question (source)
2022-05-18 00:08:42 -0500 commented question I cannot resize channel plot file in psse35. Is it due to trial version of PSSE 35?

When i click on Resize Chart option the error pops up "Access Violation at address 000000001838D1371 in the module. 'TeeChart201764.ocx'. "

2022-05-17 23:57:37 -0500 asked a question I cannot resize channel plot file in psse35. Is it due to trial version of PSSE 35?

I want to increase the plot and need to plot all 23 channels in a single plot. How can I do this? How to resize?

2022-05-17 23:01:52 -0500 received badge  Famous Question (source)
2022-05-17 06:05:18 -0500 received badge  Notable Question (source)
2022-05-17 01:25:35 -0500 received badge  Popular Question (source)
2022-05-16 16:46:02 -0500 commented answer I want to plot .out file using channels voltage and time but i see an empty plot. Is .out file not read correctly? Please help

Thankyou! I just commented axes.set_ylim([0.6,1.2]) and it worked!!!

2022-05-16 15:14:20 -0500 asked a question I want to plot .out file using channels voltage and time but i see an empty plot. Is .out file not read correctly? Please help

import os, sys

PSSE_PATH = r'C:\Program Files\PTI\PSSE35\35.3\PSSPY37'

sys.path.append(PSSE_PATH)

os.environ['PATH'] += ';' + PSSE_PATH

import psse35

import psspy

psse35.set_minor(3)

import redirect

redirect.psse2py()

import dyntools

import numpy

import matplotlib.pyplot as plt

outfile = r"C:\Program Files\PTI\PSSE35\35.3\EXAMPLE\Fault1.out"

chnfobj = dyntools.CHNF(outfile)

shorttitle, chanid, chandata = chnfobj.getdata()

t = chandata['time']

v = chandata[6] #based on the channel identifier set in the dynamic simulation

fig = plt.figure()

fig.patch.set_facecolor('0.8')

ax1 = plt.subplot2grid((1,1),(0,0))

ax1.plot(t,v,linestyle='-', linewidth=1, color='green',label="Voltage")

plt.grid(linestyle='--', color='grey',linewidth=0.5)

plt.xlabel("Time")

plt.ylabel("Voltage")

plt.legend()

axes = plt.gca()

axes.set_facecolor('w')

axes.set_ylim([0.6,1.2])

axes.set_xlim([0,10])

plt.savefig(r"""figure.pdf""",dpi=fig.dpi,facecolor='0.8')

plt.show()

2022-05-16 10:55:03 -0500 received badge  Famous Question (source)
2022-05-15 04:29:43 -0500 received badge  Enthusiast
2022-05-12 10:57:13 -0500 received badge  Popular Question (source)
2022-05-12 10:57:13 -0500 received badge  Notable Question (source)
2022-05-12 10:54:57 -0500 commented question Channels - tool to process outs files

Okay thanks jconto! Can you please provide the script to read the .out file to read different channels and data to plot graph using python39?

2022-05-10 21:06:26 -0500 received badge  Editor (source)
2022-05-10 21:05:02 -0500 asked a question Problem importing matplotlib.pyplot and numpy in python2.7

I face problem while importing matplotlib.pyplot and numpy. I am using python2.7 for psse33 so that I can use dyntools. Tried installing using pip but error pops up. Help please

So I want to plot multiple channel out files so that multiple cases for different channels can be seen as a plot. I use python2.7 for psse33 to utilize dyntools module. But I cannot use numpy and matplotlib as this aren't already installed in pss33 packages. I tried to install using pip install numpy command but error pops up.

I tried using python39 since numpy and matplotlib is already installed. But I cannot proceed further as error is there "dyntools - bad magic number"

2022-05-10 20:57:34 -0500 commented answer dyntools 33.12 error

I face problem while importing matplotlib.pyplot. I am using python2.7. Tried installing using pip but error pops up. Help please. Can I also create the above file for multiple channel plot?

2022-05-10 20:47:47 -0500 commented question Channels - tool to process outs files

Hi, can anyone help me with this issue. I use python2.7 for psse 33 but I cannot install numpy, even by using the command 'pip install numpy' error is there saying that this is possible for python39. I also tried to add numpy through interpreter settings, no positive result. I cannot use python39.