-
Notifications
You must be signed in to change notification settings - Fork 961
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
Split Italy #1604
Split Italy #1604
Conversation
@corradio Looks very good so far! |
@alixunderplatz what do you think about both SACOAC/SACODC <-> IT-SAR: should we sum them? |
Can't wait to see it live. We should also investigate what is the yearly average "unknown" fuel mix in each of these region to refine carbon intensities! |
@corradio regarding your second question: unfortunately, we'd have to summarize the bidding zones, because some of the micro zones have significant generation (like +2GW in Brindisi and Rossano). |
@corradio regarding your first question: Maybe we get the everything on the mainland right, and then continue with Sardinia in another issue/PR. The grid infrastructure is a bit complicated and I can't quickly answer your question before the weekend. |
Just a quick summary regarding Sardinia for what you see in "Cross-Border physical flow" on ENTSO-E selecting "border-bidding zone": "IT-Centre-North-IT-SACODC" is the exchange between IT-CNO and the DC-cable to Sardinia/Corsica. Carbon intensity on Corsica will remain unknown due to a lack of generation data. Maybe handling SACODC as pseudo-zone for the map will make things a bit easier? Sorry if this complicates matters even more :/ |
@alixunderplatz I've left out the SACODC/AC for now. |
@@ -34,7 +34,7 @@ stages: | |||
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics | |||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | |||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | |||
pylint -E parsers/*.py | |||
pylint -E parsers/*.py -d unsubscriptable-object,unsupported-assignment-operation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was this changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because of this: pylint-dev/pylint#1498
I found |
@maxbellec did you test that it returns exactly the same results? It's counter-productive if I now have to review your changes |
yes the ouput is exactly the same for |
perfect! Thanks for cleaning up :)
…On Wed, Sep 19, 2018 at 2:34 PM maxbellec ***@***.***> wrote:
yes the ouput is exactly the same for fetch_production('IT-SIC')
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1604 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABlEKNDlgKtUIJUqZ6uWj4qRq2LL9oHYks5ucjnOgaJpZM4Wrwo5>
.
|
Sorry, I know generally it's better to comment than change directly but I thought the entire function had to be re-written if we wanted something clean. |
function readNDJSON(path) { | ||
return fs.readFileSync(path, 'utf8').split('\n') | ||
.filter(d => d !== '') | ||
.map(JSON.parse); | ||
} | ||
|
||
let zones = readNDJSON('build/zonegeometries.json'); | ||
if (args.length > 0) { | ||
zones = zones.filter(d => d.properties.zoneName === args[0]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
haven't checked the mappings yet though |
yes that's right. |
@corradio micro-zones are summed correctly with the larger zones. All exchanges are included |
@alixunderplatz great! Can you approve the PR then? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
Ref #1029
Superseeds #1536
Needs to be done: