mp.dme_load

class mp.dme_load

Bases: mp.dm_element

mp.dme_load - Data model element for load.

Implements the data element model for load elements, using a ZIP load model.

Adds the following columns in the main data table, found in the tab property:

Name

Type

Description

bus

integer

bus ID (uid)

pd

double

\(p_p\), active constant power demand (MW)

qd

double

\(q_p\), reactive constant power demand (MVAr)

pd_i

double

\(p_i\), active nominal [1] constant current demand (MW)

qd_i

double

\(q_i\), reactive nominal [1] constant current demand (MVAr)

pd_z

double

\(p_z\), active nominal [1] constant impedance demand (MW)

qd_z

double

\(q_z\), reactive nominal [1] constant impedance demand (MVAr)

p

double

\(p\), total active demand (MW)

q

double

\(q\), total reactive demand (MVAr)

Implements a ZIP load model, where each load has three components, and total demand for the load i is given by

(3.1)\[\begin{split}\cscal{s} &= \cscal{s}_p + \cscal{s}_i |\cscal{v}| + \cscal{s}_z |\cscal{v}|^2 \\ p + j q &= (p_p + j q_p) + (p_i + j q_i) |\cscal{v}| + (p_z + j q_z) |\cscal{v}|^2\end{split}\]
Property Summary
bus

bus index vector (all loads)

pd

active power demand (p.u.) for constant power loads that are on

qd

reactive power demand (p.u.) for constant power loads that are on

pd_i

active power demand (p.u.) for constant current loads that are on

qd_i

reactive power demand (p.u.) for constant current loads that are on

pd_z

active power demand (p.u.) for constant impedance loads that are on

qd_z

reactive power demand (p.u.) for constant impedance loads that are on

Method Summary
name()
label()
labels()
cxn_type()
cxn_idx_prop()
main_table_var_names()
count(dm)
update_status(dm)
build_params(dm)
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_get_footers_det(dm, out_e, mpopt, pp_args)
pp_data_row_det(dm, k, out_e, mpopt, fd, pp_args)