Skip to content

hyphae/apis-emulator

Repository files navigation

apis-emulator

Introduction

The Emulator runs a computer emulation that reproduces the hardware system for energy sharing, including the battery system and the DC/DC converter, etc. The Emulator reads in data on the amount of solar radiation and the power consumption of residences and emulates the flow of energy such as the power generated and consumed by multiple residences, and battery system charging and discharging. The emulation conditions can be changed in real time by using a Web browser to access and change the hardware parameters. There is also a function for communication with apis-main, which reads storage battery data from the hardware emulation on the computer and operates the DC/DC converter to emulate energy sharing.

Refer to the apis-emulator_specification for more information.

apis-emulator

apis-emulator2

Installation

Here is how to install apis-emulator individually.

$ git clone https://github.com/hyphae/apis-emulator.git
$ cd apis-emulator
$ python3 -m venv venv 
$ . venv/bin/activate
$ pip install --upgrade pip
$ pip install -r requirements.txt
$ deactivate

Running

Here is how to run apis-emulator individually.

$ cd apis-emulator
$ . venv/bin/activate
$ python3 startEmul.py 4
 (The last number is the number of hardware you want to emulate.)

Stopping

Here is how to stop apis-emulator individually.

$ bash stop.sh
$ deactivate

Documentation

apis-emulator_specification(EN)
apis-emulator_specification(JP)

License

Apache License Version 2.0

Notice

Notice

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published