Title: Model energy code