Training algorithm available?

Part of the task is to define our own reward function (in get_reward.py). What is its use? Can we directly apply some training algorithms after defining that? We have tried to apply the algorithms provided in CityLearn directly but encountered numerous problems.