.DESLib.DEVSLib.Examples.SimpleModels.GeneratorRamp

Message generator (switched values)

Information

The GeneratorRamp model periodically generates messages and send them through its output port. This model behaves similarly to the Generator model.

The first message is generated at time = 1. Another message is generated every elapsed period.
The value of the generated message switches between outValue and 0, in each generation.
The first generation has a value of 0.

Contents

NameDescription
 generatorramp
 intInternal Transition Function
 outOutput Function
 taTime Advance Function
 st
 initst

Generated at 2025-04-03T18:24:42Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos