Package: vessim
VessimVessim is a versatileco-simulation testbed for carbon-aware applications and systemswhich connects domain-specific simulators for renewable power generation and energy storage with real software and hardware.What can I do with it?Vessim allows you to simulate energy systems next to real or simulated computing systems:fromvessim.actorimportComputingSystem,Generatorfromvessim.controllerimportMonitorfromvessim.cosimimportEnvironment,Microgridfromvessim.power_meterimportMockPowerMeterfromvessim.signalimportHistoricalSignalfromvessim.storageimportSimpleBatteryenvironment=Environment(sim_start="15-06-2022")environment.add_grid_signal("carbon_intensity",HistoricalSignal.from_dataset("carbon_data1"))monitor=Monitor()microgrid=Microgrid(actors=[ComputingSystem(power_meters=[MockPowerMeter(p=100)]),Generator(signal=HistoricalSignal.from_dataset("solcast2022_global")),],controllers=[monitor],storage=SimpleBattery(capacity=100),zone="DE",step_size=60,)environment.add_microgrid(microgrid)environment.run(until=24*3600)# 24hmonitor.to_csv("result.csv")InstallationYou can install thelatest releaseof Vessim
viapip:pip install vessimIf you require software-in-the-loop (SiL) capabilities, you can install thesilextra:pip install vessim[sil]For complex scenarios that involve custom co-simulation actors we recommend cloning and editing this depository directly.DatasetsVessim comes with ready-to-user datasets for solar irradiance and average carbon intensity provided byandWe're working on documentation on how to include custom datasets for your simulations.Work in progressOur team at theDistributed and Operating Systemsgroup at TU Berlin is actively working to improve Vessim.
We are currently working on the following aspects and features:Website: We are currently working on better examples and documentation. You can find the current WiP documentationhere.Imroved Software-in-the-loop (SiL) API: We will soon release a new API for SiL simulations with new examples and better documentation.System Advisor Model (SAM): We are working on making NREL'sSAMavailable as a subsystem in Vessim.PublicationsIf you use Vessim in your research, please cite our vision paper:Philipp Wiesner, Ilja Behnke and Odej Kao. "A Testbed for Carbon-Aware Applications and Systems" arXiv:2302.08681 [cs.DC]. 2023.Bibtex@misc{wiesner2023vessim,
    title={A Testbed for Carbon-Aware Applications and Systems}, 
    author={Wiesner, Philipp and Behnke, Ilja and Kao, Odej},
    year={2023},
    eprint={2306.09774},
    archivePrefix={arXiv},
    primaryClass={cs.DC}
}Or our journal paper on software-in-the-loop similation for carbon-aware applications:Philipp Wiesner, Marvin Steinke, Henrik Nickel, Yazan Kitana, and Odej Kao. "Software-in-the-Loop Simulation for Developing and Testing Carbon-Aware Applications" Software: Practice and Experience, 53 (12). 2023.Bibtex@article{wiesner2023sil,
    author = {Wiesner, Philipp and Steinke, Marvin and Nickel, Henrik and Kitana, Yazan and Kao, Odej},
    title = {Software-in-the-loop simulation for developing and testing carbon-aware applications},
    journal = {Software: Practice and Experience},
    year = {2023},
    volume = {53},
    number = {12},
    pages = {2362-2376},
    doi = {https://doi.org/10.1002/spe.3275}
}