flexmeasures.ui.views.assets.scheduling

Lazy suggestions and narrowly scoped defaults for the manual scheduling dialog.

Functions

flexmeasures.ui.views.assets.scheduling.consumption_price_options(context, start_time, end_time, selected_price_id)

Find the configured consumption price and any available alternatives.

flexmeasures.ui.views.assets.scheduling.last_price_end(sensor, start_time, end_time, belief_time)

Find the end of the latest known price event within the schedule period.

flexmeasures.ui.views.assets.scheduling.power_capacity_option(model, context)

Show the effective power limit and its source before it is overridden.

flexmeasures.ui.views.assets.scheduling.price_option(sensor, start_time, end_time, belief_time)

Describe a readable price sensor with at least one usable event.

flexmeasures.ui.views.assets.scheduling.readable_price_candidates(start_time, end_time)

Filter price candidates by readable organisation and event window in SQL.

flexmeasures.ui.views.assets.scheduling.schedule_options(asset, start_time, end_time, selected_price_id=None)

Find readable candidates only when the dialog requests them.

flexmeasures.ui.views.assets.scheduling.sensor_option(sensor)
flexmeasures.ui.views.assets.scheduling.soc_options(asset, start_time, lookup_radius)

Offer nearby SoC sensor readings or older snapshots for manual use.

The scheduler’s own plan is left out: after a run it lands on the same sensor, but it is not a reading to start from.