Skip to content

Variable Final Energy [by Sector]|Natural Gas gets negative #97

Description

@maxnutz

Problem:

  • In current network, the variable of Final Energy [by Sector]|Natural Gas is much too low.
  • The variables value gets negative for future years. This is not realistic. Final Energy - variables must stay positive. Ever.
  • changing the pypsa-input changes the variables value strongly.
model scenario region variable unit version 2025 2030 2040 2050
Pypsa-AT v1.0 var-gas-imports Austria Final Energy [by Carrier]|Coal TJ 1 68215.392 47241.936 6702.768  
Pypsa-AT v1.0 var-gas-imports Austria Final Energy [by Carrier]|District Heat TJ 1 70186.641208776 75804.582955824 113484.708164916 89301.81504996
Pypsa-AT v1.0 var-gas-imports Austria Final Energy [by Carrier]|Electricity TJ 1 244715.06160486 266833.000827 348948.24896898 390207.451451508
Pypsa-AT v1.0 var-gas-imports Austria Final Energy [by Carrier]|Natural Gas TJ 1 74637.4400581576 11809.424434918 -72728.5302362543 -92816.0648473342
Pypsa-AT v1.0 var-gas-imports Austria Final Energy [by Carrier]|Oil TJ 1 274374.985943145 268982.958171872 76253.9936415593 2959.24219486929

The comparison-value of the energy balance for 2020 is:
Final Energy [by Carrier]|Natural Gas 1.96259 e5 TJ

Networks to use for testing

use the following networks (to be set in the config-files parameter 'network_results_path`:

  • /home/maxnutz/Documents/pypsa-at-validation/pypsa-validation_processing/resources/AT_KN2040
  • /home/maxnutz/Documents/scripting/nora_outputs/electricity-network-0p3/AT_KN2040
    The second path contains the newer version of pypsa-at and is therefore of greater importance

Tasks:

  • Inspect the statistics-function: How can the output of this variable be negative?
  • are there reasoning errors in the code?
  • What adaptions would you propose?
  • write the results of your investigation as comment into this issue. If a comment is not possible, then directly edit the description with the results of your investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions