Package: midas-mosaik
MIDASThe MultI-DomAin test Scenario (MIDAS) is a collection of mosaik simulators (https://gitlab.com/mosaik) for smart grid co-simulation and contains a semi-automatic scenario configuration tool.
The latest documentation is always available athttps://midas-mosaik.gitlab.io/midas.Version: 1.0RequirementsAll required Python packages will be pulled during installation.
However, there are some additional requirements which you have to setup up manually.First of all, you need a working Python installation >= 3.8.
Download it from (https://www.python.org/) or use your systems' package manager.
Furthermore, you will need to have a working Git installation, which you can
find onhttps://git-scm.com/downloads(or via your package manager).Midas is able to create an analysis report of the simulation results.
If you have a working pandoc (https://pandoc.org/) installation, this report will automatically be converted to an .odt file.
This ispurely optional.InstallationMIDAS is available onhttps://pypi.organd can be installed, preferably into a virtualenv, withpipinstallmidas-mosaikAlternatively, to install directly from the source, you can clone this repository withgitclonehttps://gitlab.com/midas-mosaik/midas.gitthen switch to the midas folder and typepipinstall.for a normal install andpipinstall-e.for aneditableinstall, i.e., changes you make in the source do not require a reinstall.See the documation athttps://midas-mosaik.gitlab.io/midas/installation.htmlfor OS-specific installation instructions.UsageMIDAS comes with a command line tool calledmidasctlthat let's you conveniently start your scenario and/or add minor modifications to it (e.g. change the number of simulations steps, write to a different database, etc.).midasctlalso helps doing the initial setup of MIDAS.
Just typemidasctlconfigureand you will be asked to specify where the runtime configuration of MIDAS should be stored and where you want the datasets to be located. You can of course let MIDAS decide this for you, just append-ato the command:midasctlconfigure-aAfterwards, you need to download the datasets that MIDAS will use. Typemidasctldownloadand wait a moment until MIDAS is done. Finally, you can test your installation withmidasctlrundemoThis will run a demonstration scenario and should not take very long.Pro tip: If you just run the last command, configuration and download will be performed implicitly.Data Sets and LicenseThe datasets are pulled from different locations.The default load profiles are publicly available athttps://www.bdew.de/energie/standardlastprofile-strom/The commercial data set is retrieved fromhttps://data.openei.org/submissions/153and is released under the Creative Commons License:https://creativecommons.org/licenses/by/4.0/The energy values are converted from Kilowatt to Megawatt and are slightly rearranged to be usable with MIDAS.The simbench datasets are directly extracted from the simbench pypi package.The smart nord dataset comes from the research project Smart Nord (www.smartnord.de).The Weather datasets are publicly available athttps://opendata.dwd.de/(see the Copyright information:https://www.dwd.de/EN/service/copyright/copyright_node.html)
Since sometimes values are missing, those values are filled with previous orsimilar values.MIDAS as DockerThere is a Docker file that can be used to run the MIDAS command line tool.
And there is an install script for those working on LINUX, simply run:./build_docker.shAfterwards, executedockerrun\-vPATH_TO_MIDAS_DATA:/home/user/.config/midas/midas_data\-vPATH_TO_OUTPUT_DIR:/app/_outputs\midasrunmidasmvto run themidasmvscenario in the docker.
ReplacePATH_TO_MIDAS_DATAwith the absolute path to your MIDAS data directory (usually located at ~/.config/midas/midas_data).
ReplacePATH_TO_OUTPUT_DIRwith the location where the outputs should be stored.If you create a runtime config in the same directory as the Dockerfile before run the build command, this file will be included.
However, you should not change the output_path and the data_path, otherwise you will have to adapt the run command as well.