Guest User

Untitled

a guest
Feb 17th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. model M1
  2. Modelica.Blocks.Sources.Trapezoid trapezoid(
  3. amplitude=47.1,
  4. rising=10,
  5. width=5,
  6. falling=3,
  7. period=18,
  8. nperiod=1)
  9. annotation(Placement(transformation(extent={{-80,60},{-60,80}})));
  10. Modelica.Blocks.Sources.CombiTimeTable combiTimeTable(
  11. table=[0,0;10,47.1;15,47.1;18,0],
  12. extrapolation=Modelica.Blocks.Types.Extrapolation.HoldLastPoint)
  13. annotation(Placement(transformation(extent={{-80,20},{-60,40}})));
  14. annotation(experiment(StopTime=20), uses(Modelica(version="3.2.2")));
  15. end M1;
Add Comment
Please, Sign In to add comment