Warning 149 | [Plot] | Divide by zero detected
Relevant software:
Plot
Emitted message:
Detected divide by zero - setting output to NaN
Description:
This warning is raised by a calculation in a Plot Node. It indicates that a mathematical operation attempted to divide by zero.
When this occurs, the result of the calculation is undefined. The gridmo Engine will output NaN
(Not a Number) for this calculation.
tip
This is not an error that will stop the simulation, but an informational warning that a calculation has produced an invalid result.
Possible impact:
- The result of the specific calculation will be
NaN
. - Any downstream calculations that use this Internode Variable result will also likely be
NaN
.
Potential fixes:
This warning is typically caused by the input data to a calculation.
- Review input data: Check the data channels being used in the calculation. It's likely that a channel used as a divisor has a value of zero at some point.
- Adjust calculation logic: If the divide-by-zero is expected in some cases, you may need to adjust your analysis or use different commands to handle these scenarios. Analyis Nodes do support
NaN
values, but it may cause additional warnings in Plot Nodes if this Internode Variable is used in a calculation.