Skip to content

Commit

Permalink
Aligned all global seeds at the same positions
Browse files Browse the repository at this point in the history
  • Loading branch information
fvanderlinden committed Jun 25, 2014
1 parent db11763 commit dc59ca8
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Noise/Examples/Actuator/ActuatorPRNGNoise.mo
Expand Up @@ -3,7 +3,7 @@ model ActuatorPRNGNoise
extends Actuator(controller(redeclare Noise.Examples.Actuator.Parts.PRNG
noiseModel));
inner GlobalSeed globalSeed
annotation (Placement(transformation(extent={{60,60},{80,80}})));
annotation (Placement(transformation(extent={{70,70},{90,90}})));
annotation (
experiment(
StopTime=8,
Expand Down
2 changes: 1 addition & 1 deletion Noise/Examples/Actuator/Parts/package.mo
@@ -1,5 +1,5 @@
within Noise.Examples.Actuator;
package Parts
package Parts
annotation (Documentation(revisions="<html>
<p><img src=\"modelica://Noise/Resources/Images/dlr_logo.png\"/> <b>Developed 2014 at the DLR Institute of System Dynamics and Control</b> </p>
</html>", info="<html>
Expand Down
2 changes: 1 addition & 1 deletion Noise/Examples/Actuator/package.mo
@@ -1,5 +1,5 @@
within Noise.Examples;
package Actuator
package Actuator
extends Modelica.Icons.ExamplesPackage;


Expand Down
2 changes: 1 addition & 1 deletion Noise/Examples/Analysis.mo
Expand Up @@ -18,7 +18,7 @@ model Analysis "Shows how to analyze a noise signal"
Noise.Utilities.Analysis.Corr corr
annotation (Placement(transformation(extent={{20,-80},{40,-60}})));
inner Noise.GlobalSeed globalSeed
annotation (Placement(transformation(extent={{60,60},{80,80}})));
annotation (Placement(transformation(extent={{70,70},{90,90}})));
equation
connect(prng.y, mu.u) annotation (Line(
points={{-59,50},{18,50}},
Expand Down
2 changes: 1 addition & 1 deletion Noise/Examples/ComparePSD.mo
Expand Up @@ -19,7 +19,7 @@ model ComparePSD "Compares different PSDs"
redeclare function PDF = Noise.PDF.PDF_Uniform (interval={-1,1}))
annotation (Placement(transformation(extent={{-40,-50},{-20,-30}})));
inner Noise.GlobalSeed globalSeed
annotation (Placement(transformation(extent={{60,60},{80,80}})));
annotation (Placement(transformation(extent={{70,70},{90,90}})));
annotation (
experiment(StopTime=100, Interval=0.001),
Documentation(revisions="<html>
Expand Down
2 changes: 1 addition & 1 deletion Noise/Examples/CompareRNG.mo
Expand Up @@ -22,7 +22,7 @@ model CompareRNG
sampleTime=0.01)
annotation (Placement(transformation(extent={{-80,70},{-60,90}})));
inner GlobalSeed globalSeed
annotation (Placement(transformation(extent={{60,68},{80,88}})));
annotation (Placement(transformation(extent={{70,70},{90,90}})));
annotation (Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-100,
-100},{100,100}}),
graphics={Rectangle(
Expand Down
2 changes: 1 addition & 1 deletion Noise/Examples/PRNG.mo
Expand Up @@ -4,7 +4,7 @@ model PRNG "Shows the use of the basic PRNG block"
extends Modelica.Icons.Example;

inner GlobalSeed globalSeed
annotation (Placement(transformation(extent={{40,40},{60,60}})));
annotation (Placement(transformation(extent={{70,70},{90,90}})));
Noise.PRNG prng
annotation (Placement(transformation(extent={{-10,-12},{10,8}})));
equation
Expand Down
2 changes: 1 addition & 1 deletion Noise/Examples/TestSeeding.mo
Expand Up @@ -19,7 +19,7 @@ model TestSeeding
localSeed=25634)
annotation (Placement(transformation(extent={{-40,0},{-20,20}})));
inner Noise.GlobalSeed globalSeed(userSeed=1446)
annotation (Placement(transformation(extent={{-80,60},{-60,80}})));
annotation (Placement(transformation(extent={{70,70},{90,90}})));
annotation (Documentation(revisions="<html>
<p><img src=\"modelica://Noise/Resources/Images/dlr_logo.png\"/> <b>Developed 2014 at the DLR Institute of System Dynamics and Control</b> </p>
</html>", info="<html>
Expand Down

0 comments on commit dc59ca8

Please sign in to comment.