BattMo Simulation

Item:OSWe7c08b2300f04d0bbb0a55bca8838437 /
Revision as of 06:45, 11 July 2023 by Simon Stier (talk | contribs) (Install package: OSW Virtual Lab Demo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
BattMo Simulation [OSWe7c08b2300f04d0bbb0a55bca8838437]
ID OSWe7c08b2300f04d0bbb0a55bca8838437
UUID e7c08b23-00f0-4d0b-bb0a-55bca8838437
Label BattMo Simulation
Machine compatible name BattmoSimulation
Statements (outgoing)
Statements (incoming)
Keywords

Description

Matlab based framework for battery simulation

Item
Type(s)/Category(s) DataSoftware
Software
Repository


Readme

BattMo-Server

Jupyterlab Server for BattMo

Quick start

git clone --recurse-submodules https://github.com/OpenSemanticLab/BattMo-Server

cd BattMo-Server
sudo chown -R 1111:1111 data
docker compose build
docker compose up

Open ./lab?token=... in your Browser

Update submodules

sudo chown -R "'"`UNIQ--postMath-00000001-QINU`"'USER" data
git submodule update --init --recursive
sudo chown -R 1111:1111 data

Known problems

JSON-Handling

octave-docker 7.x leads to the following error:

error: jsondecode: support for JSON decoding through RapidJSON was unavailable or disabled when Octave was built
error: called from
    parseBattmoJson at line 4 column 16
    runBattery1D at line 23 column 12
    run at line 78 column 7

Unkown login token

enter the docker container and list running servers

docker compose exec -u 0 battmo /bin/bash
jupyter server list

if no token is listed, edit the config

apt update && apt install nano
nano /etc/jupyter/jupyter_server_config.py

set a token with c.ServerApp.token = '<token>' and save

exit
docker compose stop
docker compose start

(Source Code from Github)

Data Software
Software Instances
jsondata
type
"Category:OSW22dc1c3790974a1bb7187d7a77f7e767"
uuid"e7c08b23-00f0-4d0b-bb0a-55bca8838437"
name"BattmoSimulation"
label
text"BattMo Simulation"
lang"en"
description
text"Matlab based framework for battery simulation"
lang"en"
repository
"https://github.com/OpenBattTools/BattMo-Server"