Microalgae cultivation on liquid digestate from the anaerobic co-digestion of agricultural feedstocks is an interesting option for digestate nutrient removal and resource recovery coupled to biomass generation. Both the reactors considered in such a biorefinery system involve complex bioprocesses. Although different pilot-scale systems coupling anaerobic digestion and algae-based bioremediation processes have been described, no previous attempts to model the entire system are available to date. In this work, a plant-wide model, named ADAB (anaerobic digestion algae-bacteria), is presented, coupling two well-established models for anaerobic digestion (IWA – ADM1) and algae-based bioremediation processes (ALBA). The models were modified with necessary equations and extensions to develop a dedicated model interface. Phosphorous dynamics were integrated, including activity corrections and precipitation processes. The ALBA model was also integrated with thermal modelling to simulate outdoor raceway ponds and greenhouse-covered systems. Solid/liquid separation units for digestate pre-treatment were also included. The prediction consistency of the adopted physicochemical sub-model (PCM) was verified with results from both reference literature and Visual MINTEQ. The reduced complexity of the PCM limits the model field of application, but it results in better computational performance and seems to be particularly suitable to simulate agro-zootechnical digesters. A scenario analysis including different co-digester design and operating conditions was carried out to assess the impacts on microalgae cultivation. It highlighted the importance of a proper biorefinery design and yet a noteworthy robustness of the system performance. The use of the ADAB model can facilitate a more realistic assessment of the technical, environmental, and economic feasibility of full-scale microalgal biorefineries based on digestate.