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 solar to #1717

merged 1 commit into from Dec 26, 2018


None yet
2 participants
Copy link

commented Dec 26, 2018

resolves #1716

  • include fetched solar data for two large-scale PV plants
    • set solar from 'solar': None to hour.get(...) ... The two plants were already incuded in the "thermal" mapping. I hope this is how it should be done.
    • For the past, it seems that solar experienced similar issues as wind and hydro with data gaps (often for every 2nd hour)... maybe a similar processing as for wind and hydro should be used at some point to set solar to None instead of 0 when data is missing:
if isnan(solar):
            solar = None

... 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': ''}


  • add missing power plant "GENERACIÓN DE EMERGENCIA AES ANDRÉS" to mapping (auxiliary gas turbines commisioned on 1st December, see this source)

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},

[{'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},

- activate solar
- add new gas power plant to mapping

@alixunderplatz alixunderplatz requested review from systemcatch and corradio Dec 26, 2018

@alixunderplatz alixunderplatz changed the title Update Add solar to Dec 26, 2018


This comment has been minimized.

Copy link

commented Dec 26, 2018


@corradio corradio merged commit 88372d6 into master Dec 26, 2018

1 check passed

ci/circleci Your tests passed on CircleCI!

@corradio corradio deleted the DominicanRep-solar-update branch Dec 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.