You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 13, 2024. It is now read-only.
Currently ignition_delay_time with method="peak" calls np.argmax to find the time of maximum species mole fraction. This works in cases where the species mole fraction decreases after ignition; however, for some species, such as OH, concentration plateaus after ignition for some mechanisms with a very slight rise due to negligible but non-zero rate coefficients. In this case, the max of the concentration occurs at the final timestep. In this case, knightshock returns np.nan because it thinks that concentration is still rising, indicating ignition has not yet occurred.
Reported by @zuhayrpasha - could you respond with the temperature, pressure, and mixture that was causing this issue, and attach the Cantera mechanism file in the YAML format?