mp.dme_bus
- class mp.dme_bus
Bases:
mp.dm_elementmp.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
tabproperty:Name
Type
Description
base_kvdouble
base voltage (kV)
typeinteger
bus type (1 = PQ, 2 = PV, 3 = ref, 4 = isolated)
areainteger
area number
zoneinteger
loss zone
vm_lbdouble
voltage magnitude lower bound (p.u.)
vm_ubdouble
voltage magnitude upper bound (p.u.)
vadouble
voltage angle (degrees)
vmdouble
voltage magnitude (p.u.)
- Property Summary
-
- 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)