Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flex model fields from sensors #955

Closed
Flix6x opened this issue Jan 8, 2024 · 3 comments
Closed

Flex model fields from sensors #955

Flix6x opened this issue Jan 8, 2024 · 3 comments

Comments

@Flix6x
Copy link
Contributor

Flix6x commented Jan 8, 2024

The serves as a page to track compatibility of sensor cross-referencing in API and CLI flex model fields. That is, which fields already support pointing to a sensor:

Field in flex model API support since CLI support since References
soc-at-start
soc-unit - - not relevant
soc-min
soc-max
soc-minima
soc-maxima
soc-targets
soc-gain v0.18 #906
soc-usage v0.18 #906
roundtrip-efficiency
charging-efficiency v0.18 #933
discharging-efficiency v0.18 #933
storage-efficiency
prefer-charging-sooner
power-capacity v0.18 #897
consumption-capacity v0.18 #897
production-capacity v0.18 #897

Similarly, for flex context fields:

Field in flex context API support since CLI support since References
consumption-price-sensor v0.11 v0.11 #451
production-price-sensor v0.11 v0.11 #451
inflexible-device-sensors v0.11 v0.13 #451, #534
site-power-capacity #925
site-production-capacity #925
site-consumption-capacity #925
@nhoening
Copy link
Contributor

nhoening commented Jan 8, 2024

I'd be interested to see whether we support these fields on asset or sensor attributes. That is a goal we should pursue.

Also, this could also become a discussion.

@victorgarcia98
Copy link
Contributor

Nice, thanks for compiling this list!

What fields should we implement first?

IMO:

  • soc-maxima
  • soc-minima
  • soc-at-start

@Flix6x
Copy link
Contributor Author

Flix6x commented Jan 9, 2024

What fields should we implement first?

  • I'd start with storage-efficiency, as this is usually very much dependent on ambient temperature, and is important in the context of heat modelling.
  • Then I'd treat soc-maxima, soc-minima and soc-targets as one ticket, as they are very similar.
  • The soc-at-start is a bit more tricky, because it is somewhat entangled with the concept of the schedule's start time. But yes, it would be next.

I imagine that after the implementation of soc-maxima and soc-minima as sensors, there is no longer any need to be able to implement soc-max and soc-min as sensors, too. If you agree, I'll add notes to the table, accordingly.

@FlexMeasures FlexMeasures locked and limited conversation to collaborators Jan 9, 2024
@Flix6x Flix6x converted this issue into discussion #957 Jan 9, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants