gridsingularity/gsy-e

Enhance tests for PV

eorituz opened this issue · 3 comments

Test 2: Test selling edge-cases for different average_market_price and different risks
Test 2: Test if posted offers are not offered twice

New Test: Test produced_energy_forecast_real_data function

How do we test produced_energy_forecast_real_data function ?. The function creates a energy_production_forecast dictionary of Dict[Time, float] as a Gaussian curve. So do we already make such kind of dictionary in the test file and test whether produced_energy_forecast_real_data makes it correctly? If someone could explain me, it would be great.

This function is currently untested.
You could test the resulting dictionary "energy_production_forecast[_time] " for correct values.
Other than that you could test other parabolic functions than the gaussian.