rte-antares-rpackage / antaresViz

ANTARES Visualizations
https://rte-antares-rpackage.github.io/antaresViz
20 stars 12 forks source link

plotMap : use alias for the parameter "Areas/Size" #159

Closed jalazawa closed 6 years ago

jalazawa commented 6 years ago

We want usually to put in the size parameter the production alias or thermal alias.

It's not user friendly to put them one by one.

plotmap_alias

jalazawa commented 6 years ago

Can we use alias like "generation" (if all columns are present)

see


showAliases(name="generation")
        name                                                        desc
3 generation Production that can be controlled: thermal and hydrostorage
                                                           select
3 NUCLEAR, LIGNITE, COAL, GAS, OIL, MIX. FUEL, MISC. DTG, H. STOR

It will save some time

Same idea for all alias ?


showAliases()
                     name                                                        desc
1                 economy      Production costs, prices, exchanges and spilled energy
2                adequacy                                          Adequacy variables
3              generation Production that can be controlled: thermal and hydrostorage
4               renewable                                       Renewable productions
5                 thermal                                         Thermal productions
6                 netLoad                          Variables used to compute net load
7                  nostat    All variables except summary variable (MIN, MAX and STD)
8          downwardMargin                      Data required by 'addDownwardMargin()'
9            upwardMargin                        Data required by 'addUpwardMargin()'
10         exportsImports                     Data required by 'addExportAndImport()'
11         loadFactorLink                      Data required by 'addLoadFactorLink()'
12     externalDependency                     Data required by 'externalDependency()'
13             loadFactor                             Data required by 'loadFactor()'
14             modulation                             Data required by 'modulation()'
15            netLoadRamp                   Data required by function 'netLoadRamp()'
16                surplus                       Data required by function 'surplus()'
17        surplusClusters                        Data required by 'surplusClusters()'
18         surplusSectors                Data required by function 'surplusSectors()'
19         Out_addNetLoad                                              Out_addNetLoad
20  Out_addDownwardMargin                                       Out_addDownwardMargin
21    Out_addUpwardMargin                                         Out_addUpwardMargin
22 Out_addExportAndImport                                      Out_addExportAndImport
23  Out_addLoadFactorLink                                       Out_addLoadFactorLink
24 Out_externalDependency                                      Out_externalDependency
25         Out_loadFactor                                              Out_loadFactor
26         Out_modulation                                              Out_modulation
27        Out_netLoadRamp                                             Out_netLoadRamp
28            Out_surplus                                                 Out_surplus
29    Out_surplusClusters                                         Out_surplusClusters
bthieurmel commented 6 years ago

Fait.

jalazawa commented 6 years ago

Can we change the "select box" by a "Text input" ? I want to select in the same time generation and renewable.

bthieurmel commented 6 years ago

Multiple select input is better for that I think ?

jalazawa commented 6 years ago

Yes

bthieurmel commented 6 years ago

Fait

jalazawa commented 6 years ago

There is an offset between the text and the color in the legend.

see the picture ...

legende_decalage

bthieurmel commented 6 years ago

Depends on navigator zoom...

jalazawa commented 6 years ago

OK