SAP2012ThermostatModel
- class OBLib.SAP2012ThermostatModel.SAP2012ThermostatModel[source]
Bases:
OBLib.ScheduleModel.ScheduleModelClass representing the thermostat model in SAP2012.
SAP2012 is the energy calculation methodology used in the UK for building regulation compliance of domestic buildings. See https://www.bregroup.com/sap/standard-assessment-procedure-sap-2012/
This model predicts the ‘living area’ heating period as given in Table 9 of the SAP2012 document. This is:
On weekdays, the heating is on at times 07:00-09:00 and 16:00-23:00 with a thermostat temperature of 21 degC.
On weekends, the heating is on at time 07:00-23:00 with a thermostat temperature of 21 degC.
When the heating is off, an assumed thermostat setpoint of -100 degC is used.
Code Example
>>> from OBLib import SAP2012ThermostatModel >>> model=SAP2012ThermostatModel() >>> model.inputs.set_timestamps(start=(2021,1,1), >>> freq='H', >>> periods=24*7) >>> result=model.run()
- property inputs
The model inputs. Access this object to change the model inputs.
Read-only property.
- Return type
- run()
Runs the model.
- Returns
The model outputs.
- Return type