The effort source has its causality stroke away from the source.
Potential variables: e: Bondgraphic effort variable f: Bondgraphic flow variable, normalized positive for flows out of the model Parameters: e0: Amplitude of saw tooth to be generated (default value = 1) period: Length of period of saw tooth to be generated (default value = 1) offset: Offset of saw tooth to be generated (default value = 0) startTime: Start time of saw tooth to be generated (default value = 0)
Equations:
when sample(startTime, period) then
T0 = time
end when
e = offset + (if time < startTime then 0 else (e0/period)*(time - T0))