skip to navigation
skip to content

Not Logged In

mosaik-householdsim 2.0

A simple simulator for household profiles.

Latest Version: 2.0.2

HouseholdSim

This is pseudo simulator to serve residual load profiles to mosaik.

Installation

$ pip install mosaik-householdsim

You can run the tests with:

$ hg clone https://bitbucket.org/mosaik/mosaik-householdsim
$ cd mosaik-householdsim
$ pip install -r requirements.txt
$ py.test

Documentation

This simulator consists of a a model (householdsim/model.py) and the mosaik API implemenation (householdsim/mosaik.py).

The model processes the data from a NumPy *.npz file (see householdsim/test/test_model.py for an example of its layout). Basically, the file contains a number of load profiles for a given period of time. It also contains ID lists that describe which load profile belongs to which node ID in a power grid. The first entry in an ID list relates to the first entry of the profiles list, the second entry in the ID list to the second load profile and so on. If the number of entires in the ID list is larger than the number of load profiles, we start again with the first load profile.

Internally, the model works with minute. Since mosaik is based on seconds, the mosaik API implementation converts between them.

Usually, residual load profiles have a resolution of 15 minutes. It is no problem for this simulator to step in 1 minute steps, though.

Changelog

2.0 – 2014-03-26

  • Updated API implementation for mosaik2.

1.0 – 2014-01-30

  • Initial release.

Authors

The household simulator was created by Stefan Scherfke and Ontje Lünsdorf.

 
File Type Py Version Uploaded on Size
mosaik-householdsim-2.0.tar.gz (md5) Source 2014-03-26 15KB
mosaik_householdsim-2.0-py2.py3-none-any.whl (md5) Python Wheel 3.3 2014-03-26 9KB
  • Downloads (All Versions):
  • 43 downloads in the last day
  • 135 downloads in the last week
  • 450 downloads in the last month