answered 2024-12-04 10:44:02 -0500
To add area 7 with name "NEW AREA" use:
ierr = psspy.area_data(7,_i,[_f,_f],r"""NEW AREA""")
For explanation of ierr see the API manual.