The venerable BCPL procedural structured programming language is fast to compile, is reliable and efficient, offers a wide range of software libraries and system functions, and is available on several platforms, including the Raspberry Pi.
A Raspberry Pi 4B with Linux can solve the equations for a real-time nonlinear aircraft simulation, including the emulation of modern aircraft flight displays.
Designing a power supply can be an interesting yet dangerous engineering task. You can reduce some of the inherent risk by building a model and running simulations with SPICE in KiCad.