Montero Torralbo, MiquelRabanal Cajal, Pol2025-09-182025-09-182025-06https://hdl.handle.net/2445/223243Treballs Finals de Grau de Física, Facultat de Física, Universitat de Barcelona, Curs: 2025, Tutor: Miquel Montero TorralboThis paper constructs a model of the macroeconomy using Ensemble Theory. This approach, although more complex, is far more rewarding since more rigorous results are obtained. In particular, this model successfully proves Keynes’ Principle of Effective demand. This is, raising demand of goods in the economy boosts its Gross Domestic Product (GDP). Moreover, the model is calibrated with Spanish data from 2019 and 2020 to further enhance its robustness. A more broad aim of this paper is to expand the Economics toolkit by incorporating Statistical Mechanics concepts, in order to get Economics closer to the analysis of natural sciences.8 p.application/pdfengcc-by-nc-nd (c) Rabanal, 2025http://creativecommons.org/licenses/by-nc-nd/3.0/es/Física estadísticaSimulació per ordinadorTreballs de fi de grauStatistical physicsComputer simulationBachelor's thesesKeynes’ Principle of Effective Demand: A Statistical Mechanics Approachinfo:eu-repo/semantics/bachelorThesisinfo:eu-repo/semantics/openAccess