{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# This Notebook will dive more into the Action class" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "It is recommended to have a look at the [0_basic_functionalities](0_basic_functionalities.ipynb) and [1_Observation_Agents](1_Observation_Agents.ipynb) notebooks before getting into this one." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**Objectives**\n", "\n", "This notebook will cover the basic of how use at best the *Action* class to perform actions (modify) on the powergrid efficiently. Indeed there are multiple concepts behind this class that are not very clear.\n", "\n", "This notebook will be focused on the manipulation of Action from an expert system point of view to demonstrate how a desired action is fundamentally taken in the Grid2Op environment. For a more automatic way to handle action (for example using machine learning, the notebook [3_TrainingAnAgent](3_TrainingAnAgent.ipynb) will give a more detailed example." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import os\n", "import sys\n", "import grid2op" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "" ], "text/plain": [ "