Closed dunland closed 2 years ago
individual dataview
export individual energy prices so that they can be plotted and drawn for each of the selected buildings https://github.com/quarree100/q100_abm/issues/82
current version of individual data view:
Accordingly, a json structure to transfer all the necessary data would look like this:
{
"data_view_individual_data": {
"buildings_groups": {
"group_0": {
"buildings": [
{
"address": "Rüsdorfer Straße 51",
"avg_spec_heat_consumption": 168.2295352941,
"avg_spec_power_consumption": 0.0,
"cluster_size": 34.0,
"CO2": 0.0137431325,
"connection_to_heat_grid": true,
"connection_to_heat_grid_prior": false,
"refurbished": false,
"refurbished_prior": false,
"environmental_engagement": true,
"environmental_engagement_prior": true,
"energy_source": "Gas",
"cell": ""
}
],
"emissions_graph": "path/to/file1.png",
"energy_cost_graph": "path/to/file2.png"
},
"group_1": {
"buildings": [
{
"address": "Neue Heimat 20",
"avg_spec_heat_consumption": 168.2295352941,
"avg_spec_power_consumption": 0.0,
"cluster_size": 34.0,
"CO2": 0.0083857645,
"connection_to_heat_grid": false,
"connection_to_heat_grid_prior": false,
"refurbished": true,
"refurbished_prior": false,
"environmental_engagement": false,
"environmental_engagement_prior": false,
"energy_source": "Gas",
"cell": ""
},
{
"address": "Neue Heimat 6",
"avg_spec_heat_consumption": 355.3933733333,
"avg_spec_power_consumption": 0.0,
"cluster_size": 3.0,
"CO2": 0.009850668,
"connection_to_heat_grid": false,
"connection_to_heat_grid_prior": false,
"refurbished": true,
"refurbished_prior": false,
"environmental_engagement": true,
"environmental_engagement_prior": true,
"energy_source": "Gas",
"cell": ""
}
],
"emissions_graph": "path/to/file1.png",
"energy_cost_graph": "path/to/file2.png"
},
"group_2": [
""
],
"group_3": {
"buildings": [
{
"address": "Hamburger Straße 12",
"avg_spec_heat_consumption": 168.2295352941,
"avg_spec_power_consumption": 0.0,
"cluster_size": 34.0,
"CO2": 0.0091610135,
"connection_to_heat_grid": false,
"connection_to_heat_grid_prior": false,
"refurbished": false,
"refurbished_prior": false,
"environmental_engagement": true,
"environmental_engagement_prior": false,
"energy_source": "Gas",
"cell": ""
}
],
"emissions_graph": "path/to/file1.png",
"energy_cost_graph": "path/to/file2.png"
}
}
}
}
where key | infoscreen representation |
---|---|
address | [Adresse] |
emissions_graph | Graph: "Verlauf der CO2-Emissionen" |
energy_cost_graph | Graph: "Verlauf der Energiekosten" |
cluster_size | "errechnet aus [cluster_size] Gebäuden des gleichen Typs" |
buildings[0].refurbished_prior | Sanierung → Bestandssituation |
buildings[0].connection_to_heat_grid_prior | Anschluss Wärmenetz → Bestandssituation |
buildings[0].environmental_engagement_prior | Umweltengagement → Bestandssituation |
buildings[0].refurbished | Sanierung → Zukunftsentscheidung |
buildings[0].connection_to_heat_grid | Anschluss Wärmenetz → Zukunftsentscheidung |
buildings[0].environmental_engagement | Umweltengagement → Zukunftsentscheidung |
regarding the variable environmental_engagement
at this point it is a bool referring to model-variable change
if change = true the consumption of a household is reduced by the value of the variable change_factor
(default: 0.1)
it would be possible to directly inluence change_factor
of the respective household by specific values
[x] needs to be discussed and defined by @dunland & @lwinkeler
I made an important update of the json structure above! :arrow_up:
another update with a specific path for the emissions: (energy costs will follow after https://github.com/quarree100/q100_abm/issues/82)
{
"data_view_individual_data": {
"buildings_groups": {
"group_0": {
"buildings": [
{
"address": "Rüsdorfer Straße 51",
"avg_spec_heat_consumption": 234.7511213636,
"avg_spec_power_consumption": 34.5551254545,
"cluster_size": 22.0,
"emissions_graphs": "data/outputs/output_20220831_15-53-46/emissions/CO2_emissions_7.16.png",
"energy_prices_graphs": "data/outputs/output_20220831_15-53-46/energy_prices/energy_prices_7.16.png",
"CO2": 0.0137431325,
"connection_to_heat_grid": false,
"connection_to_heat_grid_prior": false,
"refurbished": false,
"refurbished_prior": false,
"environmental_engagement": false,
"environmental_engagement_prior": false,
"energy_source": "Gas",
"cell": ""
}
],
"connections": 0
},
"group_1": [
""
],
"group_2": [
""
],
"group_3": [
""
]
}
}
}
Next, I will create a graph to display and place it in data/outputs/output_test
updated again with infoscreen-readable file paths
secondary, yet useful feature:
current version of individual data view:
@kazux2 please include the "errechnet aus [X] Gebäuden ähnlichen Verbrauchs" in the individual data view and update it from
buildings_groups.group_X.buildings[0].cluster_size
:
{
"buildings_groups": {
"group_0": {
"buildings": [
{
"address": "R\u00fcsdorfer Stra\u00dfe 40",
"avg_spec_heat_consumption": 196.4097951852,
"avg_spec_power_consumption": 36.5880559259,
"cluster_size": 27,
"emissions_graphs": "",
"energy_prices_graphs": "",
"CO2": 0.0120015825,
"connection_to_heat_grid": false,
"connection_to_heat_grid_prior": false,
"refurbished": false,
"refurbished_prior": false,
"environmental_engagement": false,
"environmental_engagement_prior": false,
"energy_source": "Gas",
"cell": ""
}
],
"connections": 0
},
"group_1": [
""
],
"group_2": [
""
],
"group_3": [
""
]
}
}
Hi David, Now it shows "errechnet aus [X] Gebäuden ähnlichen Verbrauchs"
do not display the template graphs...
Do you mean the image that shows before the actual graph? I changed to show 'loading.png'
Please review the latest commit on workshop_prototype https://github.com/quarree100/qScope_infoscreen/commit/58e795076635efe5595affb107cd6d0d3199dec3
your commit is fine, thanks. (even though I changed back the currentUserMode to 'buildings_interaction' as default)
Do you mean the image that shows before the actual graph? I changed to show 'loading.png'
I think each quarter should only be displayed at all, if there is a building in the group. If the group is empty, just don't display anything at all!
I think pretty much everything here is done!
derzeitiges Layout für Gesamt-Resultate, Vorschlag R&E:
Umsetzung (Beispielgraphen nach nur wenigen simulation steps)
akkumulierte Gesamtemissionen des Quartiers erzeugt stufenweise Steigerung der Emissionen.. das könnte im Workshop Fragen aufwerfen... Ist eine Regressionskurve nötig, oder lassen wir das bewusst so stehen?