-
Notifications
You must be signed in to change notification settings - Fork 17
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
Fallback components in generated formulas #1037
Fallback components in generated formulas #1037
Commits on Aug 27, 2024
-
Add method to get primary and fallback components
Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4e03166 - Browse repository at this point
Copy the full SHA 4e03166View commit details
Commits on Aug 30, 2024
-
Add FallbackMetricFetcher to MetricFetcher
FallbackMericFetcher stores fallback formula but generates and subscribes for it on demand. Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1ff91a - Browse repository at this point
Copy the full SHA a1ff91aView commit details -
Create fallback formulas for the PvPool.power
Change PVPowerFormula to get primary and fallback of the given components. For the fallback comonents sub formulas are created This makes sure that both main and fallback formulas have the same behaviour and less complexity. Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5926189 - Browse repository at this point
Copy the full SHA 5926189View commit details -
Fix tests after previous commit
Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 91ad3e9 - Browse repository at this point
Copy the full SHA 91ad3e9View commit details -
Change receiver limit in mock_resampler
This receiver is only to forward messages to subscribers. It doesn't need more then 1 last message. No tests are broken after this. Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a515d1 - Browse repository at this point
Copy the full SHA 2a515d1View commit details -
Test pv_power formula with fallback components
Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 94db914 - Browse repository at this point
Copy the full SHA 94db914View commit details -
Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 18c0572 - Browse repository at this point
Copy the full SHA 18c0572View commit details -
Fix MockMicrogrid add_chps method to can create chp without meter
Previously if no_meter was True, meter was created but didn't send values. Now no meter is created. No tests are failing after this change Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f24fa2 - Browse repository at this point
Copy the full SHA 7f24fa2View commit details -
Implement fallback feature for ProducerPowerFormula
Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ed5975 - Browse repository at this point
Copy the full SHA 2ed5975View commit details -
Remove redundant parentheses in BatteryPowerFormula
Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 778e5e4 - Browse repository at this point
Copy the full SHA 778e5e4View commit details -
Add fallback formula feature for BatteryPowerFormula
Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f567ba - Browse repository at this point
Copy the full SHA 8f567baView commit details -
Fix tests after previous commit
And fix graph in test_batter_pool_power_two_batteries_per_inverter, Previously meters were connected to the grid and had no successors, inverters were connected to grid and had no meter. Now meters are connected to the inverters. Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 014f34f - Browse repository at this point
Copy the full SHA 014f34fView commit details -
Add tests for BatteryPowerFormula fallback
Fix mockMicrogrid: create senders always in the same order. Previous solution was working because we had simple graphs. Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 226d628 - Browse repository at this point
Copy the full SHA 226d628View commit details -
Add fallback formula feature to ConsumerPowerFormula
Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9d613e - Browse repository at this point
Copy the full SHA c9d613eView commit details -
Add fallback formula feature to GridPowerFormula
Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aab30ee - Browse repository at this point
Copy the full SHA aab30eeView commit details -
Use SimplePowerFormula in ProducerPowerFormula
This should simplify code Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1731ad4 - Browse repository at this point
Copy the full SHA 1731ad4View commit details -
Move latest_sample from FallbackFormulaMetricFetcher to MetricFetcher
Because that's where it is used. Signed-off-by: Elzbieta Kotulska <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c70ea97 - Browse repository at this point
Copy the full SHA c70ea97View commit details