|
@@ -5,11 +5,11 @@ model UncontrolledScenario
|
|
equation
|
|
equation
|
|
power.u = 1.0;
|
|
power.u = 1.0;
|
|
power.d = 0.0;
|
|
power.d = 0.0;
|
|
- window.omega_input = power.omega;
|
|
|
|
- window.theta_input = power.theta;
|
|
|
|
- window.obj_F = obstacle.F;
|
|
|
|
|
|
+ window.speed = power.omega;
|
|
|
|
+ window.displacement = power.theta;
|
|
|
|
+ window.reaction_force = obstacle.F;
|
|
power.tau = window.tau;
|
|
power.tau = window.tau;
|
|
- obstacle.x = window.x;
|
|
|
|
|
|
+ obstacle.disp = window.height;
|
|
annotation(
|
|
annotation(
|
|
experiment(StartTime = 0, StopTime = 6, Tolerance = 1e-06, Interval = 0.0024),
|
|
experiment(StartTime = 0, StopTime = 6, Tolerance = 1e-06, Interval = 0.0024),
|
|
__OpenModelica_simulationFlags(jacobian = "coloredNumerical", s = "dassl", lv = "LOG_STATS"));
|
|
__OpenModelica_simulationFlags(jacobian = "coloredNumerical", s = "dassl", lv = "LOG_STATS"));
|