Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vagrant setup #19

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: Update pyvolt-dpsim-demo instructions to clarify
Signed-off-by: Lucas Leblow <lucasleblow@mailbox.org>
  • Loading branch information
leblowl authored and paolantoni committed Aug 19, 2022
commit dce24ddbd35a52b2c12d223c00daf29041fb90b3
16 changes: 11 additions & 5 deletions pyvolt-dpsim-demo/README.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,9 @@

## Preliminaries

Follow the instructions here to get started:
https://sogno-platform.github.io/docs/getting-started/

Clone this repo:
```bash
git clone https://github.com/sogno-platform/example-deployments.git
@@ -22,7 +25,7 @@ helm repo update
```
### HugePages

The current setup requires HugePages support for the real-time simulator. This can be checked and activated as follows:
The current setup requires HugePages support for the real-time simulator. This can be checked and activated (temporarily) as follows:

```bash
# Verify HugePages
@@ -54,6 +57,9 @@ HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 2097152 kB

If you don't see 1024 next to HugePages_Total, you may need to restart
your system and try again with a fresh boot.

# Restart k3s service to apply changes
sudo systemctl restart k3s

@@ -83,7 +89,7 @@ helm install telegraf influxdata/telegraf -f ts-adapter/telegraf-values.yaml

### Visualization

The following installation will deploy a Grafana instance that is available at the nodePort specified in the grafana_values.yaml file.
The following installation will deploy a Grafana instance that is available at the nodePort specified in the grafana_values.yaml file.
Per defautl at port 31230: http://localhost:31230

```bash
@@ -94,11 +100,11 @@ The configmap contains a demo dashboard and should automatically be recognized b

### CIM Editor Pintura

The following installation will deploy a Pintura instance that is available at the nodePort specified in the pintura_values.yaml file.
Per default at port 31234: http://localhost:31234/
The following installation will deploy a Pintura instance that is available at the nodePort specified in the pintura_values.yaml file.
Per default at port 31234: http://localhost:31234/ (it may take a few moments to launch and become available)

```bash
helm install pintura sogno/pintura -f cim-editor/pintura_values.yaml
helm install pintura sogno/pintura -f cim-editor/pintura_values.yaml
```
### DPsim Simulation