Thanks again Pete,
well, what I trying to do is what many before me tried to do (for what I've read on this forum and Internet) and is: simulate some sort of failure.
I'm only analazying the situation by now: for example I've seen that even if I force the oil pressure to stay at zero (with that temporized, infinite loop, just to have a POC), all other parameters of simulation (Oil Temp, Fuel pressure and so on...) react according with the lack of oil but then I'd also to simulate the consequences (as I've read to a your past reply in this forum).
I could accept this but the problem is that I'm not a motor engineer so I don't know all the "consequences" and more: I don't want to develop a simulator, but a failure generator and leave to to engine simulator to give all the consequences and even engine stops...
Forcing parameter to zero with "infinite loop" is not correct because in this way a pilot simply can't do anything to fight the failure...
The conclusion is that by now I'm more convinced to manage the failure more as a "list of event that could happen": every system have its own percentile chance to fail, every...10 minute, I'll check that chances...if the right value is rolled (yeah...like a dice roll :D) that system fails.
In this way there is no a clue of realism but I think is better than nothing...
Comments? :)))