Skip to content
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

test: 3 wip eh smoketest scenarios #56

Merged
merged 10 commits into from
Jan 2, 2025
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
calculation_id;orchestration_instance_id;execution_start_datetime;execution_stop_datetime;#comment
IGNORED;00000000-orch-id00-0000-000000000001;IGNORED;IGNORED;Columns with "IGNORED" values are ignored. They are candidates for improving the job and test framework so that they can be tested.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
metering_point_id;date;quantity;#comment
140000000000170201;2023-12-12 23:00:00;339.726;Limit hit for period 1
140000000000170201;2024-01-09 23:00:00;4000;Limit hit for period 2
140000000000170202;2023-12-12 23:00:00;438.356;Limit hit for period 1
140000000000170202;2024-01-09 23:00:00;655.738;Limit hit for period 2
140000000000170203;2024-02-29 23:00:00;10.929;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
metering_point_id;metering_point_type;metering_point_sub_type;resolution;parent_metering_point_id;coupled_date;decoupled_date;#comment
140000000000170201;electrical_heating;calculated;PT1H;170000000000000201;2023-11-30 23:00:00;;
140000000000170202;electrical_heating;calculated;PT1H;170000000000000202;2023-11-20 23:00:00;2023-02-29 23:00:00;
140000000000170203;electrical_heating;calculated;PT1H;170000000000000203;2024-02-29 23:00:00;2023-03-01 23:00:00;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
metering_point_id;has_electrical_heating;net_settlement_group;settlement_month;period_from_date;period_to_date;#comment
170000000000000201;true;;1;2023-11-30 23:00:00;;Two periods because crossing years. Period 1: December 2023 (31 days). Period 2: Jan. 2024 until today (full limit)
170000000000000202;true;;1;2023-11-20 23:00:00;2024-02-29 23:00:00;Two periods because crossing years. Period 1: November 21st to end of year 2023 (9+31 days). Period 2: Jan-feb 2024 (31+29 days)
170000000000000203;true;;1;2024-02-29 23:00:00;2024-03-01 23:00:00;One period of one day.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- orchestration_instance_id: 00000000-orch-id00-0000-000000000001
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
metering_point_id;quantity;observation_time;metering_point_type;#comment
170000000000000201;400;2023-12-13 15:00:00;consumption;In period 1. Limit = 31/365*4000 = 339.726
170000000000000201;5000;2024-01-10 17:15:00;consumption;In period 2. Limit = 4k
170000000000000202;500.123;2023-12-13 15:00:00;consumption;In period 1. Limit = 40/365*4000 = 438.356
170000000000000202;700.951;2024-01-10 17:15:00;consumption;In period 2. Limit = 60/366*4000 = 655.738 (leap year, 29 days in feb. 366 days in year total)
170000000000000203;11;2024-02-29 23:00:00;consumption;Limit = 1/366*4000 = 10.929 (leap year, 366 days in year total)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
calculation_id;orchestration_instance_id;execution_start_datetime;execution_stop_datetime;#comment
IGNORED;00000000-orch-id00-0000-000000000001;IGNORED;IGNORED;Columns with "IGNORED" values are ignored. They are candidates for improving the job and test framework so that they can be tested.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
metering_point_id;date;quantity;#comment
140000000000170201;2024-03-29 23:00:00;24;
140000000000170201;2024-03-30 23:00:00;23;Summertime change March 31st
140000000000170201;2024-03-31 22:00:00;24;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
metering_point_id;metering_point_type;metering_point_sub_type;resolution;parent_metering_point_id;coupled_date;decoupled_date;#comment
140000000000170201;electrical_heating;calculated;PT1H;170000000000000201;2023-12-31 23:00:00;;Consumption should be added to this metering point
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
metering_point_id;has_electrical_heating;net_settlement_group;settlement_month;period_from_date;period_to_date;#comment
170000000000000201;true;;1;2023-12-31 23:00:00;;Generates output because there is consumption data and an electrical heating child metering point
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- orchestration_instance_id: 00000000-orch-id00-0000-000000000001
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
metering_point_id;quantity;observation_time;metering_point_type;#comment
170000000000000201;1;2024-03-29 23:00:00;consumption;
170000000000000201;1;2024-03-30 00:00:00;consumption;
170000000000000201;1;2024-03-30 01:00:00;consumption;
170000000000000201;1;2024-03-30 02:00:00;consumption;
170000000000000201;1;2024-03-30 03:00:00;consumption;
170000000000000201;1;2024-03-30 04:00:00;consumption;
170000000000000201;1;2024-03-30 05:00:00;consumption;
170000000000000201;1;2024-03-30 06:00:00;consumption;
170000000000000201;1;2024-03-30 07:00:00;consumption;
170000000000000201;1;2024-03-30 08:00:00;consumption;
170000000000000201;1;2024-03-30 09:00:00;consumption;
170000000000000201;1;2024-03-30 10:00:00;consumption;
170000000000000201;1;2024-03-30 11:00:00;consumption;
170000000000000201;1;2024-03-30 12:00:00;consumption;
170000000000000201;1;2024-03-30 13:00:00;consumption;
170000000000000201;1;2024-03-30 14:00:00;consumption;
170000000000000201;1;2024-03-30 15:00:00;consumption;
170000000000000201;1;2024-03-30 16:00:00;consumption;
170000000000000201;1;2024-03-30 17:00:00;consumption;
170000000000000201;1;2024-03-30 18:00:00;consumption;
170000000000000201;1;2024-03-30 19:00:00;consumption;
170000000000000201;1;2024-03-30 20:00:00;consumption;
170000000000000201;1;2024-03-30 21:00:00;consumption;
170000000000000201;1;2024-03-30 22:00:00;consumption;Row 1-24 will be aggregated for day 1
170000000000000201;1;2024-03-30 23:00:00;consumption;
170000000000000201;1;2024-03-31 00:00:00;consumption;1 o'clock danish local time
170000000000000201;1;2024-03-31 01:00:00;consumption;3 o'clock danish local time. This is the hour where DST is applied.
170000000000000201;1;2024-03-31 02:00:00;consumption;
170000000000000201;1;2024-03-31 03:00:00;consumption;
170000000000000201;1;2024-03-31 04:00:00;consumption;
170000000000000201;1;2024-03-31 05:00:00;consumption;
170000000000000201;1;2024-03-31 06:00:00;consumption;
170000000000000201;1;2024-03-31 07:00:00;consumption;
170000000000000201;1;2024-03-31 08:00:00;consumption;
170000000000000201;1;2024-03-31 09:00:00;consumption;
170000000000000201;1;2024-03-31 10:00:00;consumption;
170000000000000201;1;2024-03-31 11:00:00;consumption;
170000000000000201;1;2024-03-31 12:00:00;consumption;
170000000000000201;1;2024-03-31 13:00:00;consumption;
170000000000000201;1;2024-03-31 14:00:00;consumption;
170000000000000201;1;2024-03-31 15:00:00;consumption;
170000000000000201;1;2024-03-31 16:00:00;consumption;
170000000000000201;1;2024-03-31 17:00:00;consumption;
170000000000000201;1;2024-03-31 18:00:00;consumption;
170000000000000201;1;2024-03-31 19:00:00;consumption;
170000000000000201;1;2024-03-31 20:00:00;consumption;
170000000000000201;1;2024-03-31 21:00:00;consumption;Row 25-47 will be aggregated for day 2 (only 23 hours)
170000000000000201;1;2024-03-31 22:00:00;consumption;
170000000000000201;1;2024-03-31 23:00:00;consumption;
170000000000000201;1;2024-04-01 00:00:00;consumption;
170000000000000201;1;2024-04-01 01:00:00;consumption;
170000000000000201;1;2024-04-01 02:00:00;consumption;
170000000000000201;1;2024-04-01 03:00:00;consumption;
170000000000000201;1;2024-04-01 04:00:00;consumption;
170000000000000201;1;2024-04-01 05:00:00;consumption;
170000000000000201;1;2024-04-01 06:00:00;consumption;
170000000000000201;1;2024-04-01 07:00:00;consumption;
170000000000000201;1;2024-04-01 08:00:00;consumption;
170000000000000201;1;2024-04-01 09:00:00;consumption;
170000000000000201;1;2024-04-01 10:00:00;consumption;
170000000000000201;1;2024-04-01 11:00:00;consumption;
170000000000000201;1;2024-04-01 12:00:00;consumption;
170000000000000201;1;2024-04-01 13:00:00;consumption;
170000000000000201;1;2024-04-01 14:00:00;consumption;
170000000000000201;1;2024-04-01 15:00:00;consumption;
170000000000000201;1;2024-04-01 16:00:00;consumption;
170000000000000201;1;2024-04-01 17:00:00;consumption;
170000000000000201;1;2024-04-01 18:00:00;consumption;
170000000000000201;1;2024-04-01 19:00:00;consumption;
170000000000000201;1;2024-04-01 20:00:00;consumption;
170000000000000201;1;2024-04-01 21:00:00;consumption;Row 48-71 will be aggregated for day 3
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
calculation_id;orchestration_instance_id;execution_start_datetime;execution_stop_datetime;#comment
IGNORED;00000000-orch-id00-0000-000000000001;IGNORED;IGNORED;Columns with "IGNORED" values are ignored. They are candidates for improving the job and test framework so that they can be tested.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
metering_point_id;date;quantity;#comment
140000000000170201;2024-10-26 22:00:00;24;
140000000000170201;2024-10-27 22:00:00;25;Wintertime change October 27th
140000000000170201;2024-10-28 23:00:00;24;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
metering_point_id;metering_point_type;metering_point_sub_type;resolution;parent_metering_point_id;coupled_date;decoupled_date;#comment
140000000000170201;electrical_heating;calculated;PT1H;170000000000000201;2023-12-31 23:00:00;;Consumption should be added to this metering point
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
metering_point_id;has_electrical_heating;net_settlement_group;settlement_month;period_from_date;period_to_date;#comment
170000000000000201;true;;1;2023-12-31 23:00:00;;Generates output because there is consumption data and an electrical heating child metering point
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- orchestration_instance_id: 00000000-orch-id00-0000-000000000001
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
metering_point_id;quantity;observation_time;metering_point_type;#comment
170000000000000201;1;2024-10-25 22:00:00;consumption;
170000000000000201;1;2024-10-25 23:00:00;consumption;
170000000000000201;1;2024-10-26 00:00:00;consumption;
170000000000000201;1;2024-10-26 01:00:00;consumption;
170000000000000201;1;2024-10-26 02:00:00;consumption;
170000000000000201;1;2024-10-26 03:00:00;consumption;
170000000000000201;1;2024-10-26 04:00:00;consumption;
170000000000000201;1;2024-10-26 05:00:00;consumption;
170000000000000201;1;2024-10-26 06:00:00;consumption;
170000000000000201;1;2024-10-26 07:00:00;consumption;
170000000000000201;1;2024-10-26 08:00:00;consumption;
170000000000000201;1;2024-10-26 09:00:00;consumption;
170000000000000201;1;2024-10-26 10:00:00;consumption;
170000000000000201;1;2024-10-26 11:00:00;consumption;
170000000000000201;1;2024-10-26 12:00:00;consumption;
170000000000000201;1;2024-10-26 13:00:00;consumption;
170000000000000201;1;2024-10-26 14:00:00;consumption;
170000000000000201;1;2024-10-26 15:00:00;consumption;
170000000000000201;1;2024-10-26 16:00:00;consumption;
170000000000000201;1;2024-10-26 17:00:00;consumption;
170000000000000201;1;2024-10-26 18:00:00;consumption;
170000000000000201;1;2024-10-26 19:00:00;consumption;
170000000000000201;1;2024-10-26 20:00:00;consumption;
170000000000000201;1;2024-10-26 21:00:00;consumption;Row 1-24 will be aggregated for day 1
170000000000000201;1;2024-10-26 22:00:00;consumption;
170000000000000201;1;2024-10-26 23:00:00;consumption;
170000000000000201;1;2024-10-27 00:00:00;consumption;2 o'clock danish local time
170000000000000201;1;2024-10-27 01:00:00;consumption;2 o'clock danish local time. This is the hour where DST ends.
170000000000000201;1;2024-10-27 02:00:00;consumption;
170000000000000201;1;2024-10-27 03:00:00;consumption;
170000000000000201;1;2024-10-27 04:00:00;consumption;
170000000000000201;1;2024-10-27 05:00:00;consumption;
170000000000000201;1;2024-10-27 06:00:00;consumption;
170000000000000201;1;2024-10-27 07:00:00;consumption;
170000000000000201;1;2024-10-27 08:00:00;consumption;
170000000000000201;1;2024-10-27 09:00:00;consumption;
170000000000000201;1;2024-10-27 10:00:00;consumption;
170000000000000201;1;2024-10-27 11:00:00;consumption;
170000000000000201;1;2024-10-27 12:00:00;consumption;
170000000000000201;1;2024-10-27 13:00:00;consumption;
170000000000000201;1;2024-10-27 14:00:00;consumption;
170000000000000201;1;2024-10-27 15:00:00;consumption;
170000000000000201;1;2024-10-27 16:00:00;consumption;
170000000000000201;1;2024-10-27 17:00:00;consumption;
170000000000000201;1;2024-10-27 18:00:00;consumption;
170000000000000201;1;2024-10-27 19:00:00;consumption;
170000000000000201;1;2024-10-27 20:00:00;consumption;
170000000000000201;1;2024-10-27 21:00:00;consumption;
170000000000000201;1;2024-10-27 22:00:00;consumption;Row 25-49 will be aggregated for day 2 (25 hours)
170000000000000201;1;2024-10-27 23:00:00;consumption;
170000000000000201;1;2024-10-28 00:00:00;consumption;
170000000000000201;1;2024-10-28 01:00:00;consumption;
170000000000000201;1;2024-10-28 02:00:00;consumption;
170000000000000201;1;2024-10-28 03:00:00;consumption;
170000000000000201;1;2024-10-28 04:00:00;consumption;
170000000000000201;1;2024-10-28 05:00:00;consumption;
170000000000000201;1;2024-10-28 06:00:00;consumption;
170000000000000201;1;2024-10-28 07:00:00;consumption;
170000000000000201;1;2024-10-28 08:00:00;consumption;
170000000000000201;1;2024-10-28 09:00:00;consumption;
170000000000000201;1;2024-10-28 10:00:00;consumption;
170000000000000201;1;2024-10-28 11:00:00;consumption;
170000000000000201;1;2024-10-28 12:00:00;consumption;
170000000000000201;1;2024-10-28 13:00:00;consumption;
170000000000000201;1;2024-10-28 14:00:00;consumption;
170000000000000201;1;2024-10-28 15:00:00;consumption;
170000000000000201;1;2024-10-28 16:00:00;consumption;
170000000000000201;1;2024-10-28 17:00:00;consumption;
170000000000000201;1;2024-10-28 18:00:00;consumption;
170000000000000201;1;2024-10-28 19:00:00;consumption;
170000000000000201;1;2024-10-28 20:00:00;consumption;
170000000000000201;1;2024-10-28 21:00:00;consumption;
170000000000000201;1;2024-10-28 22:00:00;consumption;Row 50-73 will be aggregated for day 3
Loading