First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
answered 2020-03-09 09:50:46 -0600
From the API manual:
dllerr = psspy.addmodellibrary(udm_filename)
dlllerr would return "0" when the UDM was loaded correctly.