Model Layout

Navigation:  Language Reference > Introduction >

Model Layout

Previous pageReturn to chapter overviewNext page

The general layout of an equation model is:

 

constants

// enter your constants here, for a description see constants

parameters

// enter your parameters here, for a description see parameters

variables

// enter your variables here, for a description see variables

initialequations

// enter your initial equations here, for a description see initialequations

code

// enter your equations here, for a description see code

equations

// enter your equations here, for a description see equations

finalequations

// enter your final equations here, for a description see finalequations

 

Only the equations section is required. The other sections are optional.