Text this: Theoretical study of the influence of the morphology in polymer-based devices functioning