mp.dme_line3p
- class mp.dme_line3p
Bases:
mp.dm_elementmp.dme_line3p- Data model element for 3-phase line.Implements the data element model for 3-phase distribution line elements.
Adds the following columns in the main data table, found in the
tabproperty:Name
Type
Description
bus_frinteger
bus ID (
uid) of “from” 3-phase busbus_tointeger
bus ID (
uid) of “to” 3-phase buslcdouble
index into line construction table
lendouble
line length (miles)
pl1_frdouble
phase 1 active power injection at “from” end (kW)
ql1_frdouble
phase 1 reactive power injection at “from” end (kVAr)
pl2_frdouble
phase 2 active power injection at “from” end (kW)
ql2_frdouble
phase 2 reactive power injection at “from” end (kVAr)
pl3_frdouble
phase 3 active power injection at “from” end (kW)
ql3_frdouble
phase 3 reactive power injection at “from” end (kVAr)
pl1_todouble
phase 1 active power injection at “to” end (kW)
ql1_todouble
phase 1 reactive power injection at “to” end (kVAr)
pl2_todouble
phase 2 active power injection at “to” end (kW)
ql2_todouble
phase 2 reactive power injection at “to” end (kVAr)
pl3_todouble
phase 3 active power injection at “to” end (kW)
ql3_todouble
phase 3 reactive power injection at “to” end (kVAr)
The line construction table in the
lc_tabproperty is defined as a table with the following columns:Name
Type
Description
idinteger
unique line construction ID, referenced from
lccolumn of main data tablerdouble
6 resistence parameters for forming symmetric 3x3 series impedance matrix (Ohms per mile)
xdouble
6 reactance parameters for forming symmetric 3x3 series impedance matrix (Ohms per mile)
cdouble
6 susceptance parameters for forming symmetric 3x3 shunt susceptance matrix (nF per mile)
- Property Summary
- fbus
bus index vector for “from” bus (all lines)
- tbus
bus index vector for “to” bus (all lines)
- freq
system frequency, in Hz
- lc
index into
lc_tabfor lines that are on
- lc_y_idx
index into
ysandycfor lines that are on
- len
length for lines that are on
- lc_tab
line construction table
- ys
cell array of 3x3 series admittance matrices for lc rows
- yc
cell array of 3x3 shunt admittance matrices for lc rows
- Method Summary
- name()
- label()
- labels()
- cxn_type()
- cxn_idx_prop()
- main_table_var_names()
- lc_table_var_names()
- create_line_construction_table(id, r, x, c)
- initialize(dm)
- update_status(dm)
- build_params(dm)
- vec2symmat(v)
Make a symmetric matrix from a vector of 6 values.
- symmat2vec(M)
Extract a vector of 6 values from a matrix assumed to be symmetric.
- pretty_print(dm, section, out_e, mpopt, fd, pp_args)
- pp_have_section_sum(mpopt, pp_args)
- pp_data_sum(dm, rows, out_e, mpopt, fd, pp_args)
- pp_have_section_det(mpopt, pp_args)
- pp_get_headers_det(dm, out_e, mpopt, pp_args)
- pp_data_row_det(dm, k, out_e, mpopt, fd, pp_args)