<jupyter_start><jupyter_text>Example how to use bslib for SPI calculation<jupyter_code>from openbatlib import controller
from openbatlib import model
import numpy as np<jupyter_output><empty_output><jupyter_text>Choose system and start simulation<jupyter_code>c = controller.Controller()
c.sim(system="H", ref_case="2", dt=1)<jupyter_output><empty_output><jupyter_text>Show results<jupyter_code>c.print_E()<jupyter_output>Name       MWh       
El         9.3944    
Epv        10.3806   
Ebatin     2.5485    
Ebatout    2.4687    
Eac2g      4.8544    
Eg2ac      4.5598    
Eg2l       4.4519    
Eperi      0.0312    
Ect        0.1563    
Epvs       10.1415   
Eac2bs     2.7531    
Ebs2ac     2.3005    
Epvs2l     2.6692    
Epvs2bs    2.6451    
Eg2bs      0.1079    
Epvs2g     4.8272    
Ebs2l      2.2734    
Ebs2g      0.0272
{'fraction_non_alphanumeric': 0.07305389221556886, 'fraction_numerical': 0.12574850299401197, 'mean_word_length': 2.265625, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '554777', 'license': 'MIT', 'n_tokens_mistral': 385, 'n_tokens_neox': 340, 'n_words': 65, 'path': 'example.ipynb', 'repo_name': 'fastrockstar/openBatLib', 'size': '835'}