The work presented in this paper is an integrated time-dependent model, describing the power demands of the major tokamak components (magnets, cryogenics, heating and current drive, etc.), as well as the power generated. The physics are implemented in OpenModelica and make use of a Python API (Application Programming Interface) to collect inputs, r…