From b6f96fcb34636b9236e356d3165507b5ee653069 Mon Sep 17 00:00:00 2001 From: pierrepetersmeier <155652256+pierrepetersmeier@users.noreply.github.com> Date: Fri, 23 May 2025 13:15:07 +0200 Subject: [PATCH 1/5] =?UTF-8?q?Extend=20azimuth=20angle=20range=20to=20[-1?= =?UTF-8?q?80=C2=B0,=20180=C2=B0]=20for=20PV=20inputs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + docs/readthedocs/models/input/participant/pv.md | 3 +-- .../validation/SystemParticipantValidationUtils.java | 10 +++++----- .../SystemParticipantValidationUtilsTest.groovy | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37d4cc181..c8617d055 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Updated dependabot workflow and added CODEOWNERS [#1328](https://github.com/ie3-institute/PowerSystemDataModel/issues/1328) +- Extend azimuth angle range to [-180°, 180°] for PV inputs [#1330](https://github.com/ie3-institute/PowerSystemDataModel/issues/1330) ## [7.0.0] - 2025-05-08 diff --git a/docs/readthedocs/models/input/participant/pv.md b/docs/readthedocs/models/input/participant/pv.md index f91f1801b..c8b4bcb47 100644 --- a/docs/readthedocs/models/input/participant/pv.md +++ b/docs/readthedocs/models/input/participant/pv.md @@ -44,8 +44,7 @@ Detailed model of a photovoltaic power plant. * - azimuth - ° - - Inclination in a compass direction - South = 0°, West = 90°, East = -90° + - South = 0°, West = 90°, East = -90°, North = +/- 180° * - etaConv - % diff --git a/src/main/java/edu/ie3/datamodel/utils/validation/SystemParticipantValidationUtils.java b/src/main/java/edu/ie3/datamodel/utils/validation/SystemParticipantValidationUtils.java index 790bca28b..35930dc11 100644 --- a/src/main/java/edu/ie3/datamodel/utils/validation/SystemParticipantValidationUtils.java +++ b/src/main/java/edu/ie3/datamodel/utils/validation/SystemParticipantValidationUtils.java @@ -393,7 +393,7 @@ private static List> checkLoad(LoadInput loadI *