Opened 16 years ago

Last modified 14 years ago

#1024 closed defect (fixed)

Dummy derivative should be added only when there are no other derivatives.

Reported by: Adrian Pop Owned by: Adrian Pop
Priority: critical Milestone:
Component: Version:
Keywords: Cc: Adrian Pop, Adrian Pop

Description

To summarize:

  • add dummy state only if there are no other states
    - in that case, use der($dummy) = 0

Adrian, can you do this and check with the slow example you got, as well
as with a fast-changing, purely algebraic model like:
{{{model fastAlg

Real x = Modelica.Math.sin(time*1e3);

end fastAlg; }}}

Cheers,
Francesco

Change History (0)

Note: See TracTickets for help on using tickets.