﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2970	0/0 = ?	Volker Waurich	Volker Waurich	"Hi,

Of course, the answer is that the solution of 0/0 is not defined and it should result in NaN or something.

There are some models that fail due to division by zero (e.g. ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump1.mo) where its not just a/0 but 0/0.

Consider this example:
{{{
model test_DivZero
   Real x,a,b;
equation
   a = 1-time^2;
   b = 2-2*time;
   b = a*x;
end test_DivZero;
}}}

Dymola handles this (it holds the value at time=1.0), OMC not (div by zero).
My question is, do we want to cover as many models as Dymola does or do we want to handle this as div by zero?
Another option would be to calculate the limit at this time step, which is imo (more) correct than holding the value.
"	discussion	closed	normal	1.9.4	*unknown*	trunk	fixed	division	Willi Braun Lennart Ochel Adrian Pop
