Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix scheduling at evcs with more than one ev at a time without em (#788)
* fix exception message * determine evcs results also in case of arriving evs to ensure correct result entries * add additionalActivationTick for the end of simulation to get result entries for evcs * changelog * add test case for charging three evs at same time and deliver proper results for it * remove unnecessary change * fix results for evs * fmt * groupby * newActiveEntries at EvcsModel * update stayingSchedules at EvcsAgentFundamentals * update stayingSchedules at EvcsAgentFundamentals * add tickStart to filter condition * fix test condition * remove unused method * revert change * reintroduce explaining comment * rollback startingSchedules * reintroduce new determination of schedules * test for provide correct results for three evs charging at same time at EvcsAgent * fix naming to comply with codacy * fmt * revert test case result * fmt * fmt * fix comment * explanatory comments * sync tests at EvcsAgentModelCalculationSpec * some more test changes * fix test cases * fmt * rollback changes of EvcsModelSpec * little refactoring * fmt * fmt * Adapting to changes in simonaAPI Signed-off-by: Sebastian Peter <[email protected]> * Assigning recognizable UUIDs for test EVs Signed-off-by: Sebastian Peter <[email protected]> * remove unnecessary EvcsModel in EvcsInputTestData * rollback changes of entriesByStartTick at EvcsModel * fmt * fmt * rollback unnecessary change of filtering schedules for tick * fmt * entriesByStartTick as sortedMap * only handle results at handleArrivingEvs when there is no state for the currentTick * rearrange EvcsAgentModelCalculationSpec results * Suggestion for result matching Signed-off-by: Sebastian Peter <[email protected]> * refactor EvcsResult testing * refactor EvResult testing * Undo line deletion Signed-off-by: Sebastian Peter <[email protected]> * rollback filter of results of evcs model * make EvcsModel.chargeEv private again * update exception message * fmt * remove blank cases when testing for expected messages of resultListener --------- Signed-off-by: Sebastian Peter <[email protected]> Co-authored-by: Sebastian Peter <[email protected]>
- Loading branch information