Skip to content

Commit

Permalink
Merge pull request #306 from cantoyu/patch-1
Browse files Browse the repository at this point in the history
Updated parser unavailability generation unit
  • Loading branch information
fboerman authored Feb 21, 2024
2 parents 079fcd5 + dcec9b6 commit 4c13443
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entsoe/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,7 @@ def _parse_crossborder_flows_timeseries(soup):
'curvetype',
'production_resource_id',
'production_resource_name',
'production_resource_psr_name',
'production_resource_location',
'plant_type',
'nominal_power',
Expand Down Expand Up @@ -852,6 +853,7 @@ def _unavailability_gen_ts(soup: bs4.BeautifulSoup) -> list:
get_attr('curvetype'),
get_attr('production_registeredresource.mrid'),
get_attr('production_registeredresource.name'),
get_attr('production_registeredresource.psrtype.powersystemresources.name'),
get_attr('production_registeredresource.location.name'),
PSRTYPE_MAPPINGS.get(get_attr(
'production_registeredresource.psrtype.psrtype'), ""),
Expand Down

0 comments on commit 4c13443

Please sign in to comment.