network/pw_load.cpp File Reference

Copyright (C) 2012 Battelle Memorial Institute. More...

Go to the source code of this file.

Functions

int check_COM_output_load (_variant_t output)
 Scans the argument to validate its VARIANT type, and to perform basic error checking.

Detailed Description

Copyright (C) 2012 Battelle Memorial Institute.

Author:
Matt Hauer d3p988
Version:
3.0

An interface with PowerWorld's load object. Uses SimAuto v10 to exchange data via a COM object provided by PowerWorld.

Definition in file pw_load.cpp.


Function Documentation

int check_COM_output_load ( _variant_t  output  ) 

Scans the argument to validate its VARIANT type, and to perform basic error checking.

Parameters:
output expected to be a two-element variant of types VT_VARIANT | VT_ARRAY ("array of variants")
Returns:
positive logic: 1 if input reports success, 0 if input reports failure

Definition at line 23 of file pw_load.cpp.


GridLAB-D™ Version 4.1
An open-source smart grid simulator created by PNNL for the US Department of Energy Office of Electricity