Commit 7a5f4762 authored by Eric Duminil's avatar Eric Duminil
Browse files

Comparing Grombühl (LuBu) too. Factor 2.7 :-/

parent a7a6e0e0
......@@ -65,11 +65,11 @@ def compare_results(simstadt_df, urbi_df):
simstadt_urbi.round(1).to_csv('simstadt_vs_urbi_heat_demands.csv', sep=';', decimal='.')
plt.rcParams["figure.figsize"] = (10, 10)
ax = simstadt_urbi.plot.scatter(x=S_DEMAND, y=U_DEMAND, title='Urbi vs SimStadt Heat-demand')
ax = simstadt_urbi.plot.scatter(x=S_DEMAND, y=U_DEMAND, title=f'Urbi vs SimStadt Heat-demand\n{CITYGML}')
max_heat_demand = simstadt_urbi.max().max()
ax.plot([0, max_heat_demand], [0, max_heat_demand])
ax.axis('equal')
plt.savefig('simstadt_vs_urbi_heat_demands.png', bbox_inches='tight')
plt.savefig(f'simstadt_vs_urbi_heat_demands_{CITYGML}.png', bbox_inches='tight')
print("Correlation:")
print(simstadt_urbi.corr())
......
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