Character to Integer Conversion for PSSE
Hi all,
I am writing a user-written model in PSSE. I need to measure a branch flow in PSSE. I passed From bus, To bus and Bus ID as ICONs. Inside my model, I used the bus ID as CHRICN. When I print it in DOCU, it is printed as 0. So, I need to convert this character to Integer. I used the read function. read(BID, *) BIDint. This function will convert character to integer. It is successfully compiled. But, when I run the model, the PSSE is crashing. Kindly help me with how to convert and print in the DOCU section.