What if the same brain chemical affects different parts of your brain in completely different ways? That's the puzzle a team in Barcelona just helped solve — and their answer might one day help people recover from brain injuries or disorders of consciousness.

Researchers at IDIBAPS, a biomedical research institute in Barcelona, built a computer model of the human brain that shows how tiny chemical details at the microscopic level influence how the entire brain behaves. Their work was published in the Proceedings of the National Academy of Sciences.

Most brain models treat every part of the cortex — the outer layer of the brain — as if it works exactly the same way. But Leonardo Dalla Porta, the study's first author and a researcher at IDIBAPS, wanted to test a different idea: what if the distribution of receptors — tiny docking sites for brain chemicals — actually matters?

His team used an open-source platform called The Virtual Brain to create a model incorporating detailed maps of muscarinic acetylcholine receptor density across 68 different brain regions. Acetylcholine is a neuromodulator, a kind of brain chemical that influences how neurons communicate. The team then layered these receptor maps onto the brain's actual wiring diagram.

When they ran simulations spanning states from wakefulness to sleep, something remarkable happened. Models that included the real receptor differences showed better coordination between brain regions and improved information flow compared to simplified models where all regions behaved identically.

"One of the central challenges in neuroscience is understanding how processes occurring at the molecular level influence the behavior of the brain as a whole," Dalla Porta said. "Our study provides a concrete example of how we can begin connecting these very different scales within the same computational framework."

The model even spontaneously reproduced a phenomenon scientists had observed in real brains: localized sleep-like slow waves appearing in some regions while the rest of the cortex remained in an awake-like state. This happens naturally during attention lapses, sleep deprivation, and around brain lesions.

Maria V. Sanchez-Vives, another IDIBAPS researcher and the study's senior author, explained why this matters: "Whole-brain models offer systems neuroscientists deep insight into the global impact of local phenomena, giving us a better understanding of mechanisms and generating testable predictions."

The findings suggest that neuromodulators like acetylcholine don't act uniformly across the brain. Their effects depend on where their receptors are concentrated. The same chemical signal can produce different network dynamics in different cortical regions — a finding that could eventually help explain how the brain transitions between states, whether waking, sleeping, or recovering from injury.

For now, the work offers researchers a new computational framework. But down the road, it might contribute to understanding conditions where brain states go wrong — and perhaps, eventually, to helping patients return to healthier ones.