Is it feasible to develop advanced Python scripts using Python4Capella?

Hello everyone,

I’ve modeled 400 interactions as Component Exchanges involving 80 Logical Components in Capella. My goal is to extract computational functions based on these interactions and develop a web-based software. The software’s backend will work with the Capella model. In essence, I want to use the computational functions extracted from the model in the backend code, which is written in Python with Django.

I’m considering two approaches:

  1. Writing the computational function code in Python for Capella (P4C) and establishing a synchronization mechanism over time between the backend code and P4C.

  2. Establishing a synchronization mechanism over time between the software’s database (MySQL) and Capella (P4C), and writing the computational function code in the backend.

I’m curious about the extent to which I can rely on P4C and the Capella model as integral parts of the software’s backend.

Any insights or recommendations would be greatly appreciated!