{ "info": { "author": "Stefan Scherfke", "author_email": "mosaik@offis.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Mosaik\n======\n\nMosaik is a simulation compositor for Smart Grid simulations.\n\nIt lets you re-use existing simulators and couple them to simulate large-scale\nSmart Grid scenarios. Mosaik offers powerful mechanisms to specify and compose\nthese scenarios.\n\nVersion: 2.5.1\n\nLicense: LGPL\n\nExample\n-------\n\nA simple demo scenario with mosaik::\n\n >>> import mosaik\n >>>\n >>> sim_config = {\n ... 'ExampleSim': {'python': 'example_sim.mosaik:ExampleSim'},\n ... }\n >>>\n >>> def create_scenario(world):\n ... simulator = world.start('ExampleSim')\n ...\n ... producers = [simulator.Producer(init_val=0) for _ in range(3)]\n ... consumers = [simulator.Consumer(init_val=0) for _ in range(3)]\n ...\n ... for producer, consumer in zip(producers, consumers):\n ... world.connect(producer, consumer, ('val_out', 'val_in'))\n >>>\n >>> world = mosaik.World(sim_config)\n >>> create_scenario(world)\n >>> world.run(until=2)\n Progress: 25.00%\n Progress: 50.00%\n Progress: 75.00%\n Progress: 100.00%\n\n\nInstallation\n------------\n\nMosaik requires Python >= 3.4. Use `pip`__ to install it, preferably into\na `virtualenv`__::\n\n $ pip install mosaik\n\n__ http://pip.readthedocs.org/en/latest/installing.html\n__ http://virtualenv.readthedocs.org/en/latest/\n\nDocumentation, Source Code and Issues\n-------------------------------------\n\nThe documentation is available at https://mosaik.readthedocs.io.\n\nPlease report bugs and ideas for improvement to our `issue tracker`__.\n\n__ https://bitbucket.org/mosaik/mosaik/issues\n\n\nChangelog\n=========\n\n2.5.1 - 2018-11-29\n------------------\n\n- [NEW] When calling the world.start() command for a simulator, users can now set a predefined\n value for the posix flag (e.g. True) to prevent automatic detection of the operating system.\n This facilitates the creation of some co-simulation cases across OS (e.g. Windows and Linux).\n\n2.5.0 - 2018-09-05\n------------------\n\n- [NEW] Connection option \"time_shifted\" added as alternative to async_requests. This will\n make creating cyclic data dependencies between simulators more usable since usage of\n set_data with an API implementation will no longer be needed.\n\n2.4.0 - 2017-12-06\n------------------\n\n- [NEW] Compatible to the new versions of networkx, simpy and simpy.io\n- [CHANGE] python 3.4, 3.5 and 3.6 are currently supported python 3.3 is no longer supported\n- [FIX] Various bug fixes\n\n2.3.0 - 2016-04-26\n------------------\n\n- [NEW] Allow passing environment vars to sup processes\n- [FIX] Fixed a bug in the version validation which raised an error when using\n a floating point for the version\n\n2.2.0 - 2016-02-15\n------------------\n\n- [NEW] API version 2.2: Added an optional \"setup_done()\" method.\n\n- [CHANGE]\u00a0API version validation: The API version is no longer an integer but\n a \"major.minor\" string. The *major* part has to match with mosaik's major\n version. The *minor* part may be lower or equal to mosaik's minor version.\n\n- [FIX] Various minor fixes and stability improvements.\n\n- [FIX]\u00a0Various documentation updates and fixes.\n\n2.1.2 \u2013 2014-10-29\n------------------\n\n- [FIX]\u00a0``World.shutdown()`` now checks if the socket still exists before\n attempting to close it.\n\n- [FIX]\u00a0Fixed a bug that made the last extra method of a simulator shadow all\n previous ones.\n\n2.1.1 \u2013 2014-10-28\n------------------\n\n- [NEW] ``World.run()`` now prints a warning if you forget to connect\n a simulator's entities.\n- [FIX]\u00a0Fixed some problems with the data-flow cache.\n\n2.1 \u2013 2014-10-24\n----------------\n\n- [NEW]\u00a0Mosaik can now perform real-time simulations. Before, this\n functionality needed to be implemented by simulators. Now it\u2019s just\n ``World.run(until=x, rt_factor=y)``, where ``rt_factor`` defines the\n simulation speed relative to the wall-clock time (`issue #24`).\n\n- [NEW]\u00a0Simulators can now expose extra methods via their API that can be\n called from a mosaik scenario. This allows you to, e.g., store static data in\n a data base. These extra API methods need to be specified in the simulator\u2019s\n meta data (`issue #26`_).\n\n- [NEW] ``util.connect_many_to_one()`` helper function.\n\n- [NEW]\u00a0More and better documentation:\n\n - Tutorial for integrating simulators, control strategies and for creating\n scenarios.\n\n - Sim API description\n\n - Scenario API description\n\n - Sim Manager documentation\n\n - Scheduler documentation\n\n - Discussion of design decisions\n\n - Logo, colors, CI\n\n- [NEW] Added ``util.sync_call()`` which eases calling proxied methods of\n a simulator synchronously.\n\n- [CHANGE] The *rel* attribute in the entity description returned by *create()*\n is now optional.\n\n- [CHANGE]\u00a0Moved proxied methods from ``SimProxy`` to ``SimProxy.proxy`` in\n order to avoid potential name clashes with other attributes.\n\n- [CHANGE]\u00a0Check a simulator\u2019s models and extra API methods for potential name\n clashes with the built-in API methods.\n\n- [CHANGE]\u00a0The argument *execution_graph* of ``World`` was renamed to *debug*.\n The execution graph now also stores the time after a simulation step (in\n addition to the time before the step).\n\n- [FIX] `issue #22`_: The asynchronous requests *get_data()* and *set_data()*\n now check if the ``async_requests`` flag was set in ``World.connect()``.\n\n- [FIX] `issue #23`_: *finalize()* is now called for in-process Python\n simulators.\n\n- [FIX] `issue #27`_: Dramatically improved simulation performance (30 times as\n fast in some cases) if simulators use different step sizes (e.g. 1 minute and\n 1 hour) by improving some internal data structures.\n\n.. _`issue #22`: https://bitbucket.org/mosaik/mosaik/issue/22/\n.. _`issue #23`: https://bitbucket.org/mosaik/mosaik/issue/23/\n.. _`issue #24`: https://bitbucket.org/mosaik/mosaik/issue/24/\n.. _`issue #26`: https://bitbucket.org/mosaik/mosaik/issue/26/\n.. _`issue #27`: https://bitbucket.org/mosaik/mosaik/issue/27/\n\n\n2.0 \u2013 2014-09-22\n----------------\n\n- Mosaik 2 is a complete rewrite of mosaik 1 in order to improve its\n maintainability and flexibility.\n\n- Removed features:\n\n - The *mosl* DSL (including Eclipse xtext and Java) are now gone. Mosaik now\n only uses Python.\n\n - Mosaik now longer has executables but is now used as a library.\n\n - The platform manager is gone.\n\n - The database is now a separate package, see `mosaik-hdf5`__.\n\n - The old web UI is gone.\n\n- Mosaik now consists of four core components with the following feature sets:\n\n - mosaik Sim API\n\n - The API has bean cleaned up and simplified.\n\n - Simulators and control strategies share the same API.\n\n - There are only four calls from mosaik to a simulator: *init*, *create*,\n *step* and *get_data*.\n\n - Simulators / processes can make asynchronous requests to mosaik during a\n step: *get_progress*, *get_related_entities*, *get_data*, *set_data*.\n\n - ZeroMQ with JSON is replaced by plain network sockets with JSON.\n\n - Scenarios:\n\n - Pure Python is now used to describe scenarios. This offers you more\n flexibility to create complex scenarios.\n\n - Scenario creation simplified: Start a simulator to get a model factory.\n Use the factory to create model instances (*entities*). Connect entities.\n Run simulation.\n\n - Connection rules are are no based on a primitive *connect* function that\n only connects two entities with each other. On top of that, any\n connection strategy can be implemented.\n\n - Simulation Manager:\n\n - Simulators written in Python 3 can be executed *in process*.\n\n - Simulators can be started as external processes.\n\n - Mosaik can connect to an already running instance of a simulator. This\n can be used as a replacement for the now gone platform manager.\n\n - Simulation execution:\n\n - The simulation is now event-based. No schedule and no synchronization\n points need to be computed.\n\n - Simulators can have different and varying step sizes.\n\n- Mosaik ecosystem:\n\n - A high-level implementation of the mosaik 2 API currently exists for\n Python__ and Java__.\n\n - *mosaik-web* is a simple visualization for mosaik simulations. See\n https://bitbucket.org/mosaik/mosaik-web.\n\n - *mosaik-pypower* is an adapter for the *PYPOWER* load flow analysis\n library. See https://bitbucket.org/mosaik/mosaik-pypower and\n https://github.com/rwl/PYPOWER.\n\n - *mosaik-csv* and *mosaik-householdsim* are simple demo simulators that you\n can use to \"simulate\" CSV data sets and load-profile based households. See\n https://bitbucket.org/mosaik/mosaik-csv and\n https://bitbucket.org/mosaik/mosaik-householdsim.\n\n - There is a repository containing a simple demo scenario for mosaik. See\n https://bitbucket.org/mosaik/mosaik-demo.\n\n\n You can find information about older versions on the `history page`__\n\n__ https://bitbucket.org/mosaik/mosaik-hdf5\n__ https://bitbucket.org/mosaik/mosaik-api-python\n__ https://bitbucket.org/mosaik/mosaik-api-java\n__ https://mosaik.readthedocs.org/en/latest/about/history.html\n\n\nAuthors\n=======\n\nThe original concepts for mosaik were developed by Steffen Sch\u00fctte and Stefan\nScherfke.\n\nThe author of mosaik version 2 is Stefan Scherfke.\n\nOkko Nannen and Florian Schloegl joined the team in May / July 2014.\nAndr\u00e9 El-Ama joined the Team Juli / 2017\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://mosaik.offis.de", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "my-mosaik", "package_url": "https://pypi.org/project/my-mosaik/", "platform": "", "project_url": "https://pypi.org/project/my-mosaik/", "project_urls": { "Homepage": "https://mosaik.offis.de" }, "release_url": "https://pypi.org/project/my-mosaik/0.0.0/", "requires_dist": [ "networkx (>=2.0)", "mosaik-api (>=2.3)", "simpy (>=3.0.10)", "simpy.io (>=0.2.3)" ], "requires_python": "", "summary": "Mosaik is a flexible Smart-Grid co-simulation framework.", "version": "0.0.0" }, "last_serial": 5911290, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "922ecf8f8561b290b8a8fa0f05cd94f3", "sha256": "bab0d70f67aa3a28d0b11cfc4bbe9cde06b2915a54e483b9e4ad52f642841834" }, "downloads": -1, "filename": "my_mosaik-0.0.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "922ecf8f8561b290b8a8fa0f05cd94f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46542, "upload_time": "2019-10-01T09:10:37", "url": "https://files.pythonhosted.org/packages/6a/70/4578824bd10e0b4f71dc9db536780e21a7c5d4985a9c5d6b10b85593585a/my_mosaik-0.0.0.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "1464999ed07851a3ffa9da51830e3225", "sha256": "c4718560c5145268caf0a99ca9d92d49d65dccc0ea1c2b812af11bf8d52c0cb3" }, "downloads": -1, "filename": "my_mosaik-0.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1464999ed07851a3ffa9da51830e3225", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 35668, "upload_time": "2019-10-01T09:10:36", "url": "https://files.pythonhosted.org/packages/96/ad/8664a6deb28d7af3d5d6815b525dd3e705b1915cff3ab542bfd346a262dc/my_mosaik-0.0.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "922ecf8f8561b290b8a8fa0f05cd94f3", "sha256": "bab0d70f67aa3a28d0b11cfc4bbe9cde06b2915a54e483b9e4ad52f642841834" }, "downloads": -1, "filename": "my_mosaik-0.0.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "922ecf8f8561b290b8a8fa0f05cd94f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46542, "upload_time": "2019-10-01T09:10:37", "url": "https://files.pythonhosted.org/packages/6a/70/4578824bd10e0b4f71dc9db536780e21a7c5d4985a9c5d6b10b85593585a/my_mosaik-0.0.0.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "1464999ed07851a3ffa9da51830e3225", "sha256": "c4718560c5145268caf0a99ca9d92d49d65dccc0ea1c2b812af11bf8d52c0cb3" }, "downloads": -1, "filename": "my_mosaik-0.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1464999ed07851a3ffa9da51830e3225", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 35668, "upload_time": "2019-10-01T09:10:36", "url": "https://files.pythonhosted.org/packages/96/ad/8664a6deb28d7af3d5d6815b525dd3e705b1915cff3ab542bfd346a262dc/my_mosaik-0.0.0-py2.py3-none-any.whl" } ] }