mp.dme_bus

class mp.dme_bus

Bases: mp.dm_element

mp.dme_bus - Data model element for bus.

Implements the data element model for bus elements.

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

Name

Type

Description

base_kv

double

base voltage (kV)

type

integer

bus type (1 = PQ, 2 = PV, 3 = ref, 4 = isolated)

area

integer

area number

zone

integer

loss zone

vm_lb

double

voltage magnitude lower bound (p.u.)

vm_ub

double

voltage magnitude upper bound (p.u.)

va

double

voltage angle (degrees)

vm

double

voltage magnitude (p.u.)

Property Summary
type

node type vector for buses that are on

vm_start

initial voltage magnitudes (p.u.) for buses that are on

va_start

initial voltage angles (radians) for buses that are on

vm_lb

voltage magnitude lower bounds for buses that are on

vm_ub

voltage magnitude upper bounds for buses that are on

vm_control

true if voltage is controlled, for buses that are on

Method Summary
name()
label()
labels()
main_table_var_names()
export_vars()
export_vars_offline_val()
init_status(dm)
update_status(dm)
build_params(dm)
pp_data_cnt(dm, rows, out_e, mpopt, fd, pp_args)
pp_have_section_ext(mpopt, pp_args)
pp_data_ext(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)
set_bus_type_ref(dm, idx)
set_bus_type_pv(dm, idx)
set_bus_type_pq(dm, idx)