First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
import os, sys
PYTHONPATH = r'C:\Program Files (x86)\PTI\PSSE33\PSSBIN' sys.path.append(PYTHONPATH) os.environ['PATH'] += ';' + PYTHONPATH import psspy
ierr,voltage = psspy.busdat(2,'KV')
ierr,freq = psspy.busdat(2,'FREQ')
2 | No.2 Revision |
import os, sys
PYTHONPATH = r'C:\Program Files (x86)\PTI\PSSE33\PSSBIN' sys.path.append(PYTHONPATH) os.environ['PATH'] += ';' + PYTHONPATH import psspy
ierr,voltage = psspy.busdat(2,'KV')
ierr,freq = psspy.busdat(2,'FREQ')
3 | No.3 Revision |
import os, sys
PYTHONPATH = r'C:\Program Files (x86)\PTI\PSSE33\PSSBIN' sys.path.append(PYTHONPATH) os.environ['PATH'] += ';' + PYTHONPATH import psspy
ierr,voltage = psspy.busdat(2,'KV')
ierr,freq = psspy.busdat(2,'FREQ')
File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2
4 | No.4 Revision |
import os, sys
PYTHONPATH = r'C:\Program Files (x86)\PTI\PSSE33\PSSBIN' sys.path.append(PYTHONPATH) os.environ['PATH'] += ';' + PYTHONPATH import psspy
ierr,voltage = psspy.busdat(2,'KV')
ierr,freq = psspy.busdat(2,'FREQ')
File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2
5 | No.5 Revision |
import os, sys
PYTHONPATH = r'C:\Program Files (x86)\PTI\PSSE33\PSSBIN' sys.path.append(PYTHONPATH) os.environ['PATH'] += ';' + PYTHONPATH import psspy
ierr,voltage = psspy.busdat(2,'KV')
ierr,freq = psspy.busdat(2,'FREQ')
File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2
6 | No.6 Revision |
import os, sysHi everyone, I want to get the system frequency, but in the following code I get only voltage and frequency error.
import os, sys
File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2