Hi everyone!
I’m trying to make some simulations in Python of the products generated in a 2-stroke diesel engine (crosshead) using Cantera. I have been trying to write a model of the engine the most realistic as possible but I run into several problems. I hope someone could help me with it J
The main idea is to simulate the combustion process in the engine to know the production of species (mainly NOx) according to the change of parameters in the engine (as peak temperature, air/fuel ratio) and apply a EGR (exhaust gas recirculation) to compare the given results.
If anyone has already done a model of an IC diesel engine, it would be nice any advice or an overview of how to do it.
Thank you!
def piston_velocity(time):
return ... #your formula for velocity in m/s
Wall w
w.setVelocity(piston_velocity)
w.install(environment, reactor) #make sure you have the left and right arguments correct otherwise your volume will increase