The Dynamics of Technology: A Methodological Framework for Techno-Economic Analyses