quintel / etmoses

Online decision support tool to create local energy situations for neighbourhoods, cities and regions with a time resolution of 15 minutes created and maintained by Quintel – Not maintained
https://moses.energytransitionmodel.com
MIT License
11 stars 3 forks source link

Allow to freely add base load edsn techologies #1539

Closed grdw closed 7 years ago

grdw commented 7 years ago

Fixes: #1528

antw commented 7 years ago

This looks fine, apart from one small issue.

I'm using a copy of the staging database locally, and started to import scenario 596307 from beta ETEngine. On the technology import form (prior to actually saving the new LES), the "Households aggregated" techs were assigned the "Ameland tourist profile electricity" profile in spite of that profile being excluded from auto-assignment:

screen shot 2016-11-02 at 09 26 50

screen shot 2016-11-02 at 09 29 17
antw commented 7 years ago

Sort profiles on included in concurrency

That feels like an awkward solution. Isn't there a way to add selected="selected" to the first <option> which is permitted to be auto-selected? Now "Ameland" appears beneath "Base-load" which isn't intuitive:

screen shot 2016-11-02 at 12 10 03

antw commented 7 years ago

Sort profiles on included in concurrency

That feels like an awkward solution.

Perhaps a nice compromise is to do something like #1459 and sort profiles into two optgroups, with included_in_concurrency being called "Featured", and everything else called "Other"?

That has the advantage of making it obvious to a visitor which profiles are official and which have been uploaded by third-parties?

+--------------------------------------+---+
| Profile                              | v |
+--------------------------------------+---+
| Featured                                 |
|   Base-load profile EDSN type E1A        |
|   Base-load profile EDSN type E1B        |
|   ...                                    |
| Other                                    |
|   Ameland tourist profile electricity    |
|   ...                                    |
+------------------------------------------+