Menu

Input Output variation

2012-04-17
2016-05-14
  • Torben Veit

    Torben Veit - 2012-04-17

    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.

     
  • Jason Fuller

    Jason Fuller - 2012-04-17

    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.

     
  • Torben Veit

    Torben Veit - 2012-04-18

    thanks for the quick response

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.