Replies: 9 comments
-
|
Nice! I have a couple of suggestions: Values should get a unitSo: {
"value": "15 kW"
}Support multiple values per sub-chartWouldn't we want the ability to show multiple flex-model fields in a single graph, for instance, both soc-min and soc-max? Right now we have this: [
{"title": "Prices", "sensors": [1, 2]},
{"title": "Storages", "sensors": [3, 4]}
]I could imagine the static values would be a list, for instance: [
{"title": "Prices", "values": ["10 EUR/MWh", "100 EUR/MWh"], "sensors": [1, 2]},
{"title": "Storages", "values": [{"asset": 10, "flex-model": "max-soc"}, {"asset": 10, "flex-model": "min-soc"}], "sensors": [3, 4]}
]Or alternatively, more like variable quantities: [
{"title": "Prices", "data": ["10 EUR/MWh", "100 EUR/MWh", {"sensor": 1}, {"sensor": 2}]},
{"title": "Storages", "data": [{"asset": 10, "flex-model": "max-soc"}, {"asset": 10, "flex-model": "min-soc"}, {"sensor": 3}, {"sensor": 4}]}
]Values should get a labelFor example: [
{"title": "Prices", "data": [{"value": "10 EUR/MWh", "label": "Minimum price"}, {"value": "100 EUR/MWh", "label": "Maximum price"}, {"sensor": 1}, {"sensor": 2}]},
]The labels should be shown in the legend. Maybe together with sensors? |
Beta Was this translation helpful? Give feedback.
-
|
All good additions! I find "data" indicates time series, but we only deal with fixed values here. "Fixed values" is also our term in the flex-model and flex-context dialogues. So this would be the two new kinds of entries I suggest, to be found under "fixed-values" (we can also allow only one under "fixed-value", as we do for "sensor" I believe): |
Beta Was this translation helpful? Give feedback.
-
|
Mh, actually I was thinking only about fixed values there, but to go all the way, the flex-model/flex-context fields that point to sensors should also be usable. Then, @Flix6x ideas make more sense |
Beta Was this translation helpful? Give feedback.
-
|
More implementation suggestions:
|
Beta Was this translation helpful? Give feedback.
-
|
Hm ... if we support all flex-config (which has both sensors and fixed values), do we really need to let users to add arbitrary fixed values to graphs? I mean, it could be something we add later, right? |
Beta Was this translation helpful? Give feedback.
-
|
I'm fine with narrowing the scope, but I see hardly any difference, though. |
Beta Was this translation helpful? Give feedback.
-
|
Supporting the flex-config is the bigger part of the work, true -― but we'd save some work in the UX at least. There would be just two options for the user: lookup any sensor (as it is now) and adding a flex-config field for an asset (#1874 might help to list the relevant assets). We save ourselves the third option (enter any static value). And we could not do the This is because flex-config fields already have a label we would display, So I would go for only this new schema version for now: (example would mix units, let's ignore) So |
Beta Was this translation helpful? Give feedback.
-
|
Petition to use the key |
Beta Was this translation helpful? Give feedback.
-
|
This idea is now being picked up in this story: #1879 First PR only works on the schema, UI to follow, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Right now, our plots can only consist of sensors. Our dashboard model,
asset.sensors_to_show, has no ability to include static values.I see two ways we might want to support:
Work items:
sensors_to_showschema would be adapted to allow three new types of entries:{"title": "my plot", "value": 15}(adding the "value" option){"title": "my plot", "asset": ASSETID, "flex-model": "max-soc"}max-socis not set on the asset) could even be shown in the console or even a Toast.I would rule out model fields which are more complex than fixed value or sensor (e.g. target SoCs, commitments). But they should be added later, same as annotations.
Beta Was this translation helpful? Give feedback.
All reactions