EnergyWeb DER Modbus Simulator
Project description
Introduction
This repository hosts the EnergyWeb's Decentralized-Energy-Resouce Modbus Simulator.
Primary features
- TCP/RTU modbus support.
- Sunspec interface support.
- Supply custom DER model.
- Model-map library available.
Prerequisites
pip>=20.3.4
pipenv>=2020.8.13
Quick start
Installation steps
# Clone demo repository
git clone https://github.com/energywebfoundation/ew_der_modbus_sim_py.git
# Acces project folder
cd ew_der_modbus_sim_py
# Installs pipenv
pip install pipenv --upgrade
# Creates a python3 virtual environment
pipenv --three
# Installs all demo dependencies
pipenv install '.[all]'
Preset environment variables
# Modbus Mode [TCP or RTU]
SLAVE_MODE=TCP
# A slave unique ID [int]
SLAVE_ID=1
# Slave TCP address and port. Defaults to 'localhost:8502'
SLAVE_TCP_ADDRESS=
SLAVE_TCP_PORT=8502
# Slave RTU port
SLAVE_RTU_PORT=/dev/ptyp5
# DER model map name
MODEL_MAP_NAME=STP8-10-3AV-40
Virtual environment
# Access pipenv's virtual environment in order to run the examples below
pipenv shell
Documentation
DER Simulator
# Running Simulator
python3 ./src/ew_der_modbus_sim_py/der_simulator.py
Available model-map list
- SMA
- STP8-10-3AV-40 - PV Inverter
- SUNNY-ISLAND-4.4-M-13 - Battery Inverter
Active Contributors
- Ioannis Vlachos (@iovlachos)
- Mahir Şentürk (@mhrsntrk)
- Bacem Ben Achour (@Aresguerre)
- Pablo Buitrago (@ChangoBuitrago)
License
This project is licensed under GNU General Public License Version 3 (GPLv3)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ew_der_modbus_sim_py-0.1.0a6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36bfc271974fbc9754e32478c61a3fee4980b09d8bc93a558397a94822db1cd8 |
|
MD5 | 814cc653baef6242ceb90ed89618457e |
|
BLAKE2b-256 | c12b88729fd480d6ebc9b2471f621c9f51e70bf22f79632db0737269034a45b1 |
Close
Hashes for ew_der_modbus_sim_py-0.1.0a6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34d906ca391771822130c803e447dd26de0595c9ece263e92edceff2d47af11a |
|
MD5 | 809d0d61565b6c313690eb35e306eb13 |
|
BLAKE2b-256 | 7ddd3437c137ed91267624803a7ee300f8198005c52b3c251e9cf4275caf0687 |