File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,12 +13,14 @@ Unreleased
1313* Area/zone projections.
1414* Battery initial and final energy levels.
1515
16- Version 1.2.6 (pre-release)
17- ---------------------------
16+ Version 1.2.6
17+ -------------
1818* Branch bus name changes (from/to to k/m).
1919* Branch AC flow getters.
2020* Improved error handling in Problem Python class (has_error, clear_error, error checks in combine_H).
2121* Separated python wrapper pyx into multiple files.
22+ * Bug fix: voltage magnitude limits in MAT parser.
23+ * Sphinx C docs.
2224
2325Version 1.2.5
2426-------------
Original file line number Diff line number Diff line change 33 *
44 * This file is part of PFNET.
55 *
6- * Copyright (c) 2015-2016 , Tomas Tinoco De Rubira.
6+ * Copyright (c) 2015-2017 , Tomas Tinoco De Rubira.
77 *
88 * PFNET is released under the BSD 2-clause license.
99 */
@@ -299,6 +299,8 @@ void MAT_PARSER_load(MAT_Parser* parser, Net* net) {
299299 BUS_set_name (bus ,mat_bus -> name );
300300 BUS_set_v_mag (bus ,mat_bus -> Vm ,0 ); // per unit
301301 BUS_set_v_ang (bus ,mat_bus -> Va * PI /180. ,0 ); // radians
302+ BUS_set_v_max (bus ,mat_bus -> maxVm ); // per unit
303+ BUS_set_v_min (bus ,mat_bus -> minVm ); // per unit
302304 if (mat_bus -> type == MAT_BUS_TYPE_SL )
303305 BUS_set_slack (bus ,TRUE);
304306 NET_bus_hash_number_add (net ,bus );
You can’t perform that action at this time.
0 commit comments