Skip to content

Commit

Permalink
Make qmarket and voltage control slightly more difficult (perfect res…
Browse files Browse the repository at this point in the history
…ults in training, too easy)
  • Loading branch information
thomaswolgast committed Nov 21, 2024
1 parent c30b7ec commit 9e7fa71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions opfgym/envs/q_market.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ class QMarket(VoltageControl):
"""

def __init__(self, simbench_network_name='1-MV-rural--0-sw',
gen_scaling=1.0, load_scaling=1.3,
min_sgen_power=0.2, cos_phi=0.95, max_q_exchange=0.2,
gen_scaling=1.0, load_scaling=1.5,
min_sgen_power=0.2, cos_phi=0.95, max_q_exchange=0.1,
market_based=True,
*args, **kwargs):

super().__init__(simbench_network_name=simbench_network_name,
load_scaling=load_scaling,
load_scaling=load_scaling,
gen_scaling=gen_scaling,
cos_phi=cos_phi,
max_q_exchange=max_q_exchange,
max_q_exchange=max_q_exchange,
market_based=market_based,
min_sgen_power=min_sgen_power,
*args, **kwargs)
Expand Down
4 changes: 2 additions & 2 deletions opfgym/envs/voltage_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class VoltageControl(opf_env.OpfEnv):
"""
def __init__(self, simbench_network_name='1-MV-semiurb--1-sw',
load_scaling=1.3, gen_scaling=1.3,
cos_phi=0.95, max_q_exchange=1.0, min_sgen_power=0.5,
load_scaling=1.5, gen_scaling=1.3,
cos_phi=0.95, max_q_exchange=0.5, min_sgen_power=0.5,
min_storage_power=0.5, market_based=False,
*args, **kwargs):

Expand Down

0 comments on commit 9e7fa71

Please sign in to comment.