Programming in PScad software

Status
Not open for further replies.

rafimarwat11

Newbie level 3
Joined
Jan 11, 2016
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
17
please can any one help me how i will program in fortran PScad?
how the variable can be declare?
i have seen some program but the variable in these program looks so unknown.
like
Code:
      #local real st 8
      #local real disg 9
      #local real disg1
      !      st(1) = $i3 
      !      st(2) = $i4 
      !      st(3) = $i5
can any one please help me, what this means and how i can learnt about the programming in it?
 

That's no generic FORTRAN, it's apparently PSCAD scripting language.

You need to understand the concept of FORTRAN component models and the involved internal variables. PSCAD user guide would be your preferred literature.
 

thank you Sir for your kind reply, but sir there is no such help in user guide for scripting language.
Can you tell me some other material?
 

I see a complete user manual chapter about PSCAD scripting and some additional information in the component design section.
 

Sir what this means?
Code:
# storage real:40 integer:4 
#local real st 8 
#local real dismag 9 

 ! st(1) = $i3
 ! st(2) = $i4
 

Local variable definition and assignment from PSCAD variables, may be component port signals. The assignments are commented out. Review the explanation of # script directives in the user manual.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…