Dear Experts,
My Modelica sript contains the following equation:
tan(gamma) = (y - y_b)/(x - x_b);
where y, x, x_b, y_b are variables.
Please let me have your advice how to avoid zero-division (to avoid to become x=x_b) in Modelica script.
When I tried to insert the following statements in Modelica argorithm section:
if abs(x-x_b) <= 0.01 then
x := x_b + 0.01;
end if;
of cource, as you expected, Activate issued the error: system is overdetermined.
Regards,
Minoru Yubuchi