This is a Swift implementation of a 1-D energy balance model from the edX course "Climate Change: The Science and Global Impact", by Dr. Michael Mann.
For more background see this ebm_1d repository.
A SwiftUI-based user interface that uses this model is available here.