Changes between Version 2 and Version 3 of Ticket #6372, comment 13
- Timestamp:
- 2021-03-18T11:36:42Z (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6372, comment 13
v2 v3 26 26 If I temporarily comment out the assert statement from {{{M4}}}, I get this simulation log 27 27 {{{ 28 Integrator attempt to handle a problem with a called assert. 29 The following assertion has been violated at time 0.600000 30 if time > 0.5 then condition else true 31 error 32 check for discrete changes at time=0.5 33 Integrator attempt to handle a problem with a called assert. 34 The following assertion has been violated at time 0.550000 35 if time > 0.5 then condition else true 36 error 37 model terminate | Simulation terminated by an assert at time: 0.55 38 39 40 model terminate | Simulation terminated by an assert at time: 0.55 41 42 28 43 The initialization finished successfully without homotopy method. 29 44 state event at time=0.500000000151 … … 40 55 {{{ 41 56 Integrator attempt to handle a problem with a called assert. 57 The following assertion has been violated at time 0.550000 58 if time > 0.5 then condition else true 59 error 60 model terminate | Simulation terminated by an assert at time: 0.55 61 The initialization finished successfully without homotopy method. 42 62 The following assertion has been violated at time 0.600000 43 63 if time > 0.5 then condition else true … … 56 76 Then, a step at time = 0.6 is attemped. According to [https://specification.modelica.org/maint/3.5/modelica-dae-representation.html Appendix B] of the specification, the following actions should be performed 57 77 58 1. The DAE (B.1a) is solved by a numerical integration method. In this phase '''the conditions c of the 78 1. The DAE (B.1a) is solved by a numerical integration method. In this phase '''the conditions c of theif- and when-clauses, as well as the discrete-time variables z and m are kept constant.''' 59 79 2. During integration, all relations from (B.1d) are monitored. If one of the relations changes its value an event is triggered, i.e., the exact time instant of the change is determined and the integration is halted. 60 80 3. At an event instant, (B.1) is a mixed set of algebraic equations which is solved for the Real, Boolean and Integer unknowns