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

Ask Your Question
0

renewable flecs file for example?

asked Jul 11 '0

ManuelAR gravatar image

updated Jul 17 '0

Hello, I am trying to write a user model for renewable in flecs format, and I have no example to guide me. Does anyone have an example in Flecs even if it is a library to be able to advance with mine ???

I have read the POM manual and the Model Writing chapter inclusive, but I have found nothing but the code that must be written to identify each type of user model for renewable machines (from 101 to 107). It would help me more to guide me an example of flecs model that allows me to finish model. Maybe some part of the model like the header and the end of the flecs file. What I am trying to write is a Power plant controller.

Thank you!! Manuel

Comments

I would advise you to code your models in regular Fortran, which is much more flexible and readable.

jfconroy gravatar imagejfconroy (Jul 13 '0)

thank you. I edited the query.

ManuelAR gravatar imageManuelAR (Jul 17 '0)

1 answer

Sort by » oldest newest most voted
0

answered Jul 13 '0

jconto gravatar image

I agree with jfconroy. Fortran is better than flex for UDM coding. Check the manual POM for the chap. "Model Writing". Search the forum for UDM or in particular, "User Defined Model Development" to get a sample of flex code for the demo uexc exciter model.

link

Comments

I edited the query. Thank you very much..

ManuelAR gravatar imageManuelAR (Jul 17 '0)

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: Jul 11 '0

Seen: 847 times

Last updated: Jul 17 '20