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
Branches
No related tags found
No related merge requests found
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
%% Cell type:markdown id: tags:
<center>
<img src="../figures/slew_logo.png" style="float: right;height: 15em;">
<img src="figures/slew_logo.png" style="float: right;height: 15em;">
</center>
# SLEW Platform Tutorial
**SLEW** is the graphical user interface of the **SLEW** platform.
It enables you to control and interact with the simulations.
## 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).
- Put your Username and Password (that you received in your RWTH mail) and click on the login button
<br>
<center>
<img src="figures/LoginButton.png" width="350">
</center>
<br>
<!-- - Click on the *Authorize* button to enable that **VILLASweb** reuses your **JupyterHub** authentication
<br>
<center>
<img src="figures/AuthorizeAccess.png" width="400">
</center>
<br> -->
- Then you should end up on the startpage of **SLEW**
<br>
<center>
<img src="figures/SlewStartpage.png" width="300">
</center>
<br>
%% Cell type:markdown id: tags:
***
## How to choose your scenario?
Each user has one scenario: **SLEW - Single (User Name)**.
- Navigate to *Scenario*
<br>
<center>
<img src="figures/SlewStartpageScenarios.png" width="300">
</center>
<br>
- Choose here **SLEW - Single (User Name)** to reach the individual, isolated working space created for you
<br>
<center>
<img src="figures/SlewScenarios.png" width="500">
</center>
<br>
%% Cell type:markdown id: tags:
***
## 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**.
- Navigate to the dashboard **Case 1: Electromagnetic Phenomena of Synchronous Machines**:
<br>
<center>
<img src="figures/SlewDashboardCase1.png" width="250">
</center>
<br>
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.
%% Cell type:markdown id: tags:
***
## How to parametrise and execute a simulation?
The **Player Widget** enables you to parametrise and control the simulator
<br>
<center>
<img src="figures/ControlWidget.png" width="100">
</center>
<br>
- To modify the parameters of your simulation, click on the **simulator configuration** button
<br>
<center>
<img src="figures/ControlWidgetParametrise.png" width="150">
</center>
<br>
- To **edit a parameter** click on the button next to its current value
<br>
<center>
<img src="figures/ModifyParameter.png" width="150">
</center>
<br>
- **Enter a numerical value** und click on the tick symbol
<br>
<center>
<img src="figures/EnterNumericalValue.png" width="300">
</center>
<br>
- If your simulator is not in the *idle* state, ***reset* your simulator**
<br>
<center>
<img src="figures/ControlWidgetReset.png" width="150">
</center>
<br>
- If your simulator is in *idle* state, you can ***start* your simulation**
<br>
<center>
<img src="figures/ControlWidgetPlay.png" width="150">
</center>
<br>
- The **simulator transits its state** from *idle* to *starting* to *running*. If the simulation is finished, the simulator reaches the *stopping* state.
<br>
<center>
<img src="figures/StateTransitions.png" width="700">
</center>
<br>
%% Cell type:markdown id: tags:
## How to obtain the simulation results?
- If the simulator reached the *stopping* state, you can **obtain the results** by clicking on the *Python* button
<br>
<center>
<img src="figures/ControlWidgetResults.png" width="150">
</center>
<br>
- Copy the result id and access token
<br>
<center>
<img src="figures/CopyResultsCode.png" width="400">
</center>
<br>
- 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
`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.
%% Cell type:markdown id: tags:
%% Cell type:code id: tags:
``` python
```
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment