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 13, 2023
1 parent da7adc0 commit 373ce59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modelica/Blocks/Sources.mo
Expand Up @@ -346,7 +346,7 @@ The Real output y is a sine signal:
annotation(Dialog(groupImage="modelica://Modelica/Resources/Images/Blocks/Sources/Cosine.png"));
parameter SI.Frequency f(start=1) "Frequency of cosine wave";
parameter SI.Angle phase=0 "Phase of cosine wave";
parameter Boolean continuous = false "If we want a smooth signal, the output will start at offset + amplitude*cos(phase)";
parameter Boolean continuous = false "Make output continuous by starting at offset + amplitude*cos(phase)";
extends Interfaces.SignalSource;
equation
if continuous then
Expand Down

0 comments on commit 373ce59

Please sign in to comment.