OasisLMF / OasisUI

User Interface for the Oasis platform.
BSD 3-Clause "New" or "Revised" License
16 stars 17 forks source link

Set PLA on by default #317

Open Raph692 opened 8 months ago

Raph692 commented 8 months ago

Hello,

Our models require PLA factors to be applied by default to capture additional per-asset costs of wind farms. Users currently apply PLA factors by ticking the PLA box in the Oasis UI: image

We were wondering if there's any way for model vendors to enable the PLA box to be ticked by default (to avoid the risk of users forgetting to expand the "Advanced" button to tick the PLA box)?

Many thanks!

benhayes21 commented 6 months ago

PLA should be added to the model settings schema along with options for default settings (probably just on/off by default).

The issue with setting it as always on is that some (most) models do not have the functionality enabled, so it will be misleading. I think that having a PLA flag in the model settings file should drive the appearance in the UI, and the default option (on/off) should be used to populate the UI control

Raph692 commented 6 months ago

Yes, I agree. It is best not to have PLA always on, and would be preferable to have an on/off flag in the model settings that will set it to that state in the UI by default.

I can't see the PLA flag in the current model settings schema on github - I assume you're suggesting to add this in the future?

benhayes21 commented 6 months ago

yes