First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Branch id entered as character, e.g. '1', will be stored in CHRICN. If branch id is entered as an integer in DYRE-file the value is stored in ICON. Try the following
IF (CHRICN(I+2).EQ.'$$') WRITE(CHRICN(I+2),'(I2)') ICON(I+2)
where I+2 is the index of the branch id. This line will convert integer id to character id in array CHRICN
In this way the id will always be stored in CHRICN.