Jump to content

File:Gas contracts Turkey.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 576 × 432 pixels, file size: 78 KB)

Summary

Description
English: Contracts for gas supply to Turkey
Date
Source Own work
Author Chidgk1
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

Source code
import numpy as np
import matplotlib.pyplot as plt
import sys

lang = "en"
#lang = "tr"

Azerbaijan_Shah_Deniz1  = np.array([11    ,11    ,0     ,0     ,0     ,0     ,0     ,0     ,0     ,0     ,0     ])
Algeria                 = np.array([4.444 ,4.444 ,0     ,0     ,0     ,0     ,0     ,0     ,0     ,0     ,0     ])
Russia_Bluestream       = np.array([16    ,16    ,16    ,0     ,0     ,0     ,0     ,0     ,0     ,0     ,0     ])
Russia_Turkstream_BOTAS = np.array([5.75  ,5.75  ,5.75  ,0     ,0     ,0     ,0     ,0     ,0     ,0     ,0     ])
Iran                    = np.array([9.6   ,9.6   ,9.6   ,9.6   ,0     ,0     ,0     ,0     ,0     ,0     ,0     ])
Azerbaijan_Shah_Deniz2  = np.array([6     ,6     ,6     ,6     ,6     ,6     ,6     ,6     ,6     ,6     ,6     ])
Oman                    = np.array([1.4   ,1.4   ,1.4   ,1.4   ,1.4   ,1.4   ,1.4   ,1.4   ,1.4   ,1.4   ,1.4   ])
year                    =          ['2023','2024','2025','2026','2027','2028','2029','2030','2031','2032','2033']


if lang == "en":
 plt.title ("Contracts for gas supply to Turkey")
 plt.ylabel("Billion cubic metres")
 plt.xlabel("Sources: oxfordenergy.org/publications/turkeys-supply-demand-balance-and-renewal-of-its-ltcs/ page 22 \nreuters.com/business/energy/turkey-seals-11-bcm-natural-gas-accord-with-azerbaijan-minister-2021-10-15/ \nreuters.com/business/energy/turkey-signs-10-yr-gas-deal-with-oman-turkish-energy-minister-2023-01-30/", fontsize = 'x-small', color = 'grey')
 label_AZ_SD2   = "Azerbaijan Shah Deniz 2"
 label_OM       = "Oman"
 label_IR       = "Iran"
 label_RU_TS_GV = "Russia Turkstream"
 label_RU_BS    = "Russia Bluestream"
 label_AL       = "Algeria"
 label_AZ_SD1   = "Azerbaijan Shah Deniz 1"
elif lang == "tr":
 plt.title ("Türkiyenin gaz kontratları")
 plt.ylabel("Milyar metre küp")
 plt.xlabel("Kaynaklar: oxfordenergy.org/publications/turkeys-supply-demand-balance-and-renewal-of-its-ltcs/ sayfa 22 \nreuters.com/business/energy/turkey-seals-11-bcm-natural-gas-accord-with-azerbaijan-minister-2021-10-15/ \nreuters.com/business/energy/turkey-signs-10-yr-gas-deal-with-oman-turkish-energy-minister-2023-01-30/", fontsize = 'x-small', color = 'grey')
 label_AZ_SD2   = "Azarbeycan Şahdeniz 2"
 label_OM       = "Umman"
 label_IR       = "İran"
 label_RU_TS_GV = "Rusya TürkAkım"
 label_RU_BS    = "Rusya MaviAkım"
 label_AL       = "Cezayir"
 label_AZ_SD1   = "Azarbeycan Şahdeniz 1"
else:
 print("Unknown language " + lang)
 sys.exit()

#Don't need the year dash marks
plt.tick_params(bottom=False,left=False)

#Put last to finish at bottom
plt.bar(year, Azerbaijan_Shah_Deniz2,                                                                                                             width=1, color="yellow")
plt.bar(year, Oman,                      bottom=Azerbaijan_Shah_Deniz2,                                                                           width=1, color="pink") 
plt.bar(year, Iran,                      bottom=Azerbaijan_Shah_Deniz2+Oman,                                                                      width=1, color="green") 
plt.bar(year, Russia_Bluestream,         bottom=Azerbaijan_Shah_Deniz2+Oman+Iran,                                                                 width=1, color="blue")    
plt.bar(year, Russia_Turkstream_BOTAS,   bottom=Azerbaijan_Shah_Deniz2+Oman+Iran+Russia_Bluestream,                                               width=1, color="red")                                   
plt.bar(year, Azerbaijan_Shah_Deniz1,    bottom=Azerbaijan_Shah_Deniz2+Oman+Iran+Russia_Bluestream+Russia_Turkstream_BOTAS,                       width=1, color="yellow")
plt.bar(year, Algeria,                   bottom=Azerbaijan_Shah_Deniz2+Oman+Iran+Russia_Bluestream+Russia_Turkstream_BOTAS+Azerbaijan_Shah_Deniz1,width=1, color="silver")

plt.text(3.6 ,2  ,label_AZ_SD2)
plt.text(3.6 ,6  ,label_OM)
plt.text(3.6 ,11 ,label_IR)
plt.text(3.6 ,30 ,label_RU_BS)
plt.text(3.6 ,33 ,label_RU_TS_GV)
plt.text(3.6 ,44 ,label_AZ_SD1)
plt.text(3.6 ,52 ,label_AL)

#Horizontal years looked a bit cramped
#plt.xticks(rotation = 45)

#Avoid chopping off labels
plt.tight_layout()

# Save graphic
if lang == "en":
 plt.savefig('gas_contracts_Turkey.svg')
elif lang == "tr":
 plt.savefig("gaz_kontratları_Türkiye.svg")
else:
 print("Unknown language " + lang)
 sys.exit()  
 
# Show graphic
plt.show()

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Contracts for gas supply to Turkey

Items portrayed in this file

depicts

8 June 2022

image/svg+xml

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current15:31, 30 January 2023Thumbnail for version as of 15:31, 30 January 2023576 × 432 (78 KB)Chidgk1added Oman and source
08:46, 14 December 2022Thumbnail for version as of 08:46, 14 December 2022576 × 432 (69 KB)Chidgk1remove 2022, remove private as unclear, make bluestream blue, new cite for new AZ SD1 contract
14:14, 11 December 2022Thumbnail for version as of 14:14, 11 December 2022576 × 432 (69 KB)Chidgk1correct TS and BS BOTAŞ to end of 2025, correct page number, don't cut off source
08:18, 4 July 2022Thumbnail for version as of 08:18, 4 July 2022576 × 432 (69 KB)Chidgk1russia similar color - slanted years for reradability
11:03, 8 June 2022Thumbnail for version as of 11:03, 8 June 2022576 × 432 (69 KB)Chidgk1Uploaded own work with UploadWizard

The following page uses this file:

Metadata