Skip to content
Snippets Groups Projects
Commit b968f841 authored by sanjida-ivy's avatar sanjida-ivy
Browse files

Tasks from Tasksboard are done, Output cleared from notebook.

parent 40a3f755
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
%% Cell type:markdown id: tags: %% Cell type:markdown id: tags:
<center> <center>
<img src="../figures/slew_logo.png" style="float: right;height: 15em;"> <img src="figures/slew_logo.png" style="float: right;height: 15em;">
</center> </center>
# SLEW Platform Tutorial # SLEW Platform Tutorial
**SLEW** is the graphical user interface of the **SLEW** platform. **SLEW** is the graphical user interface of the **SLEW** platform.
It enables you to control and interact with the simulations. It enables you to control and interact with the simulations.
## How to access SLEW? ## How to access SLEW?
- Navigate to **SLEW** by clicking on the following link [https://slew.k8s.eonerc.rwth-aachen.de](https://slew.k8s.eonerc.rwth-aachen.de). - Navigate to **SLEW** by clicking on the following link [https://slew.k8s.eonerc.rwth-aachen.de](https://slew.k8s.eonerc.rwth-aachen.de).
- Put your Username and Password (that you received in your RWTH mail) and click on the login button - Put your Username and Password (that you received in your RWTH mail) and click on the login button
<br> <br>
<center> <center>
<img src="figures/LoginButton.png" width="350"> <img src="figures/LoginButton.png" width="350">
</center> </center>
<br> <br>
<!-- - Click on the *Authorize* button to enable that **VILLASweb** reuses your **JupyterHub** authentication <!-- - Click on the *Authorize* button to enable that **VILLASweb** reuses your **JupyterHub** authentication
<br> <br>
<center> <center>
<img src="figures/AuthorizeAccess.png" width="400"> <img src="figures/AuthorizeAccess.png" width="400">
</center> </center>
<br> --> <br> -->
- Then you should end up on the startpage of **SLEW** - Then you should end up on the startpage of **SLEW**
<br> <br>
<center> <center>
<img src="figures/SlewStartpage.png" width="300"> <img src="figures/SlewStartpage.png" width="300">
</center> </center>
<br> <br>
%% Cell type:markdown id: tags: %% Cell type:markdown id: tags:
*** ***
## How to choose your scenario? ## How to choose your scenario?
Each user has one scenario: **SLEW - Single (User Name)**. Each user has one scenario: **SLEW - Single (User Name)**.
- Navigate to *Scenario* - Navigate to *Scenario*
<br> <br>
<center> <center>
<img src="figures/SlewStartpageScenarios.png" width="300"> <img src="figures/SlewStartpageScenarios.png" width="300">
</center> </center>
<br> <br>
- Choose here **SLEW - Single (User Name)** to reach the individual, isolated working space created for you - Choose here **SLEW - Single (User Name)** to reach the individual, isolated working space created for you
<br> <br>
<center> <center>
<img src="figures/SlewScenarios.png" width="500"> <img src="figures/SlewScenarios.png" width="500">
</center> </center>
<br> <br>
%% Cell type:markdown id: tags: %% Cell type:markdown id: tags:
*** ***
## How to reach the case dashboard? ## How to reach the case dashboard?
Each scenario can have multiple dashboards. For example, the scenario **SLEW - Single (User Name)** has two dashboards: **Case 1: Electromagnetic Phenomena of Synchronous Machines** and **Case 2: Electromechanical Phenomena of Synchronous Machines**. Each scenario can have multiple dashboards. For example, the scenario **SLEW - Single (User Name)** has two dashboards: **Case 1: Electromagnetic Phenomena of Synchronous Machines** and **Case 2: Electromechanical Phenomena of Synchronous Machines**.
- Navigate to the dashboard **Case 1: Electromagnetic Phenomena of Synchronous Machines**: - Navigate to the dashboard **Case 1: Electromagnetic Phenomena of Synchronous Machines**:
<br> <br>
<center> <center>
<img src="figures/SlewDashboardCase1.png" width="250"> <img src="figures/SlewDashboardCase1.png" width="250">
</center> </center>
<br> <br>
In general, a dashboard contains widgets to display the grid topology, observe the status of the simulator and control the simulator. In general, a dashboard contains widgets to display the grid topology, observe the status of the simulator and control the simulator.
Besides, it can contain interactive widgets (e.g. to trigger certain events) or real-time data plots. Besides, it can contain interactive widgets (e.g. to trigger certain events) or real-time data plots.
%% Cell type:markdown id: tags: %% Cell type:markdown id: tags:
*** ***
## How to parametrise and execute a simulation? ## How to parametrise and execute a simulation?
The **Player Widget** enables you to parametrise and control the simulator The **Player Widget** enables you to parametrise and control the simulator
<br> <br>
<center> <center>
<img src="figures/ControlWidget.png" width="100"> <img src="figures/ControlWidget.png" width="100">
</center> </center>
<br> <br>
- To modify the parameters of your simulation, click on the **simulator configuration** button - To modify the parameters of your simulation, click on the **simulator configuration** button
<br> <br>
<center> <center>
<img src="figures/ControlWidgetParametrise.png" width="150"> <img src="figures/ControlWidgetParametrise.png" width="150">
</center> </center>
<br> <br>
- To **edit a parameter** click on the button next to its current value - To **edit a parameter** click on the button next to its current value
<br> <br>
<center> <center>
<img src="figures/ModifyParameter.png" width="150"> <img src="figures/ModifyParameter.png" width="150">
</center> </center>
<br> <br>
- **Enter a numerical value** und click on the tick symbol - **Enter a numerical value** und click on the tick symbol
<br> <br>
<center> <center>
<img src="figures/EnterNumericalValue.png" width="300"> <img src="figures/EnterNumericalValue.png" width="300">
</center> </center>
<br> <br>
- If your simulator is not in the *idle* state, ***reset* your simulator** - If your simulator is not in the *idle* state, ***reset* your simulator**
<br> <br>
<center> <center>
<img src="figures/ControlWidgetReset.png" width="150"> <img src="figures/ControlWidgetReset.png" width="150">
</center> </center>
<br> <br>
- If your simulator is in *idle* state, you can ***start* your simulation** - If your simulator is in *idle* state, you can ***start* your simulation**
<br> <br>
<center> <center>
<img src="figures/ControlWidgetPlay.png" width="150"> <img src="figures/ControlWidgetPlay.png" width="150">
</center> </center>
<br> <br>
- The **simulator transits its state** from *idle* to *starting* to *running*. If the simulation is finished, the simulator reaches the *stopping* state. - The **simulator transits its state** from *idle* to *starting* to *running*. If the simulation is finished, the simulator reaches the *stopping* state.
<br> <br>
<center> <center>
<img src="figures/StateTransitions.png" width="700"> <img src="figures/StateTransitions.png" width="700">
</center> </center>
<br> <br>
%% Cell type:markdown id: tags: %% Cell type:markdown id: tags:
## How to obtain the simulation results? ## How to obtain the simulation results?
- If the simulator reached the *stopping* state, you can **obtain the results** by clicking on the *Python* button - If the simulator reached the *stopping* state, you can **obtain the results** by clicking on the *Python* button
<br> <br>
<center> <center>
<img src="figures/ControlWidgetResults.png" width="150"> <img src="figures/ControlWidgetResults.png" width="150">
</center> </center>
<br> <br>
- Copy the result id and access token - Copy the result id and access token
<br> <br>
<center> <center>
<img src="figures/CopyResultsCode.png" width="400"> <img src="figures/CopyResultsCode.png" width="400">
</center> </center>
<br> <br>
- Go back to the **Jupyter case notebook**, e.g. [Case 1: Electromagnetic Phenomena of Synchronous Machines](./SLEW_Case1_Electromagnetic_Phenomena.ipynb). - Go back to the **Jupyter case notebook**, e.g. [Case 1: Electromagnetic Phenomena of Synchronous Machines](./SLEW_Case1_Electromagnetic_Phenomena.ipynb).
- **Insert your result id and access token** into the dedicated result download cell. That is, replace *1* and *'xyz'* in - **Insert your result id and access token** into the dedicated result download cell. That is, replace *1* and *'xyz'* in
`r = Result(1, 'xyz', endpoint='https://slew.k8s.eonerc.rwth-aachen.de')` `r = Result(1, 'xyz', endpoint='https://slew.k8s.eonerc.rwth-aachen.de')`
with the actual id and token for your result, which you have just produced. Then you can execute the result download cell. Afterwards, you can proceed further to the cells for plotting the results. with the actual id and token for your result, which you have just produced. Then you can execute the result download cell. Afterwards, you can proceed further to the cells for plotting the results.
%% Cell type:markdown id: tags: %% Cell type:markdown id: tags:
%% Cell type:code id: tags: %% Cell type:code id: tags:
``` python ``` python
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment