Is there a way to find out what kind of input/output opportunities exist?
I mean for example can I specify a time course of voltage and get a time course of a different unit like Watt or Amperes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are a couple of ways to determine the input / output variables in GridLAB-D (NOTE, currently GridLAB-D does not distinguish between inputs and outputs except in the programmers documentation):
1) You can use modhelp. In the command line, type "gridlabd -modhelp module:class", e.g., "gridlabd -modhelp powerflow:node" for a powerflow example. This will give you a list of all published variables in the class and any inline documentation the programmer may have provided as a description. This is nice because it is drawn directly from the code, so is current with your version. However, not all variables are well described.
2) You can use the wiki documentation. For example, the powerflow documentation is fairly robust and detailed:
Is there a way to find out what kind of input/output opportunities exist?
I mean for example can I specify a time course of voltage and get a time course of a different unit like Watt or Amperes.
There are a couple of ways to determine the input / output variables in GridLAB-D (NOTE, currently GridLAB-D does not distinguish between inputs and outputs except in the programmers documentation):
1) You can use modhelp. In the command line, type "gridlabd -modhelp module:class", e.g., "gridlabd -modhelp powerflow:node" for a powerflow example. This will give you a list of all published variables in the class and any inline documentation the programmer may have provided as a description. This is nice because it is drawn directly from the code, so is current with your version. However, not all variables are well described.
2) You can use the wiki documentation. For example, the powerflow documentation is fairly robust and detailed:
(detailed variable descriptions) https://sourceforge.net/apps/mediawiki/gridlab-d/index.php?title=Power_Flow_User_Guide
(overall theory) https://sourceforge.net/apps/mediawiki/gridlab-d/index.php?title=Power_Flow_Guide
This documentation is much more detailed than the inline documentation found in modhelp, however, the quality is currently module dependent.
To actually extract information, you will need to use the tape module (a recorder object). I'd recommend looking at the class material available at:
http://gridlab-d.svn.sourceforge.net/viewvc/gridlab-d/course/ThreeDayCourse_v22/
Day 1 has a Powerpoint deck of slides and examples on how to use the recorder object.
thanks for the quick response