Simulation, Optimization And Instrumentation Of Agricultural Biogas Plants