Skip to content

[Feature] Support minute value for '--time' parameter #4

@Weitspringer

Description

@Weitspringer

Description

Currently, Squirrel's --time parameter only supports full hours, given as integer.
Squirrel also should support an arbitrary runtime given in minutes.

Implementation

Timeslots are supposed to be in the same resolution as the GCI data. For Electricity Maps, this resolution is hourly. So I would not want to just adjust the time slot lengths.

The current implementation of timeslots allows for partial reservation during the time slots 'start' and 'end' properties. However, the scheduler always reserves a node for the full timeslot. The implementation of the scheduler and parser need to be adjusted accordingly.

src.sched.scheduler._reserve_resources

grafik

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions