-
Notifications
You must be signed in to change notification settings - Fork 22
Getting Started
Hou Shengren edited this page Mar 26, 2026
·
1 revision
pip install RL-ADNFor development:
pip install -r requirements-dev.txt
pytest -q -m "not powerflow"from rl_adn import PowerNetEnv, make_env_config
config = make_env_config()
env = PowerNetEnv(config)
state, info = env.reset(return_info=True)config = make_env_config(node=34, topology_scenario="TP4", return_graph=True)
env = PowerNetEnv(config)
state, info = env.reset(return_info=True)
print(info["feeder_id"])
print(info["topology_scenario"])config = make_env_config(
node=34,
topology_mode="scenario_pool",
topology_pool=["TP2", "TP3", "TP4"],
return_graph=True,
)
env = PowerNetEnv(config)
state, info = env.reset(return_info=True)