UncontrolledScenario.mo 509 B

1234567891011121314151617
  1. model UncontrolledScenario
  2. PowerSystem power();
  3. Window window();
  4. Obstacle obstacle();
  5. equation
  6. power.u = 1.0;
  7. power.d = 0.0;
  8. window.omega_input = power.omega;
  9. window.theta_input = power.theta;
  10. window.obj_F = obstacle.F;
  11. power.tau = window.tau;
  12. obstacle.x = window.x;
  13. annotation(
  14. experiment(StartTime = 0, StopTime = 6, Tolerance = 1e-06, Interval = 0.0024),
  15. __OpenModelica_simulationFlags(jacobian = "coloredNumerical", s = "dassl", lv = "LOG_STATS"));
  16. end UncontrolledScenario;