Skip to content

Commit 6eeb112

Browse files
chore: SCOP-7149 update linear tv related defaults (#248)
* chore: SCOP-4416 linear-tv defaults * no au defaults * zeroes * fmt * fmt * test fix * chore: SCOP 7149 Update linear tv defaults * generated defaults * fix test * multiply pct by 100 --------- Co-authored-by: Oleksandr Halushchak <ohalushchak@scope3.com>
1 parent a08382f commit 6eeb112

5 files changed

Lines changed: 162 additions & 24 deletions

File tree

defaults/docs-defaults.yaml

Lines changed: 88 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ defaults:
1414
app: 140
1515
audio: 1500
1616
ctv-bvod: 2580
17+
linear-tv: 2580
1718
social: 240
1819
streaming-video: 300
1920
web: 320
@@ -22,33 +23,37 @@ defaults:
2223
mobile: 1.200000000
2324
default_channel_by_device:
2425
pc:
25-
- ctv-bvod
26-
- social
27-
- audio
28-
- web
29-
- streaming-video
26+
- ctv-bvod
27+
- social
28+
- audio
29+
- web
30+
- streaming-video
31+
- linear-tv
3032
phone:
31-
- social
32-
- ctv-bvod
33-
- audio
34-
- app
35-
- web
36-
- streaming-video
33+
- social
34+
- ctv-bvod
35+
- audio
36+
- app
37+
- web
38+
- streaming-video
39+
- linear-tv
3740
smart-speaker:
38-
- audio
41+
- audio
3942
tablet:
40-
- social
41-
- ctv-bvod
42-
- audio
43-
- app
44-
- web
45-
- streaming-video
43+
- social
44+
- ctv-bvod
45+
- audio
46+
- app
47+
- web
48+
- streaming-video
49+
- linear-tv
4650
tv:
47-
- ctv-bvod
48-
- social
49-
- audio
50-
- app
51-
- streaming-video
51+
- linear-tv
52+
- ctv-bvod
53+
- social
54+
- audio
55+
- app
56+
- streaming-video
5257
default_consumer_device_request_size_bytes:
5358
app: 1000
5459
audio: 1000
@@ -62,6 +67,7 @@ defaults:
6267
audio: phone
6368
ctv-bvod: tv
6469
dooh: tv
70+
linear-tv: tv
6571
social: phone
6672
streaming-video: pc
6773
web: pc
@@ -82,6 +88,13 @@ defaults:
8288
phone: 1920
8389
tablet: 2048
8490
tv: 1080
91+
default_device_per_impression:
92+
app: 1
93+
audio: 1
94+
ctv-bvod: 1
95+
linear-tv: 0.667000000
96+
streaming-video: 1
97+
web: 1
8598
default_device_watts:
8699
scope3:
87100
pc: 53.200000000
@@ -239,11 +252,43 @@ defaults:
239252
YE: 11.392000000
240253
ZA: 30.945000000
241254
ZW: 33.026000000
255+
default_percent_tv_distribution_method:
256+
cable: 28.500000000
257+
iptv: 25.200000000
258+
ota: 26.200000000
259+
satellite: 20
260+
default_percent_tv_distribution_method_by_country:
261+
AU:
262+
cable: 9.200000000
263+
iptv: 40.800000000
264+
ota: 45.400000000
265+
satellite: 4.600000000
266+
DE:
267+
cable: 41.600000000
268+
iptv: 9.600000000
269+
ota: 3.400000000
270+
satellite: 45.500000000
271+
FR:
272+
cable: 0
273+
iptv: 46
274+
ota: 46
275+
satellite: 8
276+
GB:
277+
cable: 8.900000000
278+
iptv: 27.500000000
279+
ota: 40.600000000
280+
satellite: 23
281+
US:
282+
cable: 43.300000000
283+
iptv: 20.700000000
284+
ota: 19.200000000
285+
satellite: 16.700000000
242286
default_platform_ad_format_by_channel:
243287
app: Interstitial - 1080x1920 Banner
244288
audio: 30s Audio
245289
ctv-bvod: 15s Video
246290
dooh: Landscape - 1920x1080 Image
291+
linear-tv: 30s Video
247292
social: Sponsored Post - 1080x1920 Image
248293
streaming-video: 15s Video
249294
web: Leaderboard - 728x90 Banner
@@ -252,6 +297,7 @@ defaults:
252297
audio: 30s-audio-digital-audio-phone
253298
ctv-bvod: 15s-video-ctv-bvod-tv
254299
dooh: landscape-dooh
300+
linear-tv: 30s-video-ctv-bvod-tv
255301
social: 1080-1920-sponsored-post-social-phone
256302
streaming-video: 15s-video-streaming-video-pc
257303
web: leaderboard-web-pc
@@ -260,13 +306,15 @@ defaults:
260306
audio: 100
261307
ctv-bvod: 100
262308
dooh: 100
309+
linear-tv: 100
263310
social: 100
264311
streaming-video: 100
265312
web: 100
266313
default_property_average_imps_per_session_by_channel:
267314
app: 14
268315
audio: 4.800000000
269316
ctv-bvod: 8.256000000
317+
linear-tv: 8.256000000
270318
social: 24
271319
streaming-video: 1
272320
web: 32
@@ -275,10 +323,27 @@ defaults:
275323
audio: 0.049000000
276324
ctv-bvod: 0.280000000
277325
dooh: 0.049000000
326+
linear-tv: 0.280000000
278327
social: 0.150000000
279328
streaming-video: 0.049000000
280329
web: 0.049000000
281330
default_time_in_view_seconds: 6
331+
default_tv_home_equipment_embodied_gco2e_per_second_by_tv_distribution_method:
332+
cable: 0.010700000
333+
iptv: 0.010700000
334+
ota: 0.003600000
335+
satellite: 0.023000000
336+
default_tv_home_equipment_power_by_tv_distribution_method_watt:
337+
cable: 16
338+
iptv: 21
339+
ota: 1
340+
satellite: 22
341+
default_tv_signal_preparation_power_watt: 16700
342+
default_tv_signal_transmission_embodied_gco2e_per_second: 27
343+
default_tv_signal_transmission_power_by_tv_distribution_method_watt:
344+
cable: 16000
345+
ota: 165000
346+
satellite: 3150
282347
default_usage_kwh_per_gb:
283348
scope3:
284349
fixed: 0.030000000

docs/calculations.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import TimeInViewDefaults from "/snippets/defaults_time_in_view.mdx";
1212
import AdPlatformDefaults from "/snippets/defaults_ad_platform.mdx";
1313
import NetworkTrafficDefaults from "/snippets/defaults_network_traffic.mdx";
1414
import ChannelMappingDefaults from "/snippets/defaults_channel_mapping.mdx";
15+
import BroadcastingDefaults from "/snippets/defaults_broadcasting.mdx";
1516

1617
# Detailed walkthrough of calculations
1718

@@ -226,6 +227,10 @@ Observations from various channels
226227

227228
<ChannelMappingDefaults />
228229

230+
### Broadcasting defaults
231+
232+
<BroadcastingDefaults />
233+
229234
## Lookups from external sources
230235

231236
### Carbon intensity by country, region, and UTC Date/Time
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
```
2+
default_percent_tv_distribution_method:
3+
cable: 28.5
4+
iptv: 25.2
5+
ota: 26.2
6+
satellite: 20
7+
default_percent_tv_distribution_method_by_country:
8+
AU:
9+
cable: 9.2
10+
iptv: 40.8
11+
ota: 45.4
12+
satellite: 4.6
13+
DE:
14+
cable: 41.6
15+
iptv: 9.6
16+
ota: 3.4
17+
satellite: 45.5
18+
FR:
19+
cable: 0
20+
iptv: 46
21+
ota: 46
22+
satellite: 8
23+
GB:
24+
cable: 8.9
25+
iptv: 27.5
26+
ota: 40.6
27+
satellite: 23
28+
US:
29+
cable: 43.3
30+
iptv: 20.7
31+
ota: 19.2
32+
satellite: 16.7
33+
default_tv_signal_preparation_power_watt: 16700
34+
default_tv_signal_transmission_power_by_tv_distribution_method_watt:
35+
cable: 16000
36+
ota: 165000
37+
satellite: 3150
38+
default_tv_signal_transmission_embodied_gco2e_per_second: 27
39+
default_tv_home_equipment_power_by_tv_distribution_method_watt:
40+
cable: 16
41+
iptv: 21
42+
ota: 1
43+
satellite: 22
44+
default_tv_home_equipment_embodied_gco2e_per_second_by_tv_distribution_method:
45+
cable: 0.0107
46+
iptv: 0.0107
47+
ota: 0.0036
48+
satellite: 0.0230
49+
default_device_per_impression:
50+
app: 1
51+
audio: 1
52+
ctv-bvod: 1
53+
linear-tv: 0.667
54+
streaming-video: 1
55+
web: 1
56+
```

docs/snippets/defaults_channel_mapping.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,24 @@ default_channel_by_device:
77
- app
88
- web
99
- streaming-video
10+
- linear-tv
1011
tablet:
1112
- social
1213
- ctv-bvod
1314
- audio
1415
- app
1516
- web
1617
- streaming-video
18+
- linear-tv
1719
pc:
1820
- ctv-bvod
1921
- social
2022
- audio
2123
- web
2224
- streaming-video
25+
- linear-tv
2326
tv:
27+
- linear-tv
2428
- ctv-bvod
2529
- social
2630
- audio
@@ -36,6 +40,7 @@ default_device_by_channel:
3640
app: phone
3741
web: pc
3842
dooh: tv
43+
linear-tv: tv
3944
default_platform_ad_format_identifier_by_channel:
4045
dooh: landscape-dooh
4146
social: 1080-1920-sponsored-post-social-phone
@@ -44,6 +49,7 @@ default_platform_ad_format_identifier_by_channel:
4449
audio: 30s-audio-digital-audio-phone
4550
app: interstitial-app-phone
4651
web: leaderboard-web-pc
52+
linear-tv: 30s-video-ctv-bvod-tv
4753
default_platform_ad_format_by_channel:
4854
dooh: Landscape - 1920x1080 Image
4955
social: Sponsored Post - 1080x1920 Image
@@ -52,13 +58,15 @@ default_platform_ad_format_by_channel:
5258
audio: 30s Audio
5359
app: Interstitial - 1080x1920 Banner
5460
web: Leaderboard - 728x90 Banner
61+
linear-tv: 30s Video
5562
default_property_average_imps_per_session_by_channel:
5663
social: 24
5764
ctv-bvod: 8.256
5865
streaming-video: 1
5966
audio: 4.8
6067
app: 14
6168
web: 32
69+
linear-tv: 8.256
6270
default_property_ad_funded_percentage_by_channel:
6371
dooh: 100
6472
social: 100
@@ -67,13 +75,15 @@ default_property_ad_funded_percentage_by_channel:
6775
audio: 100
6876
app: 100
6977
web: 100
78+
linear-tv: 100
7079
default_average_seconds_per_session_excluding_ads_by_channel:
7180
social: 240
7281
ctv-bvod: 2580
7382
streaming-video: 300
7483
audio: 1500
7584
app: 140
7685
web: 320
86+
linear-tv: 2580
7787
default_average_data_kb_per_session_seconds_excluding_ads_by_channel:
7888
social: 38
7989
app: 29.5
@@ -86,4 +96,5 @@ default_property_g_per_imp_by_channel:
8696
audio: 0.049
8797
app: 0.049
8898
web: 0.049
99+
linear-tv: 0.280
89100
```

scope3_methodology/test/test_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
TEST_NETWORKING_DEFAULTS_FILE = "defaults/networking-defaults.yaml"
3131
TEST_TRANSMISSION_RATE_DEFAULTS_FILE = "defaults/transmission_rate-defaults.yaml"
3232
TEST_DOCS_DEFAULTS_FILE = "defaults/docs-defaults.yaml"
33+
TEST_BROADCASTING_DEFAULTS_FILE = "defaults/broadcasting-defaults.yaml"
3334

3435
TEST_TRANSMISSION_RATE_HIGH = TransmissionRate.load_default_yaml(
3536
StreamingResolution.HIGH.value,
@@ -239,7 +240,7 @@ def test_startup(self):
239240
)
240241

241242
docs_defs = docs_defaults
242-
self.assertEqual(len(docs_defs), 34)
243+
self.assertEqual(len(docs_defs), 42)
243244

244245
def test_get_all_con_networking_connection_device_fixed_defaults(self):
245246
"""Test get_all_networking_connection_device_defaults returns expected output"""

0 commit comments

Comments
 (0)