# MIT License

# Copyright (c) 2023 Replicable-MARL

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

env: voltage

env_args:
    "map_name": "case33_3min_final" # 'case33_3min_final', 'case141_3min_final'
    "voltage_barrier_type": "l1" # "l1", "l2", "bowl", "courant_beltrami", "bump"
    "voltage_weight": 1.0
    "q_weight": 0.1
    "line_weight": null
    "dq_dv_weight": null
    "history": 1
    "pv_scale": 1.0
    "demand_scale": 1.0
    "state_space": ["pv", "demand", "reactive", "vm_pu", "va_degree"]
    "v_upper": 1.05
    "v_lower": 0.95
    "data_path": "/marllib/patch/dpn/var_voltage_control/data/case33_3min_final"
    "episode_limit": 240 # in time intervals
    "action_scale": null
    "action_bias": null
    "mode": distributed
    "reset_action": True
    "seed": 0

mask_flag: False
global_state_flag: True
opp_action_in_cc: True
agent_level_batch_update: False