Skip to content

Commit

Permalink
Update Modelica/Blocks/Sources.mo
Browse files Browse the repository at this point in the history
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
  • Loading branch information
HansOlsson and henrikt-ma committed Jun 16, 2023
1 parent 554bfa2 commit e5a8ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modelica/Blocks/Sources.mo
Expand Up @@ -605,7 +605,7 @@ and that the parameter <code>startTime</code> is omitted since the voltage can b
parameter Real amplitude=1 "Amplitude of sine wave"
annotation(Dialog(groupImage="modelica://Modelica/Resources/Images/Blocks/Sources/Sinc.png"));
parameter SI.Frequency f(start=1) "Frequency of sine wave";
parameter Boolean continuous = false "Make output smooth by starting at offset + amplitude rather than just offset";
parameter Boolean continuous = false "Make output (continuously) differentiable by starting at offset + amplitude rather than just offset";
extends Interfaces.SignalSource;
protected
SI.Angle x=2*pi*f*(time - startTime);
Expand Down

0 comments on commit e5a8ea1

Please sign in to comment.