■■ 1. Introduction Recent years have seen a large increase in the number of reported framework materials, including the nowadaysubiquitous metal-organic frameworks (MOFs), but also covalent organic frameworks, dense coordination polymers, and supramolecular frameworks. Many of these materials show flexibility and stimuli-responsiveness, i.e. their structure can undergo changes of large amplitude in response to physical or chemical stimulation. 1,2 Professor Kitagawa has defined these "soft porous crystals" (SPCs) as "dynamic frameworks that are able to respond to external stimuli such as light, electric fields or the presence of particular species, […] and can change their channels reversibly while retaining high regularity". 3 Such systems are widely studied, not only for their challenge of fundamental understanding of their behavior, or the beauty of their structures, but also because their stimuli-responsiveness make them great targets for applications. Once an external constraint is applied, the structure of the soft porous crystal changes, and this in turn affects its physical and chemical properties. To give only one striking example, Lyndon et al. 4 reported the photoresponsive material Zn(AzDC)(4,4′-BPE) 0.5 5 where exposure to ultraviolet light can be used to trigger the uptake and release of carbon dioxide. SPCs thus display a change of their properties in response to their environment, making them multifunctional materials. It is thus expected that they can find applications as nanosensors, actuators, for targeted drug releases, and in other areas. In this account, we describe here a toolbox of theoretical approaches, developed in our group and others throughout the world, to shed light into these materialsʼ properties. For a background on the computational description of metalorganic frameworks, we refer the reader to the general reviews on the topic, such as Refs. and. We focus here specifically on the theoretical description of the behavior of MOFs under mechanical constraints, temperature changes, adsorption of guest molecules, and exposure to light. By means of molecular simulation at varying scale, we can probe, rationalize and predict the behavior of stimuli-responsive materials, producing a coherent description of soft porous crystals from the unit cell scale all the way to the behavior of the whole crystal. In particular, we have studied the impact of defects in soft porous crystals, and developed a methodology for the study of their disordered phases (presence of correlated disorder, MOF glasses, and liquid MOFs). Recent years have seen a large increase in the number of reported framework materials, including the nowadaysubiquitous metal-organic frameworks (MOFs). Many of these materials show flexibility and stimuli-responsiveness, i.e. their structure can undergo changes of large amplitude in response to physical or chemical stimulation. We describe here a toolbox of theoretical approaches, developed in our group and others, to shed light into these materials' properties. We focus on their b...