You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: paper.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ authors:
16
16
orchid: 0000-0001-5175-2374
17
17
equal-contrib: true
18
18
affiliation: 2
19
+
- name: Parisa Sarikhani
20
+
affiliation: 1
19
21
- name: Yuyu Yao
20
22
affiliation: 2
21
23
- name: Jake Fleischer
@@ -29,8 +31,6 @@ authors:
29
31
affiliation: 5
30
32
- name: Andrew Branen
31
33
affiliation: 6
32
-
- name: Parisa Sarikhani
33
-
affiliation: 1
34
34
- name: Gautam Kumar
35
35
affiliation: 6
36
36
- name: Mayuresh V. Kothare
@@ -61,20 +61,21 @@ bibliography: paper.bib
61
61
# Summary
62
62
Closed-loop Vagus Nerve Stimulation (VNS) based on physiological feedback signals is a promising approach to regulating organ functions and developing therapeutic devices. Designing closed-loop neurostimulation systems requires simulation environments and computing infrastructures that support i) modeling the physiological responses of organs under neuromodulation, also known as physiological models (PMs), and ii) the interaction between the PMs and the neuromodulation control algorithms. However, existing simulation platforms do not support closed-loop VNS control systems modeling without extensive rewriting of computer code and manual deployment and configuration of programs.
63
63
64
-
The CONTROL-CORE framework aims to develop a flexible software platform for designing and implementing closed-loop VNS systems. The CONTROL-CORE framework consists of the _concore_ protocol at its core. In addition, it contains a visual _concore_editor and a Mediator architecture that facilitates a distributed execution of _concore_ studies.
64
+
The CONTROL-CORE framework aims to develop a flexible software platform for designing and implementing closed-loop VNS systems. The CONTROL-CORE framework consists of the _concore_ protocol at its core. The _concore_ protocol allows seamless synchronized communication between the programs (such as PMs and controllers) that compose a study as a workflow. _concore_allows simulations to run on different operating systems, be developed in various programming languages (such as Matlab, Python, C++, and Verilog), and be run locally, in containers, and in a distributed fashion. CONTROL-CORE also consists of a Mediator implementation that facilitates the distributed execution of _concore_ studies through REST calls over the Internet.
65
65
66
66
67
-
This paper presents the _concore_protocol, which allows seamless communication between the programs (such as PMs and controllers) that compose a study. _concore_ allows simulations to run on different operating systems, be developed in various programming languages (such as Matlab, Python, C++, and Verilog), and be run locally, in containers, and in a distributed fashion. The _concore_ Editor lets the users to create studies from the programs in a visual drag-and-drop manner and store them as a GraphML file. _concore_ consists of a parser that parses the studies represented in the GraphML file and start the execution of the studies until the specified maxtime value is met.
67
+
CONTROL-CORE contains a lightweight browser-based visual _concore_editor, which lets the users create studies from the programs in a drag-and-drop manner. It allows creation of directed hypergraphs to represent the studies with closed-loop from modular programs and exporting the directed hypergraph workflows as GraphML files. _concore_ consists of a parser that parses and interprets the studies represented in the GraphML file and execute the studies seamlessly as modular workflows until a specified maxtime value for the study (exit condition, to ensure the closed-loop workflow does not execute forever) is met.
68
68
69
69
70
70
We tested _concore_ in the context of closed-loop control of cardiac physiological models, including pulsatile and nonpulsatile rat models. These were tested using various controllers such as Model Predictive Control and Long-Short-Term Memory-based controllers. Our wide range of use cases and evaluations show the performance, flexibility, and usability of _concore_. The scientific contributions of _concore_ protocol and the CONTROL-CORE framework, along with these sample closed-loop neuromodulation control systems studies have been extensively discussed in our previous work [@kathiravelu2022control].
71
71
72
72
73
73
# Statement of need
74
74
75
-
Workflow frameworks can run a series of containerized programs, with predefined start and end steps, as a modular workflow. Such workflows do not have a cycle, by definition. A neuromodulation control system comprises feedback loops represented by directed cycles (dicycles). The presence of a dicycle violates the core tenet of classic workflow frameworks, such as Common Workflow Language (CWL) and Workflow Description Language (WDL), which expect the studies to be represented by a directed acyclic graph (DAG). Furthermore, control systems run the same program multiple times as part of the execution with feedback. Consequently, overheads imposed by workflow frameworks, significantly when handling implementations across diverse programming languages and execution environments, are magnified in the case of a closed-loop execution.
75
+
Existing software ecosystems are not tailored for the modeling and simulation of closed-loop control systems developed in multiple programming languages. Containerization with frameworks such as Docker has become popular across the scientific community as containerization enables reproducible science with minimal effort. Workflow frameworks can execute a series of containerized programs without human-in-the-loop, with services/programs as predefined start and end step. Workflows facilitate a modular development as they enable execution of a series of a programs without manually managing the each program individually. Typically, these programs are developed and shared across the users containerized services. Such workflows do not have a cycle, by definition. On the other hand, a neuromodulation control system comprises feedback loops represented by directed cycles (dicycles). The presence of a dicycle violates the core tenet of classic workflow frameworks, such as Common Workflow Language (CWL) and Workflow Description Language (WDL), which expect the studies to be represented by a directed acyclic graph (DAG). Furthermore, control systems run the same program multiple times as part of the execution with feedback. Consequently, overheads imposed by workflow frameworks, significantly when handling implementations across diverse programming languages and execution environments, are magnified in the case of a closed-loop execution.
76
76
77
77
Interoperability plays a significant role in scientific research. Therefore, we should support the modeling and simulation of studies composed of programs (such as the controllers and PMs) developed in different programming languages, executing on different execution modes (local, distributed, or containerized). _concore_ is designed for efficiency in control systems' specific use cases, supporting interoperable communication and data exchange between programs from independent researchers. The simple file-based communication and synchronization, without a centralized workflow orchestrator, enables interoperable executions with high performance.
78
+
78
79
# Acknowledgment
79
80
80
81
This work was supported in part by the National Institutes of Health under Grant OT2OD030535 and Google Summer of Code (GSoC) 2021 and 2022 projects. The authors acknowledge the guidance from Tyler Best and Herbert Sauro. The authors appreciate the assistance with OSPARC that they received from the staff at IT'IS, especially Sylvain Anderegg, Pedro Crespo-Valero, Elisabetta Iavarone, Andrei Neagu, Esra Neufeld, and Katie Zhuang.
0 commit comments