{'fraction_non_alphanumeric': 0.026394721055788842, 'fraction_numerical': 0.0011997600479904018, 'mean_word_length': 5.415384615384616, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Formal Approach for Scalable Simulation of Gastric ICC Electrophysiology

Objective: Efficient and accurate organ models are crucial for closed-loop validation of implantable medical devices. This paper investigates bio-electric slow wave modeling of the stomach, so that gastric electrical stimulator (GES) can be validated and verified prior to implantation. In particular, we consider high-fidelity, scalable, and efficient modeling of the pacemaker, Interstitial cells of Cajal (ICC), based on the formal hybrid input output automata (HIOA) framework. Methods: Our work is founded in formal methods, a collection of mathematically sound techniques originating in computer science for the design and validation of safety-critical systems. We modeled each ICC cell using an HIOA. We also introduce an HIOA path model to capture the electrical propagation delay between cells in a network. The resultant network of ICC cells can simulate normal and diseased action potential propagation patterns, making it useful for device validation. Results: The simulated slow wave of a single ICC cell had high correlation ($\approx$0.9) with the corresponding biophysical models. Conclusions: The proposed model is able to simulate the slow wave activity of a network of ICC cells with high-fidelity for device validation. Significance: The proposed HIOA model is significantly more efficient than the corresponding biophysical models, scales to larger networks of ICC cells, and is capable of simulating varying propagation patterns. This has the potential to enable verification and validation of implantable GESs in closed-loop with gastrointestinal models in the future.