Hello!

Is there any documentation on how to use FRML's `frmlcode` parameter?

I wasn't able to find any on the site.

Thanks!

## Gekko FRML's frmlcode

### Re: Gekko FRML's frmlcode

Hello jjcp,

Thank you for your interest. Have you read what is written in the help file, under the MODEL command (http://t-t.dk/gekko/docs/user-manual/in ... ?model.htm)? In general, the first letter after the '_' is only a label ('i' for identity, 's' for stochastic, etc.) that does not do anything while solving. But I believe the rest of the codes are explained under MODEL.

You do not have to use these codes, if in doubt just use a '_i' to avoid these complexities.

Also, I recommend trying out the guided tour (see section 5 in particular): http://t-t.dk/gekko/guided-tour.

Best regards,

-Thomas Thomsen, editor/Gekko

Thank you for your interest. Have you read what is written in the help file, under the MODEL command (http://t-t.dk/gekko/docs/user-manual/in ... ?model.htm)? In general, the first letter after the '_' is only a label ('i' for identity, 's' for stochastic, etc.) that does not do anything while solving. But I believe the rest of the codes are explained under MODEL.

You do not have to use these codes, if in doubt just use a '_i' to avoid these complexities.

Also, I recommend trying out the guided tour (see section 5 in particular): http://t-t.dk/gekko/guided-tour.

Best regards,

-Thomas Thomsen, editor/Gekko

### Re: Gekko FRML's frmlcode

A good way to study the effects of these frmlcodes on what ADD-factors etc are produced as GEKKO interprets the stated equation may proceed in the following way:

1. include that equation in a model file (.frm) and

2. let GEKKO read that file using the MODEL command and read an accompanying databank.

3. Once these are loaded you can use the DISP command for that equation (its name is the left hand variable of the equation).

4. This produces relevant output in the MAIN output window.

5. Click on the link "Show detailed equation" which is available underneath the reprinted full equation as found in the model file.

6. New output is produced with the exact form of the equation, as GEKKO interprets it with the implied ADD-factors etc

7. Trying the same equation with the different frmlcodes should help you gain a more complete understanding of the effects of the different frmlcodes.

/MOL

1. include that equation in a model file (.frm) and

2. let GEKKO read that file using the MODEL command and read an accompanying databank.

3. Once these are loaded you can use the DISP command for that equation (its name is the left hand variable of the equation).

4. This produces relevant output in the MAIN output window.

5. Click on the link "Show detailed equation" which is available underneath the reprinted full equation as found in the model file.

6. New output is produced with the exact form of the equation, as GEKKO interprets it with the implied ADD-factors etc

7. Trying the same equation with the different frmlcodes should help you gain a more complete understanding of the effects of the different frmlcodes.

/MOL

### Who is online

Users browsing this forum: No registered users and 1 guest