Hello again, I have two questions regarding the reward :
- How are the normalized C[entry] and G[entry] of each building put together to form a unique metric ?
- In the starter kit, in get_reward.py, I don’t understand why the reward is only calculated from electricity_price, which is just the price of electricity in the area. It should be calculated from electricity_cost. Maybe the doc is wrong and the variable “electricity_price” means “electricity_cost” ?
1 Like
Hi @joseph_amigo and thanks for your question.
-
C[entry] is the sum of electricity bill ($) for all buildings in the district while G[entry] is the sum of CO2 emission (kg_co2) for all buildings in the district. They are first divided by the C[no_battery] and G[no_battery] and then added with equal weights to get the final score. See the source code for the calculation of C[entry] and G[entry].
-
The reward in the starter kit is calculated from both electricity_price and carbon_emission. Also, I think we use electricity_cost and electricity_price to mean the same thing as they both have same unit [$]. The challenge also allows you to define an appropriate reward function so while designing your agent, you can also, modify get_reward.py
to suit your needs.
Hope these answer your questions otherwise, I am happy to further clarify.
Yeah that’s clear thank you.