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

3346 added detail on optimal district energy networks #3387

Merged

Conversation

MatNif
Copy link
Collaborator

@MatNif MatNif commented Sep 19, 2023

Add a file detailing the properties of the thermal networks of the non-dominated solutions.

EDIT:

To test this branch:

  1. Run the new optimisation script on a district of your choice, with the setting 'Advanced > generate-detailed-outputs' set to 'True'.
  2. Check the detailed optimisation results by navigating to 'YOUR_CASE\outputs\data\optimization_new\DXS_XXX\Supply_system_operation_details'. You should now see two new files that were not generated before the introduction of this branch: 'NXXXX_annual_breakdown.csv' and 'network_performance.csv'.

'NXXXX_annual_breakdown.csv' will provide more information on a thermal network's supply system, like the annual consumption of specific energy carriers and their associated cost and Heat and GHG emissions.

'network_performance.csv' will provide additional details on the piping of all of the thermal networks within a system, e.g. thermal losses, length of the network, etc.

This introduces two new types of output files for the new optimization script, for when 'detailed output' is selected in the scripts config:
1. A file breaking down AH, SED, GHG & cost for each networks supply system
2. A file offering more detail on the network piping at losses
…into 3346-added-detail-on-optimal-district-energy-networks
@MatNif MatNif linked an issue Sep 19, 2023 that may be closed by this pull request
@ShiZhongming
Copy link
Collaborator

Hi @MatNif

Thanks for the detailed instructions. Testing in progress.

@ShiZhongming
Copy link
Collaborator

Hi @MatNif

I have just finished testing this PR. I tested for both DC and DH cases.
For the DC case in Singapore, all worked fine as described.
For the DH case in Zurich, it reverted the error below. However, the script ran through when I switched off the generate-detailed-outputs toggle.
See the error message attached.

error.pdf

@MatNif
Copy link
Collaborator Author

MatNif commented Oct 23, 2023

Great, thanks for testing. I'll try to replicate the error you get for DH on my side, but could you send me your test scenario in case I can't replicate the error?

@MatNif
Copy link
Collaborator Author

MatNif commented Oct 24, 2023

Hi @ShiZhongming,

I just tested the branch using a DH case but could not replicate your error. Could you send me your case?

@ShiZhongming
Copy link
Collaborator

ShiZhongming commented Oct 24, 2023

Sure. I have just sent you via Slack. @MatNif

Previously the code would try to create a network performance file even for DES that did not have networks (and therefore crashed). This should fix that.
@ShiZhongming ShiZhongming merged commit 5edc15c into master Oct 25, 2023
3 checks passed
@ShiZhongming ShiZhongming deleted the 3346-added-detail-on-optimal-district-energy-networks branch October 25, 2023 13:37
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.

Added detail on optimal district energy networks
3 participants