[ ] lib add charge_state recovery model but modify the library such that this computation is optionally switchable on/off because in P. Felfer's case charge states from Matlab figure files typically have charge state already there and then the combinatorial analysis should just check this for consistency
[ ] change charge to charge_state in the entire library
[ ] change usage of charge to charge_state in all calls in pynxtools apm