Lights
[Residential loads (residential)]


Detailed Description

The residential lighting object supports the major types of residential lights (see lights::type).

The lighting type effects the power factor used (see lights::power_factor).

$ S = Polar\left(S_{rated}*demand,cos^{-1}PF_{type}\right) $

For incandescent lights, the power drops proportionally with voltage:

$ S = S_{rated}\frac{\left|V\right|}{120} $

and cuts out below 30 V.

For electronic ballast lights, the power drops as voltage drops

$ \Re\left(S\right) = S_{rated} \frac{\left|V\right|}{120} $

but reactive power is to the square root of voltage

$ \Im\left(S\right) = \frac{S_{rated}}{PF_{type}} \sqrt{\frac{\left|V\right|}{120}} $

and cuts out below 0.1 puV. The lighs cut back in between 0.2 and 0.4 puV. [Ref: Steve Yang's test results for WECC LMTF done at BPA in 2007]

For high-intensity discharge lights the power increases to the square of the voltage drop

$ S = S_{rated}\left(\frac{120}{\left|V\right|}\right)^2 $

and cuts out below 90 V.

Todo:
Research the voltage response for HID lights; these are just educated guesses. (residential, medium priority) (ticket #141)


Classes

class  lights

Functions

int lights::create (void)
EXPORT int create_lights (OBJECT **obj, OBJECT *parent)
int lights::init (OBJECT *parent)
EXPORT int init_lights (OBJECT *obj)
 lights::lights (MODULE *mod)
TIMESTAMP lights::sync (TIMESTAMP t0, TIMESTAMP t1)
EXPORT TIMESTAMP sync_lights (OBJECT *obj, TIMESTAMP t0)

Variables

static lightslights::defaults = NULL
static CLASSlights::oclass = NULL
static double lights::power_factor [_MAXTYPES]
 Lighting power factors (the ordinals must match the type enumeration).


Function Documentation

TIMESTAMP lights::sync ( TIMESTAMP  t0,
TIMESTAMP  t1 
) [inherited]

Todo:
check how HID power changes with voltage (residential, medium priority) (ticket #142)

Definition at line 147 of file lights.cpp.

References lights::CFL, lights::demand, lights::external_heat, lights::FLUORESCENT, gl_tohours, lights::HID, lights::INCANDESCENT, lights::INDOOR, lights::installed_power, lights::internal_heat, J, lights::kwh_meter, house::lights_heat_energy, LOCK_OBJECT, OBJECTDATA, OBJECTHDR, lights::OUTDOOR, lights::placement, lights::power_factor, lights::power_kw, lights::SSL, TS_NEVER, lights::type, and UNLOCK_OBJECT.

Referenced by sync_lights().


GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy