The code below is correct. However, you are using only one reference point.
If the light through the window is less then 300 lux, the lights will not be dimmed.
If the total energy used by lighting is less than that was continuously on, the dimmer is working. Column J and M of the .csv file.
The IDF I returned to you has two reference points.
Date: Wed, 27 Jan 2010 14:43:09 -0800
Subject: RE: [EnergyPlus_Support] lighting electricity
Say Happy New Year with Messenger for Mobile. See more.
The primary EnergyPlus web site is found at:
The group web site is:
Attachments are currently allowed but be mindful that not everyone has a high speed connection. Limit attachments to small files.
EnergyPlus Documentation is searchable. Open EPlusMainMenu.pdf under the Documentation link and press the "search" button.