Systems and methods are described for predicting and/or detecting occupancy of an enclosure, such as a dwelling or other building, which can be used for a number of applications. An a priori stochastic model of occupancy patterns based on information of the enclosure and/or the expected occupants of the enclosure is used to pre-seed an occupancy prediction engine. Along with data from an occupancy sensor, the occupancy prediction engine predicts future occupancy of the enclosure. Various systems and methods for detecting occupancy of an enclosure, such as a dwelling, are also described.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A system for predicting occupancy of an enclosure comprising: a model of occupancy patterns based in part on information regarding the enclosure and/or the expected occupants of the enclosure; a sensor configured to detect occupancy within the enclosure; and an occupancy predictor configured to predict future occupancy of the enclosure based at least in part on the model and the occupancy detected by the sensor. 2. The system of claim 1 wherein the model is an a priori stochastic model of human occupancy. 3. The system of claim 2 wherein the a priori stochastic model is a comfort and spatial occupancy model that includes one or more statistical profiles. 4. The system of claim 2 wherein the a priori stochastic model includes behavior modeling of activity, itinerary, and/or thermal behavior. 5. The system of claim 1 wherein the model is based at least in part on information selected from the group consisting of: a type of the enclosure, geometrical data about the enclosure, structural data about the enclosure, geographic location of the enclosure, an expected type of occupant of the enclosure, an expected number of occupants of the enclosure, the relational attributes of the occupants of the enclosure, seasons of the year, days of the week, types of day, and times of day. 6. The system of claim 1 wherein the sensor is selected from a group consisting of: motion detector, powerline sensor, network traffic monitor, radio traffic monitor, microphone, infrared sensor, accelerometer, ultrasonic sensor, pressure sensor, smart utility meter, and light sensor. 7. The system of claim 1 further comprising a second sensor, wherein the occupancy predictor is configured to predict future occupancy of the enclosure based at least in part on the model, the sensor, and the second sensor. 8. A method for predicting occupancy of an enclosure comprising: receiving a model of occupancy patterns based in part on information regarding the enclosure and/or the expected occupants of the enclosure; receiving occupancy data from a sensor configured to detect occupancy within the enclosure, the occupancy data being indicative of the occupancy detected by the sensor; and predicting, by a computing device, future occupancy of the enclosure based at least in part on the model and the occupancy data. 9. The method of claim 8 further comprising receiving user inputted data, wherein the future occupancy of the enclosure is predicted further based in part on the user inputted data. 10. The method of claim 9 wherein the user inputted data includes occupancy information directly inputted by an occupant of the enclosure and/or calendar information. 11. The method of claim 9 further comprising detecting periodicities in the user inputted data, wherein the future occupancy of the enclosure is predicted further based in part on the detected periodicities in the user inputted data. 12. The method of claim 8 further comprising: comparing the predicted future occupancy of the enclosure with the occupancy data from the sensor; and updating the model of occupancy patterns based at least in part on the result of the comparison. 13. The method of claim 8 wherein the sensor is one of a plurality of sensors arranged at different sub-regions of the enclosure, receiving occupancy data from a sensor includes receiving occupancy data from the plurality of sensors, and predicting future occupancy of the enclosure includes predicting future occupancy of the enclosure based at least in part on the occupancy data received from the plurality of sensors. 14. The method of claim 8 wherein the future occupancy predictions are based at least in part on a maximum-likelihood approach. 15. A tangible non-transitory computer-readable storage medium having instructions stored thereon that, when executed by a computing device, cause the computing device to perform operations comprising: receiving a model of occupancy patterns based in part on information regarding the enclosure and/or the expected occupants of the enclosure; receiving occupancy data from a sensor configured to detect occupancy within the enclosure, the occupancy data being indicative of the occupancy detected by the sensor; and predicting future occupancy of the enclosure based at least in part on the model and the occupancy data. 16. The storage medium of claim 15 wherein the model is based at least in part on an expected occupant type. 17. The storage medium of claim 16 wherein the expected occupant type depends on one or more occupant attributes selected from a group consisting of: age, school enrollment status, marital status, relationships status with other occupants, and retirement status. 18. The storage medium of claim 16 wherein the expected occupant type is selected from a group consisting of: preschool children, school-age children, seniors, retirees, working-age adults, non-coupled adults, vacationers, office workers, and retail store occupants. 19. The storage medium of claim 15 wherein the model of occupancy patterns includes one or more types of models selected from a group consisting of: Bayesian Network, Hidden Markov Model, Hidden Semi-Markov Model, variant of Markov model, and Partially Observable Markov Decision Process. 20. The storage medium of claim 15 wherein the future occupancy prediction is used in one or more systems of a type selected from a group consisting of: HVAC system, hot water heating, home automation, home security, lighting management, and charging of rechargeable batteries.