export excel files to psse v33
I want to write a python code to export excel data to psse .sav file. EXCEL data and PSSE NETWORK DATA the same format, how to use the API to write the program, please give me some examples. THANK!
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
I want to write a python code to export excel data to psse .sav file. EXCEL data and PSSE NETWORK DATA the same format, how to use the API to write the program, please give me some examples. THANK!
PSSE raw data in an Excel file may be exported into PSSE in the following way:
1: Export data from excel to csv-file with proper modules, e.g. xlrd and csv.
2: Remove lines in the beginning of the csv-file so first line is the first bus data record. After last data group, add Q on a separate line.
3: Read the file into PSSE with API RDCH to update existing PSSE network data.
To read a complete network from excel use API READ instead and include the "Case Identification Data record" and the two case title lines in the beginning of the csv-file.
thanks to tell me this way . How to use RDCH?
See API manual, Chapter 1.
OK THANK !
hi Can you help me look at the code in below? it show some error : Reading IC, SBASE, REV, XFRRAT, NXFRAT, BASFRQ... Input error detected at ! 101,NUC-A,21.6,1,FLAPCO,77,PLANT,11,GEN 1,2,1.02,16.55,1.1,0.9,1.1,0.9
You are using READ to read a RDCH-file. Your bus data rekord is also wrong. It is not in raw data format. Please read the manual!
Asked: Feb 28 '18
Seen: 1,405 times
Last updated: Mar 06 '18
How to export the voltage value on the busbars from DigSilen via python to excel
Best way to read *.out file with PSSExplore34? Excel or python?
Help update data in PSSE by Python 2.7 get data from excel file.
The tutorial steps for PSSE and Python for starters
psspy can't run with another case without any exception
Vector groups and two_winding_chng_4
How to retrieve data loads (PmW and QMvar) from PSS/E using Python?
Capture keyboard interrupt in PSS/E script?
How to find weak voltage buses after a larger generation loss during dynamic simulation?
Do you mean that the excel data is structured in PSSE RAW data format? I.e. bus data, followed by load data, followed by shunt data, etc.
yes,I want to do data conversion through python