Skip to content

Conversation

@blammit
Copy link
Contributor

@blammit blammit commented Nov 20, 2025

When changing Brief/Overview mock configurations, clear the power/current values for phases that are unused; also, update SystemAcImpl.qml to avoid adding data from phases beyond the desired phase count for a service. Otherwise, the power/current values for unused phases will be picked up by SystemAcImpl, and it will continue to use the old phase count for calculating /Ac/Consumption, /Ac/ConsumptionOnOutput and /Ac/ConsumptionOnInput.

This was causing the AC Loads widget to show the wrong number of phases when moving from a 3-phase to 1-phase configuration, and also causing the Grid widget to include state power/current data in its total when moving from a 3-phase to 1-phase configuration.

When changing Brief/Overview mock configurations, clear the
power/current values for phases that are unused; also, update
SystemAcImpl.qml to avoid adding data from phases beyond the desired
phase count for a service. Otherwise, the power/current values for
unused phases will be picked up by SystemAcImpl, and it will continue to
use the old phase count for calculating /Ac/Consumption,
/Ac/ConsumptionOnOutput and /Ac/ConsumptionOnInput.

This was causing the AC Loads widget to show the wrong number of phases
when moving from a 3-phase to 1-phase configuration, and also causing
the Grid widget to include state power/current data in its total when
moving from a 3-phase to 1-phase configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants