Validate the static state model according - semantic validity - simulatability - at the end, give meaningful warnings, why the code crashes Maybe with the methods of pydantic If possible in a clean way: Use less libraries