Hi Ravita,
The correct position of the Biogas Production module depends on which other modules may require biogas from it. For example, if you insert the module *above* your Electricity Generation module, then it will not operate to meet the biogas feedstock requirements for electric generation. This would cause biogas to be imported. If you insert the Biogas Production module at the very bottom of your Transformation branches, then it will operate last, and will attempt to meet any biogas remaining requirements from all of the modules downstream.
If you still see biogas being imported after you've finalized the position of the module, are you certain that the module has enough available capacity to meet its requirements? Further, are the process(es) in the module actually being dispatched to meet those requirements?
Taylor