Add input to previous value of output at each trigger
Modelica Standard Library
The Triggered Add component adds the input u to the previous value of the output y when the trigger port has a rising edge.
The output is initialized to y0.
If the reset port is enabled with use reset, then the output is reset to either set (if enabled via use set) or to y0, whenever the reset port has a rising edge.
Integer input signal
Integer output signal
True (checked) enables the reset port
True (checked) enables the set port
Initial and reset value of y if set port is not used
The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
Download Help Document
What kind of issue would you like to report? (Optional)