Ask Your Question
0

renewable flecs file for example?

asked 2020-07-11 17:31:20 -0500

ManuelAR gravatar image

updated 2020-07-17 16:38:22 -0500

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

edit retag flag offensive close merge delete

Comments

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

jfconroy gravatar imagejfconroy ( 2020-07-13 09:51:42 -0500 )edit

thank you. I edited the query.

ManuelAR gravatar imageManuelAR ( 2020-07-17 16:40:35 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-07-13 15:35:30 -0500

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.

edit flag offensive delete link more

Comments

I edited the query. Thank you very much..

ManuelAR gravatar imageManuelAR ( 2020-07-17 16:41:18 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2020-07-11 17:31:20 -0500

Seen: 668 times

Last updated: Jul 17 '20