/PSSE34to33

Convert PSSE formats from version 34 to grg-pssedata data structure (PSSE 33)

Primary LanguagePython

PSSE34to33

Convert PSSE formats from version 34 to grg-pssedata data structure (PSSE 33)

import PSSE34to33
case33 = PSSE34to33.conversion_to_33(filename) # -> grg_pssedata.struct.Case

if you want to write a .raw file:

import PSSE34to33
case33 = PSSE34to33.conversion_to_33(filename)

with open('case33.raw', 'w') as f:
  f.write(case33.to_psse())