Skip to content

Commit

Permalink
Use SI.Radius instead of SI.Length
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Apr 6, 2023
1 parent eccdade commit d2b2e29
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -4,7 +4,7 @@ model OneAxis

extends Modelica.Icons.Example;
parameter SI.Mass mLoad(min=0)=15 "Mass of load";
parameter SI.Length rg = sqrt(1.3) "Radius of gyration of load";
parameter SI.Radius rg = sqrt(1.3) "Radius of gyration of load";
parameter Real kp=5 "Gain of position controller of axis";
parameter Real ks=0.5 "Gain of speed controller of axis";
parameter SI.Time Ts=0.05
Expand Down

0 comments on commit d2b2e29

Please sign in to comment.