Skip to content

Commit

Permalink
Merge pull request modelica#4071 from HansOlsson/SolverPropagation
Browse files Browse the repository at this point in the history
Checked code and tested: looks good.
  • Loading branch information
christoff-buerger committed Feb 22, 2023
2 parents d0d1580 + b31d8cf commit 5292d53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ partial block PartialLogicalClock
infinite many ticks for an infinitesimal short time period."
annotation (Placement(transformation(extent = {{20,-10},{40,10}})));

EventClock clock
EventClock clock(useSolver=useSolver, solverMethod=solverMethod)
annotation (Placement(transformation(extent = {{60,-10},{80,10}})));

// Array of input trackers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ model FixedRotationalClock
parameter SI.Angle trigger_interval = 2*Modelica.Constants.pi
"Rotational-interval the input angle must be changed to trigger the next clock tick";

RotationalClock rotationalClock
RotationalClock rotationalClock(useSolver=useSolver, solverMethod=solverMethod)
annotation (Placement(transformation(extent = {{-10,-10},{10,10}})));
Modelica.Blocks.Sources.Constant threshold(k = trigger_interval)
annotation (Placement(transformation(extent = {{-80,20},{-60,40}})));
Expand Down

0 comments on commit 5292d53

Please sign in to comment.