Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart-complete electrical_consumption with consumption_profil(), multiple workload #88

Closed
Tracked by #85
da-ekchajzer opened this issue May 11, 2022 · 1 comment
Labels
enhancement New feature or request functional
Milestone

Comments

@da-ekchajzer
Copy link
Collaborator

da-ekchajzer commented May 11, 2022

Problem

In some cases my device will run at different level of workload for a given amount of time

I want to smart-complete the hour_electrical_consumption given a set of (workload, ```time``) knowing the consumption_profil of my device.

Solution

Input data :

"usage":{
 "workload": {
     "10":0.2,
     "20":0.1,
     ....
     "Workload(%)":ratio_of_time_at_this_workload
}
"consumption_profile":"Skylake"
}

sum(ratio_of_time_at_this_workload) = 1

We should use consumption_profil() function created in #86 :

hour_electrical_consumption = SUM(consumption_profil(Workload(%))*ratio_of_time_at_this_workload)

@da-ekchajzer da-ekchajzer changed the title Smart-complete <code class="notranslate">electrical_consumption` with workload_to_electrical_conso, multiple workload Smart-complete with workload_to_electrical_conso, multiple workload May 11, 2022
@da-ekchajzer da-ekchajzer changed the title Smart-complete with workload_to_electrical_conso, multiple workload Smart-complete electrical_consumption with workload_to_electrical_conso, multiple workload May 11, 2022
@da-ekchajzer da-ekchajzer changed the title Smart-complete electrical_consumption with workload_to_electrical_conso, multiple workload Smart-complete electrical_consumption with consumption_profil(), multiple workload May 11, 2022
@da-ekchajzer da-ekchajzer added enhancement New feature or request functional labels May 14, 2022
@da-ekchajzer da-ekchajzer added this to the v0.2 milestone Aug 10, 2022
@da-ekchajzer
Copy link
Collaborator Author

Implemented for CPU in #113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request functional
Projects
None yet
Development

No branches or pull requests

1 participant