Dynamic fuel prices

86 views
Skip to first unread message

David Pierre

unread,
Aug 30, 2023, 7:09:09 AM8/30/23
to pypsa
Hello Fabian,

I wanted to ask if the dynamic fuel prices are retrieved for the current year from the database or if it considers the snapshots used in the config file to retrieve the fuel prices. Also, whenever I activate the dynamic fuel prices, I get an error in rule_add_electricity. The log file is attached here. I think it is linked with the cost csv file and the attributed names used in the costs file, but I don't know for sure.

Best,
David.
log

David Pierre

unread,
Sep 8, 2023, 9:33:49 AM9/8/23
to pypsa
Hello Fabian,

The problem in rule add_electricity using dynamic fuel prices is due to the line "fuel_price = fuel_price.assign(**costs.fuel[missing_carriers])" line 456. If it is removed the script runs very fine.

Best Wishes,
David.
Reply all
Reply to author
Forward
0 new messages