<!DOCTYPE OMNotebook>
<Notebook>
 <GroupCell closed="false" >
  <GroupCell closed="false" >
   <TextCell style="Title" >
    <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Arial; font-size:38pt; font-weight:600; color:#000000;">When-Equations&lt;/p>&lt;/body>&lt;/html></Text>
   </TextCell>
   <TextCell style="Text" >
    <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Times New Roman; font-size:12pt; color:#000000;">&lt;br />&lt;span style=" font-family:Courier New;">When&lt;/span>-equations have been introduced in Modelica to express instantaneous equations (equations that are valid only at certain points when specific conditions become &lt;span style=" font-family:Courier New;">true&lt;/span>). Then equations in the &lt;span style=" font-family:Courier New;">when&lt;/span>-equation are activated when at least one of the conditions become &lt;span style=" font-family:Courier New;">true&lt;/span>.&lt;/p>&lt;/body>&lt;/html></Text>
   </TextCell>
   <GroupCell closed="false" >
    <TextCell style="Section" >
     <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Times; font-size:18pt; font-weight:600; color:#000000;">Bouncing Ball&lt;/p>&lt;/body>&lt;/html></Text>
    </TextCell>
    <TextCell style="Text" >
     <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Times New Roman; font-size:12pt; color:#000000;">A bouncing ball is a good example of a hybrid system for which the when-equation is appropriate when modeled. The motion of the ball is characterized by the variable &lt;span style=" font-family:Courier New;">height&lt;/span> above the ground and the vertical &lt;span style=" font-family:Courier New;">velocity&lt;/span>. The &lt;span style=" font-family:Courier New;">reinit&lt;/span> equation is a special from of equation that can be used in &lt;span style=" font-family:Courier New;">when&lt;/span>-equations to define new values for continuous-time state variables of a model at an &lt;a href="..\DiscreteHybrid/SampleClock.onb
">&lt;span style=" text-decoration: underline; color:#0000ff;">event&lt;/span>&lt;/a>.&lt;br />&lt;/p>&lt;/body>&lt;/html></Text>
    </TextCell>
    <InputCell style="Input" closed="true" >
     <Input>model BouncingBall             "The bouncing ball model"
  constant Real g = 9.81;        // Gravitational acceleration
  parameter Real c = 0.9;        // Elasticity constant of ball
  parameter Real radius = 0.1;       // Radius of the ball
  Real height(start = 1);        // height above ground of the ball center
  Real velocity(start = 0);        // Velocity of the ball
equation
  der(height) = velocity;
  der(velocity) = -g;
  when height &lt;= radius then 
    reinit(velocity, -c*pre(velocity));
  end when;
end BouncingBall;
</Input>
     <Output></Output>
    </InputCell>
    <TextCell style="Text" >
     <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Times New Roman; font-size:12pt; color:#000000;">&lt;/p>&lt;/body>&lt;/html></Text>
    </TextCell>
    <TextCell style="Text" >
     <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Times New Roman; font-size:12pt; color:#000000;">&lt;span style=" color:#000000;">&lt;img src="file:///C:/OpenModelica132/bin/OMNoteboook_tempfiles/14.png" width="307" height="176" />&lt;/span>&lt;/p>&lt;/body>&lt;/html></Text>
     <Image name="file:///C:/OpenModelica132/bin/OMNoteboook_tempfiles/14.png" >AAAAAYlQTkcNChoKAAAADUlIRFIAAAEzAAAAsAgGAAAAYwuJnAAAAAlwSFlzAAALEwAACxMBAJqcGAAABklJREFUeJzt3dty2koQQFHNqXw4f67zkJAoBGPQXLu1VlUekpQxBrTpkWRR9n3ft4FKKdvgbwlcwI/e36CU8tffb7fbP/+2bZvAAVW6xOwYq9vt9s//P/u3+9eIGnBG85iVUp7G6jv3rxE14IxmMbtH6EzIjo5REzTgXU1idnYae+W4b03UgO9Ux6xHyO5MacC7/qv54p4hO/rqCCjA3emYjQoZwDuqJrORTGfAK6diZioDVvNxzGaGzHQGfCXMMvNO0IBnPoqZ5SWwqnCTGcAzYgakEDJm9psBj0LGDODR2zGz8x9YmckMSKH7ZbN7O+47c2UNuK5Uk1kpxYEBuKjwk9k705jroUF+qSazV0xtkNvbMdv3PezRzH3ff09mogY5XWYy27a/owbkEjJmt9utKkqCBvmEjFlrlp0Qn5j9ImgQ20cxi3wQ4JXjwQEgpnCTWe3+sq8IGsT2ccyyTmfb5sAARHZqMpsVtF5T2ZGgQUxhlpkjQgbEdTpmmZebR/ahQQwhJrPZU5mgwfrKXlmJ+4bea0qbHbJt+/Mzzr4fwNeqLwF0PKWhZdDut7VCQPZ9N53B4ppdz+y4wddGbYVp7BnXRYN1VS8zn97oySltpWkMiKXLlWa/WpY9Bu7x7yIGnNXtstnPwvQYOPECWhn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Mvrs00VWZzBbnTPJ6q23sNc/n8TcXvjqSe9XXi5jBQLVhffdUlCsGTcyCWW3KoK8zUbrqr1KJGSyq9jprtbcRjZiRQqR9R59M1zWT+NWmeDGDBblo5OfEbHEuy3xO5MfKRSPPcZ4ZaUWNQdT7PZvJjDSiTWOj72+0x+dTYkZKppvnMgdNzALI/AK8upHPbfbAixlM8hgXv7pWR8wCyf7Oiue4hpiRRsRTWMSrHTGDBYwKcOZ4ilkAmV+A0IqTZoNwVnh+s57b41QY+fUlZqQRaV/Z3ew3qdnfvyXLTLiYx1NAXoUs0huEmJFOhiljlEyPlZgFEOndkXyivP7EDBaw6q81RZrcxCyIdz/Iglg8p+2U/dejGWWUBLg7vhmYzIAUxAxI4fdJs9buQGQmMyAFMQNSEDMghf8BvTJanUyCz98AAAAASUVORK5CYII=</Image>
    </TextCell>
    <TextCell style="" >
     <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">&lt;span style=" font-family:Times New Roman; font-size:12pt; color:#000000;">A bouncing ball&lt;/span>&lt;/p>&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Times New Roman; font-size:12pt; color:#000000;">&lt;/p>&lt;/body>&lt;/html></Text>
    </TextCell>
   </GroupCell>
   <GroupCell closed="false" >
    <TextCell style="Section" >
     <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Times; font-size:18pt; font-weight:600; color:#000000;">Simulation 1 of Bouncing Ball &lt;/p>&lt;/body>&lt;/html></Text>
    </TextCell>
    <TextCell style="Text" >
     <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Times New Roman; font-size:12pt; color:#000000;">When we simulate the BouncingBall model from 0 to 8 we see how it bounces &lt;/p>&lt;/body>&lt;/html></Text>
    </TextCell>
    <InputCell style="Input" closed="true" >
     <Input>simulate( BouncingBall, stopTime=8 );</Input>
     <Output></Output>
    </InputCell>
    <TextCell style="Output" >
     <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Courier New; font-size:11pt; color:#000000;">&lt;/p>&lt;/body>&lt;/html></Text>
    </TextCell>
    <InputCell style="Input" closed="true" >
     <Input>plot( { height, velocity } );</Input>
     <Output>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Courier New; font-size:11pt; color:#000000;">&lt;/p>&lt;/body>&lt;/html></Output>
    </InputCell>
    <TextCell style="Text" >
     <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Times New Roman; font-size:12pt; color:#000000;">&lt;span style=" color:#000000;">&lt;img src="file:///C:/OpenModelica132/bin/OMNoteboook_tempfiles/15.png" width="288" height="214" />&lt;/span>&lt;/p>&lt;/body>&lt;/html></Text>
     <Image name="file:///C:/OpenModelica132/bin/OMNoteboook_tempfiles/15.png" >AAAAAYlQTkcNChoKAAAADUlIRFIAAAEgAAAA1ggDAAAARuGvAgAAAwBQTFRFAAAAAH8AAAD/2dnZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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RK3BMoonUBt6QSSCEQguivtB8oeQ4CaMxwojXEbgJyD63QB/e61vMbAQAEAcR7tL3+MBspHSQZERDiQC51AaVvRJJ5QFIGE3qFHdZYhQLgPeAnOVYFckIDS3hPWgP6fCAYZKL9Q9eBqeEvP6CDcB6yE5shy8ZqfJPNLBKDcCAUoOA4UOJCwoaM7iI0paN6D26NjjgYUmjuIAv02XwGSdcIVQI6M0h1ASgeVEYQDSbsYAqpm9C6mAbFaTweh2+kCAhMMtK7TkOrpDnmwuReQ9JNnCrQ3Y4C4xjAgYej5ChAZPAnKPqAxOL+cCMTGhGFAgQMNy5OAgMf1QO5SIKTCgQoMvpPBNnPqJ+1lCfy/TItCbTdQ6ZcnA0lD4/lAR+Q+QASlCejI1ok5E0gQGQR0YK4EQgxkya8CVR7EEVn5yWrlQRhQKtcehLzf0wFGKm0DEvasE2BSbgSEUSSg6m5/YFbexDkeiItsBTovp3aQAXUCIQay5O8PVJEQj1gnAV2QYUBsBJZK24CuaJwcA1LC3lDlSnk8EBFpBboyji26XDagAIDw7787CYgweMx1i1Tes+iAEH+kwhFLBGJjzvOBHJpeCnSTUCC0oxmQ8kby8UDU4EtAgkYv0F3GHZiLge5IgrP+WQ1ZQt6dJCA25hgQqxkQLH4ICAxCrUBcQyq9BWiZHA90+ygfqJMlDEgDEscbCYg/9zMgUjMgWDSgUOrS0NQA9LQYkBLtY+GyhLw7iRpvBQItZEBrZQNSyruBnp6hQI9vFyEGpGQrkLw7GVCJAS0xIK1c+xT+14FAC3UAvTBjO+iFMSAlBqREBapJGFBKTeKrQOzvrH6lVSrh7zAzIBTyHkX0Js4lBoQW41vMwK/8MCCpAssGhAtLB4GKASllA1LKBtRe/mAMSIkBKTEgJSahxICUGJASA1JiQEoMSIkBKTEgJQakxICUGJASA1JiQEr+AJm4tKMmXDhMAAAAAElFTkSuQmCC</Image>
    </TextCell>
   </GroupCell>
   <GroupCell closed="false" >
    <TextCell style="Section" >
     <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Times; font-size:18pt; font-weight:600; color:#000000;">Simulation 2 of Bouncing Ball &lt;/p>&lt;/body>&lt;/html></Text>
    </TextCell>
    <TextCell style="Text" >
     <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Times New Roman; font-size:12pt; color:#000000;">When we Simulate BouncingBall a little further then it bounces faster and faster. Then the simulation fails and it looks like the ball bounces under the floor. This is called the Zeno effect.&lt;span style=" font-weight:600;"> &lt;/span>An execution of a hybrid system is called Zeno, if it takes infinitely many discrete transitions in a finite time interval. &lt;br />&lt;/p>&lt;/body>&lt;/html></Text>
    </TextCell>
    <InputCell style="Input" closed="true" >
     <Input>simulate( BouncingBall, stopTime=20 );</Input>
     <Output></Output>
    </InputCell>
    <TextCell style="Output" >
     <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Courier New; font-size:11pt; color:#000000;">&lt;/p>&lt;/body>&lt;/html></Text>
    </TextCell>
    <InputCell style="Input" closed="true" >
     <Input>plot( { height, velocity } );</Input>
     <Output>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Courier New; font-size:11pt; color:#000000;">&lt;/p>&lt;/body>&lt;/html></Output>
    </InputCell>
    <TextCell style="Text" >
     <Text>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Times New Roman; font-size:12pt; color:#000000;">&lt;span style=" color:#000000;">&lt;img src="file:///C:/OpenModelica132/bin/OMNoteboook_tempfiles/16.png" width="288" height="214" />&lt;/span>&lt;/p>&lt;/body>&lt;/html></Text>
     <Image name="file:///C:/OpenModelica132/bin/OMNoteboook_tempfiles/16.png" >AAAAAYlQTkcNChoKAAAADUlIRFIAAAEgAAAA1ggDAAAARuGvAgAAAwBQTFRFAAAAAH8AAAD/2dnZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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