Background: The past decades of research have seen an increase in statistical tools to explore the complex dynamics of mental health from patient data, yet the application of these tools in clinical practice remains uncommon. This is surprising, given that clinical reasoning, e.g., case conceptualizations, largely coincides with the dynamical system approach. We argue that the gap between statistical tools and clinical practice can partly be explained by the fact that current estimation techniques disregard theoretical and practical considerations relevant to psychotherapy. To address this issue, we propose that case conceptualizations should be formalized. We illustrate this approach by introducing a computational model of functional analysis, a framework commonly used by practitioners to formulate case conceptualizations and design patient-tailored treatment. Methods: We outline the general approach of formalizing idiographic theories, drawing on the example of a functional analysis for a patient suffering from panic disorder. We specified the system using a series of differential equations and simulated different scenarios; first, we simulated data without intervening in the system to examine the effects of avoidant coping on the development of panic symptomatic. Second, we formalized two interventions commonly used in cognitive behavioral therapy (CBT; exposure and cognitive reappraisal) and subsequently simulated their effects on the system. Results: The first simulation showed that the specified system could recover several aspects of the phenomenon (panic disorder), however, also showed some incongruency with the nature of panic attacks (e.g., rapid decreases were not observed). The second simulation study illustrated differential effects of CBT interventions for this patient. All tested interventions could decrease panic levels in the system.