Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
resolves #1716
... one of you Pros should to implement this ;)
Sample output for hour 8 of today:
Solar in source 0.72 MW and 1.43 MW:
Total solar output 2.15 MW:
{'zoneKey': 'DO', 'datetime': datetime.datetime(2018, 12, 26, 7, 0, tzinfo=tzfile('America/Virgin')), 'production': {'biomass': 29.66, 'coal': 306.78999999999996, 'gas': 791.6300000000001, 'hydro': 48.24, 'nuclear': 0.0, 'oil': 357.61, 'solar': 2.15, 'wind': 106.69, 'geothermal': 0.0, 'unknown': 0.0}, 'storage': {'hydro': None}, 'source': 'oc.org.do'}
Extra:
Before:
GENERACIÓN DE EMERGENCIA AES ANDRÉS is missing from the DO plant mapping!
[{'zoneKey': 'DO', 'datetime': datetime.datetime(2018, 12, 26, 0, 0, tzinfo=tzfile('America/Virgin')), 'production': {'biomass': 30.0, 'coal': 304.0, 'gas': 736.72, 'hydro': 200.75, 'nuclear': 0.0, 'oil': 505.92999999999995, 'solar': 0.0, 'wind': None, 'geothermal': 0.0, 'unknown': 112.0},
After:
[{'zoneKey': 'DO', 'datetime': datetime.datetime(2018, 12, 26, 0, 0, tzinfo=tzfile('America/Virgin')), 'production': {'biomass': 30.0, 'coal': 304.0, 'gas': 848.72, 'hydro': 200.75, 'nuclear': 0.0, 'oil': 505.92999999999995, 'solar': 0.0, 'wind': None, 'geothermal': 0.0, 'unknown': 0.0},