Using processes and methods described herein, a digital twin of a
physical space can
train itself using sensors and other information available from the building. In some embodiments, a
system to be controlled comprises a controller that is connected to sensors. This controller also has a
thermodynamic model of the
system to be controlled. The
thermodynamic model has neurons that represent a thermodynamically coherent section of a building, such as a window. The neurons represent these portions of the controlled space using parameter values and equations that model physical behavior. A
machine learning process refines the
thermodynamic model by modifying the parameter values of the neurons, using sensor data gathered from the
system as behavior to be matched by the thermodynamic model. The thermodynamic model may be warmed up by running the model using state data as input.