Commit 45db7ab3 authored by Eric Duminil's avatar Eric Duminil
Browse files

Updated README

parent acd81272
...@@ -21,11 +21,11 @@ pip install simstadt ...@@ -21,11 +21,11 @@ pip install simstadt
```python ```python
from simstadt import heatdemand_simulation, photovoltaic_simulation, greenwater_simulation, clean_old_workflows from simstadt import heatdemand_simulation, photovoltaic_simulation, greenwater_simulation, clean_old_workflows
results = heatdemand_simulation("path/to/city.gml", "Wuerzburg-hour.csv") results = heatdemand_simulation("path/to/city.gml")
print(results.dataframe) print(results.dataframe)
print(results.kpis) print(results.kpis)
pv = photovoltaic_simulation("path/to/city.gml", "Wuerzburg-hour.csv") pv = photovoltaic_simulation("path/to/city.gml")
print(pv.dataframe) print(pv.dataframe)
gw = greenwater_simulation("path/to/city.gml", "Wuerzburg-hour.csv", irrigation_ratio=0.5) gw = greenwater_simulation("path/to/city.gml", "Wuerzburg-hour.csv", irrigation_ratio=0.5)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment