EnergyWeb DER Modbus Simulator
Project description
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
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.0a4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d43a1cc294a6a274feeb76d74d32a0ac51ce65f13a96dd8962f707e73354c8bf |
|
MD5 | f98c91bb60d484afb92a0c85c5a3a917 |
|
BLAKE2b-256 | 6b2e4797946e65c4c6ca4868cf24b3f5ac89fe6150f672d267c3a2abc207fd1c |
Close
Hashes for ew_der_modbus_sim_py-0.1.0a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f027f82429e41ea496707363533575f4ca30d8eba5478dd501fcaeb118b3a4d9 |
|
MD5 | 125a6244ff13ee48022400a8a024ed41 |
|
BLAKE2b-256 | 09c1f6d9b19286035888a81f80747b9ffdba582ae29fdd08e947bc34ea46d4b7 |