We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Discuss type for renewable category for Ukraine UA
Currently, there is no breakdown for the Ukrainian renewable category provided on https://ua.energy/diyalnist/dyspetcherska-informatsiya/dobovyj-grafik-vyrobnytstva-spozhyvannya-e-e/

The renewable category (ВДЕ) is mapped as "wind" in the parser, because wind used to be the dominant source in the past.
Going through the last few days on the website, you will notice a very clear solar peak at noon (~1.200. MW) each day. Wind at nighttimes reaches a maximum value of ~400 MW, mostly it is around 200 MW.

Here is an example for yesterday:
![image](https://user-images.githubusercontent.com/25743609/54950280-38726380-4f41-11e9-87ed-7f0ebf3db500.png)

The installed capacity of solar grew very fast, and will continue because it's cheap and the potential in UA is huge:
![image](https://user-images.githubusercontent.com/25743609/54951450-f7c81980-4f43-11e9-8562-ee35a43528dc.png)

Some suggestions to deal with this situation:
1. Any artificial boundaries (depending on x-axis-time or y-axis-megawatts or both) pushing production to wind or solar?
Like "from 06:00 to 18:00" -> solar if P > 200 MW, else wind". 
2. Put renewables to unknown category with a mixed carbon intensity (looking at the intalled capacity, 50% wind : 50% solar seems reasonable).
3. actively search for a breakdown of wind and solar
4. ask the data provider for a breakdown

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `parsers/UA.py`
Content:
```
1 #!/usr/bin/env python3
2 
3 import arrow
4 import dateutil
5 import requests
6 
7 """
8 tec - same as `tes` but also working as central heater,
9       main fuel is gas, in critical situations - black oil
10 gesgaes - hydro run of river and poundage
11 consumptiongaespump - hydro pumped storage
12 vde - wind + solar, mostly wind
13 
14 no data for biomass, solar and oil
15 """
16 MAP_GENERATION = {
17     'aes': 'nuclear',
18     'tec': 'gas',
19     'tes': 'coal',
20     'vde': 'wind',
21     'biomass': 'biomass',
22     'gesgaes': 'hydro',
23     'solar': 'solar',
24     'oil': 'oil',
25     'geothermal': 'geothermal',
26 }
27 
28 MAP_STORAGE = {
29     'consumptiongaespump': 'hydro',
30 }
31 
32 tz = 'Europe/Kiev'
33 
34 
35 def fetch_production(zone_key='UA', session=None, target_datetime=None, logger=None):
36     if target_datetime:
37         raise NotImplementedError('This parser is not yet able to parse past dates')
38     r = session or requests.session()
39 
40     data = []
41     today = arrow.now(tz=tz).format('DD.MM.YYYY')
42     url = 'https://ua.energy/wp-admin/admin-ajax.php'
43     postdata = {
44         'action': 'get_data_oes',
45         'report_date': today,
46         'type': 'day'
47     }
48 
49     response = r.post(url, postdata)
50 
51     for serie in response.json():
52         row = {
53             'zoneKey': zone_key,
54             'production': {},
55             'storage': {},
56             'source': 'ua.energy'
57         }
58 
59         # Storage
60         if 'consumptiongaespump' in serie:
61             row['storage']['hydro'] = serie['consumptiongaespump'] * -1
62 
63         # Production
64         for k, v in MAP_GENERATION.items():
65             if k in serie:
66                 row['production'][v] = serie[k]
67             else:
68                 row['production'][v] = 0.0
69 
70         # Date
71         date = arrow.get('%s %s' % (today, serie['hour']), 'DD.MM.YYYY HH:mm')
72         row['datetime'] = date.replace(tzinfo=dateutil.tz.gettz(tz)).datetime
73 
74         data.append(row)
75     return data
76 
77 
78 if __name__ == '__main__':
79     print(fetch_production())
80
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/parsers/UA.py b/parsers/UA.py
--- a/parsers/UA.py
+++ b/parsers/UA.py
@@ -9,18 +9,18 @@
       main fuel is gas, in critical situations - black oil
 gesgaes - hydro run of river and poundage
 consumptiongaespump - hydro pumped storage
-vde - wind + solar, mostly wind
+vde - renewable sources - mostly wind at nighttimes and solar peaks during the day
 
-no data for biomass, solar and oil
 """
 MAP_GENERATION = {
     'aes': 'nuclear',
     'tec': 'gas',
     'tes': 'coal',
-    'vde': 'wind',
+    'vde': 'unknown',
     'biomass': 'biomass',
     'gesgaes': 'hydro',
     'solar': 'solar',
+    'wind': 'wind',
     'oil': 'oil',
     'geothermal': 'geothermal',
 }

{"golden_diff": "diff --git a/parsers/UA.py b/parsers/UA.py\n--- a/parsers/UA.py\n+++ b/parsers/UA.py\n@@ -9,18 +9,18 @@\n       main fuel is gas, in critical situations - black oil\n gesgaes - hydro run of river and poundage\n consumptiongaespump - hydro pumped storage\n-vde - wind + solar, mostly wind\n+vde - renewable sources - mostly wind at nighttimes and solar peaks during the day\n \n-no data for biomass, solar and oil\n \"\"\"\n MAP_GENERATION = {\n     'aes': 'nuclear',\n     'tec': 'gas',\n     'tes': 'coal',\n-    'vde': 'wind',\n+    'vde': 'unknown',\n     'biomass': 'biomass',\n     'gesgaes': 'hydro',\n     'solar': 'solar',\n+    'wind': 'wind',\n     'oil': 'oil',\n     'geothermal': 'geothermal',\n }\n", "issue": "Discuss type for renewable category for Ukraine UA\nCurrently, there is no breakdown for the Ukrainian renewable category provided on https://ua.energy/diyalnist/dyspetcherska-informatsiya/dobovyj-grafik-vyrobnytstva-spozhyvannya-e-e/\r\n\r\nThe renewable category (\u0412\u0414\u0415) is mapped as \"wind\" in the parser, because wind used to be the dominant source in the past.\r\nGoing through the last few days on the website, you will notice a very clear solar peak at noon (~1.200. MW) each day. Wind at nighttimes reaches a maximum value of ~400 MW, mostly it is around 200 MW.\r\n\r\nHere is an example for yesterday:\r\n![image](https://user-images.githubusercontent.com/25743609/54950280-38726380-4f41-11e9-87ed-7f0ebf3db500.png)\r\n\r\nThe installed capacity of solar grew very fast, and will continue because it's cheap and the potential in UA is huge:\r\n![image](https://user-images.githubusercontent.com/25743609/54951450-f7c81980-4f43-11e9-8562-ee35a43528dc.png)\r\n\r\nSome suggestions to deal with this situation:\r\n1. Any artificial boundaries (depending on x-axis-time or y-axis-megawatts or both) pushing production to wind or solar?\r\nLike \"from 06:00 to 18:00\" -> solar if P > 200 MW, else wind\". \r\n2. Put renewables to unknown category with a mixed carbon intensity (looking at the intalled capacity, 50% wind : 50% solar seems reasonable).\r\n3. actively search for a breakdown of wind and solar\r\n4. ask the data provider for a breakdown\n", "before_files": [{"content": "#!/usr/bin/env python3\n\nimport arrow\nimport dateutil\nimport requests\n\n\"\"\"\ntec - same as `tes` but also working as central heater,\n      main fuel is gas, in critical situations - black oil\ngesgaes - hydro run of river and poundage\nconsumptiongaespump - hydro pumped storage\nvde - wind + solar, mostly wind\n\nno data for biomass, solar and oil\n\"\"\"\nMAP_GENERATION = {\n    'aes': 'nuclear',\n    'tec': 'gas',\n    'tes': 'coal',\n    'vde': 'wind',\n    'biomass': 'biomass',\n    'gesgaes': 'hydro',\n    'solar': 'solar',\n    'oil': 'oil',\n    'geothermal': 'geothermal',\n}\n\nMAP_STORAGE = {\n    'consumptiongaespump': 'hydro',\n}\n\ntz = 'Europe/Kiev'\n\n\ndef fetch_production(zone_key='UA', session=None, target_datetime=None, logger=None):\n    if target_datetime:\n        raise NotImplementedError('This parser is not yet able to parse past dates')\n    r = session or requests.session()\n\n    data = []\n    today = arrow.now(tz=tz).format('DD.MM.YYYY')\n    url = 'https://ua.energy/wp-admin/admin-ajax.php'\n    postdata = {\n        'action': 'get_data_oes',\n        'report_date': today,\n        'type': 'day'\n    }\n\n    response = r.post(url, postdata)\n\n    for serie in response.json():\n        row = {\n            'zoneKey': zone_key,\n            'production': {},\n            'storage': {},\n            'source': 'ua.energy'\n        }\n\n        # Storage\n        if 'consumptiongaespump' in serie:\n            row['storage']['hydro'] = serie['consumptiongaespump'] * -1\n\n        # Production\n        for k, v in MAP_GENERATION.items():\n            if k in serie:\n                row['production'][v] = serie[k]\n            else:\n                row['production'][v] = 0.0\n\n        # Date\n        date = arrow.get('%s %s' % (today, serie['hour']), 'DD.MM.YYYY HH:mm')\n        row['datetime'] = date.replace(tzinfo=dateutil.tz.gettz(tz)).datetime\n\n        data.append(row)\n    return data\n\n\nif __name__ == '__main__':\n    print(fetch_production())\n", "path": "parsers/UA.py"}], "after_files": [{"content": "#!/usr/bin/env python3\n\nimport arrow\nimport dateutil\nimport requests\n\n\"\"\"\ntec - same as `tes` but also working as central heater,\n      main fuel is gas, in critical situations - black oil\ngesgaes - hydro run of river and poundage\nconsumptiongaespump - hydro pumped storage\nvde - renewable sources - mostly wind at nighttimes and solar peaks during the day\n\n\"\"\"\nMAP_GENERATION = {\n    'aes': 'nuclear',\n    'tec': 'gas',\n    'tes': 'coal',\n    'vde': 'unknown',\n    'biomass': 'biomass',\n    'gesgaes': 'hydro',\n    'solar': 'solar',\n    'wind': 'wind',\n    'oil': 'oil',\n    'geothermal': 'geothermal',\n}\n\nMAP_STORAGE = {\n    'consumptiongaespump': 'hydro',\n}\n\ntz = 'Europe/Kiev'\n\n\ndef fetch_production(zone_key='UA', session=None, target_datetime=None, logger=None):\n    if target_datetime:\n        raise NotImplementedError('This parser is not yet able to parse past dates')\n    r = session or requests.session()\n\n    data = []\n    today = arrow.now(tz=tz).format('DD.MM.YYYY')\n    url = 'https://ua.energy/wp-admin/admin-ajax.php'\n    postdata = {\n        'action': 'get_data_oes',\n        'report_date': today,\n        'type': 'day'\n    }\n\n    response = r.post(url, postdata)\n\n    for serie in response.json():\n        row = {\n            'zoneKey': zone_key,\n            'production': {},\n            'storage': {},\n            'source': 'ua.energy'\n        }\n\n        # Storage\n        if 'consumptiongaespump' in serie:\n            row['storage']['hydro'] = serie['consumptiongaespump'] * -1\n\n        # Production\n        for k, v in MAP_GENERATION.items():\n            if k in serie:\n                row['production'][v] = serie[k]\n            else:\n                row['production'][v] = 0.0\n\n        # Date\n        date = arrow.get('%s %s' % (today, serie['hour']), 'DD.MM.YYYY HH:mm')\n        row['datetime'] = date.replace(tzinfo=dateutil.tz.gettz(tz)).datetime\n\n        data.append(row)\n    return data\n\n\nif __name__ == '__main__':\n    print(fetch_production())\n", "path": "parsers/UA.py"}]}