Skip to content

Commit

Permalink
Clean unused error code
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit9126 committed Jan 15, 2024
1 parent e0d6ad8 commit 4c8589e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions roseau/load_flow/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class RoseauLoadFlowExceptionCode(Enum):

# Buses
BAD_BUS_ID = auto()
BAD_BUS_TYPE = auto()
BAD_POTENTIALS_SIZE = auto()
BAD_VOLTAGES = auto()
BAD_VOLTAGES_SIZE = auto()
Expand Down Expand Up @@ -80,19 +79,15 @@ class RoseauLoadFlowExceptionCode(Enum):
NO_VOLTAGE_SOURCE = auto()
BAD_ELEMENT_OBJECT = auto()
DISCONNECTED_ELEMENT = auto()
BAD_ELEMENT_ID = auto()
NO_LOAD_FLOW_CONVERGENCE = auto()
BAD_REQUEST = auto()
BAD_LOAD_FLOW_RESULT = auto()
LOAD_FLOW_NOT_RUN = auto()
SEVERAL_NETWORKS = auto()
TOO_MANY_BUSES = auto()
BAD_JACOBIAN = auto()

# Solver
BAD_SOLVER_NAME = auto()
BAD_SOLVER_PARAMS = auto()
NETWORK_SOLVER_MISMATCH = auto()

# DGS export
DGS_BAD_PHASE_TECHNOLOGY = auto()
Expand Down

0 comments on commit 4c8589e

Please sign in to comment.