diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 65669690d..f42982c78 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -28,9 +28,7 @@
-
-
-
+
@@ -57,7 +55,7 @@
@@ -112,35 +110,37 @@
"ASKED_ADD_EXTERNAL_FILES": "true",
"Git.Branch.Popup.ShowAllRemotes": "true",
"MATLAB_INTERPRETER": "/usr/local/MATLAB/R2018a/bin/matlab",
- "Python tests.Nosetests for test_load_save_load.test_load_save_load.executor": "Debug",
+ "Notification.DisplayName-DoNotAsk-CythonWarning": "Python debugger native extension available",
+ "Notification.DoNotAsk-CythonWarning": "true",
"Python tests.Nosetests for test_power_flow.test_zip.executor": "Debug",
"Python tests.Nosetests for test_topology_processor.test_topology_rts.executor": "Debug",
"Python tests.Nosetests for tests.test_ac_opf.executor": "Run",
"Python tests.Nosetests for tests.test_ac_opf.test_pegase89.executor": "Debug",
"Python tests.Nosetests for tests.test_hydro.executor": "Run",
"Python tests.Nosetests for tests.test_latin_hypercube.test_lhs.executor": "Run",
- "Python tests.Nosetests for tests.test_load_save_load.executor": "Run",
"Python tests.Nosetests for tests.test_opf_time_series.test_opf_ts.executor": "Run",
"Python tests.Nosetests for tests.test_topology_processor.executor": "Run",
"Python tests.Nosetests for tests.test_topology_processor.test_topology_rts.executor": "Run",
"Python tests.Nosetests in admittance_matrix_test.py.executor": "Run",
"Python tests.Nosetests in deep_copy_test.py.executor": "Run",
- "Python tests.Nosetests in test_ptdf.py.executor": "Run",
"Python tests.Nosetests in test_topology_processor.py.executor": "Run",
"Python tests.Nosetests in tests.executor": "Run",
"Python.AnalysisDialogue.executor": "Run",
"Python.ExecuteGridCal.executor": "Run",
"Python.cgmes_rdfs_graph.executor": "Run",
- "Python.make_wheels.executor": "Run",
+ "Python.load_designer.executor": "Run",
+ "Python.load_designer_ui.executor": "Debug",
"Python.new_circuit_objects.executor": "Run",
"Python.pymoo_example.executor": "Debug",
+ "Python.system_scaler.executor": "Run",
"Python.update_gui_file (1).executor": "Run",
"Python.update_gui_file.executor": "Run",
+ "Python.upload_to_pypi.executor": "Run",
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"WebServerToolWindowFactoryState": "false",
"git-widget-placeholder": "199__finalize__cgmes__import",
- "last_opened_file_path": "/home/santi/Descargas/tramontana",
+ "last_opened_file_path": "/home/santi/Documentos/Git/GitHub/GridCal/src/GridCal/Gui",
"node.js.detected.package.eslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
@@ -158,11 +158,11 @@
+
-
@@ -172,7 +172,7 @@
-
+
@@ -194,50 +194,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -254,6 +210,7 @@
+
@@ -288,22 +245,9 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -316,6 +260,7 @@
+
@@ -333,6 +278,7 @@
+
@@ -350,6 +296,7 @@
+
@@ -369,6 +316,7 @@
+
@@ -385,6 +333,7 @@
+
@@ -400,8 +349,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -424,6 +418,7 @@
+
@@ -444,20 +439,21 @@
-
+
+
-
+
-
+
@@ -466,8 +462,9 @@
-
+
+
@@ -488,8 +485,32 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -498,10 +519,12 @@
+
-
+
+
@@ -510,15 +533,11 @@
-
-
-
-
-
-
+
+
@@ -534,24 +553,27 @@
-
-
+
+
+
-
-
+
+
-
-
-
-
+
+
+
+
+
+
@@ -568,6 +590,7 @@
+
@@ -587,6 +610,7 @@
+
@@ -603,6 +627,7 @@
+
@@ -619,19 +644,19 @@
+
-
-
-
+
+
-
-
-
-
+
+
+
+
@@ -1300,10 +1325,9 @@
-
-
-
-
+
+
+
1656059954202
@@ -1648,7 +1672,7 @@
1698766404661
-
+
@@ -1681,7 +1705,7 @@
-
+
@@ -1694,6 +1718,13 @@
+
+
+
+
+
+
+
@@ -1707,19 +1738,12 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
@@ -2019,6 +2043,26 @@
86
+
+ file://$PROJECT_DIR$/src/GridCal/Gui/MapWidget/map_widget.py
+ 597
+
+
+
+ file://$PROJECT_DIR$/src/GridCal/Gui/MapWidget/map_widget.py
+ 860
+
+
+
+ file://$PROJECT_DIR$/src/GridCal/Gui/MapWidget/map_widget.py
+ 743
+
+
+
+ file://$PROJECT_DIR$/src/GridCal/Gui/MapWidget/map_widget.py
+ 873
+
+
file://$PROJECT_DIR$/src/GridCal/Engine/Core/Compilers/circuit_to_optimods.py
79
@@ -2079,6 +2123,11 @@
45
+
+ file://$PROJECT_DIR$/src/GridCalEngine/setup.py
+ 8
+
+
file://$PROJECT_DIR$/src/GridCal/templates.py
57
@@ -2130,56 +2179,24 @@
- file://$PROJECT_DIR$/src/GridCalEngine/Simulations/ContingencyAnalysis/contingencies_report.py
- 532
-
-
-
- file://$PROJECT_DIR$/src/GridCalEngine/Devices/Parents/editable_device.py
- 592
-
+ file://$PROJECT_DIR$/src/GridCalEngine/Simulations/OPF/NumericalMethods/ac_opf.py
+ 641
+
- file://$PROJECT_DIR$/src/GridCalEngine/Devices/Parents/injection_parent.py
- 124
-
+ file://$PROJECT_DIR$/src/GridCalEngine/Simulations/OPF/NumericalMethods/ac_opf.py
+ 646
+
-
- file://$PROJECT_DIR$/src/GridCalEngine/Devices/profile.py
- 366
-
-
-
-
- file://$PROJECT_DIR$/src/GridCalEngine/Devices/sparse_array.py
- 200
-
-
-
- file://$PROJECT_DIR$/src/GridCalEngine/Devices/Parents/editable_device.py
- 602
+ file://$PROJECT_DIR$/src/GridCalEngine/DataStructures/hvdc_data.py
+ 133
- file://$PROJECT_DIR$/src/GridCalEngine/IO/gridcal/pack_unpack.py
- 921
-
-
-
- file://$PROJECT_DIR$/src/GridCalEngine/IO/gridcal/pack_unpack.py
- 785
-
-
-
- file://$PROJECT_DIR$/src/GridCalEngine/IO/gridcal/pack_unpack.py
- 927
-
-
-
- file://$PROJECT_DIR$/src/GridCalEngine/IO/gridcal/pack_unpack.py
- 707
-
+ file://$PROJECT_DIR$/src/GridCalEngine/Simulations/OPF/NumericalMethods/ac_opf.py
+ 626
+
@@ -2190,8 +2207,8 @@
-
+
@@ -2213,11 +2230,11 @@
-
+
-
+
@@ -2252,7 +2269,7 @@
-
+
@@ -2332,7 +2349,7 @@
-
+
@@ -2340,7 +2357,7 @@
-
+
@@ -2350,6 +2367,7 @@
+
@@ -2361,6 +2379,7 @@
+
@@ -2386,7 +2405,7 @@
-
+
@@ -2410,7 +2429,7 @@
-
+
@@ -2431,7 +2450,8 @@
-
+
+
@@ -2453,6 +2473,7 @@
+
@@ -2471,11 +2492,12 @@
+
-
+
@@ -2486,8 +2508,8 @@
-
+
@@ -2505,10 +2527,11 @@
-
+
+
diff --git a/src/GridCal/__version__.py b/src/GridCal/__version__.py
index 40ce5c86a..b071f08c0 100644
--- a/src/GridCal/__version__.py
+++ b/src/GridCal/__version__.py
@@ -16,7 +16,7 @@
_current_year_ = datetime.datetime.now().year
# do not forget to keep a three-number version!!!
-__GridCal_VERSION__ = "5.0.17"
+__GridCal_VERSION__ = "5.0.18"
url = 'https://github.com/SanPen/GridCal'
diff --git a/src/GridCalEngine/__version__.py b/src/GridCalEngine/__version__.py
index 94d60f68f..536eb3b48 100644
--- a/src/GridCalEngine/__version__.py
+++ b/src/GridCalEngine/__version__.py
@@ -16,7 +16,7 @@
_current_year_ = datetime.datetime.now().year
# do not forget to keep a three-number version!!!
-__GridCalEngine_VERSION__ = "5.0.17"
+__GridCalEngine_VERSION__ = "5.0.18"
url = 'https://github.com/SanPen/GridCal'