Do not convert from numbers to string to number
In https://gitlab.liu.se/da/B-ASIC/-/blob/master/b_asic/GUI/simulate_sfg_window.py#L205-238 the values are first converted to strings and then on https://gitlab.liu.se/da/B-ASIC/-/blob/master/b_asic/GUI/simulate_sfg_window.py#L240 parsed to numbers.
It would make much more sense to move the logic of https://gitlab.liu.se/da/B-ASIC/-/blob/master/b_asic/GUI/simulate_sfg_window.py#L240 into the functions where it is needed.
In fact, ideally, it should output the functions where there are generators. Simulation
can take a generator as an input.