The goal of this is to have a more intelligent heating/cooling schedule that takes into account building parameters, occupant comfort, and predicted weather patterns.
At a high level, a traditional thermostat works as a pid controller by having a set point and changing a state variable (heat/cool) to reach that set point at each point in time. The set point will change at times with a set schedule, based on the state of people in the building, or can go to vacation mode. The goal of this is to use a model predictive controller to define a better trajectory than a set schedule to further minimize energy use, cost, or even carbon intensity of the electric sources.
- Cost of energy does not depend on the amount used (i.e. constant marginal rates for each time)
- Power is not considered a factor
- Different sources of energy are treated the same (locally generated solar and grid usage are fungible. This is implicitly assumed in (1))
Buildings will be modeled as easily as possible to begin, with increasing complexity depending on desired accuracy.
Conduction will be one of the primary drivers in this simulation because it is both relatively easy to predict temperatures and because it is probably the main contriubtor to heat loss in colder weather. This simulation will use the following formula for heat flow
q = kA/s *
where q is the power flow (J/s), k is the conductivity, A is the area, and s is the thickness of the material. R value is proportional to s/k.
Radiation will be incorporated by using the sol-air temperature to replace the outdoor temperature
Initially convection will be ignored largely because I don't know how to model the amount of convection well for a given building as that depends on
- Mechanical ventillation systems
- Building leak area
- Outdoor temperature
- Wind speed
I am hoping this will be relatively small and constant for areas and can be compensated for by other parameters.
Buildings will have windows, walls, roofs, and floors explicitly modeled. They will be modeled as simply as possible with as few objects and may not exactly map to reality. Once again, the hope here is that the model will be able to compensate with different parameters.
Both electric resistance and combustion fuel have efficiencies independent of external temperature. However, heat pumps and air conditioner units have variable efficiencies.From this link
https://www.nature.com/articles/s41597-019-0199-y
We can estimate COP of an air source heat pump to first order as 6.08 - 0.09
For cooling I will use the same formula for the COP - 1.
The input parameters,