From GridLAB-D Wiki
GLDGetProperty -- Get an object property in javascript
Synopsis
<SCRIPT src="gridlabd.js"> value = GLDGetProperty("object-name","property-name"); value = GLDGetProperty("object-name","property-name[unit]"); value = GLDGetProperty("object-name","property-name[unit,format]"); </SCRIPT>