Load Equipment#

pydantic model gdm.PhaseLoadEquipment#

Interface for single phase load equipment. Uses ZIP model where real power is: P = P_0[ a_p (|V|/V_0)^2 + b_p (|V|/V_0) + c_p] and reactive power is: Q = Q_0[ a_q (|V|/V_0)^2 + b_q (|V|/V_0) + c_q]

field i_imag: Annotated[float, FieldInfo(annotation=NoneType, required=True, description='Constant current zip load imaginary component. (b_q)')] [Required]#

Constant current zip load imaginary component. (b_q)

field i_real: Annotated[float, FieldInfo(annotation=NoneType, required=True, description='Constant current zip load real component. (b_p)')] [Required]#

Constant current zip load real component. (b_p)

field num_customers: Annotated[Annotated[int, Gt(gt=0)] | None, FieldInfo(annotation=NoneType, required=False, default=None, description='Number of customers for this load')] = None#

Number of customers for this load

field p_imag: Annotated[float, FieldInfo(annotation=NoneType, required=True, description='Constant power zip load imaginary component. (c_q)')] [Required]#

Constant power zip load imaginary component. (c_q)

field p_real: Annotated[float, FieldInfo(annotation=NoneType, required=True, description='Constant power zip load real component. (c_p)')] [Required]#

Constant power zip load real component. (c_p)

field reactive_power: (Q_0) ')] = <Quantity(0, 'kilovar')>#

Base reactive power for the ZIP model. (Q_0)

field real_power: (P_0) ')] = <Quantity(0, 'kilowatt')>#

Base real power for the ZIP model. (P_0)

field z_imag: Annotated[float, FieldInfo(annotation=NoneType, required=True, description='Constant impedance zip load imaginary component. (a_q)')] [Required]#

Constant impedance zip load imaginary component. (a_q)

field z_real: Annotated[float, FieldInfo(annotation=NoneType, required=True, description='Constant impedance zip load real component. (a_p)')] [Required]#

Constant impedance zip load real component. (a_p)

classmethod aggregate(instances: list[PhaseLoadEquipment], name: str) PhaseLoadEquipment#
classmethod split(instance: PhaseLoadEquipment, num_splits: int) PhaseLoadEquipment#
pydantic model gdm.LoadEquipment#

Interface for load model.

field connection_type: ')] = ConnectionType.STAR#

Connection type for multi phase load.

field phase_loads: Annotated[list[PhaseLoadEquipment], FieldInfo(annotation=NoneType, required=True, description='List of phase loads.')] [Required]#

List of phase loads.