Source code for cideMOD.simulation_interface

#
# Copyright (c) 2023 CIDETEC Energy Storage.
#
# This file is part of cideMOD.
#
# cideMOD is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
r"""This module contains the logic of the intermediary between the user and a battery."""

from enum import Enum

from cideMOD.simulation_interface.battery_system import (
    CSI,
    DEFAULT_EVENT,
    DEFAULT_INPUT,
    DEFAULT_PROFILE,
    DEFAULT_SIMULATION_OPTIONS,
    DEFAULT_TEST_PLAN,
)
from cideMOD.simulation_interface.error_check import ErrorCheck
from cideMOD.simulation_interface.utils import run_case


[docs] class DEFAULTS(Enum): EVENT = DEFAULT_EVENT INPUT = DEFAULT_INPUT PROFILE = DEFAULT_PROFILE SIMULATION_OPTIONS = DEFAULT_SIMULATION_OPTIONS TEST_PLAN = DEFAULT_TEST_PLAN
__all__ = ["CSI", "DEFAULTS", "ErrorCheck", "run_case"]