CA-QC Notes
#3239
Replies: 1 comment
-
Thanks for creating this @pjakobsen! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is intended as a starting point to build, repair, or contribute in some other way to the completion of the map for Canada. It's a reference manual for myself as I learn to build and maintain the Quebec parser. Perhaps someone else will find it useful.
Motivation
Canada has one of the cleanest electricity grids in the world. Canada constitutes 6.1% of planetary landmass, second only to Russia at 11%. This translates into an abundance of moving water that drive hydro electric dams.
Some key facts from Natural Resources Canada:
Discussions on Github
Quebec
#1521
#3218
#3237
#3254
Conda vs. Pyenv
Both pyenv and conda both provide ways to specify the Python version to create new virtual environments. This is a requirement if not running python 3.6 or 3.7
After
brew install miniconda
it is quite simple to install and use multiple python versions with Conda.Then run
Testing Parser while working
To test a single parser while working on it:
https://github.com/tmrowco/electricitymap-contrib/wiki/Set-up-local-environment
Regions
Regions in Canada can be found by linking to the raw zones.json file. (for example, using an interactive iPython terminal)
Contributors
Not all contributors are listed in the zones.json files. To find out more, look for each individual parser and check commit history. For example, Alberta - CA_AB
Province Notes
These notes are a summary from various discussions
Quebec
Hydro-Québec says the "autres" category in its source (production.json) is "Sum of the estimated output from facilities belonging to independent power producers using different sources (biomass, biogas or hydropower), from whom Hydro‑Québec can purchase some or all of the output." Rather than putting this category in "unknown", I would put this in "biomass", since it's all renewable, and mostly biomass.
Québec's thermal generation is at Bécancour gas turbine. It is reported with a delay, and data source returning 0.0 can indicate either no generation or not-yet-reported generation. To handle this, if reported value is 0.0, overwrite it to None, so that backend can know this is not entirely reliable and might be updated later.
Set geothermal to 0 as there are no geothermal electricity generation stations in Québec (and all of Canada for that matter).
Quick Intro to Canadian Electricity Market
More to come .....
The Missing Parsers (and why).
More to come....
Github Tips
This is a large project with many collaborators. There are features of Github used here that may be confusing for someone used to working on smaller projects . Here are some quick tips:
Beta Was this translation helpful? Give feedback.
All reactions