VeraGrid 5.6.10__tar.gz → 5.6.11__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. {veragrid-5.6.10 → veragrid-5.6.11}/PKG-INFO +1 -1
  2. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ExecuteVeraGrid.py +0 -2
  3. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/AboutDialogue/about_dialogue.py +1 -1
  4. veragrid-5.6.10/VeraGrid/Gui/AboutDialogue/gui.py → veragrid-5.6.11/VeraGrid/Gui/AboutDialogue/about_gui.py +28 -7
  5. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/AboutDialogue/update_gui_file.py +1 -2
  6. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Analysis/AnalysisDialogue.py +1 -1
  7. veragrid-5.6.10/VeraGrid/Gui/Analysis/gui.py → veragrid-5.6.11/VeraGrid/Gui/Analysis/analysis_gui.py +15 -13
  8. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Analysis/update_gui_file.py +1 -3
  9. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/ContingencyPlanner/contingency_planner_dialogue.py +1 -1
  10. veragrid-5.6.10/VeraGrid/Gui/ContingencyPlanner/gui.py → veragrid-5.6.11/VeraGrid/Gui/ContingencyPlanner/contingency_planner_gui.py +2 -2
  11. {veragrid-5.6.10/VeraGrid/Gui/SyncDialogue → veragrid-5.6.11/VeraGrid/Gui/ContingencyPlanner}/update_gui_file.py +2 -2
  12. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/CoordinatesInput/coordinates_dialogue.py +1 -1
  13. veragrid-5.6.10/VeraGrid/Gui/CoordinatesInput/gui.py → veragrid-5.6.11/VeraGrid/Gui/CoordinatesInput/coordinates_input_gui.py +2 -2
  14. veragrid-5.6.11/VeraGrid/Gui/CoordinatesInput/update_gui_file.py +13 -0
  15. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Injections/map_injections_template_graphics.py +48 -18
  16. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/grid_map_widget.py +18 -0
  17. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/GridGenerator/grid_generator_dialogue.py +1 -1
  18. veragrid-5.6.10/VeraGrid/Gui/GridGenerator/gui.py → veragrid-5.6.11/VeraGrid/Gui/GridGenerator/grid_generator_gui.py +2 -2
  19. veragrid-5.6.11/VeraGrid/Gui/GridGenerator/update_gui_file.py +12 -0
  20. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/GridMerge/update_gui_file.py +1 -1
  21. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/GridReduce/grid_reduce.py +22 -5
  22. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/GridReduce/grid_reduce_gui.py +18 -2
  23. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/GridReduce/update_gui_file.py +0 -1
  24. {veragrid-5.6.10/VeraGrid/Gui/Main → veragrid-5.6.11/VeraGrid/Gui/Icons}/icons_rc.py +1280 -394
  25. veragrid-5.6.10/VeraGrid/Gui/CoordinatesInput/update_gui_file.py → veragrid-5.6.11/VeraGrid/Gui/Icons/update_icons_rc.py +0 -2
  26. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/LoadCatalogue/SelectComponents.py +2 -2
  27. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/LoadCatalogue/update_gui_file.py +1 -1
  28. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/LoadDesigner/load_designer_ui.py +1 -1
  29. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/LoadDesigner/update_gui_file.py +0 -1
  30. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/MainWindow.py +4 -3
  31. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/io.py +5 -11
  32. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/VeraGridMain.py +1 -1
  33. {veragrid-5.6.10/VeraGrid/Gui/RosetaExplorer → veragrid-5.6.11/VeraGrid/Gui/Main}/update_gui_file.py +0 -1
  34. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/ProfilesInput/profiles_from_data_gui.py +1 -1
  35. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/ProfilesInput/profiles_from_models_gui.py +1 -1
  36. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/ProfilesInput/update_gui_file.py +1 -1
  37. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/RmsModelEditor/block_data_dialogue.py +6 -6
  38. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/RmsModelEditor/rms_model_editor.py +2 -2
  39. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/RmsModelEditor/update_gui_file.py +1 -1
  40. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/RosetaExplorer/MainWindow.py +1 -1
  41. {veragrid-5.6.10/VeraGrid/Gui/Main → veragrid-5.6.11/VeraGrid/Gui/RosetaExplorer}/update_gui_file.py +1 -2
  42. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SigmaAnalysis/sigma_analysis_dialogue.py +1 -1
  43. veragrid-5.6.10/VeraGrid/Gui/SigmaAnalysis/gui.py → veragrid-5.6.11/VeraGrid/Gui/SigmaAnalysis/sigma_analysis_gui.py +2 -2
  44. veragrid-5.6.11/VeraGrid/Gui/SigmaAnalysis/update_gui_file.py +13 -0
  45. veragrid-5.6.10/VeraGrid/Gui/SolarPowerWizard/gui.py → veragrid-5.6.11/VeraGrid/Gui/SolarPowerWizard/solar_power_wizard_gui.py +2 -2
  46. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SolarPowerWizard/solar_power_wizzard.py +1 -1
  47. veragrid-5.6.11/VeraGrid/Gui/SolarPowerWizard/update_gui_file.py +13 -0
  48. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SubstationDesigner/voltage_level_conversion.py +6 -35
  49. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SyncDialogue/sync_dialogue.py +1 -1
  50. veragrid-5.6.10/VeraGrid/Gui/SyncDialogue/gui.py → veragrid-5.6.11/VeraGrid/Gui/SyncDialogue/sync_gui.py +2 -2
  51. veragrid-5.6.11/VeraGrid/Gui/SyncDialogue/update_gui_file.py +13 -0
  52. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SystemScaler/system_scaler_ui.py +1 -1
  53. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SystemScaler/update_gui_file.py +1 -1
  54. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/TowerBuilder/tower_builder.py +1 -1
  55. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/TowerBuilder/update_gui_file.py +1 -1
  56. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/TreeModelViewer/MainWindow.py +1 -1
  57. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/TreeModelViewer/update_gui_file.py +0 -1
  58. veragrid-5.6.11/VeraGrid/Gui/Widgets/__init__.py +0 -0
  59. veragrid-5.6.11/VeraGrid/Gui/WindPowerWizard/update_gui_file.py +13 -0
  60. veragrid-5.6.10/VeraGrid/Gui/WindPowerWizard/gui.py → veragrid-5.6.11/VeraGrid/Gui/WindPowerWizard/wind_power_wizard_gui.py +2 -2
  61. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/update_gui_common.py +1 -1
  62. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Session/session.py +6 -10
  63. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/__version__.py +1 -1
  64. veragrid-5.6.10/VeraGrid/Gui/AboutDialogue/icons_rc.py +0 -208
  65. veragrid-5.6.10/VeraGrid/Gui/Analysis/icons_rc.py +0 -564
  66. veragrid-5.6.10/VeraGrid/Gui/ContingencyPlanner/icons_rc.py +0 -625
  67. veragrid-5.6.10/VeraGrid/Gui/ContingencyPlanner/update_gui_file.py +0 -14
  68. veragrid-5.6.10/VeraGrid/Gui/CoordinatesInput/icons_rc.py +0 -1077
  69. veragrid-5.6.10/VeraGrid/Gui/GridGenerator/icons_rc.py +0 -625
  70. veragrid-5.6.10/VeraGrid/Gui/GridGenerator/update_gui_file.py +0 -13
  71. veragrid-5.6.10/VeraGrid/Gui/LoadCatalogue/icons_rc.py +0 -175
  72. veragrid-5.6.10/VeraGrid/Gui/LoadDesigner/icons_rc.py +0 -962
  73. veragrid-5.6.10/VeraGrid/Gui/Main/ConsoleLog.py +0 -113
  74. veragrid-5.6.10/VeraGrid/Gui/Main/ConsoleLogController.py +0 -35
  75. veragrid-5.6.10/VeraGrid/Gui/ProfilesInput/icons_rc.py +0 -1519
  76. veragrid-5.6.10/VeraGrid/Gui/RmsModelEditor/icons_rc.py +0 -156
  77. veragrid-5.6.10/VeraGrid/Gui/RosetaExplorer/icons_rc.py +0 -5745
  78. veragrid-5.6.10/VeraGrid/Gui/SigmaAnalysis/icons_rc.py +0 -1059
  79. veragrid-5.6.10/VeraGrid/Gui/SigmaAnalysis/update_gui_file.py +0 -13
  80. veragrid-5.6.10/VeraGrid/Gui/SolarPowerWizard/icons_rc.py +0 -387
  81. veragrid-5.6.10/VeraGrid/Gui/SolarPowerWizard/update_gui_file.py +0 -13
  82. veragrid-5.6.10/VeraGrid/Gui/SyncDialogue/icons_rc.py +0 -422
  83. veragrid-5.6.10/VeraGrid/Gui/SystemScaler/icons_rc.py +0 -962
  84. veragrid-5.6.10/VeraGrid/Gui/TowerBuilder/icons_rc.py +0 -515
  85. veragrid-5.6.10/VeraGrid/Gui/TreeModelViewer/icons_rc.py +0 -5855
  86. veragrid-5.6.10/VeraGrid/Gui/WindPowerWizard/icons_rc.py +0 -162
  87. veragrid-5.6.10/VeraGrid/Gui/WindPowerWizard/update_gui_file.py +0 -13
  88. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/AboutDialogue/__init__.py +0 -0
  89. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Analysis/__init__.py +0 -0
  90. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Analysis/object_plot_analysis.py +0 -0
  91. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/ContingencyPlanner/__init__.py +0 -0
  92. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/CoordinatesInput/__init__.py +0 -0
  93. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/Editors/__init__.py +0 -0
  94. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/Editors/controllable_shunt_editor.py +0 -0
  95. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/Editors/generator_editor.py +0 -0
  96. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/Editors/line_editor.py +0 -0
  97. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/Editors/new_line_dialogue.py +0 -0
  98. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/Editors/transformer3w_editor.py +0 -0
  99. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/Editors/transformer_editor.py +0 -0
  100. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/Editors/transformer_taps_editor.py +0 -0
  101. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Branches/__init__.py +0 -0
  102. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Branches/line_location_graphic_item.py +0 -0
  103. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Branches/map_ac_line.py +0 -0
  104. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Branches/map_dc_line.py +0 -0
  105. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Branches/map_fluid_path.py +0 -0
  106. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Branches/map_hvdc_line.py +0 -0
  107. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Branches/map_line_container.py +0 -0
  108. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Branches/map_line_segment.py +0 -0
  109. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Injections/__init__.py +0 -0
  110. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Injections/map_battery_graphics.py +0 -0
  111. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Injections/map_external_grid_graphics.py +0 -0
  112. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Injections/map_generator_graphics.py +0 -0
  113. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Injections/map_load_graphics.py +0 -0
  114. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Injections/map_static_generator_graphics.py +0 -0
  115. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Substation/__init__.py +0 -0
  116. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Substation/node_template.py +0 -0
  117. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Substation/substation_graphic_item.py +0 -0
  118. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Substation/voltage_level_graphic_item.py +0 -0
  119. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Tiles/TileProviders/__init__.py +0 -0
  120. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Tiles/TileProviders/blue_marble.py +0 -0
  121. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Tiles/TileProviders/cartodb.py +0 -0
  122. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Tiles/__init__.py +0 -0
  123. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Tiles/base_tiles.py +0 -0
  124. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Tiles/default_tile_data.py +0 -0
  125. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Tiles/pycacheback.py +0 -0
  126. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Tiles/tile_worker.py +0 -0
  127. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Tiles/tiles.py +0 -0
  128. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/Tiles/tiles_cache.py +0 -0
  129. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/__init__.py +0 -0
  130. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/MapWidget/map_widget.py +0 -0
  131. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Branches/__init__.py +0 -0
  132. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Branches/dc_line_graphics.py +0 -0
  133. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Branches/hvdc_graphics.py +0 -0
  134. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Branches/line_graphics.py +0 -0
  135. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Branches/line_graphics_template.py +0 -0
  136. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Branches/series_reactance_graphics.py +0 -0
  137. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Branches/switch_graphics.py +0 -0
  138. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Branches/transformer2w_graphics.py +0 -0
  139. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Branches/transformer3w_graphics.py +0 -0
  140. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Branches/upfc_graphics.py +0 -0
  141. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Branches/vsc_graphics.py +0 -0
  142. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Branches/vsc_graphics_3term.py +0 -0
  143. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Branches/winding_graphics.py +0 -0
  144. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Fluid/__init__.py +0 -0
  145. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Fluid/fluid_node_graphics.py +0 -0
  146. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Fluid/fluid_p2x_graphics.py +0 -0
  147. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Fluid/fluid_path_graphics.py +0 -0
  148. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Fluid/fluid_pump_graphics.py +0 -0
  149. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Fluid/fluid_turbine_graphics.py +0 -0
  150. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Injections/__init__.py +0 -0
  151. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Injections/battery_graphics.py +0 -0
  152. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Injections/controllable_shunt_graphics.py +0 -0
  153. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Injections/current_injection_graphics.py +0 -0
  154. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Injections/external_grid_graphics.py +0 -0
  155. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Injections/generator_graphics.py +0 -0
  156. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Injections/injections_template_graphics.py +0 -0
  157. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Injections/load_graphics.py +0 -0
  158. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Injections/shunt_graphics.py +0 -0
  159. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Injections/static_generator_graphics.py +0 -0
  160. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Substation/__init__.py +0 -0
  161. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/Substation/bus_graphics.py +0 -0
  162. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/__init__.py +0 -0
  163. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/diagram_bus_selection_dialogue.py +0 -0
  164. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/matplotlibwidget.py +0 -0
  165. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/schematic_widget.py +0 -0
  166. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/SchematicWidget/terminal_item.py +0 -0
  167. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/__init__.py +0 -0
  168. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/base_diagram_widget.py +0 -0
  169. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/diagrams_model.py +0 -0
  170. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/generic_graphics.py +0 -0
  171. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Diagrams/graphics_manager.py +0 -0
  172. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/GridGenerator/__init__.py +0 -0
  173. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/GridMerge/__init__.py +0 -0
  174. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/GridMerge/build_diff_tree.py +0 -0
  175. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/GridMerge/grid_diff.py +0 -0
  176. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/GridMerge/grid_diff_gui.py +0 -0
  177. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/GridMerge/grid_merge.py +0 -0
  178. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/GridMerge/grid_merge_gui.py +0 -0
  179. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/GridReduce/__init__.py +0 -0
  180. {veragrid-5.6.10/VeraGrid/Gui/ProfilesInput → veragrid-5.6.11/VeraGrid/Gui/Icons}/__init__.py +0 -0
  181. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/LoadCatalogue/__init__.py +0 -0
  182. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/LoadCatalogue/catalogue_dialogue.py +0 -0
  183. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/LoadDesigner/__init__.py +0 -0
  184. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/LoadDesigner/load_designer.py +0 -0
  185. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Model/__init__.py +0 -0
  186. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Model/compiled_arrays.py +0 -0
  187. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Model/compiled_arrays_model.py +0 -0
  188. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Model/data_base.py +0 -0
  189. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Model/diagrams.py +0 -0
  190. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Model/time_events.py +0 -0
  191. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/README.txt +0 -0
  192. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Results/__init__.py +0 -0
  193. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Results/results.py +0 -0
  194. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Scripting/__init__.py +0 -0
  195. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Scripting/scripting.py +0 -0
  196. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Server/__init__.py +0 -0
  197. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Server/server.py +0 -0
  198. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Settings/__init__.py +0 -0
  199. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/Settings/configuration.py +0 -0
  200. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/__init__.py +0 -0
  201. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/base_gui.py +0 -0
  202. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/SubClasses/simulations.py +0 -0
  203. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/__init__.py +0 -0
  204. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Main/object_select_window.py +0 -0
  205. {veragrid-5.6.10/VeraGrid/Gui/SolarPowerWizard → veragrid-5.6.11/VeraGrid/Gui/ProfilesInput}/__init__.py +0 -0
  206. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/ProfilesInput/excel_dialog.py +0 -0
  207. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/ProfilesInput/excel_sheet_selection.py +0 -0
  208. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/ProfilesInput/models_dialogue.py +0 -0
  209. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/ProfilesInput/profile_dialogue.py +0 -0
  210. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/RmsModelEditor/__init__.py +0 -0
  211. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/RmsModelEditor/rms_model_editor_engine.py +0 -0
  212. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/RosetaExplorer/RosetaExplorer.py +0 -0
  213. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/RosetaExplorer/__init__.py +0 -0
  214. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/RosetaExplorer/roseta_objects_model.py +0 -0
  215. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SigmaAnalysis/__init__.py +0 -0
  216. {veragrid-5.6.10/VeraGrid/Gui/Widgets → veragrid-5.6.11/VeraGrid/Gui/SolarPowerWizard}/__init__.py +0 -0
  217. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SubstationDesigner/__init__.py +0 -0
  218. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SubstationDesigner/substation_designer.py +0 -0
  219. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SubstationDesigner/substation_designer_gui.py +0 -0
  220. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SubstationDesigner/update_gui_file.py +0 -0
  221. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SyncDialogue/__init__.py +0 -0
  222. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SystemScaler/__init__.py +0 -0
  223. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/SystemScaler/system_scaler.py +0 -0
  224. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/TowerBuilder/LineBuilderDialogue.py +0 -0
  225. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/TowerBuilder/__init__.py +0 -0
  226. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/TowerBuilder/table_models.py +0 -0
  227. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/TreeModelViewer/TreeModelViewer.py +0 -0
  228. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/TreeModelViewer/__init__.py +0 -0
  229. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Visualization/__init__.py +0 -0
  230. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Visualization/visualization.py +0 -0
  231. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Widgets/custom_qrangeslider.py +0 -0
  232. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/Widgets/matplotlibwidget.py +0 -0
  233. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/WindPowerWizard/__init__.py +0 -0
  234. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/WindPowerWizard/wind_power_wizzard.py +0 -0
  235. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/__init__.py +0 -0
  236. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/associations_model.py +0 -0
  237. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/correct_icons.py +0 -0
  238. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/general_dialogues.py +0 -0
  239. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/gui_functions.py +0 -0
  240. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/messages.py +0 -0
  241. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/object_model.py +0 -0
  242. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/object_proxy_model.py +0 -0
  243. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/pandas_model.py +0 -0
  244. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/plot_config.py +0 -0
  245. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/profiles_model.py +0 -0
  246. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/python_console.py +0 -0
  247. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/python_highlighter.py +0 -0
  248. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/results_model.py +0 -0
  249. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/rms_events_editor_dialog.py +0 -0
  250. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/rms_plot_variables_dialog.py +0 -0
  251. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/table_view_header_wrap.py +0 -0
  252. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/themes.py +0 -0
  253. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/toast_widget.py +0 -0
  254. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/update_gui_all.py +0 -0
  255. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Gui/wrappable_table_model.py +0 -0
  256. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/LICENSE.txt +0 -0
  257. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Session/__init__.py +0 -0
  258. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Session/export_results_driver.py +0 -0
  259. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Session/file_handler.py +0 -0
  260. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Session/server_driver.py +0 -0
  261. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/Session/synchronization_driver.py +0 -0
  262. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/__init__.py +0 -0
  263. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/darkdetect/__init__.py +0 -0
  264. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/darkdetect/_dummy.py +0 -0
  265. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/darkdetect/_linux_detect.py +0 -0
  266. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/darkdetect/_mac_detect.py +0 -0
  267. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/darkdetect/_windows_detect.py +0 -0
  268. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/__init__.py +0 -0
  269. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_color.py +0 -0
  270. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_icon/__init__.py +0 -0
  271. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_icon/icon_engine.py +0 -0
  272. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_icon/svg.py +0 -0
  273. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_main.py +0 -0
  274. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_os_appearance/__init__.py +0 -0
  275. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_os_appearance/_accent/__init__.py +0 -0
  276. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_os_appearance/_accent/_mac_detect.py +0 -0
  277. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_os_appearance/listener.py +0 -0
  278. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_proxy_style.py +0 -0
  279. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_resources/__init__.py +0 -0
  280. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_resources/colors.py +0 -0
  281. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_resources/palette.py +0 -0
  282. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_resources/standard_icons.py +0 -0
  283. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_resources/stylesheets.py +0 -0
  284. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_resources/svg.py +0 -0
  285. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_style_loader.py +0 -0
  286. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_template/__init__.py +0 -0
  287. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_template/engine.py +0 -0
  288. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_template/filter.py +0 -0
  289. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/_util.py +0 -0
  290. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/qtpy/QtCore/__init__.py +0 -0
  291. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/qtpy/QtGui/__init__.py +0 -0
  292. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/qtpy/QtSvg/__init__.py +0 -0
  293. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/qtpy/QtWidgets/__init__.py +0 -0
  294. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/qtpy/__init__.py +0 -0
  295. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/qtpy/qt_compat.py +0 -0
  296. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/qtpy/qt_version.py +0 -0
  297. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/widget_gallery/__init__.py +0 -0
  298. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/widget_gallery/__main__.py +0 -0
  299. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/widget_gallery/_ui/__init__.py +0 -0
  300. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/widget_gallery/_ui/dock_ui.py +0 -0
  301. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/widget_gallery/_ui/frame_ui.py +0 -0
  302. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/widget_gallery/_ui/icons_ui.py +0 -0
  303. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/widget_gallery/_ui/mdi_ui.py +0 -0
  304. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/widget_gallery/_ui/widgets_ui.py +0 -0
  305. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/ThirdParty/qdarktheme/widget_gallery/main_window.py +0 -0
  306. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/__init__.py +0 -0
  307. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/data/VeraGrid.ico +0 -0
  308. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/data/VeraGrid.svg +0 -0
  309. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/data/__init__.py +0 -0
  310. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/data/cables.csv +0 -0
  311. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/data/sequence_lines.csv +0 -0
  312. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/data/transformers.csv +0 -0
  313. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/data/wires.csv +0 -0
  314. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/plugins.py +0 -0
  315. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/templates.py +0 -0
  316. {veragrid-5.6.10 → veragrid-5.6.11}/VeraGrid/update.py +0 -0
  317. {veragrid-5.6.10 → veragrid-5.6.11}/setup.cfg +0 -0
  318. {veragrid-5.6.10 → veragrid-5.6.11}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: VeraGrid
3
- Version: 5.6.10
3
+ Version: 5.6.11
4
4
  Summary: VeraGrid is a Power Systems simulation program intended for professional use and research
5
5
  Home-page: https://github.com/SanPen/VeraGrid
6
6
  Author: Santiago Peñate Vera et. Al.
@@ -40,8 +40,6 @@ elif os.name == "posix" or sys.platform.startswith("linux"):
40
40
  print(f"Could not set process name: {e}")
41
41
 
42
42
 
43
-
44
-
45
43
  if __name__ == "__main__":
46
44
  print('Loading VeraGrid...')
47
45
  # check_all_svgs()
@@ -10,7 +10,7 @@ from PySide6 import QtWidgets
10
10
  from PySide6.QtCore import Qt
11
11
  from PySide6.QtGui import QClipboard
12
12
  from typing import List
13
- from VeraGrid.Gui.AboutDialogue.gui import Ui_AboutDialog
13
+ from VeraGrid.Gui.AboutDialogue.about_gui import Ui_AboutDialog
14
14
  from VeraGrid.__version__ import __VeraGrid_VERSION__
15
15
  from VeraGrid.update import check_version, get_upgrade_command
16
16
  from VeraGridEngine.__version__ import __VeraGridEngine_VERSION__, copyright_msg, contributors_msg
@@ -1,9 +1,9 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  ################################################################################
4
- ## Form generated from reading UI file 'gui.ui'
4
+ ## Form generated from reading UI file 'about_gui.ui'
5
5
  ##
6
- ## Created by: Qt User Interface Compiler version 6.10.1
6
+ ## Created by: Qt User Interface Compiler version 6.9.2
7
7
  ##
8
8
  ## WARNING! All changes made in this file will be lost when recompiling UI file!
9
9
  ################################################################################
@@ -19,7 +19,7 @@ from PySide6.QtWidgets import (QApplication, QDialog, QGridLayout, QHeaderView,
19
19
  QLabel, QPushButton, QSizePolicy, QSpacerItem,
20
20
  QTabWidget, QTableWidget, QTableWidgetItem, QTextEdit,
21
21
  QVBoxLayout, QWidget)
22
- from .icons_rc import *
22
+ from VeraGrid.Gui.Icons.icons_rc import *
23
23
 
24
24
  class Ui_AboutDialog(object):
25
25
  def setupUi(self, AboutDialog):
@@ -27,7 +27,7 @@ class Ui_AboutDialog(object):
27
27
  AboutDialog.setObjectName(u"AboutDialog")
28
28
  AboutDialog.resize(640, 365)
29
29
  icon = QIcon()
30
- icon.addFile(u":/Icons/icons/VeraGrid_icon.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
30
+ icon.addFile(u":/Program icon/icons/VeraGrid_icon.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
31
31
  AboutDialog.setWindowIcon(icon)
32
32
  self.verticalLayout_2 = QVBoxLayout(AboutDialog)
33
33
  self.verticalLayout_2.setObjectName(u"verticalLayout_2")
@@ -79,6 +79,14 @@ class Ui_AboutDialog(object):
79
79
 
80
80
  self.gridLayout.addWidget(self.copyrightLabel, 4, 1, 1, 2)
81
81
 
82
+ self.label_3 = QLabel(self.tab)
83
+ self.label_3.setObjectName(u"label_3")
84
+ self.label_3.setMaximumSize(QSize(32, 32))
85
+ self.label_3.setPixmap(QPixmap(u":/Program icon/icons/VeraGrid_icon.png"))
86
+ self.label_3.setScaledContents(True)
87
+
88
+ self.gridLayout.addWidget(self.label_3, 3, 0, 2, 1)
89
+
82
90
  self.tabWidget.addTab(self.tab, "")
83
91
  self.tab_2 = QWidget()
84
92
  self.tab_2.setObjectName(u"tab_2")
@@ -98,12 +106,18 @@ class Ui_AboutDialog(object):
98
106
  self.gridLayout_3.setObjectName(u"gridLayout_3")
99
107
  self.copyLibsButton = QPushButton(self.tab_5)
100
108
  self.copyLibsButton.setObjectName(u"copyLibsButton")
109
+ icon1 = QIcon()
110
+ icon1.addFile(u":/Icons/icons/copy.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
111
+ self.copyLibsButton.setIcon(icon1)
101
112
 
102
113
  self.gridLayout_3.addWidget(self.copyLibsButton, 2, 5, 1, 1)
103
114
 
104
115
  self.updateButton = QPushButton(self.tab_5)
105
116
  self.updateButton.setObjectName(u"updateButton")
106
117
  self.updateButton.setMaximumSize(QSize(80, 16777215))
118
+ icon2 = QIcon()
119
+ icon2.addFile(u":/Icons/icons/sync.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
120
+ self.updateButton.setIcon(icon2)
107
121
 
108
122
  self.gridLayout_3.addWidget(self.updateButton, 2, 0, 1, 1)
109
123
 
@@ -172,11 +186,18 @@ class Ui_AboutDialog(object):
172
186
  self.label.setText("")
173
187
  self.versionLabel.setText(QCoreApplication.translate("AboutDialog", u"version", None))
174
188
  self.copyrightLabel.setText(QCoreApplication.translate("AboutDialog", u"Copyright", None))
189
+ self.label_3.setText("")
175
190
  self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QCoreApplication.translate("AboutDialog", u"About", None))
176
191
  self.contributorsLabel.setText(QCoreApplication.translate("AboutDialog", u"TextLabel", None))
177
192
  self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QCoreApplication.translate("AboutDialog", u"Contributors", None))
178
- self.copyLibsButton.setText(QCoreApplication.translate("AboutDialog", u"Copy", None))
179
- self.updateButton.setText(QCoreApplication.translate("AboutDialog", u"Update", None))
193
+ #if QT_CONFIG(tooltip)
194
+ self.copyLibsButton.setToolTip(QCoreApplication.translate("AboutDialog", u"Copy the table", None))
195
+ #endif // QT_CONFIG(tooltip)
196
+ self.copyLibsButton.setText("")
197
+ #if QT_CONFIG(tooltip)
198
+ self.updateButton.setToolTip(QCoreApplication.translate("AboutDialog", u"Update VeraGrid. If you are on windows don't do this.", None))
199
+ #endif // QT_CONFIG(tooltip)
200
+ self.updateButton.setText("")
180
201
  self.updateLabel.setText("")
181
202
  self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), QCoreApplication.translate("AboutDialog", u"Libraries", None))
182
203
  self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QCoreApplication.translate("AboutDialog", u"Optional libraries", None))
@@ -187,7 +208,7 @@ class Ui_AboutDialog(object):
187
208
  "hr { height: 1px; border-width: 0; }\n"
188
209
  "li.unchecked::marker { content: \"\\2610\"; }\n"
189
210
  "li.checked::marker { content: \"\\2612\"; }\n"
190
- "</style></head><body style=\" font-family:'Cousine'; font-size:13pt; font-weight:400; font-style:normal;\">\n"
211
+ "</style></head><body style=\" font-family:'Cousine'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
191
212
  "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt;\">+==============+==========================================+</span></p>\n"
192
213
  "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt;\">| Package | License |</span></p>\n"
193
214
  "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; mar"
@@ -8,6 +8,5 @@ Script to update correctly the main GUI (.py) file from the Qt design (.ui) file
8
8
  from VeraGrid.Gui.update_gui_common import convert_resource_file, convert_ui_file
9
9
 
10
10
  if __name__ == '__main__':
11
- convert_resource_file(source='icons.qrc')
12
- for f in ['gui.ui']:
11
+ for f in ['about_gui.ui']:
13
12
  convert_ui_file(source=f)
@@ -5,7 +5,7 @@
5
5
 
6
6
  from typing import List
7
7
  from PySide6 import QtWidgets
8
- from VeraGrid.Gui.Analysis.gui import Ui_MainWindow
8
+ from VeraGrid.Gui.Analysis.analysis_gui import Ui_MainWindow
9
9
  from VeraGrid.Gui.Analysis.object_plot_analysis import grid_analysis, GridErrorLog, FixableErrorOutOfRange
10
10
  from VeraGridEngine.Devices.multi_circuit import MultiCircuit
11
11
  from VeraGrid.Gui.general_dialogues import LogsDialogue, Logger
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  ################################################################################
4
- ## Form generated from reading UI file 'gui.ui'
4
+ ## Form generated from reading UI file 'analysis_gui.ui'
5
5
  ##
6
6
  ## Created by: Qt User Interface Compiler version 6.9.2
7
7
  ##
@@ -21,7 +21,7 @@ from PySide6.QtWidgets import (QApplication, QCheckBox, QDoubleSpinBox, QFrame,
21
21
  QMainWindow, QSizePolicy, QSpacerItem, QStatusBar,
22
22
  QTabWidget, QToolBar, QTreeView, QVBoxLayout,
23
23
  QWidget)
24
- from .icons_rc import *
24
+ from VeraGrid.Gui.Icons.icons_rc import *
25
25
 
26
26
  class Ui_MainWindow(object):
27
27
  def setupUi(self, MainWindow):
@@ -34,16 +34,18 @@ class Ui_MainWindow(object):
34
34
  self.actionSave_diagnostic = QAction(MainWindow)
35
35
  self.actionSave_diagnostic.setObjectName(u"actionSave_diagnostic")
36
36
  icon1 = QIcon()
37
- icon1.addFile(u":/icons/icons/savec.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
37
+ icon1.addFile(u":/Icons/icons/savec.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
38
38
  self.actionSave_diagnostic.setIcon(icon1)
39
39
  self.actionFix_issues = QAction(MainWindow)
40
40
  self.actionFix_issues.setObjectName(u"actionFix_issues")
41
41
  icon2 = QIcon()
42
- icon2.addFile(u":/icons/icons/fix.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
42
+ icon2.addFile(u":/Icons/icons/fix.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
43
43
  self.actionFix_issues.setIcon(icon2)
44
44
  self.actionAnalyze = QAction(MainWindow)
45
45
  self.actionAnalyze.setObjectName(u"actionAnalyze")
46
- self.actionAnalyze.setIcon(icon)
46
+ icon3 = QIcon()
47
+ icon3.addFile(u":/Icons/icons/inputs_analysis 2.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
48
+ self.actionAnalyze.setIcon(icon3)
47
49
  self.centralwidget = QWidget(MainWindow)
48
50
  self.centralwidget.setObjectName(u"centralwidget")
49
51
  self.verticalLayout_2 = QVBoxLayout(self.centralwidget)
@@ -58,7 +60,7 @@ class Ui_MainWindow(object):
58
60
  self.verticalLayout.setContentsMargins(0, 0, 0, 0)
59
61
  self.logsTreeView = QTreeView(self.tab)
60
62
  self.logsTreeView.setObjectName(u"logsTreeView")
61
- self.logsTreeView.setFrameShape(QFrame.NoFrame)
63
+ self.logsTreeView.setFrameShape(QFrame.Shape.NoFrame)
62
64
 
63
65
  self.verticalLayout.addWidget(self.logsTreeView)
64
66
 
@@ -70,8 +72,8 @@ class Ui_MainWindow(object):
70
72
  self.frame = QFrame(self.tab_2)
71
73
  self.frame.setObjectName(u"frame")
72
74
  self.frame.setMaximumSize(QSize(400, 16777215))
73
- self.frame.setFrameShape(QFrame.NoFrame)
74
- self.frame.setFrameShadow(QFrame.Raised)
75
+ self.frame.setFrameShape(QFrame.Shape.NoFrame)
76
+ self.frame.setFrameShadow(QFrame.Shadow.Raised)
75
77
  self.gridLayout = QGridLayout(self.frame)
76
78
  self.gridLayout.setObjectName(u"gridLayout")
77
79
  self.label_4 = QLabel(self.frame)
@@ -260,8 +262,8 @@ class Ui_MainWindow(object):
260
262
 
261
263
  self.frame_2 = QFrame(self.tab_2)
262
264
  self.frame_2.setObjectName(u"frame_2")
263
- self.frame_2.setFrameShape(QFrame.NoFrame)
264
- self.frame_2.setFrameShadow(QFrame.Raised)
265
+ self.frame_2.setFrameShape(QFrame.Shape.NoFrame)
266
+ self.frame_2.setFrameShadow(QFrame.Shadow.Raised)
265
267
  self.gridLayout_2 = QGridLayout(self.frame_2)
266
268
  self.gridLayout_2.setObjectName(u"gridLayout_2")
267
269
  self.label_8 = QLabel(self.frame_2)
@@ -305,9 +307,9 @@ class Ui_MainWindow(object):
305
307
 
306
308
  self.horizontalLayout.addItem(self.horizontalSpacer)
307
309
 
308
- icon3 = QIcon()
309
- icon3.addFile(u":/icons/icons/gear.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
310
- self.tabWidget.addTab(self.tab_2, icon3, "")
310
+ icon4 = QIcon()
311
+ icon4.addFile(u":/icons/icons/gear.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
312
+ self.tabWidget.addTab(self.tab_2, icon4, "")
311
313
 
312
314
  self.verticalLayout_2.addWidget(self.tabWidget)
313
315
 
@@ -17,9 +17,7 @@ if __name__ == '__main__':
17
17
  rcc_cmd += '.exe'
18
18
  uic_cmd += '.exe'
19
19
 
20
- convert_resource_file(source='icons.qrc', rcc_cmd=rcc_cmd)
21
-
22
- for f in ['gui.ui']:
20
+ for f in ['analysis_gui.ui']:
23
21
  convert_ui_file(source=f, uic_cmd=uic_cmd)
24
22
 
25
23
 
@@ -6,7 +6,7 @@ import sys
6
6
  from PySide6 import QtWidgets
7
7
  from typing import List
8
8
 
9
- from VeraGrid.Gui.ContingencyPlanner.gui import Ui_MainWindow
9
+ from VeraGrid.Gui.ContingencyPlanner.contingency_planner_gui import Ui_MainWindow
10
10
  import VeraGridEngine.Devices as dev
11
11
  from VeraGridEngine.enumerations import DeviceType
12
12
  from VeraGridEngine.Devices.multi_circuit import MultiCircuit
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  ################################################################################
4
- ## Form generated from reading UI file 'gui.ui'
4
+ ## Form generated from reading UI file 'contingency_planner_gui.ui'
5
5
  ##
6
6
  ## Created by: Qt User Interface Compiler version 6.9.2
7
7
  ##
@@ -20,7 +20,7 @@ from PySide6.QtWidgets import (QApplication, QCheckBox, QDialog, QDoubleSpinBox,
20
20
  QFormLayout, QFrame, QGridLayout, QHBoxLayout,
21
21
  QLabel, QListView, QPushButton, QSizePolicy,
22
22
  QSpacerItem, QSpinBox, QVBoxLayout, QWidget)
23
- from .icons_rc import *
23
+ from VeraGrid.Gui.Icons.icons_rc import *
24
24
 
25
25
  class Ui_MainWindow(object):
26
26
  def setupUi(self, MainWindow):
@@ -2,12 +2,12 @@
2
2
  # License, v. 2.0. If a copy of the MPL was not distributed with this
3
3
  # file, You can obtain one at https://mozilla.org/MPL/2.0/.
4
4
  # SPDX-License-Identifier: MPL-2.0
5
+
5
6
  """
6
7
  Script to update correctly the main GUI (.py) file from the Qt design (.ui) file
7
8
  """
8
9
  from VeraGrid.Gui.update_gui_common import convert_resource_file, convert_ui_file
9
10
 
10
11
  if __name__ == '__main__':
11
- convert_resource_file(source='icons.qrc')
12
- for f in ['gui.ui']:
12
+ for f in ['contingency_planner_gui.ui']:
13
13
  convert_ui_file(source=f)
@@ -7,7 +7,7 @@ import sys
7
7
  import pandas as pd
8
8
  from PySide6 import QtGui, QtCore, QtWidgets
9
9
  from typing import List, Tuple, Union
10
- from VeraGrid.Gui.CoordinatesInput.gui import Ui_Dialog
10
+ from VeraGrid.Gui.CoordinatesInput.coordinates_input_gui import Ui_Dialog
11
11
  from VeraGrid.Gui.ProfilesInput.excel_dialog import ExcelDialog
12
12
  from VeraGrid.Gui.general_dialogues import LogsDialogue
13
13
  from VeraGridEngine.Devices.Substation import Bus
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  ################################################################################
4
- ## Form generated from reading UI file 'gui.ui'
4
+ ## Form generated from reading UI file 'coordinates_input_gui.ui'
5
5
  ##
6
6
  ## Created by: Qt User Interface Compiler version 6.9.2
7
7
  ##
@@ -19,7 +19,7 @@ from PySide6.QtWidgets import (QApplication, QCheckBox, QComboBox, QDialog,
19
19
  QFrame, QGridLayout, QHeaderView, QLabel,
20
20
  QPushButton, QRadioButton, QSizePolicy, QSpacerItem,
21
21
  QSplitter, QTableView, QVBoxLayout, QWidget)
22
- from .icons_rc import *
22
+ from VeraGrid.Gui.Icons.icons_rc import *
23
23
 
24
24
  class Ui_Dialog(object):
25
25
  def setupUi(self, Dialog):
@@ -0,0 +1,13 @@
1
+ # This Source Code Form is subject to the terms of the Mozilla Public
2
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ # file, You can obtain one at https://mozilla.org/MPL/2.0/.
4
+ # SPDX-License-Identifier: MPL-2.0
5
+
6
+ """
7
+ Script to update correctly the main GUI (.py) file from the Qt design (.ui) file
8
+ """
9
+ from VeraGrid.Gui.update_gui_common import convert_resource_file, convert_ui_file
10
+
11
+ if __name__ == '__main__':
12
+ for f in ['coordinates_input_gui.ui']:
13
+ convert_ui_file(source=f)
@@ -5,7 +5,7 @@
5
5
 
6
6
  from __future__ import annotations
7
7
  from typing import TYPE_CHECKING, List, Union
8
- from PySide6.QtCore import Qt
8
+ from PySide6.QtCore import Qt, QPointF
9
9
  from PySide6.QtGui import QPen, QCursor, QColor, QBrush
10
10
  from PySide6.QtWidgets import (QGraphicsEllipseItem, QMenu,
11
11
  QGraphicsSceneContextMenuEvent,
@@ -100,6 +100,37 @@ class MapInjectionTemplateGraphicItem(NodeTemplate, QGraphicsEllipseItem):
100
100
 
101
101
  return color
102
102
 
103
+ def mousePressEvent(self, event: QGraphicsSceneMouseEvent):
104
+ """
105
+ Event handler for mouse press events.
106
+ """
107
+ super().mousePressEvent(event)
108
+ # selected_items = self.editor.map.view.selected_items()
109
+ # if len(selected_items) < 2:
110
+ self.setSelected(True)
111
+
112
+ event.setAccepted(True)
113
+ self.editor.map.view.disable_move = True
114
+
115
+ if self.api_object is not None:
116
+ self.editor.set_editor_model(api_object=self.api_object)
117
+
118
+ def mouseReleaseEvent(self, event: QGraphicsSceneMouseEvent):
119
+ """
120
+ Event handler for mouse release events.
121
+ """
122
+ # super().mouseReleaseEvent(event)
123
+ self.editor.disableMove = True
124
+ self.update_position_at_the_diagram() # always update
125
+
126
+ def mouseMoveEvent(self, event: QGraphicsSceneMouseEvent) -> None:
127
+ """
128
+ Event handler for mouse move events.
129
+ """
130
+
131
+ pos = self.mapToScene(event.pos())
132
+ self.refresh(pos=pos)
133
+
103
134
  def update_position_at_the_diagram(self) -> None:
104
135
  """
105
136
  Updates the element position in the diagram (to save)
@@ -115,6 +146,21 @@ class MapInjectionTemplateGraphicItem(NodeTemplate, QGraphicsEllipseItem):
115
146
  longitude=long,
116
147
  graphic_object=self)
117
148
 
149
+ def refresh(self, pos: QPointF):
150
+ """
151
+ This function refreshes the x, y coordinates of the graphic item
152
+ Returns:
153
+
154
+ """
155
+
156
+ x = pos.x() - self.rect().width() / 2
157
+ y = pos.y() - self.rect().height() / 2
158
+ self.setRect(x, y, self.rect().width(), self.rect().height())
159
+ self.set_callbacks(pos.x(), pos.y())
160
+
161
+
162
+ self.update_position_at_the_diagram() # always update
163
+
118
164
  def set_size(self, r: float):
119
165
  """
120
166
 
@@ -162,22 +208,6 @@ class MapInjectionTemplateGraphicItem(NodeTemplate, QGraphicsEllipseItem):
162
208
  # plot the profiles
163
209
  self.api_object.plot_profiles(time=ts)
164
210
 
165
- def mousePressEvent(self, event: QGraphicsSceneMouseEvent):
166
- """
167
- mouse press: display the editor
168
- :param event:
169
- :return:
170
- """
171
- super().mousePressEvent(event)
172
- self._editor.set_editor_model(api_object=self.api_object)
173
-
174
- def mouseReleaseEvent(self, event: QGraphicsSceneMouseEvent):
175
- """
176
- Event handler for mouse release events.
177
- """
178
- super().mouseReleaseEvent(event)
179
- # self.editor.disableMove = True
180
- self.update_position_at_the_diagram() # always update
181
211
 
182
212
  def mouseDoubleClickEvent(self, event, /):
183
213
  """
@@ -202,7 +232,7 @@ class MapInjectionTemplateGraphicItem(NodeTemplate, QGraphicsEllipseItem):
202
232
 
203
233
  add_menu_entry(menu=menu,
204
234
  text="Consolidate coordinates",
205
- function_ptr=self.consolidate_coordinates,
235
+ function_ptr=self.editor.consolidate_object_coordinates,
206
236
  icon_path=":/Icons/icons/assign_to_profile.png")
207
237
 
208
238
  menu.addSeparator()
@@ -19,6 +19,7 @@ from PySide6.QtCore import (Qt, QMimeData, QIODevice, QByteArray, QDataStream, Q
19
19
  from PySide6.QtGui import (QIcon, QPixmap, QImage, QStandardItemModel, QStandardItem, QColor, QDropEvent)
20
20
 
21
21
  from VeraGrid.Gui.Diagrams.MapWidget.Branches.map_line_container import MapLineContainer
22
+ from VeraGrid.Gui.Diagrams.SchematicWidget.Injections.generator_graphics import GeneratorGraphicItem
22
23
  from VeraGrid.Gui.Diagrams.SchematicWidget.Substation.bus_graphics import BusGraphicItem
23
24
  from VeraGrid.Gui.Diagrams.generic_graphics import GenericDiagramWidget
24
25
  from VeraGrid.Gui.SubstationDesigner.substation_designer import SubstationDesigner
@@ -373,6 +374,18 @@ class GridMapWidget(BaseDiagramWidget):
373
374
  selected_substations.append((item.api_object, item))
374
375
  return selected_substations
375
376
 
377
+ def get_selected_generators_tup(self) -> List[Tuple[Generator, MapGeneratorGraphicItem]]:
378
+ """
379
+ Get only selected generators from the scene
380
+
381
+ :return: List of (Generator, GeneratorGraphicItem) tuples
382
+ """
383
+ selected_generators = []
384
+ for item in self.diagram_scene.selectedItems():
385
+ if hasattr(item, 'api_object') and isinstance(item, MapGeneratorGraphicItem):
386
+ selected_generators.append((item.api_object, item))
387
+ return selected_generators
388
+
376
389
  def get_selected_linelocations_tup(self) -> List[Tuple[LineLocation, LineLocationGraphicItem]]:
377
390
  """
378
391
  Get only selected Line Locations from the scene
@@ -2087,6 +2100,7 @@ class GridMapWidget(BaseDiagramWidget):
2087
2100
  def consolidate_object_coordinates(self):
2088
2101
  selected_lines = self.get_selected_line_segments_tup()
2089
2102
  selected_substations = self.get_selected_substations_tup()
2103
+ selected_generators = self.get_selected_generators_tup()
2090
2104
  line_graphics_list = []
2091
2105
  for subst, subst_graphic in selected_substations:
2092
2106
  subst.latitude = subst_graphic.lat
@@ -2098,6 +2112,10 @@ class GridMapWidget(BaseDiagramWidget):
2098
2112
  gelm.api_object.lat = gelm.lat
2099
2113
  gelm.api_object.long = gelm.lon
2100
2114
 
2115
+ for gen, gen_graphic in selected_generators:
2116
+ gen.latitude = gen_graphic.lat
2117
+ gen.longitude = gen_graphic.lon
2118
+
2101
2119
  ok = yes_no_question(title='Update lengths?',
2102
2120
  text='Do you want to update lengths of lines? \n'
2103
2121
  'IMPORTANT: This will take into account every movement of substation and line '
@@ -9,7 +9,7 @@ from numpy.random import default_rng
9
9
  import networkx as nx
10
10
  from PySide6 import QtWidgets
11
11
 
12
- from VeraGrid.Gui.GridGenerator.gui import Ui_MainWindow
12
+ from VeraGrid.Gui.GridGenerator.grid_generator_gui import Ui_MainWindow
13
13
  import VeraGridEngine.Devices as dev
14
14
  from VeraGridEngine.Devices.multi_circuit import MultiCircuit
15
15
  from VeraGridEngine.Utils.ThirdParty.SyntheticNetworks.rpgm_algo import RpgAlgorithm
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  ################################################################################
4
- ## Form generated from reading UI file 'gui.ui'
4
+ ## Form generated from reading UI file 'grid_generator_gui.ui'
5
5
  ##
6
6
  ## Created by: Qt User Interface Compiler version 6.9.2
7
7
  ##
@@ -22,7 +22,7 @@ from PySide6.QtWidgets import (QApplication, QDialog, QDoubleSpinBox, QFrame,
22
22
  QVBoxLayout, QWidget)
23
23
 
24
24
  from VeraGrid.Gui.Widgets.matplotlibwidget import MatplotlibWidget
25
- from .icons_rc import *
25
+ from VeraGrid.Gui.Icons.icons_rc import *
26
26
 
27
27
  class Ui_MainWindow(object):
28
28
  def setupUi(self, MainWindow):
@@ -0,0 +1,12 @@
1
+ # This Source Code Form is subject to the terms of the Mozilla Public
2
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ # file, You can obtain one at https://mozilla.org/MPL/2.0/.
4
+ # SPDX-License-Identifier: MPL-2.0
5
+ """
6
+ Script to update correctly the main GUI (.py) file from the Qt design (.ui) file
7
+ """
8
+ from VeraGrid.Gui.update_gui_common import convert_resource_file, convert_ui_file
9
+
10
+ if __name__ == '__main__':
11
+ for f in ['grid_generator_gui.ui']:
12
+ convert_ui_file(source=f)
@@ -8,6 +8,6 @@ Script to update correctly the main GUI (.py) file from the Qt design (.ui) file
8
8
  from VeraGrid.Gui.update_gui_common import convert_ui_file
9
9
 
10
10
  if __name__ == '__main__':
11
- # convert_resource_file(source='icons.qrc')
11
+
12
12
  for f in ['grid_merge_gui.ui', 'grid_diff_gui.ui']:
13
13
  convert_ui_file(source=f)
@@ -6,6 +6,7 @@ from __future__ import annotations
6
6
 
7
7
  from typing import Set
8
8
  from PySide6 import QtWidgets
9
+ from PySide6.QtGui import QClipboard
9
10
  import numpy as np
10
11
  from VeraGrid.Gui.GridReduce.grid_reduce_gui import Ui_ReduceDialog
11
12
  from VeraGrid.Gui.general_dialogues import LogsDialogue
@@ -15,8 +16,7 @@ from VeraGrid.Session.session import SimulationSession
15
16
  from VeraGridEngine.Devices.Substation.bus import Bus
16
17
  from VeraGridEngine.Devices.multi_circuit import MultiCircuit
17
18
  from VeraGridEngine.Topology.GridReduction.di_shi_grid_reduction import di_shi_reduction
18
- from VeraGridEngine.Topology.GridReduction.ptdf_grid_reduction import ptdf_reduction, ptdf_reduction_projected, \
19
- ptdf_reduction_ree_bad, ptdf_reduction_ree_less_bad
19
+ from VeraGridEngine.Topology.GridReduction.ptdf_grid_reduction import ptdf_reduction, ptdf_reduction_projected
20
20
  from VeraGridEngine.Topology.GridReduction.ward_equivalents import ward_standard_reduction
21
21
  from VeraGridEngine.basic_structures import Logger
22
22
  from VeraGridEngine.enumerations import GridReductionMethod, BusReductionMethod
@@ -65,6 +65,7 @@ class GridReduceDialogue(QtWidgets.QDialog):
65
65
  self.did_reduce = False
66
66
 
67
67
  self.ui.reduceButton.clicked.connect(self.reduce_grid)
68
+ self.ui.copyIndicesButton.clicked.connect(self.copy_indices)
68
69
 
69
70
  def reduce_grid(self) -> None:
70
71
  """
@@ -150,12 +151,20 @@ class GridReduceDialogue(QtWidgets.QDialog):
150
151
 
151
152
  # NOTE: self._grid gets reduced in-place
152
153
 
153
- # get the options from the linear analysis driver
154
- lin_drv, _ = self._session.linear_power_flow
154
+ # get the options from the linear analysis drivers (prefer TS if available)
155
155
  distribute_slack = True
156
- if lin_drv is not None:
156
+ lin_drv_ts, _ = self._session.linear_power_flow_ts
157
+ lin_drv, _ = self._session.linear_power_flow
158
+
159
+ if lin_drv_ts is not None:
160
+ distribute_slack = lin_drv_ts.options.distribute_slack
161
+
162
+ elif lin_drv is not None:
157
163
  distribute_slack = lin_drv.options.distribute_slack
158
164
 
165
+ else:
166
+ pass
167
+
159
168
  grid_reduced, logger = ptdf_reduction_projected(
160
169
  grid=self._grid,
161
170
  reduction_bus_indices=reduction_bus_indices,
@@ -187,3 +196,11 @@ class GridReduceDialogue(QtWidgets.QDialog):
187
196
 
188
197
  # exit
189
198
  self.close()
199
+
200
+ def copy_indices(self):
201
+ """
202
+ Copy the bus indices to the clipboard
203
+ """
204
+ tsv_text = ", ".join(list(self._selected_buses_set))
205
+
206
+ QtWidgets.QApplication.clipboard().setText(tsv_text, QClipboard.Mode.Clipboard)
@@ -18,6 +18,7 @@ from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
18
18
  from PySide6.QtWidgets import (QApplication, QComboBox, QDialog, QFrame,
19
19
  QHBoxLayout, QListView, QPushButton, QSizePolicy,
20
20
  QSpacerItem, QVBoxLayout, QWidget)
21
+ from VeraGrid.Gui.Icons.icons_rc import *
21
22
 
22
23
  class Ui_ReduceDialog(object):
23
24
  def setupUi(self, ReduceDialog):
@@ -62,8 +63,19 @@ class Ui_ReduceDialog(object):
62
63
 
63
64
  self.horizontalLayout.addItem(self.horizontalSpacer)
64
65
 
66
+ self.copyIndicesButton = QPushButton(self.frame)
67
+ self.copyIndicesButton.setObjectName(u"copyIndicesButton")
68
+ icon = QIcon()
69
+ icon.addFile(u":/Icons/icons/copy.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
70
+ self.copyIndicesButton.setIcon(icon)
71
+
72
+ self.horizontalLayout.addWidget(self.copyIndicesButton)
73
+
65
74
  self.reduceButton = QPushButton(self.frame)
66
75
  self.reduceButton.setObjectName(u"reduceButton")
76
+ icon1 = QIcon()
77
+ icon1.addFile(u":/Icons/icons/grid_reduction.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
78
+ self.reduceButton.setIcon(icon1)
67
79
 
68
80
  self.horizontalLayout.addWidget(self.reduceButton)
69
81
 
@@ -78,10 +90,14 @@ class Ui_ReduceDialog(object):
78
90
 
79
91
  def retranslateUi(self, ReduceDialog):
80
92
  ReduceDialog.setWindowTitle(QCoreApplication.translate("ReduceDialog", u"Grid Merge", None))
81
- self.busModeComboBox.setPlaceholderText(QCoreApplication.translate("ReduceDialog", u"Buses", None))
93
+ self.busModeComboBox.setPlaceholderText(QCoreApplication.translate("ReduceDialog", u"Reduce / Keep", None))
82
94
  self.methodComboBox.setPlaceholderText(QCoreApplication.translate("ReduceDialog", u"Method", None))
83
95
  #if QT_CONFIG(tooltip)
84
- self.reduceButton.setToolTip(QCoreApplication.translate("ReduceDialog", u"Aply the selected changes", None))
96
+ self.copyIndicesButton.setToolTip(QCoreApplication.translate("ReduceDialog", u"Copy the reduction indices as a list", None))
97
+ #endif // QT_CONFIG(tooltip)
98
+ self.copyIndicesButton.setText("")
99
+ #if QT_CONFIG(tooltip)
100
+ self.reduceButton.setToolTip(QCoreApplication.translate("ReduceDialog", u"Reduce the grid using the selected method", None))
85
101
  #endif // QT_CONFIG(tooltip)
86
102
  self.reduceButton.setText(QCoreApplication.translate("ReduceDialog", u"Reduce", None))
87
103
  # retranslateUi
@@ -8,6 +8,5 @@ Script to update correctly the main GUI (.py) file from the Qt design (.ui) file
8
8
  from VeraGrid.Gui.update_gui_common import convert_ui_file
9
9
 
10
10
  if __name__ == '__main__':
11
- # convert_resource_file(source='icons.qrc')
12
11
  for f in ['grid_reduce_gui.ui']:
13
12
  convert_ui_file(source=f)