# Ideal heating: Calculation thermal energy

I implemented a simple room model in matlab (incl. weather data) - output is the roomTemperature. Now i want to calculate the ideal thermal energy which is neede for a constant room temperature. Is it common to calculate it with constant mass flow or constant supply-temperature?

Given: The room-volume, the room temperature

I want to calculate: The power of an idealHeater (each timestep)

$Q = c \times m \times \Delta T$ --> ??