|
Algorithm 3: Carbon-Aware Security Job Scheduling |
Job queue , nodes ,
Sforecast horizon ,
Scheduling interval
Job-to-node-time assignments
Initialize carbon intensity forecasts
for all ,
Compute renewable energy forecasts for all nodes
Update forecasts using LSTM model via (25)
Sort jobs by priority:
Identify feasible (node, time) pairs satisfying (22), (23)
Compute carbon cost for feasible pairs
Select
Assign
Update capacity constraints
Execute scheduled jobs
Collect actual carbon emissions for model refinement
End if
End for
Assignment matrix
Return x
|