Surge Documentation

April 26, 2026 · View on GitHub

This index covers the release-facing documentation in this repository.

Start Here

DocumentPurpose
READMERepository overview and public interfaces
QuickstartShortest route to a working source build
Support And CompatibilitySupported versions, platforms, and dependencies
Data Model And ConventionsPer-unit system, sign conventions, and entity schema
GlossaryPower-systems terminology and acronyms
Native FormatsCanonical .surge.json, .surge.json.zst, and .surge.bin guidance
ExamplesPackaged release-facing example assets
ArchitectureWorkspace structure and dependency boundaries

User Workflows

DocumentPurpose
TutorialsMarkdown walkthroughs for current user workflows
Notebook IndexPython notebook companions for the tutorial set
Method FidelityWhat Surge means by exact, approximate, heuristic, and experimental methods
Performance And ScalingThreading, memory scaling, and large-case guidance

Dispatch And Markets

DocumentPurpose
Markets OverviewThe markets/ contract — Policy, Problem, solve — and reusable DispatchRequest builder
markets/battery/Single-site price-taker BESS reference market
markets/go_c3/GO Competition Challenge 3 adapter and solve
surge-dispatchUnified SCED/SCUC kernel crate doc
surge-marketCanonical market-formulation layer crate doc

Interfaces And Reference

DocumentPurpose
Crate DocsPer-crate documentation index
CLI ReferenceCurrent surge-solve option surface
Generated CLI SurfaceGenerated contract from surge-solve --help
Generated Python Root SurfaceGenerated root-package contract from .pyi
Generated Python Namespace SurfaceGenerated namespace contract from stubs/modules
Python Result ObjectsFields and methods on all Python result types
Python Exception ReferenceException hierarchy and when each type is raised
ReferencesMathematical citations and governing references

Contributor Docs

DocumentPurpose
CONTRIBUTING.mdContribution process
Developer SetupContributor environment setup
Method Documentation ChecklistWhat to update when public methods change
VERSIONING.mdVersioning policy
RELEASING.mdRelease process
SECURITY.mdSecurity reporting policy
DocumentPurpose
LICENSEPolyForm Noncommercial license text
COMMERCIAL-LICENSE.mdCommercial-use overview
license-notes.mdThird-party license notes
NOTICEAttribution notices