codeforboston / home-energy-analysis-tool

https://www.codeforboston.org/projects/
MIT License
8 stars 25 forks source link

Creating classes #132

Closed jkoren closed 5 months ago

jkoren commented 5 months ago

A proposal for class structure for HEAT Calculator.

There are 4 types of objects: 1. Location

  1. Home
  2. HeatingLoadAnalysis 4. EnergyUsePeriod (still to be used)

These are stored in the /models directory The object fields will map to database fields.

As a demonstration, the objects are instantiated in the forms and the fields are displayed. When the data schema is finalized, the names of the fields and field types can be updated.

jkoren commented 5 months ago

do not merge replaced by PR 133 and PR 135