Continuous flow Systems and Control Methodology Using Hybrid Petri nets