mp.dme_gen3p

class mp.dme_gen3p

Bases: mp.dm_element

mp.dme_gen3p - Data model element for 3-phase generator.

Implements the data element model for 3-phase generator elements.

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

Name

Type

Description

bus

integer

bus ID (uid) of 3-phase bus

vm1_setpoint

double

phase 1 voltage magnitude setpoint (p.u.)

vm2_setpoint

double

phase 2 voltage magnitude setpoint (p.u.)

vm3_setpoint

double

phase 3 voltage magnitude setpoint (p.u.)

pg1

double

phase 1 active power output (kW)

pg2

double

phase 2 active power output (kW)

pg3

double

phase 3 active power output (kW)

qg1

double

phase 1 reactive power output (kVAr)

qg2

double

phase 2 reactive power output (kVAr)

qg3

double

phase 3 reactive power output (kVAr)

Property Summary
bus

bus index vector (all gens)

bus_on

vector of indices into online buses for gens that are on

pg1_start

initial phase 1 active power (p.u.) for gens that are on

pg2_start

initial phase 2 active power (p.u.) for gens that are on

pg3_start

initial phase 3 active power (p.u.) for gens that are on

qg1_start

initial phase 1 reactive power (p.u.) for gens that are on

qg2_start

initial phase 2 reactive power (p.u.) for gens that are on

qg3_start

initial phase 3 reactive power (p.u.) for gens that are on

vm1_setpoint

phase 1 generator voltage setpoint for gens that are on

vm2_setpoint

phase 2 generator voltage setpoint for gens that are on

vm3_setpoint

phase 3 generator voltage setpoint for gens that are on

Method Summary
name()
label()
labels()
cxn_type()
cxn_idx_prop()
main_table_var_names()
initialize(dm)
update_status(dm)
apply_vm_setpoint(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_data_row_det(dm, k, out_e, mpopt, fd, pp_args)