Skip to content

Commit

Permalink
Fixed bug introduced by 8698a8e where maxP and minP where dropped
Browse files Browse the repository at this point in the history
  • Loading branch information
leifwar committed May 4, 2021
1 parent 08264fc commit 8b912ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cimsparql/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Library for CIM sparql queries"""
__version__ = "1.7.0"
__version__ = "1.7.1"
2 changes: 2 additions & 0 deletions cimsparql/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ def synchronous_machines_query(
station_group = [
f"{mrid} cim:SynchronousMachine.GeneratingUnit ?gu",
"?gu SN:GeneratingUnit.marketCode ?market_code",
"?gu cim:GeneratingUnit.maxOperatingP ?maxP",
"?gu cim:GeneratingUnit.minOperatingP ?minP",
"?gu SN:GeneratingUnit.groupAllocationMax ?allocationMax",
"?gu SN:GeneratingUnit.groupAllocationWeight ?allocationWeight",
"?gu SN:GeneratingUnit.ScheduleResource ?ScheduleResource",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# character.
[tool.poetry]
name = "cimsparql"
version = "1.7.0"
version = "1.7.1"
description = "CIM query utilities"
authors = ["Statnett Datascience <Datascience.Drift@Statnett.no>"]
repository = "https://github.com/statnett/cimsparql.git"
Expand Down

0 comments on commit 8b912ec

Please sign in to comment.