Align uploaded curves with the district timeline
Every district has a timeline: the timestamps of its climate data, normally one per hour of the reference year. Load curves and supply curves are combined hour by hour on this timeline, so TESSA checks every uploaded curve against it before storing it. A file that does not match is aligned in the way you choose, or refused when no alignment makes sense.
The check applies to these uploads:
- the district load curve, with Upload load curve table in the district inspector, and when you upload a file in the Generate Load Curves tool. See Work with building load curves.
- a building's load curve, in the building inspector. See Upload a curve for one building.
- a thermal source's supply curve, in the Supply curve section of the source inspector.
A district without climate data has no timeline yet. Its district load curve is then stored with the file's own timestamps, and that curve becomes the timeline for building and supply curves. A file that becomes the timeline in this way, like a climate file, must not contain the same timestamp twice.
Files that match
A file whose timestamps are exactly those of the district timeline is stored unchanged, with no further question.
A file at the district's time step that covers the whole timeline and runs beyond it also matches, for example an hourly export of 8761 rows that includes the first hour of the next year. The rows on the district timeline are selected by their timestamps, and the rows before or after it are discarded.
A file without a timestamp column is stamped onto the district timeline: its first row gets the
first timestamp of the timeline, and each following row the next one. A file with one row per
hour of the reference year therefore matches. Without a timestamp column, the order of the
rows is the only statement of when each value applies, so the file must start at the start of
the timeline.
Choose how to align a file
When the timestamps differ, the upload dialog shows Align the file with the district timeline in place of a direct upload. Pick an option and click Upload. The information icon next to the heading compares the file with the district timeline: row count, time step, and first and last timestamps.
- Use the district timestamps keeps the values in their order and replaces the file's timestamps with those of the district, row by row. Use it for a curve calculated or measured for another year, or exported in local time, where the change to daylight saving time skips one hour and repeats another. The file must have as many rows as the timeline.
- Resample to the district time step first converts the file to the district's time step, then replaces its timestamps with those of the district. Powers are averaged over each district time step, so a 15-minute file becomes hourly means. Coarser data is held constant, so a daily value applies to every hour of its day. This option is shown only when the file's time step differs from the district's, and the file must cover at least as long a period as the timeline.
The stored curve keeps only the aligned values. Download it from the same dialog to check the result.
Files that cannot be aligned
A file that neither option can align is refused, and the dialog shows This file cannot be aligned with the district timeline. in place of the options. Typically the file covers less time than the district timeline, such as six months of data for a full-year district, or it is on another year and has a different number of rows. A file that contains the same timestamp twice is also refused unless it has as many rows as the timeline.
Extend the file to cover the timeline, or correct its timestamps, and upload it again. For a curve measured over part of the year, such as a heating season, enter zero for the hours without demand.
After a climate data upload
Uploading a climate file in the climate inspector replaces the district timeline. Curves stored on the previous timeline are kept as they are. When some of them no longer match the new timeline, the climate inspector shows a warning with the number of curves concerned. The information icon lists each one: the district load curve, building load curves and supply curves, by name.
Upload those curves again to align them with the new timeline. Until then, tools use a stored curve with as many rows as the new timeline by matching it row by row to the new timestamps. A stored curve with a different number of rows stops the tool with an error that names the curve and both periods.
See also
Set up building selections
A building selection is a named subset of a district's buildings, saved in the scenario. Use selections to tell other tools which buildings to work on: which buildings a network layout connects, which ones get a substation, or which ones count as active in a simulation. Creating, combining or deleting a selection never changes the district itself.
Charger les données climatiques
Les données climatiques fournissent les séries temporelles horaires de la météo (température extérieure, rayonnement solaire, vitesse du vent et humidité) que les modèles de demande de TESSA utilisent pour calculer les charges de chauffage et de refroidissement. Chaque quartier doit avoir des données climatiques chargées avant que sa demande puisse être calculée.
