File:Glengine 2.png

Created using http://www.websequencediagrams.com/

title Engine Operation Application->GridLAB-D: INIT GridLAB-D->Application: GRIDLABD (version info) GridLAB-D->Application: PROTOCOL UDP GridLAB-D->Application: CACHESIZE (megabytes) GridLAB-D->Application: TIMEOUT (seconds) Application->GridLAB-D: (status) [(message)] loop for all globals GridLAB-D->Application: GLOBAL (index) (spec) end loop for all imports GridLAB-D->Application: IMPORT (index) (spec) end loop for all exports GridLAB-D->Application: EXPORT (index) (spec) end Application->GridLAB-D: (status) [(message)] loop until stoptime or engine shutdown loop for all globals and imports Application->GridLAB-D: (index) (data) end Application->GridLAB-D: (status) [(message)] loop for all globals and exports GridLAB-D->Application: (index) (data) end GridLAB-D->Application: (status) [(message)] Application->GridLAB-D: SYNC (time) end alt GridLAB-D termination GridLAB-D->Application: TERM [(message)] else Application terminate Application->GridLAB-D: TERM [(message)] end loop for all globals and exports GridLAB-D->Application: (index) (data) end loop for all imports Application->GridLAB-D: (index) (data) end