GitHub 火线榜

GitHub 火线榜 · 仓库档案

dos-group/vessim

A Python library for simulating datacenter energy systems (简介来自仓库自身文档。)

数据截至 10月26日dos-group

最好成绩

#192

被忽视榜 · 活跃却无人问津

100

累计 Star

14

Fork 总数

4

近 30 天在榜天数

项目状态许可证: MIT最近 push: 10月20日Open Issues(含 PR): 2

自 2026-10-25 起采集;未知 = 尚未采集到

把上榜徽章放进你的 README · dos-group/vessim[![把上榜徽章放进你的 README](https://git.vaiox.xyz/api/badge/dos-group/vessim.svg)](https://git.vaiox.xyz/zh/repo/dos-group/vessim)
<a href="https://git.vaiox.xyz/zh/repo/dos-group/vessim"><img src="https://git.vaiox.xyz/api/badge/dos-group/vessim.svg" alt="把上榜徽章放进你的 README" height="20"></a>

项目文档

Vessim Logo

Vessim is a Python library for simulating datacenter energy systems.

Vessim models the interaction between datacenter demand and energy infrastructure, helping you understand how design and control decisions affect cost, carbon emissions, and resilience.

Documentation · Getting started · Explore example results

  • Simulation studies: Compare infrastructure and control strategies across demand, weather, and operating scenarios. Explore design choices through parameter sweeps, optimization, or probabilistic simulations.
  • Live modeling: Connect real applications to a simulated energy system through REST APIs. Test how a scheduler or controller responds to changing power availability.
  • Digital twins: Model an energy system alongside the real installation using live measurements. Explore possible futures, such as prolonged low renewable generation or a grid outage.

Getting started

Install Vessim with Python 3.9 to 3.15:

python -m pip install vessim

This example models three days of datacenter demand, solar generation, and battery operation. Surplus solar power charges the battery, which supplies demand when solar generation falls. The grid supplies any remaining deficit and receives surplus power once the battery is full.

Download solar_example.csv into your working directory, then run:

import vessim as vs

# Scale the solar profile to a 2.4 kW installation.
solar = vs.Trace.from_csv("solar_example.csv", column="Berlin", scale=2400)

env = vs.Environment(sim_start="2026-01-01", step_size=5 * 60)
env.add_microgrid(
    name="site",
    actors=[
        vs.Consumer("load", signal=700),
        vs.Producer("solar", signal=solar),
    ],
    dispatchables=[vs.SimpleBattery("battery", capacity=1000), vs.GridConnection()],
)
recorder = env.add_controller(vs.Recorder("results/basic_example"))
env.run(until=3 * 24 * 3600)

metrics = recorder.metrics["microgrids"]["site"]
print(f"Grid import: {metrics['grid_import'] / 1000:.2f} kWh")
print(f"Grid export: {metrics['grid_export'] / 1000:.2f} kWh")
Grid import: 26.71 kWh
Grid export: 11.08 kWh

Explore this example in your browser, or open your saved results locally:

python -m vessim view results/basic_example

The Getting Started walkthrough explains how the components work together. To use your own data, see Actors and Signals.

Explore further

Example What you can explore
Exploring microgrid configurations Compare wind, solar, and battery configurations over a year. View results
Optimization Search for designs with different cost and emissions trade-offs. View results
Dispatch strategies Compare control policies across demand scenarios. View results
Demand response Adjust workload concurrency under a flexible grid connection agreement
Custom metrics Calculate electricity costs, emissions, and your own study objectives

Run the examples locally with a shared setup and reproducible commands.

For live measurements and REST control, install pip install 'vessim[live]' and use vs.Environment.live(). To connect external simulators through Mosaik, install pip install 'vessim[mosaik]'.

Publications

If you use Vessim in your research, please cite:

Philipp Wiesner, Ilja Behnke, Paul Kilian, Marvin Steinke, and Odej Kao. Vessim: A Testbed for Carbon-Aware Applications and Systems. ACM SIGENERGY Energy Informatics Review 4 (5), 2024.

More papers are listed in the documentation!

About

Vessim was originally developed at the research group for Distributed and Operating Systems at TU Berlin. It is now maintained at the Machine Learning Systems Lab at the University of Cambridge.

当前上榜

  • 192

    被忽视榜 · 活跃却无人问津

    100 星 · 14 fork · 累计 Star(升序)

    被忽视 →

近 30 天势头

累计 Star 走势

名次走势

每日新增 Star

同榜竞速 · 名次近邻 · 被忽视

← 回到榜单