Ask Your Question
0

User-written model with character ICON

asked Apr 22 '2

snj gravatar image

updated Apr 22 '2

When I develop a user-written model for metering and calculating the current of a branch, I need to fill a set of parameters to identify the branch with from bus, to bus and circuit id. The parameter circuit id is in the form of a two- character string. When I debug the dll, I find the ICON is 0. How to get the character from ICON? May someone help.

1 answer

Sort by » oldest newest most voted
0

answered Apr 22 '2

perolofl gravatar image

The ICON array can only store integers. "Character ICONS" are therefore stored in a parallel CHARACTER array called CHRICN, with the same indexing.

For example, you will find the circuit id in CHRICN(I+2) if the third ICON parameter is used for circuit id.

link

Comments

thanks for the answer!!!

snj gravatar imagesnj (Apr 22 '2)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Apr 22 '2

Seen: 432 times

Last updated: Apr 22 '22