flexmeasures icon indicating copy to clipboard operation
flexmeasures copied to clipboard

feature: flex context prices as quantities

Open Flix6x opened this issue 3 months ago • 0 comments

Description

QuantityOrSensor("/MWh") can now be used for energy price fields. Any unit is accepted as a numerator: this includes currencies, such as EUR/MWh, USD/MWh and AUD/MWh, but also kg/MWh in case of scheduling against emissions, or even just %, which would get converted to units of MWh/MWh.

How to test

I expanded a test for the schema and added an extra test case.

Related Items

Closes #1027.

Flix6x avatar Mar 31 '24 22:03 Flix6x