Skip to content

Commit

Permalink
Wip
Browse files Browse the repository at this point in the history
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
  • Loading branch information
geofjamg committed Dec 5, 2024
1 parent 0ba9278 commit 2565dce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cpp/pypowsybl-cpp/bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,7 @@ PYBIND11_MODULE(_pypowsybl, m) {
py::enum_<Grid2opUpdateIntegerValueType>(m, "Grid2opUpdateIntegerValueType")
.value("UPDATE_LOAD_BUS", Grid2opUpdateIntegerValueType::UPDATE_LOAD_BUS)
.value("UPDATE_GENERATOR_BUS", Grid2opUpdateIntegerValueType::UPDATE_GENERATOR_BUS)
.value("UPDATE_SHUNT_BUS", Grid2opUpdateIntegerValueType::UPDATE_SHUNT_BUS)
.value("UPDATE_BRANCH_BUS1", Grid2opUpdateIntegerValueType::UPDATE_BRANCH_BUS1)
.value("UPDATE_BRANCH_BUS2", Grid2opUpdateIntegerValueType::UPDATE_BRANCH_BUS2);

Expand Down
1 change: 1 addition & 0 deletions cpp/pypowsybl-java/powsybl-api.h
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ typedef enum {
typedef enum {
UPDATE_LOAD_BUS = 0,
UPDATE_GENERATOR_BUS,
UPDATE_SHUNT_BUS,
UPDATE_BRANCH_BUS1,
UPDATE_BRANCH_BUS2,
} Grid2opUpdateIntegerValueType;
1 change: 1 addition & 0 deletions pypowsybl/_pypowsybl.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,7 @@ class Grid2opUpdateIntegerValueType:
__members__: ClassVar[Dict[str, Grid2opUpdateIntegerValueType]] = ... # read-only
UPDATE_LOAD_BUS: ClassVar[Grid2opUpdateIntegerValueType] = ...
UPDATE_GENERATOR_BUS: ClassVar[Grid2opUpdateIntegerValueType] = ...
UPDATE_SHUNT_BUS: ClassVar[Grid2opUpdateIntegerValueType] = ...
UPDATE_BRANCH_BUS1: ClassVar[Grid2opUpdateIntegerValueType] = ...
UPDATE_BRANCH_BUS2: ClassVar[Grid2opUpdateIntegerValueType] = ...
def __init__(self, arg0: int) -> None: ...
Expand Down

0 comments on commit 2565dce

Please sign in to comment.