Software sensor monitoring and fuzzy control of biogas production