interval
Specify a DISCRETE section to be evaluated at regular intervals
Syntax
interval <interval var name> = <time interval>
Description
An INTERVAL statement can be used inside a DISCRETE section to cause that sections equations/statements to be evaluated at a regular interval in simulated time, and an alternative to using the SCHEDULE statement. The variable name associated with the INTERVAL statement can be used similarly to a CONSTANT. That is, it can be adjusted externally from the simulation code prior to starting a simulation run in order to change the default interval value.
Example
discrete sample
interval samp_int = 1.5
end