From 0e8b8570541bbe6842755f25efcae771afc8d391 Mon Sep 17 00:00:00 2001 From: Oleksandr Halushchak Date: Mon, 3 Feb 2025 16:41:21 +0100 Subject: [PATCH 01/10] chore: SCOP-4416 linear-tv defaults --- defaults/docs-defaults.yaml | 90 ++++++++++++++++++++++ docs/calculations.mdx | 5 ++ docs/snippets/defaults_broadcasting.mdx | 81 +++++++++++++++++++ docs/snippets/defaults_channel_mapping.mdx | 11 +++ 4 files changed, 187 insertions(+) create mode 100644 docs/snippets/defaults_broadcasting.mdx diff --git a/defaults/docs-defaults.yaml b/defaults/docs-defaults.yaml index e438b9e0..2fd1c1b9 100644 --- a/defaults/docs-defaults.yaml +++ b/defaults/docs-defaults.yaml @@ -14,6 +14,7 @@ defaults: app: 140 audio: 1500 ctv-bvod: 2580 + linear-tv: 2580 social: 240 streaming-video: 300 web: 320 @@ -27,6 +28,7 @@ defaults: - audio - web - streaming-video + - linear-tv phone: - social - ctv-bvod @@ -34,6 +36,7 @@ defaults: - app - web - streaming-video + - linear-tv smart-speaker: - audio tablet: @@ -43,7 +46,9 @@ defaults: - app - web - streaming-video + - linear-tv tv: + - linear-tv - ctv-bvod - social - audio @@ -62,6 +67,7 @@ defaults: audio: phone ctv-bvod: tv dooh: tv + linear-tv: tv social: phone streaming-video: pc web: pc @@ -244,6 +250,7 @@ defaults: audio: 30s Audio ctv-bvod: 15s Video dooh: Landscape - 1920x1080 Image + linear-tv: 15s Video social: Sponsored Post - 1080x1920 Image streaming-video: 15s Video web: Leaderboard - 728x90 Banner @@ -252,6 +259,7 @@ defaults: audio: 30s-audio-digital-audio-phone ctv-bvod: 15s-video-ctv-bvod-tv dooh: landscape-dooh + linear-tv: 15s-video-ctv-bvod-tv social: 1080-1920-sponsored-post-social-phone streaming-video: 15s-video-streaming-video-pc web: leaderboard-web-pc @@ -260,6 +268,7 @@ defaults: audio: 100 ctv-bvod: 100 dooh: 100 + linear-tv: 100 social: 100 streaming-video: 100 web: 100 @@ -267,6 +276,7 @@ defaults: app: 14 audio: 4.800000000 ctv-bvod: 8.256000000 + linear-tv: 8.256 social: 24 streaming-video: 1 web: 32 @@ -275,6 +285,7 @@ defaults: audio: 0.049000000 ctv-bvod: 0.280000000 dooh: 0.049000000 + linear-tv: 0.280000000 social: 0.150000000 streaming-video: 0.049000000 web: 0.049000000 @@ -311,3 +322,82 @@ defaults: JAPAC: 0.000300000 LATAM: 0.000100000 NAMER: 0.000100000 + default_percent_broadcasting_type: + cable: 0.285 + iptv: 0.252 + ota: 0.262 + satellite: 0.20 + default_percent_broadcasting_type_by_country: + AU: + cable: 0.12 + iptv: 0.53 + ota: 0.59 + satellite: 0.06 + DE: + cable: 0.416 + iptv: 0.096 + ota: 0.034 + satellite: 0.455 + FR: + cable: 0 + iptv: 0.46 + ota: 0.46 + satellite: 0.08 + GB: + cable: 0.089 + iptv: 0.275 + ota: 0.406 + satellite: 0.23 + US: + cable: 0.433 + iptv: 0.207 + ota: 0.192 + satellite: 0.167 + default_infrastructure_power_by_broadcasting_type_per_household_watt: + cable: TODO + iptv: TODO + ota: TODO + satellite: TODO + default_infrastructure_power_per_viewing_hour_by_broadcasting_type_watt: + cable: 31.9 + iptv: 152 + ota: 7.39 + satellite: 13 + default_number_of_channels_by_broadcasting_type: + cable: 150 + iptv: 150 + ota: 49 + satellite: 270 + default_number_of_channels_by_broadcasting_type_by_country: + AU: + cable: TODO + iptv: TODO + ota: TODO + satellite: TODO + DE: + cable: 40 + iptv: 300 + ota: 30 + satellite: 300 + FR: + cable: 0 + iptv: 150 + ota: 27 + satellite: 150 + GB: + cable: 250 + iptv: 40 + ota: 100 + satellite: 300 + US: + cable: 153 + iptv: 100 + ota: 50 + satellite: 340 + default_device_per_impression: + app: 1 + audio: 1 + ctv-bvod: 1 + linear-tv: 0.625 + streaming-video: 1 + web: 1 \ No newline at end of file diff --git a/docs/calculations.mdx b/docs/calculations.mdx index e95ade0c..6f74c9de 100644 --- a/docs/calculations.mdx +++ b/docs/calculations.mdx @@ -12,6 +12,7 @@ import TimeInViewDefaults from "/snippets/defaults_time_in_view.mdx"; import AdPlatformDefaults from "/snippets/defaults_ad_platform.mdx"; import NetworkTrafficDefaults from "/snippets/defaults_network_traffic.mdx"; import ChannelMappingDefaults from "/snippets/defaults_channel_mapping.mdx"; +import BroadcastingDefaults from "/snippets/defaults_broadcasting.mdx"; # Detailed walkthrough of calculations @@ -226,6 +227,10 @@ Observations from various channels +### Broadcasting defaults + + + ## Lookups from external sources ### Carbon intensity by country, region, and UTC Date/Time diff --git a/docs/snippets/defaults_broadcasting.mdx b/docs/snippets/defaults_broadcasting.mdx new file mode 100644 index 00000000..f40a8482 --- /dev/null +++ b/docs/snippets/defaults_broadcasting.mdx @@ -0,0 +1,81 @@ +``` +default_percent_broadcasting_type: + cable: 0.285 + iptv: 0.252 + ota: 0.262 + satellite: 0.20 +default_percent_broadcasting_type_by_country: + AU: + cable: 0.12 + iptv: 0.53 + ota: 0.59 + satellite: 0.06 + DE: + cable: 0.416 + iptv: 0.096 + ota: 0.034 + satellite: 0.455 + FR: + cable: 0 + iptv: 0.46 + ota: 0.46 + satellite: 0.08 + GB: + cable: 0.089 + iptv: 0.275 + ota: 0.406 + satellite: 0.23 + US: + cable: 0.433 + iptv: 0.207 + ota: 0.192 + satellite: 0.167 +default_infrastructure_power_by_broadcasting_type_per_household_watt: + cable: TODO + iptv: TODO + ota: TODO + satellite: TODO +default_infrastructure_power_per_viewing_hour_by_broadcasting_type_watt: + cable: 31.9 + iptv: 152 + ota: 7.39 + satellite: 13 +default_number_of_channels_by_broadcasting_type: + cable: 150 + iptv: 150 + ota: 49 + satellite: 270 +default_number_of_channels_by_broadcasting_type_by_country: + AU: + cable: TODO + iptv: TODO + ota: TODO + satellite: TODO + DE: + cable: 40 + iptv: 300 + ota: 30 + satellite: 300 + FR: + cable: 0 + iptv: 150 + ota: 27 + satellite: 150 + GB: + cable: 250 + iptv: 40 + ota: 100 + satellite: 300 + US: + cable: 153 + iptv: 100 + ota: 50 + satellite: 340 +default_device_per_impression: + app: 1 + audio: 1 + ctv-bvod: 1 + linear-tv: 0.625 + streaming-video: 1 + web: 1 +``` \ No newline at end of file diff --git a/docs/snippets/defaults_channel_mapping.mdx b/docs/snippets/defaults_channel_mapping.mdx index ad70b952..bc4b9811 100644 --- a/docs/snippets/defaults_channel_mapping.mdx +++ b/docs/snippets/defaults_channel_mapping.mdx @@ -7,6 +7,7 @@ default_channel_by_device: - app - web - streaming-video + - linear-tv tablet: - social - ctv-bvod @@ -14,13 +15,16 @@ default_channel_by_device: - app - web - streaming-video + - linear-tv pc: - ctv-bvod - social - audio - web - streaming-video + - linear-tv tv: + - linear-tv - ctv-bvod - social - audio @@ -36,6 +40,7 @@ default_device_by_channel: app: phone web: pc dooh: tv + linear-tv: tv default_platform_ad_format_identifier_by_channel: dooh: landscape-dooh social: 1080-1920-sponsored-post-social-phone @@ -44,6 +49,7 @@ default_platform_ad_format_identifier_by_channel: audio: 30s-audio-digital-audio-phone app: interstitial-app-phone web: leaderboard-web-pc + linear-tv: 15s-video-ctv-bvod-tv default_platform_ad_format_by_channel: dooh: Landscape - 1920x1080 Image social: Sponsored Post - 1080x1920 Image @@ -52,6 +58,7 @@ default_platform_ad_format_by_channel: audio: 30s Audio app: Interstitial - 1080x1920 Banner web: Leaderboard - 728x90 Banner + linear-tv: 15s Video default_property_average_imps_per_session_by_channel: social: 24 ctv-bvod: 8.256 @@ -59,6 +66,7 @@ default_property_average_imps_per_session_by_channel: audio: 4.8 app: 14 web: 32 + linear-tv: 8.256 default_property_ad_funded_percentage_by_channel: dooh: 100 social: 100 @@ -67,6 +75,7 @@ default_property_ad_funded_percentage_by_channel: audio: 100 app: 100 web: 100 + linear-tv: 100 default_average_seconds_per_session_excluding_ads_by_channel: social: 240 ctv-bvod: 2580 @@ -74,6 +83,7 @@ default_average_seconds_per_session_excluding_ads_by_channel: audio: 1500 app: 140 web: 320 + linear-tv: 2580 default_average_data_kb_per_session_seconds_excluding_ads_by_channel: social: 38 app: 29.5 @@ -86,4 +96,5 @@ default_property_g_per_imp_by_channel: audio: 0.049 app: 0.049 web: 0.049 + linear-tv: 0.280 ``` From 32dfcd81d1b0f41514264326c797027f7f7d52b8 Mon Sep 17 00:00:00 2001 From: Oleksandr Halushchak Date: Mon, 3 Feb 2025 16:45:30 +0100 Subject: [PATCH 02/10] no au defaults --- defaults/docs-defaults.yaml | 5 ----- docs/snippets/defaults_broadcasting.mdx | 5 ----- 2 files changed, 10 deletions(-) diff --git a/defaults/docs-defaults.yaml b/defaults/docs-defaults.yaml index 2fd1c1b9..0f77db63 100644 --- a/defaults/docs-defaults.yaml +++ b/defaults/docs-defaults.yaml @@ -369,11 +369,6 @@ defaults: ota: 49 satellite: 270 default_number_of_channels_by_broadcasting_type_by_country: - AU: - cable: TODO - iptv: TODO - ota: TODO - satellite: TODO DE: cable: 40 iptv: 300 diff --git a/docs/snippets/defaults_broadcasting.mdx b/docs/snippets/defaults_broadcasting.mdx index f40a8482..2356788e 100644 --- a/docs/snippets/defaults_broadcasting.mdx +++ b/docs/snippets/defaults_broadcasting.mdx @@ -46,11 +46,6 @@ default_number_of_channels_by_broadcasting_type: ota: 49 satellite: 270 default_number_of_channels_by_broadcasting_type_by_country: - AU: - cable: TODO - iptv: TODO - ota: TODO - satellite: TODO DE: cable: 40 iptv: 300 From 1cc202a94dfc28f3ca050194f756f2022ae7f04c Mon Sep 17 00:00:00 2001 From: Oleksandr Halushchak Date: Mon, 3 Feb 2025 16:54:58 +0100 Subject: [PATCH 03/10] zeroes --- defaults/docs-defaults.yaml | 52 ++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/defaults/docs-defaults.yaml b/defaults/docs-defaults.yaml index 0f77db63..c56a250a 100644 --- a/defaults/docs-defaults.yaml +++ b/defaults/docs-defaults.yaml @@ -276,7 +276,7 @@ defaults: app: 14 audio: 4.800000000 ctv-bvod: 8.256000000 - linear-tv: 8.256 + linear-tv: 8.256000000 social: 24 streaming-video: 1 web: 32 @@ -323,45 +323,45 @@ defaults: LATAM: 0.000100000 NAMER: 0.000100000 default_percent_broadcasting_type: - cable: 0.285 - iptv: 0.252 - ota: 0.262 - satellite: 0.20 + cable: 0.285000000 + iptv: 0.252000000 + ota: 0.262000000 + satellite: 0.200000000 default_percent_broadcasting_type_by_country: AU: - cable: 0.12 - iptv: 0.53 - ota: 0.59 - satellite: 0.06 + cable: 0.120000000 + iptv: 0.530000000 + ota: 0.590000000 + satellite: 0.060000000 DE: - cable: 0.416 - iptv: 0.096 - ota: 0.034 - satellite: 0.455 + cable: 0.416000000 + iptv: 0.096000000 + ota: 0.034000000 + satellite: 0.455000000 FR: cable: 0 - iptv: 0.46 - ota: 0.46 - satellite: 0.08 + iptv: 0.460000000 + ota: 0.460000000 + satellite: 0.080000000 GB: - cable: 0.089 - iptv: 0.275 - ota: 0.406 - satellite: 0.23 + cable: 0.089000000 + iptv: 0.275000000 + ota: 0.406000000 + satellite: 0.230000000 US: - cable: 0.433 - iptv: 0.207 - ota: 0.192 - satellite: 0.167 + cable: 0.433000000 + iptv: 0.207000000 + ota: 0.192000000 + satellite: 0.167000000 default_infrastructure_power_by_broadcasting_type_per_household_watt: cable: TODO iptv: TODO ota: TODO satellite: TODO default_infrastructure_power_per_viewing_hour_by_broadcasting_type_watt: - cable: 31.9 + cable: 31.900000000 iptv: 152 - ota: 7.39 + ota: 7.390000000 satellite: 13 default_number_of_channels_by_broadcasting_type: cable: 150 From 91b2cafc1373bcb788c4a21a781947785c17ee35 Mon Sep 17 00:00:00 2001 From: Oleksandr Halushchak Date: Mon, 3 Feb 2025 17:01:51 +0100 Subject: [PATCH 04/10] fmt --- defaults/docs-defaults.yaml | 76 ++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/defaults/docs-defaults.yaml b/defaults/docs-defaults.yaml index c56a250a..ad906dea 100644 --- a/defaults/docs-defaults.yaml +++ b/defaults/docs-defaults.yaml @@ -322,37 +322,13 @@ defaults: JAPAC: 0.000300000 LATAM: 0.000100000 NAMER: 0.000100000 - default_percent_broadcasting_type: - cable: 0.285000000 - iptv: 0.252000000 - ota: 0.262000000 - satellite: 0.200000000 - default_percent_broadcasting_type_by_country: - AU: - cable: 0.120000000 - iptv: 0.530000000 - ota: 0.590000000 - satellite: 0.060000000 - DE: - cable: 0.416000000 - iptv: 0.096000000 - ota: 0.034000000 - satellite: 0.455000000 - FR: - cable: 0 - iptv: 0.460000000 - ota: 0.460000000 - satellite: 0.080000000 - GB: - cable: 0.089000000 - iptv: 0.275000000 - ota: 0.406000000 - satellite: 0.230000000 - US: - cable: 0.433000000 - iptv: 0.207000000 - ota: 0.192000000 - satellite: 0.167000000 + default_device_per_impression: + app: 1 + audio: 1 + ctv-bvod: 1 + linear-tv: 0.625000000 + streaming-video: 1 + web: 1 default_infrastructure_power_by_broadcasting_type_per_household_watt: cable: TODO iptv: TODO @@ -389,10 +365,34 @@ defaults: iptv: 100 ota: 50 satellite: 340 - default_device_per_impression: - app: 1 - audio: 1 - ctv-bvod: 1 - linear-tv: 0.625 - streaming-video: 1 - web: 1 \ No newline at end of file + default_percent_broadcasting_type: + cable: 0.285000000 + iptv: 0.252000000 + ota: 0.262000000 + satellite: 0.200000000 + default_percent_broadcasting_type_by_country: + AU: + cable: 0.120000000 + iptv: 0.530000000 + ota: 0.590000000 + satellite: 0.060000000 + DE: + cable: 0.416000000 + iptv: 0.096000000 + ota: 0.034000000 + satellite: 0.455000000 + FR: + cable: 0 + iptv: 0.460000000 + ota: 0.460000000 + satellite: 0.080000000 + GB: + cable: 0.089000000 + iptv: 0.275000000 + ota: 0.406000000 + satellite: 0.230000000 + US: + cable: 0.433000000 + iptv: 0.207000000 + ota: 0.192000000 + satellite: 0.167000000 \ No newline at end of file From aee6703baf2aa3b7e50c3adfeb544cd88cae7b00 Mon Sep 17 00:00:00 2001 From: Oleksandr Halushchak Date: Mon, 3 Feb 2025 17:19:02 +0100 Subject: [PATCH 05/10] fmt --- defaults/docs-defaults.yaml | 148 ++++++++++++++++++------------------ 1 file changed, 74 insertions(+), 74 deletions(-) diff --git a/defaults/docs-defaults.yaml b/defaults/docs-defaults.yaml index ad906dea..39e5344c 100644 --- a/defaults/docs-defaults.yaml +++ b/defaults/docs-defaults.yaml @@ -88,6 +88,13 @@ defaults: phone: 1920 tablet: 2048 tv: 1080 + default_device_per_impression: + app: 1 + audio: 1 + ctv-bvod: 1 + linear-tv: 0.625000000 + streaming-video: 1 + web: 1 default_device_watts: scope3: pc: 53.200000000 @@ -115,6 +122,16 @@ defaults: default_emissions_per_creative_request_gco2_per_imp: 0.000300000 default_emissions_per_rtdp_request_gco2_per_imp: 0.010000000 default_image_compression_ratio: 10 + default_infrastructure_power_by_broadcasting_type_per_household_watt: + cable: TODO + iptv: TODO + ota: TODO + satellite: TODO + default_infrastructure_power_per_viewing_hour_by_broadcasting_type_watt: + cable: 31.900000000 + iptv: 152 + ota: 7.390000000 + satellite: 13 default_network_embodied_emissions_gco2e_per_kb: scope3: fixed: 0.000004430 @@ -123,6 +140,63 @@ defaults: fixed: 0.000004430 mobile: 0.000007970 default_non_primary_video_bitrate_kbps: 1200 + default_number_of_channels_by_broadcasting_type: + cable: 150 + iptv: 150 + ota: 49 + satellite: 270 + default_number_of_channels_by_broadcasting_type_by_country: + DE: + cable: 40 + iptv: 300 + ota: 30 + satellite: 300 + FR: + cable: 0 + iptv: 150 + ota: 27 + satellite: 150 + GB: + cable: 250 + iptv: 40 + ota: 100 + satellite: 300 + US: + cable: 153 + iptv: 100 + ota: 50 + satellite: 340 + default_percent_broadcasting_type: + cable: 0.285000000 + iptv: 0.252000000 + ota: 0.262000000 + satellite: 0.200000000 + default_percent_broadcasting_type_by_country: + AU: + cable: 0.120000000 + iptv: 0.530000000 + ota: 0.590000000 + satellite: 0.060000000 + DE: + cable: 0.416000000 + iptv: 0.096000000 + ota: 0.034000000 + satellite: 0.455000000 + FR: + cable: 0 + iptv: 0.460000000 + ota: 0.460000000 + satellite: 0.080000000 + GB: + cable: 0.089000000 + iptv: 0.275000000 + ota: 0.406000000 + satellite: 0.230000000 + US: + cable: 0.433000000 + iptv: 0.207000000 + ota: 0.192000000 + satellite: 0.167000000 default_percent_mobile: scope3: 23.600000000 sri: 10.000000000 @@ -322,77 +396,3 @@ defaults: JAPAC: 0.000300000 LATAM: 0.000100000 NAMER: 0.000100000 - default_device_per_impression: - app: 1 - audio: 1 - ctv-bvod: 1 - linear-tv: 0.625000000 - streaming-video: 1 - web: 1 - default_infrastructure_power_by_broadcasting_type_per_household_watt: - cable: TODO - iptv: TODO - ota: TODO - satellite: TODO - default_infrastructure_power_per_viewing_hour_by_broadcasting_type_watt: - cable: 31.900000000 - iptv: 152 - ota: 7.390000000 - satellite: 13 - default_number_of_channels_by_broadcasting_type: - cable: 150 - iptv: 150 - ota: 49 - satellite: 270 - default_number_of_channels_by_broadcasting_type_by_country: - DE: - cable: 40 - iptv: 300 - ota: 30 - satellite: 300 - FR: - cable: 0 - iptv: 150 - ota: 27 - satellite: 150 - GB: - cable: 250 - iptv: 40 - ota: 100 - satellite: 300 - US: - cable: 153 - iptv: 100 - ota: 50 - satellite: 340 - default_percent_broadcasting_type: - cable: 0.285000000 - iptv: 0.252000000 - ota: 0.262000000 - satellite: 0.200000000 - default_percent_broadcasting_type_by_country: - AU: - cable: 0.120000000 - iptv: 0.530000000 - ota: 0.590000000 - satellite: 0.060000000 - DE: - cable: 0.416000000 - iptv: 0.096000000 - ota: 0.034000000 - satellite: 0.455000000 - FR: - cable: 0 - iptv: 0.460000000 - ota: 0.460000000 - satellite: 0.080000000 - GB: - cable: 0.089000000 - iptv: 0.275000000 - ota: 0.406000000 - satellite: 0.230000000 - US: - cable: 0.433000000 - iptv: 0.207000000 - ota: 0.192000000 - satellite: 0.167000000 \ No newline at end of file From 7df4810a4c6734f3fda2b4f79e6e435a1203abb0 Mon Sep 17 00:00:00 2001 From: Oleksandr Halushchak Date: Mon, 3 Feb 2025 17:31:53 +0100 Subject: [PATCH 06/10] test fix --- scope3_methodology/test/test_api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scope3_methodology/test/test_api.py b/scope3_methodology/test/test_api.py index 8d746482..be4b27b0 100644 --- a/scope3_methodology/test/test_api.py +++ b/scope3_methodology/test/test_api.py @@ -30,6 +30,7 @@ TEST_NETWORKING_DEFAULTS_FILE = "defaults/networking-defaults.yaml" TEST_TRANSMISSION_RATE_DEFAULTS_FILE = "defaults/transmission_rate-defaults.yaml" TEST_DOCS_DEFAULTS_FILE = "defaults/docs-defaults.yaml" +TEST_BROADCASTING_DEFAULTS_FILE = "defaults/broadcasting-defaults.yaml" TEST_TRANSMISSION_RATE_HIGH = TransmissionRate.load_default_yaml( StreamingResolution.HIGH.value, @@ -239,7 +240,7 @@ def test_startup(self): ) docs_defs = docs_defaults - self.assertEqual(len(docs_defs), 34) + self.assertEqual(len(docs_defs), 41) def test_get_all_con_networking_connection_device_fixed_defaults(self): """Test get_all_networking_connection_device_defaults returns expected output""" From d7d710ae7c5121f54263ce6528896feb11d79323 Mon Sep 17 00:00:00 2001 From: rachitm022 Date: Mon, 30 Jun 2025 19:24:31 +0530 Subject: [PATCH 07/10] chore: SCOP 7149 Update linear tv defaults --- docs/snippets/defaults_broadcasting.mdx | 68 ++++++++-------------- docs/snippets/defaults_channel_mapping.mdx | 4 +- 2 files changed, 26 insertions(+), 46 deletions(-) diff --git a/docs/snippets/defaults_broadcasting.mdx b/docs/snippets/defaults_broadcasting.mdx index 2356788e..d4f93634 100644 --- a/docs/snippets/defaults_broadcasting.mdx +++ b/docs/snippets/defaults_broadcasting.mdx @@ -1,15 +1,15 @@ ``` -default_percent_broadcasting_type: +default_percent_tv_distribution_method: cable: 0.285 iptv: 0.252 ota: 0.262 satellite: 0.20 -default_percent_broadcasting_type_by_country: +default_percent_tv_distribution_method_by_country: AU: - cable: 0.12 - iptv: 0.53 - ota: 0.59 - satellite: 0.06 + cable: 0.092 + iptv: 0.408 + ota: 0.454 + satellite: 0.046 DE: cable: 0.416 iptv: 0.096 @@ -30,47 +30,27 @@ default_percent_broadcasting_type_by_country: iptv: 0.207 ota: 0.192 satellite: 0.167 -default_infrastructure_power_by_broadcasting_type_per_household_watt: - cable: TODO - iptv: TODO - ota: TODO - satellite: TODO -default_infrastructure_power_per_viewing_hour_by_broadcasting_type_watt: - cable: 31.9 - iptv: 152 - ota: 7.39 - satellite: 13 -default_number_of_channels_by_broadcasting_type: - cable: 150 - iptv: 150 - ota: 49 - satellite: 270 -default_number_of_channels_by_broadcasting_type_by_country: - DE: - cable: 40 - iptv: 300 - ota: 30 - satellite: 300 - FR: - cable: 0 - iptv: 150 - ota: 27 - satellite: 150 - GB: - cable: 250 - iptv: 40 - ota: 100 - satellite: 300 - US: - cable: 153 - iptv: 100 - ota: 50 - satellite: 340 +default_tv_signal_preparation_power_watt: 16700 +default_tv_signal_transmission_power_by_tv_distribution_method_watt: + cable: 16000 + ota: 165000 + satellite: 3150 +default_tv_signal_transmission_embodied_gco2e_per_second: 27 +default_tv_home_equipment_power_by_tv_distribution_method_watt: + cable: 16 + iptv: 21 + ota: 1 + satellite: 22 +default_tv_home_equipment_embodied_gco2e_per_second_by_tv_distribution_method: + cable: 0.0107 + iptv: 0.0107 + ota: 0.0036 + satellite: 0.0230 default_device_per_impression: app: 1 audio: 1 ctv-bvod: 1 - linear-tv: 0.625 + linear-tv: 0.667 streaming-video: 1 web: 1 -``` \ No newline at end of file +``` diff --git a/docs/snippets/defaults_channel_mapping.mdx b/docs/snippets/defaults_channel_mapping.mdx index bc4b9811..a2f1cfff 100644 --- a/docs/snippets/defaults_channel_mapping.mdx +++ b/docs/snippets/defaults_channel_mapping.mdx @@ -49,7 +49,7 @@ default_platform_ad_format_identifier_by_channel: audio: 30s-audio-digital-audio-phone app: interstitial-app-phone web: leaderboard-web-pc - linear-tv: 15s-video-ctv-bvod-tv + linear-tv: 30s-video-ctv-bvod-tv default_platform_ad_format_by_channel: dooh: Landscape - 1920x1080 Image social: Sponsored Post - 1080x1920 Image @@ -58,7 +58,7 @@ default_platform_ad_format_by_channel: audio: 30s Audio app: Interstitial - 1080x1920 Banner web: Leaderboard - 728x90 Banner - linear-tv: 15s Video + linear-tv: 30s Video default_property_average_imps_per_session_by_channel: social: 24 ctv-bvod: 8.256 From d54c5e6ad7225858c5367a1e0909543084735c2b Mon Sep 17 00:00:00 2001 From: rachitm022 Date: Mon, 30 Jun 2025 19:41:44 +0530 Subject: [PATCH 08/10] generated defaults --- defaults/docs-defaults.yaml | 174 ++++++++++++++++-------------------- 1 file changed, 77 insertions(+), 97 deletions(-) diff --git a/defaults/docs-defaults.yaml b/defaults/docs-defaults.yaml index 39e5344c..7894c769 100644 --- a/defaults/docs-defaults.yaml +++ b/defaults/docs-defaults.yaml @@ -23,37 +23,37 @@ defaults: mobile: 1.200000000 default_channel_by_device: pc: - - ctv-bvod - - social - - audio - - web - - streaming-video - - linear-tv + - ctv-bvod + - social + - audio + - web + - streaming-video + - linear-tv phone: - - social - - ctv-bvod - - audio - - app - - web - - streaming-video - - linear-tv + - social + - ctv-bvod + - audio + - app + - web + - streaming-video + - linear-tv smart-speaker: - - audio + - audio tablet: - - social - - ctv-bvod - - audio - - app - - web - - streaming-video - - linear-tv + - social + - ctv-bvod + - audio + - app + - web + - streaming-video + - linear-tv tv: - - linear-tv - - ctv-bvod - - social - - audio - - app - - streaming-video + - linear-tv + - ctv-bvod + - social + - audio + - app + - streaming-video default_consumer_device_request_size_bytes: app: 1000 audio: 1000 @@ -92,7 +92,7 @@ defaults: app: 1 audio: 1 ctv-bvod: 1 - linear-tv: 0.625000000 + linear-tv: 0.667000000 streaming-video: 1 web: 1 default_device_watts: @@ -122,16 +122,6 @@ defaults: default_emissions_per_creative_request_gco2_per_imp: 0.000300000 default_emissions_per_rtdp_request_gco2_per_imp: 0.010000000 default_image_compression_ratio: 10 - default_infrastructure_power_by_broadcasting_type_per_household_watt: - cable: TODO - iptv: TODO - ota: TODO - satellite: TODO - default_infrastructure_power_per_viewing_hour_by_broadcasting_type_watt: - cable: 31.900000000 - iptv: 152 - ota: 7.390000000 - satellite: 13 default_network_embodied_emissions_gco2e_per_kb: scope3: fixed: 0.000004430 @@ -140,63 +130,6 @@ defaults: fixed: 0.000004430 mobile: 0.000007970 default_non_primary_video_bitrate_kbps: 1200 - default_number_of_channels_by_broadcasting_type: - cable: 150 - iptv: 150 - ota: 49 - satellite: 270 - default_number_of_channels_by_broadcasting_type_by_country: - DE: - cable: 40 - iptv: 300 - ota: 30 - satellite: 300 - FR: - cable: 0 - iptv: 150 - ota: 27 - satellite: 150 - GB: - cable: 250 - iptv: 40 - ota: 100 - satellite: 300 - US: - cable: 153 - iptv: 100 - ota: 50 - satellite: 340 - default_percent_broadcasting_type: - cable: 0.285000000 - iptv: 0.252000000 - ota: 0.262000000 - satellite: 0.200000000 - default_percent_broadcasting_type_by_country: - AU: - cable: 0.120000000 - iptv: 0.530000000 - ota: 0.590000000 - satellite: 0.060000000 - DE: - cable: 0.416000000 - iptv: 0.096000000 - ota: 0.034000000 - satellite: 0.455000000 - FR: - cable: 0 - iptv: 0.460000000 - ota: 0.460000000 - satellite: 0.080000000 - GB: - cable: 0.089000000 - iptv: 0.275000000 - ota: 0.406000000 - satellite: 0.230000000 - US: - cable: 0.433000000 - iptv: 0.207000000 - ota: 0.192000000 - satellite: 0.167000000 default_percent_mobile: scope3: 23.600000000 sri: 10.000000000 @@ -319,12 +252,43 @@ defaults: YE: 11.392000000 ZA: 30.945000000 ZW: 33.026000000 + default_percent_tv_distribution_method: + cable: 0.285000000 + iptv: 0.252000000 + ota: 0.262000000 + satellite: 0.200000000 + default_percent_tv_distribution_method_by_country: + AU: + cable: 0.092000000 + iptv: 0.408000000 + ota: 0.454000000 + satellite: 0.046000000 + DE: + cable: 0.416000000 + iptv: 0.096000000 + ota: 0.034000000 + satellite: 0.455000000 + FR: + cable: 0 + iptv: 0.460000000 + ota: 0.460000000 + satellite: 0.080000000 + GB: + cable: 0.089000000 + iptv: 0.275000000 + ota: 0.406000000 + satellite: 0.230000000 + US: + cable: 0.433000000 + iptv: 0.207000000 + ota: 0.192000000 + satellite: 0.167000000 default_platform_ad_format_by_channel: app: Interstitial - 1080x1920 Banner audio: 30s Audio ctv-bvod: 15s Video dooh: Landscape - 1920x1080 Image - linear-tv: 15s Video + linear-tv: 30s Video social: Sponsored Post - 1080x1920 Image streaming-video: 15s Video web: Leaderboard - 728x90 Banner @@ -333,7 +297,7 @@ defaults: audio: 30s-audio-digital-audio-phone ctv-bvod: 15s-video-ctv-bvod-tv dooh: landscape-dooh - linear-tv: 15s-video-ctv-bvod-tv + linear-tv: 30s-video-ctv-bvod-tv social: 1080-1920-sponsored-post-social-phone streaming-video: 15s-video-streaming-video-pc web: leaderboard-web-pc @@ -364,6 +328,22 @@ defaults: streaming-video: 0.049000000 web: 0.049000000 default_time_in_view_seconds: 6 + default_tv_home_equipment_embodied_gco2e_per_second_by_tv_distribution_method: + cable: 0.010700000 + iptv: 0.010700000 + ota: 0.003600000 + satellite: 0.023000000 + default_tv_home_equipment_power_by_tv_distribution_method_watt: + cable: 16 + iptv: 21 + ota: 1 + satellite: 22 + default_tv_signal_preparation_power_watt: 16700 + default_tv_signal_transmission_embodied_gco2e_per_second: 27 + default_tv_signal_transmission_power_by_tv_distribution_method_watt: + cable: 16000 + ota: 165000 + satellite: 3150 default_usage_kwh_per_gb: scope3: fixed: 0.030000000 From 0ec6df431d425ea099b6699ddecdbc15ec78aaa6 Mon Sep 17 00:00:00 2001 From: rachitm022 Date: Mon, 30 Jun 2025 21:09:51 +0530 Subject: [PATCH 09/10] fix test --- scope3_methodology/test/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scope3_methodology/test/test_api.py b/scope3_methodology/test/test_api.py index be4b27b0..933107ec 100644 --- a/scope3_methodology/test/test_api.py +++ b/scope3_methodology/test/test_api.py @@ -240,7 +240,7 @@ def test_startup(self): ) docs_defs = docs_defaults - self.assertEqual(len(docs_defs), 41) + self.assertEqual(len(docs_defs), 42) def test_get_all_con_networking_connection_device_fixed_defaults(self): """Test get_all_networking_connection_device_defaults returns expected output""" From edea5f989dcd3376d67dfc92da78ec65bd9be3c0 Mon Sep 17 00:00:00 2001 From: rachitm022 Date: Mon, 30 Jun 2025 21:37:18 +0530 Subject: [PATCH 10/10] multiply pct by 100 --- defaults/docs-defaults.yaml | 46 ++++++++++++------------- docs/snippets/defaults_broadcasting.mdx | 46 ++++++++++++------------- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/defaults/docs-defaults.yaml b/defaults/docs-defaults.yaml index 7894c769..9d91b546 100644 --- a/defaults/docs-defaults.yaml +++ b/defaults/docs-defaults.yaml @@ -253,36 +253,36 @@ defaults: ZA: 30.945000000 ZW: 33.026000000 default_percent_tv_distribution_method: - cable: 0.285000000 - iptv: 0.252000000 - ota: 0.262000000 - satellite: 0.200000000 + cable: 28.500000000 + iptv: 25.200000000 + ota: 26.200000000 + satellite: 20 default_percent_tv_distribution_method_by_country: AU: - cable: 0.092000000 - iptv: 0.408000000 - ota: 0.454000000 - satellite: 0.046000000 + cable: 9.200000000 + iptv: 40.800000000 + ota: 45.400000000 + satellite: 4.600000000 DE: - cable: 0.416000000 - iptv: 0.096000000 - ota: 0.034000000 - satellite: 0.455000000 + cable: 41.600000000 + iptv: 9.600000000 + ota: 3.400000000 + satellite: 45.500000000 FR: cable: 0 - iptv: 0.460000000 - ota: 0.460000000 - satellite: 0.080000000 + iptv: 46 + ota: 46 + satellite: 8 GB: - cable: 0.089000000 - iptv: 0.275000000 - ota: 0.406000000 - satellite: 0.230000000 + cable: 8.900000000 + iptv: 27.500000000 + ota: 40.600000000 + satellite: 23 US: - cable: 0.433000000 - iptv: 0.207000000 - ota: 0.192000000 - satellite: 0.167000000 + cable: 43.300000000 + iptv: 20.700000000 + ota: 19.200000000 + satellite: 16.700000000 default_platform_ad_format_by_channel: app: Interstitial - 1080x1920 Banner audio: 30s Audio diff --git a/docs/snippets/defaults_broadcasting.mdx b/docs/snippets/defaults_broadcasting.mdx index d4f93634..266a208e 100644 --- a/docs/snippets/defaults_broadcasting.mdx +++ b/docs/snippets/defaults_broadcasting.mdx @@ -1,35 +1,35 @@ ``` default_percent_tv_distribution_method: - cable: 0.285 - iptv: 0.252 - ota: 0.262 - satellite: 0.20 + cable: 28.5 + iptv: 25.2 + ota: 26.2 + satellite: 20 default_percent_tv_distribution_method_by_country: AU: - cable: 0.092 - iptv: 0.408 - ota: 0.454 - satellite: 0.046 + cable: 9.2 + iptv: 40.8 + ota: 45.4 + satellite: 4.6 DE: - cable: 0.416 - iptv: 0.096 - ota: 0.034 - satellite: 0.455 + cable: 41.6 + iptv: 9.6 + ota: 3.4 + satellite: 45.5 FR: cable: 0 - iptv: 0.46 - ota: 0.46 - satellite: 0.08 + iptv: 46 + ota: 46 + satellite: 8 GB: - cable: 0.089 - iptv: 0.275 - ota: 0.406 - satellite: 0.23 + cable: 8.9 + iptv: 27.5 + ota: 40.6 + satellite: 23 US: - cable: 0.433 - iptv: 0.207 - ota: 0.192 - satellite: 0.167 + cable: 43.3 + iptv: 20.7 + ota: 19.2 + satellite: 16.7 default_tv_signal_preparation_power_watt: 16700 default_tv_signal_transmission_power_by_tv_distribution_method_watt: cable: 16000