Skip to content

Add reports for some logged but unreported info#1357

Open
SylvestreSakti wants to merge 16 commits intomainfrom
reports_network_loader
Open

Add reports for some logged but unreported info#1357
SylvestreSakti wants to merge 16 commits intomainfrom
reports_network_loader

Conversation

@SylvestreSakti
Copy link
Member

@SylvestreSakti SylvestreSakti commented Feb 25, 2026

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • A PR or issue has been opened in all impacted repositories (if any)

Does this PR already have an issue describing the problem?
No

What kind of change does this PR introduce?
Adding report messages (that can be enabled with a new reportedFeatures type : NETWORK_LOADING)

What is the current behavior?
Currently, some info are logged (especially concerning generators discarded from voltage control or active power control) but they are not reported

What is the new behavior (if this is a feature change)?
These info are reported in report nodes (if NETWORK_LOADING is listed in reportedFeatures)

Added reports (always enabled) at WARN severity
${impactedGeneratorCount} generators have been discarded from active power control because of maxP equals to minP
${impactedGeneratorCount} generators have been discarded from active power control because of maxP not plausible
${impactedGeneratorCount} generators have been discarded from active power control because of a targetP equals 0
${impactedGeneratorCount} generators have been discarded from active power control because of a targetP > maxP
${impactedGeneratorCount} generators have been discarded from active power control because of a targetP < minP
Added reports (only enabled if reportedFeatures contains NETWORK_LOADING) at TRACE severity
Discard generator '${generatorId}' from active power control because maxP (${maxP} MW) equals minP (${minP} MW)
Discard generator ${generatorId} from active power control because maxP (${maxP}MW) > plausibleLimit (${plausibleLimit} MW)
Discard generator ${generatorId} from active power control because targetP (${targetP} MW) equals 0
Discard generator ${generatorId} from active power control because targetP (${targetP} MW) < minTargetP (${minTargetP} MW)
Discard generator ${generatorId} from active power control because targetP (${targetP} MW) > maxTargetP (${maxTargetP} MW)
Discard generator ${generatorId} from voltage control because of implausible target voltage: ${targetV} p.u
Discard generator ${generatorId} from voltage control because not started (targetP=${targetP} MW, minP=${minP} MW)
Discard generator ${generatorId} from voltage control because reactive range is too small
Discard generator ${generatorId} from voltage control because targetP is outside active power limits (targetP=${targetP} MW, minP=${minP} MW, maxP=${maxP} MW)

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
@SylvestreSakti SylvestreSakti marked this pull request as ready for review February 26, 2026 14:49
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant