Skip to content

Commit

Permalink
Kostenfunktion implementieren
Browse files Browse the repository at this point in the history
Fixes #2
  • Loading branch information
joda9 committed Jun 8, 2023
1 parent ddb3b70 commit b536972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Windenergieanlagen.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@
" consecutive_hours = 0\n",
" max_consecutive[turbine_column] = max_consecutive_hours\n",
" battery_sizes[turbine_column] = max_consecutive_hours * p_min * 1000 #in kWh\n",
" Kosten_WEA[turbine_column] = Daten_WKA_df[turbine_column][0] * 3000 * 1000 # Nennleistung in MW mal 1000 für kW und mal 3000 für Preis/kW\n",
" Kosten_WEA[turbine_column] = Daten_WKA_df[turbine_column][0] * 4000 * 1000 # Nennleistung in MW mal 1000 für kW und mal 3000 für Preis/kW\n",
" max_consecutive_df = pd.DataFrame({'Turbine': list(max_consecutive.keys()), 'MaxConsecutiveHours': list(max_consecutive.values()), 'Battery Size in kWh': list(battery_sizes.values()), 'Kosten WEA': list(Kosten_WEA.values())})\n",
" max_consecutive_df['Kosten_Batterie_Euro'] = max_consecutive_df['Battery Size in kWh'] * 1200\n",
"\n",
Expand Down

0 comments on commit b536972

Please sign in to comment.