Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimisation - Calculate the baseline system #3550

Merged
merged 7 commits into from May 7, 2024

Conversation

MatNif
Copy link
Collaborator

@MatNif MatNif commented Apr 16, 2024

Purpose
Until now, the new optimisation script calculated supply system structures, operational characteristics and network layouts for all of the selected optimal energy systems, but did not offer any way to calculate these systems to the baseline of the district established in the input editor.

This introduces a calculation of the district's initial/base energy system, including the corresponding networks and supply systems. These new changes will be relevant to allow the users to perform simple comparisons between optimal and baseline systems when corresponding graphics will be introduced to the Dashboard.

To test

  1. Select a simple district use case & run all scripts found under the Data management and Demand forecasting sections under Tools.
  2. Edit the default supply systems of the buildings found under the supply-systems section of the input editor
  3. Run the new optimisation script of a district of your choice.
  4. Check the newly added current_DES folder that is output in the optimisation_new folder found under outputs.

This introduces a calculation of the initial/base energy system of the district, including the corresponding networks and supply systems. If the
@MatNif MatNif self-assigned this Apr 16, 2024
fixing logical expression to check for code in dictionary.
@reyery
Copy link
Member

reyery commented Apr 18, 2024

@MatNif would that mean that the current_DES files could be used to show the initial network in the input editor map? But the user has to run the optimization script first for the files to be available is that right.

@MatNif
Copy link
Collaborator Author

MatNif commented Apr 18, 2024

Hi @reyery,

Good question. Currently the input editor displays a network connecting all buildings that have a 'DISTRICT'-scale supply system (even before the changes made in this branch). Now with the new changes, if these supply systems differ (e.g. B1000 has a SUPPLY_COOLING_AS3-system and B1001 has a SUPPLY_COOLING_AS4-system) the optimisation script would place them in two different networks and create corresponding .geojson-files for the networks.

So, yes, the new results could be used as a basis for a more accurate representation of the current network connections. What I'm not too sure about is what type of file the dashboard currently creates as a basis for the network display. I could very well imagine that that file differs from the optimisation script's current outputs.

@ShiZhongming ShiZhongming merged commit 8cfb4aa into master May 7, 2024
7 checks passed
@ShiZhongming ShiZhongming deleted the optimisation-baseline-comparison branch May 7, 2024 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants