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

Add Honduras (real-time total production) #2136

Merged
merged 6 commits into from Jan 4, 2020
Merged

Conversation

alixunderplatz
Copy link
Collaborator

Regarding the regions in Central America, we were still lacking electricity production of Honduras (HN).
This data however is included on the ENTE-website as real-time "total generation".
https://www.enteoperador.org/flujos-regionales-en-tiempo-real/

I have used this data for the category "unknown" with an average CO2-intensity of 316 g/kWh as per IEA 2017.
I implemnted fetch_production for HN in the existing ENTE parser, which is used for the Central American exchange flows.

Sample output:

fetch_production(HN) ->
{'zoneKey': 'HN', 'datetime': datetime.datetime(2020, 1, 4, 2, 38, tzinfo=tzstr('UTC-6')), 'production': {'unknown': 918.0}, 'source': 'enteoperador.org'}
fetch_exchange(CR, PA) ->
{'sortedZoneKeys': 'CR->PA', 'datetime': datetime.datetime(2020, 1, 4, 2, 38, tzinfo=tzstr('UTC-6')), 'netFlow': -39.4, 'source': 'enteoperador.org'}
fetch_exchange(CR, NI) ->
{'sortedZoneKeys': 'CR->NI', 'datetime': datetime.datetime(2020, 1, 4, 2, 38, tzinfo=tzstr('UTC-6')), 'netFlow': 49.0, 'source': 'enteoperador.org'}
fetch_exchange(HN, NI) ->
{'sortedZoneKeys': 'HN->NI', 'datetime': datetime.datetime(2020, 1, 4, 2, 38, tzinfo=tzstr('UTC-6')), 'netFlow': 33.0, 'source': 'enteoperador.org'}
fetch_exchange(GT, MX) ->
{'sortedZoneKeys': 'GT->MX', 'datetime': datetime.datetime(2020, 1, 4, 2, 38, tzinfo=tzstr('UTC-6')), 'netFlow': -86.2, 'source': 'enteoperador.org'}
fetch_exchange(GT, SV) ->
{'sortedZoneKeys': 'GT->SV', 'datetime': datetime.datetime(2020, 1, 4, 2, 38, tzinfo=tzstr('UTC-6')), 'netFlow': 130.0, 'source': 'enteoperador.org'}
fetch_exchange(GT, HN) ->
{'sortedZoneKeys': 'GT->HN', 'datetime': datetime.datetime(2020, 1, 4, 2, 38, tzinfo=tzstr('UTC-6')), 'netFlow': 43.9, 'source': 'enteoperador.org'}
fetch_exchange(HN, SV) ->
{'sortedZoneKeys': 'HN->SV', 'datetime': datetime.datetime(2020, 1, 4, 2, 38, tzinfo=tzstr('UTC-6')), 'netFlow': 12.3, 'source': 'enteoperador.org'}

@corradio corradio merged commit ade2d85 into master Jan 4, 2020
@corradio corradio deleted the Production_of_Honduras branch January 4, 2020 09:10
con-cat pushed a commit to con-cat/electricitymap-contrib that referenced this pull request May 18, 2021
* Fetch production for Honduras in ENTE.py

Fetches 'unknown' production of Honduras.

* Add "unknown"-mix CO2 intensity

Based on yearly production data of 2017 by IEA

* Add HN to zones.json

* Add bounding box for HN

* Fix bounding box corner

* Add HN sources to README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants