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
File details
Details for the file ew_der_modbus_sim_py-0.1.0a2.tar.gz
.
File metadata
- Download URL: ew_der_modbus_sim_py-0.1.0a2.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77b79c23dde87af35d3a8586f60d5ad77ada2b640f723e51ffd9d236c1bc3a09 |
|
MD5 | 4499dc352e92599c21975e2e3981e3d2 |
|
BLAKE2b-256 | e939dd2b612e01282f9eade82c1f9aa9aaec6551064d752c73cff9dd9f431e30 |
File details
Details for the file ew_der_modbus_sim_py-0.1.0a2-py3-none-any.whl
.
File metadata
- Download URL: ew_der_modbus_sim_py-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66233e764877b8003030e591f3ef53f8517a8961c42b154c672288d318a54e02 |
|
MD5 | e81515549ee415280a88f00cf40e6fc3 |
|
BLAKE2b-256 | f2a4ccfff2a2052e368e3e6e5ca18415ab71009f405b4c28ae997a3ea3efcc0d |