You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Complete_with_archetype won't complete workload data if workload exist but is not complete. It's an issue if I want to give a time per workload, but I don't have the power per load (case of cloud).
Example : since workload exist, the object will be used without replacing power
Problem
Complete_with_archetype won't complete workload data if workload exist but is not complete. It's an issue if I want to give a time per workload, but I don't have the power per load (case of cloud).
Example : since workload exist, the object will be used without replacing power
ERROR : hours_electrical_consumption += values["time"] * values["power"] * self.max_power KeyError: 'power'
Solution
complete_with_archetype for usage components should have a recursive way of treating attributes for usage only.
Additional context or elements
Such use case should be unit tested
The text was updated successfully, but these errors were encountered: