Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi everyone, I want to get the system frequency, but in the following code I get only voltage and frequency error. File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2

import os, sys

Set environment for psse33.04

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

Get the system voltage

ierr,voltage = psspy.busdat(2,'KV')

Get the system frequency

ierr,freq = psspy.busdat(2,'FREQ')

Hi everyone, I want to get the system frequency, but in the following code I get only voltage and frequency error. File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2

import os, sys

Set environment for psse33.04

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

Get the system voltage

ierr,voltage = psspy.busdat(2,'KV')

Get the system frequency

ierr,freq = psspy.busdat(2,'FREQ')

Hi everyone, I want to get the system frequency, but in the following code I get only voltage and frequency error. File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2

import os, sys

Set environment for psse33.04

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

Get the system voltage

ierr,voltage = psspy.busdat(2,'KV')

Get the system frequency

ierr,freq = psspy.busdat(2,'FREQ')

File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2

Hi everyone, I want to get the system frequency, but in the following code I get only voltage and frequency error. File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2error.

import os, sys

  • # Set environment for psse33.04

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

  • # Get the system voltage

ierr,voltage = psspy.busdat(2,'KV')

  • # Get the system frequency

ierr,freq = psspy.busdat(2,'FREQ')

File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2

Hi everyone, I want to get the system frequency, but in the following code I get only voltage and frequency error.error. File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2

import os, sys

  • # Set environment for psse33.04

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

  • # Get the system voltage

ierr,voltage = psspy.busdat(2,'KV')

  • # Get the system frequency

ierr,freq = psspy.busdat(2,'FREQ')

File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2

click to hide/show revision 6
No.6 Revision

Hi everyone, I want to get the system frequency, but in the following code I get only voltage and frequency error. File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2error

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  
  • # Set environment for psse33.04

psse33.04 PYTHONPATH = r'C:\Program Files (x86)\PTI\PSSE33\PSSBIN' sys.path.append(PYTHONPATH) os.environ['PATH'] += ';' + PYTHONPATH import psspy

psspy
  • # Get the system voltage
  • voltage

ierr,voltage = psspy.busdat(2,'KV')

psspy.busdat(2,'KV')
  • # Get the system frequency

frequency ierr,freq = psspy.busdat(2,'FREQ')

psspy.busdat(2,'FREQ')

File ".\psspy.py", line 49525, in busdat psspy.BusdatError: busdat Error: ierr=2