Search is not available for this dataset
repo stringlengths 2 152 ⌀ | file stringlengths 15 239 | code stringlengths 0 58.4M | file_length int64 0 58.4M | avg_line_length float64 0 1.81M | max_line_length int64 0 12.7M | extension_type stringclasses 364
values |
|---|---|---|---|---|---|---|
Grid2Op | Grid2Op-master/docs/_static/style.css | /* this stuff uses a couple of themes as a base with some custom stuff added
In particular thanks to:
- Alabaster for being a good base
- Which thanks Flask + KR theme
- Sphinx Readable Theme
- Which also proved to be a great base
- Rapptz from which this is copy pasted
*/
@import url('basic.css');
body {
fon... | 9,320 | 15.098446 | 95 | css |
Grid2Op | Grid2Op-master/docs/_templates/genindex.html | {%- extends "basic/genindex.html" %}
{% block body %}
{{ super() }}
<!-- Inject some JavaScript to convert the index names into something useful. -->
<script>
let elements = document.querySelectorAll("table.indextable a");
// this is pretty finicky but it should work.
for(let el of elements) {
... | 823 | 26.466667 | 83 | html |
Grid2Op | Grid2Op-master/docs/_templates/layout.html | {%- extends "basic/layout.html" %}
{% set show_source = False %}
{% set style = 'style.css' %}
{%- block extrahead %}
{{ super() }}
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
{% endblock %}
{%- block relbar2 %}{% endblock %}
{% block header %}
{{ super() }}
{% ... | 1,054 | 23.534884 | 140 | html |
Grid2Op | Grid2Op-master/docs/_templates/relations.html | <!-- purposefully empty --> | 27 | 27 | 27 | html |
Grid2Op | Grid2Op-master/examples/backend_integration/Step0_make_env.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 3,480 | 46.040541 | 128 | py |
Grid2Op | Grid2Op-master/examples/backend_integration/Step1_loading.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 6,622 | 37.730994 | 112 | py |
Grid2Op | Grid2Op-master/examples/backend_integration/Step2_modify_load.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 5,065 | 39.528 | 132 | py |
Grid2Op | Grid2Op-master/examples/backend_integration/Step3_modify_gen.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 4,886 | 38.096 | 132 | py |
Grid2Op | Grid2Op-master/examples/backend_integration/Step4_modify_line_status.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 10,169 | 34.559441 | 132 | py |
Grid2Op | Grid2Op-master/examples/backend_integration/Step5_modify_topology.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 11,537 | 44.070313 | 132 | py |
Grid2Op | Grid2Op-master/examples/backend_integration/Step6_integration.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 4,171 | 40.306931 | 124 | py |
Grid2Op | Grid2Op-master/examples/backend_integration/readme.md | # What it does ?
In this example, we show explicitly the different steps performed when grid2op loads an "environment"
from the backend point of view.
It can be usefull for people wanting to implement a new backend for the grid2op platform.
Please refer to the documentation here https://grid2op.readthedocs.io/en/lat... | 12,527 | 57.269767 | 440 | md |
Grid2Op | Grid2Op-master/getting_started/ml_agent.py | """
This piece of code is provided as an example of what can be achieved when training deep learning agents when using
grid2op. This code is not optimize for performances (use of computational resources) nor for achieve state of the
art results, but rather to serve as example.
Documentation is rather poor and we encou... | 22,615 | 43.171875 | 138 | py |
Grid2Op | Grid2Op-master/getting_started/test_episodereplay.py | import os
import warnings
import grid2op
from grid2op.Plot import EpisodeReplay
from grid2op.Agent import GreedyAgent, RandomAgent
from grid2op.Runner import Runner
from tqdm import tqdm
path_agents = "getting_started/study_agent_getting_started"
# if i start from grid2op/getting started (eg cd ~/Documents/grid2op/ge... | 1,453 | 32.045455 | 85 | py |
Grid2Op | Grid2Op-master/getting_started/test_renderer_14.py | import grid2op
from grid2op.Agent import DoNothingAgent
from grid2op.Agent import GreedyAgent, RandomAgent
import numpy as np
import pdb
import warnings
with warnings.catch_warnings():
warnings.filterwarnings("ignore")
env = grid2op.make("case14_realistic")
class MyExpertAgent(GreedyAgent):
def __init__... | 5,260 | 40.101563 | 116 | py |
Grid2Op | Grid2Op-master/grid2op/Parameters.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 30,456 | 43.789706 | 153 | py |
Grid2Op | Grid2Op-master/grid2op/__init__.py |
# Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPD... | 1,332 | 23.236364 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/_glop_platform_info.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 770 | 44.352941 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/command_line.py | #!/usr/bin/env python3
# Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozi... | 2,773 | 29.483516 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/dtypes.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,196 | 37.612903 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/main.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 4,975 | 29.906832 | 125 | py |
Grid2Op | Grid2Op-master/grid2op/Action/ActionSpace.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 7,333 | 35.67 | 136 | py |
Grid2Op | Grid2Op-master/grid2op/Action/BaseAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 262,431 | 41.657997 | 205 | py |
Grid2Op | Grid2Op-master/grid2op/Action/CompleteAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 903 | 42.047619 | 118 | py |
Grid2Op | Grid2Op-master/grid2op/Action/DispatchAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 953 | 34.333333 | 116 | py |
Grid2Op | Grid2Op-master/grid2op/Action/DontAct.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,711 | 29.035088 | 114 | py |
Grid2Op | Grid2Op-master/grid2op/Action/PlayableAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 4,692 | 31.365517 | 114 | py |
Grid2Op | Grid2Op-master/grid2op/Action/PowerlineChangeAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 982 | 34.107143 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Action/PowerlineChangeAndDispatchAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,106 | 37.172414 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Action/PowerlineChangeDispatchAndStorageAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 869 | 33.8 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Action/PowerlineSetAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 978 | 33.964286 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Action/PowerlineSetAndDispatchAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,189 | 30.315789 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Action/SerializableActionSpace.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 62,836 | 38.470477 | 164 | py |
Grid2Op | Grid2Op-master/grid2op/Action/TopologyAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,255 | 29.634146 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Action/TopologyAndDispatchAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,338 | 30.139535 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Action/TopologyChangeAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,084 | 36.413793 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Action/TopologyChangeAndDispatchAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,203 | 33.4 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Action/TopologySetAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,062 | 34.433333 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Action/TopologySetAndDispatchAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,144 | 38.482759 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Action/VoltageOnlyAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 3,912 | 36.266667 | 127 | py |
Grid2Op | Grid2Op-master/grid2op/Action/_BackendAction.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 20,936 | 34.486441 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Action/__init__.py | __all__ = [
# Internals
"BaseAction",
"PlayableAction",
"ActionSpace",
"SerializableActionSpace",
# Usable
"VoltageOnlyAction",
"CompleteAction",
"DontAct",
"PowerlineSetAction",
"PowerlineChangeAction",
"PowerlineSetAndDispatchAction",
"PowerlineChangeAndDispatchActi... | 1,939 | 36.307692 | 86 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/__init__.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,539 | 39.526316 | 102 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/agentWithConverter.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 11,402 | 42.357414 | 120 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/baseAgent.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 7,719 | 43.114286 | 120 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/deltaRedispatchRandomAgent.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 2,590 | 34.493151 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/doNothing.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,941 | 36.346154 | 118 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/fromActionsListAgent.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 3,254 | 42.986486 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/greedyAgent.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 3,717 | 38.136842 | 117 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/mlAgent.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 2,488 | 36.149254 | 116 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/oneChangeThenNothing.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 3,369 | 34.104167 | 121 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/powerlineSwitch.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,936 | 40.212766 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/randomAgent.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 2,702 | 44.813559 | 119 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/recoPowerLinePerArea.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 2,963 | 43.909091 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/recoPowerlineAgent.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,412 | 40.558824 | 119 | py |
Grid2Op | Grid2Op-master/grid2op/Agent/topologyGreedy.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,530 | 40.378378 | 114 | py |
Grid2Op | Grid2Op-master/grid2op/Backend/Backend.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 77,496 | 40.508838 | 132 | py |
Grid2Op | Grid2Op-master/grid2op/Backend/EducPandaPowerBackend.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 24,433 | 40.767521 | 120 | py |
Grid2Op | Grid2Op-master/grid2op/Backend/PandaPowerBackend.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 65,425 | 41.155928 | 132 | py |
Grid2Op | Grid2Op-master/grid2op/Backend/__init__.py | __all__ = ["Backend", "PandaPowerBackend"]
from grid2op.Backend.Backend import Backend
from grid2op.Backend.PandaPowerBackend import PandaPowerBackend
| 152 | 29.6 | 63 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/GSFFWFWM.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 11,654 | 40.038732 | 125 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/Settings_5busExample.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,145 | 41.444444 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/Settings_L2RPN2019.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 10,360 | 33.194719 | 140 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/Settings_case14_realistic.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,511 | 28.647059 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/Settings_case14_redisp.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,608 | 30.54902 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/Settings_case14_test.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,602 | 30.431373 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/__init__.py | __all__ = [
"handlers",
"ChronicsHandler",
"GridValue",
"ChangeNothing",
"Multifolder",
"MultifolderWithCache",
"GridStateFromFile",
"GridStateFromFileWithForecasts",
"GridStateFromFileWithForecastsWithMaintenance",
"GridStateFromFileWithForecastsWithoutMaintenance",
"FromNPY... | 1,199 | 35.363636 | 83 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/changeNothing.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 3,792 | 30.87395 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/chronicsHandler.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 7,166 | 33.291866 | 119 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/fromChronix2grid.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 12,474 | 38.983974 | 153 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/fromFileWithoutMaintenance.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 3,737 | 28.203125 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/fromNPY.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 28,565 | 39.634424 | 157 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/gridStateFromFile.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 49,470 | 39.285831 | 174 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/gridStateFromFileWithForecasts.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 17,222 | 37.444196 | 125 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/gridValue.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 34,207 | 41.600249 | 123 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/multiFolder.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 30,244 | 38.076227 | 123 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/multifolderWithCache.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 11,746 | 38.820339 | 123 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/readPypowNetData.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 12,493 | 37.801242 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/time_series_from_handlers.py | # Copyright (c) 2019-2023, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 22,704 | 42.330153 | 137 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/handlers/__init__.py | # Copyright (c) 2019-2023, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,331 | 41.967742 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/handlers/baseHandler.py | # Copyright (c) 2019-2023, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 18,447 | 37.273859 | 140 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/handlers/csvForecastHandler.py | # Copyright (c) 2019-2023, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 5,400 | 45.965217 | 117 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/handlers/csvHandler.py | # Copyright (c) 2019-2023, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 14,544 | 37.580902 | 172 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/handlers/csvMaintenanceHandler.py | # Copyright (c) 2019-2023, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 3,851 | 40.419355 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/handlers/do_nothing_handler.py | # Copyright (c) 2019-2023, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,872 | 34.339623 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/handlers/jsonMaintenanceHandler.py | # Copyright (c) 2019-2023, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 5,632 | 44.427419 | 121 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/handlers/load_q_from_p_handler.py | # Copyright (c) 2019-2023, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 3,587 | 40.72093 | 114 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/handlers/noisyForecastHandler.py | # Copyright (c) 2019-2023, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 10,768 | 49.088372 | 120 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/handlers/perfectForecastHandler.py | # Copyright (c) 2019-2023, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 3,244 | 44.704225 | 121 | py |
Grid2Op | Grid2Op-master/grid2op/Chronics/handlers/persitenceForecastHandler.py | # Copyright (c) 2019-2023, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 4,560 | 46.020619 | 113 | py |
Grid2Op | Grid2Op-master/grid2op/Converter/AnalogStateConverter.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 11,496 | 34.928125 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Converter/BackendConverter.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 32,167 | 42.825613 | 118 | py |
Grid2Op | Grid2Op-master/grid2op/Converter/ConnectivityConverter.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 23,976 | 42.201802 | 118 | py |
Grid2Op | Grid2Op-master/grid2op/Converter/Converters.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 5,788 | 33.664671 | 114 | py |
Grid2Op | Grid2Op-master/grid2op/Converter/GymConverter.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 1,002 | 40.791667 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Converter/IdToAct.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 20,808 | 41.123482 | 120 | py |
Grid2Op | Grid2Op-master/grid2op/Converter/ToVect.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 6,833 | 39.43787 | 112 | py |
Grid2Op | Grid2Op-master/grid2op/Converter/__init__.py | __all__ = [
"Converter",
"ToVect",
"IdToAct",
"ConnectivityConverter",
"AnalogStateConverter",
]
from grid2op.Converter.BackendConverter import BackendConverter
from grid2op.Converter.Converters import Converter
from grid2op.Converter.ToVect import ToVect
from grid2op.Converter.IdToAct import IdToA... | 733 | 29.583333 | 82 | py |
Grid2Op | Grid2Op-master/grid2op/Download/DownloadDataset.py | # Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# 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 http://mozilla.org/MPL/2.0/.
# SPDX... | 5,955 | 33.627907 | 115 | py |
Grid2Op | Grid2Op-master/grid2op/Download/__init__.py | all = ["DownloadDataset"]
| 26 | 12.5 | 25 | py |