First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

Example deadband in Fortran Code

asked May 10 '3

ramadhan gravatar image

Dear everyone, Is there any reference code for deadband operation in Fortran languange? I need it to make own UDM Thank you very much

1 answer

Sort by » oldest newest most voted
0

answered May 10 '3

perolofl gravatar image

A deadband with limits +/- 0.1 in Fortran 90:

deadband_high = 0.1
deadband_low = -0.1

if (input > deadband_high) then  
   output = input-deadband_high  
else if (input < deadband_low) then
   output = input-deadband_low  
else
   output = 0. 
end if
link

Comments

Thank you very much Dr Perolofl, Dr Perolofl, I have a question.do you have an example transformation dq frame to alpha-beta and then connected to current injection method in psse? I was made dq frame to alpha-beta but after fault it seems the value of alpha-beta conversion will diverge after fault

ramadhan gravatar imageramadhan (Sep 25 '3)

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

Stats

Asked: May 10 '3

Seen: 1,303 times

Last updated: May 10 '23