Skip to content

Commit

Permalink
Drop generators without installed capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Nov 7, 2024
1 parent 03118bd commit a1ad437
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etrago/appl.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,8 @@ def run_etrago(args, json_path):

# import network from database
etrago.build_network_from_db()
etrago.network.mremove("Generator", etrago.network.generators[
etrago.network.generators.p_nom==0].index)

# adjust network regarding eTraGo setting
etrago.adjust_network()
Expand Down

0 comments on commit a1ad437

Please sign in to comment.