c0nb4 / districtgenerator

Tool for demand profile generation in districts
Other
0 stars 0 forks source link

Change the export of (intermediary) results #2

Closed c0nb4 closed 2 months ago

c0nb4 commented 8 months ago

Is your feature request related to a problem? Please describe.

Currently, time series are saved as single files. No Time series, no other information. It would be great to find both information about the building and the (intermediary) results in a single file each. Additionally, the current storage procedure makes the code very slow.

Describe the solution you'd like

For each building in district, provide a time series files in a 'output or /demand' folder with the following structure:

For the attributes of the building, look into other formats. JSON might be good, as it is human readable.

Name should be:

Describe alternatives you've considered

Continue working with the format. However, it becomes very slow, as it has to keep all files in cache.

Additional context

No additional context provided.

c0nb4 commented 2 months ago

Additionally, change the naming, so it reflects the building ID.