1 year ago

#80143

test-img

amro

ERROR: division leads to inf or nan at time XX, (a=x) / (b=y), where divisor b is: firstOrder.T

I have a model designed in OpenModelica contains integrators and transfer functions and first orders. When I run this model in OMEdit, it works fine. But when I run the FMU, I have an error for division by zero for the firstorder block.

assert    | debug   | division leads to inf or nan at time 0.056, (a=7.2e+302) / (b=1e-15), where divisor b is: dd.firstOrder.T   | division leads to inf or nan at time 0.056, (a=7.2e+302) / (b=1e-15), where divisor b is: firstOrder.T
assert    | debug   | division leads to inf or nan at time 0.056, (a=7.2e+302) / (b=1e-15), where divisor b is: dd.firstOrder.T
assert    | debug   | division leads to inf or nan at time 0.056, (a=7.2e+302) / (b=1e-15), where divisor b is: dd.firstOrder.T

julia

openmodelica

fmi

0 Answers

Your Answer

Accepted video resources