Technical Guide Overview
Brian S. Yandell
03 August 2026
index.RmdThe Technical Guide serves as the comprehensive
internal technical reference manual for the ewing package.
While the high-level Developer
Guide covers Shiny module composition and dashboard architecture,
this guide details the deep mathematical foundations, state engine
physics, spatial geometry, thermal spline integration, and GIS watershed
overlay algorithms governing the package.
Technical Domain Sections
-
I. Simulation Engine:
Explains the central
communitysimulation state object, organism feature matrices, leftist-tree event queue scheduling, competing risk stage transitions, and operational execution loops. -
II. Substrate Geometry:
Technical specification of the tridiagonal coordinate system
,
plant substrate topology (
substrate_topology), unit coordinate rescaling (), 6-sided hexagonal polygon tile overlays (create_hex_overlay), andsubstrateAppmodule architecture. -
III. Thermal Regimes:
Interactive temperature-time spline design (
temp.design,tempApp), degree-day integration (activeTemp), 5-parameter mean value sensitivity (fivePlotApp,fiveShowApp), and Shinylive WebAssembly demos. -
IV. GIS Watersheds:
Interactive geographic feature search and watershed discovery utilities
(
leafletApp,hexmapApp), spatial projection of simulation grids onto USGS HUC12 subwatershed boundaries (watershed_overlay), and Shinylive WASM / Posit Connect deployment. -
V. UI Architecture:
Architecture for upgrading the Systems Ethology continuous interactive
graphical interface (
sysetholApp,ewingApp), sidebar de-cluttering withconditionalPanel, multi-species hex overlay layouts,downloadAppintegration, and engineering prompt history.