Source code for grid2op.Exceptions.simulatorExceptions

# Copyright (c) 2019-2022, RTE (
# See AUTHORS.txt
# This Source Code Form is subject to the terms of the Mozilla Public License, version 2.0.
# If a copy of the Mozilla Public License, version 2.0 was not distributed with this file,
# you can obtain one at
# SPDX-License-Identifier: MPL-2.0
# This file is part of Grid2Op, Grid2Op a testbed platform to model sequential decision making in power systems.

from grid2op.Exceptions.grid2OpException import Grid2OpException

[docs]class SimulatorError(Grid2OpException): """ This exception indicate that the simulator you are trying to use is not initialized. You might want to call `simulator.set_state(...)` before using it. """ pass